Gratuitous change to poke buildbot.
[glibc.git] / ChangeLog
blob7c5ee2dd19c9a8cbc89377717161f2a178339f75
1 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #19758]
4         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9         [BZ #19490]
10         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11         (__fentry__): Likewise.
13 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21         __mcount_internal directly.
22         (C_LABEL(__fentry__)): Likewise.
23         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24         directly.
26 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
28         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29         (__start_context): Call __setcontext directly.
31 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
33         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
35         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
36         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
37         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
39         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
40         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
41         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
43         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
44         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
45         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
47         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
48         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
50         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
52         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
53         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
54         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
56         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
57         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
58         Remove conditional code.
59         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
60         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
61         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
62         * sysdeps/unix/sysv/linux/sh/kernel-features.h
63         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
64         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
65         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
66         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
67         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
68         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
69         * sysdeps/unix/sysv/linux/tile/kernel-features.h
70         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
72 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
74         * NEWS (2.23): Fix typo in bug 19048 text.
76 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
78         [BZ #14259]
79         * Makeconfig: Rename msgcatdir to localedir.
80         Rename inst_msgcatdir to inst_localedir.
81         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
82         * config.make.in: Add localedir.
83         * elf/Makefile ($(objpfx)sotruss): Use localedir.
84         (ldd-rewrite): Likewise.
85         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
86         (install-others): Use inst_localedir.
87         (CPPFLAGS): Use localedir.
88         * locale/Makefile (locale-CPPFLAGS): Likewise.
89         * po/Makefile (mo-installed): Use inst_localedir.
91         [BZ #19575]
92         * localedata/charmaps/GB18030: Update comments regarding PAU to
93         non-PUA mappings.
95 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
97         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
98         test for header.
99         * sysdeps/unix/sysv/linux/configure: Regenerated.
100         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
101         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
102         Remove conditional code.
103         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
105         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
106         Define to 3.2.0.
107         (arch_minimum_kernel): Likewise.
108         * sysdeps/unix/sysv/linux/configure: Regenerated.
109         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
110         Define to 2.6.32.
111         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
112         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
113         (arch_minimum_kernel): Define to 2.6.32.
114         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
115         * README: Document Linux 3.2 requirement.
116         * manual/install.texi (Linux): Document Linux 3.2 headers
117         requirement.
118         * INSTALL: Regenerated.
120 2016-02-24  Andreas Schwab  <schwab@suse.de>
122         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
123         if !NO_LONG_DOUBLE.
125 2016-02-22  Roland McGrath  <roland@hack.frob.com>
127         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
128         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
130 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
132         [BZ #19512]
133         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
135 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
137         * posix/tst-dir.c: Include libc-internal.h.
139 2016-02-20  Florian Weimer  <fweimer@redhat.com>
141         [BZ #19056]
142         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
143         * manual/filesys.texi (Reading/Closing Directory): Mention
144         deprecaion.
145         * posix/tst-dir.c (main): Disable deprecation warning in test.
147 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
149         [BZ #19679]
150         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
151         Renamed to ...
152         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
153         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
154         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
155         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
156         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
157         * sysdeps/x86_64/dl-trampoline.h
158         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
159         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
161 2016-02-19  Mark Wielaard  <mjw@redhat.com>
163         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
165 2016-02-19  Mark Wielaard  <mjw@redhat.com>
167         * elf/elf.h (R_386_GOT32X): New.
168         (R_386_NUM): Update.
169         (R_X86_64_GOTPCRELX: New.
170         (R_X86_64_REX_GOTPCRELX): New.
171         (R_X86_64_NUM): Update.
173 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
175         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
177 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
179         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
180         assign attr->stackaddr to it, and adjust it down when
181         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
182         [_STACK_GROWS_UP]: Delete assert.
183         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
184         Implement stack grows up logic.
185         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
186         stack grows up logic.
188 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
190         * NEWS: Update with 2.24 template.
192 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
194         [BZ #19678]
195         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
196         Ensure +0.0 is returned when taking the next value below the least
197         positive value.
199 2016-02-19  Florian Weimer  <fweimer@redhat.com>
201         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
202         available.  Do not define NO_THREADS.
203         * malloc/malloc.c: Do not check NO_THREADS.
204         * malloc/arena.c: Likewise.
206 2016-02-19  Florian Weimer  <fweimer@redhat.com>
208         * malloc/malloc.c (__libc_mallinfo): Update comment.
209         (struct malloc_par): Remove max_total_mem member, it was always 0.
210         (int_mallinfo): Store 0 into usmblks (no functional change).
211         * malloc/hooks.c (struct malloc_state): Document that
212         max_total_mem is always 0.
213         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
214         always 0.
215         * manual/memory.texi (Statistics of Malloc): Likewise.
217 2016-02-19  Florian Weimer  <fweimer@redhat.com>
219         * malloc/malloc.c (sysmalloc): Do not update arena_max.
220         * malloc/arena.c (arena_max): Remove.
221         (heap_trim, _int_new_arena): Do not update arena_max.
223 2016-02-19  Florian Weimer  <fweimer@redhat.com>
225         * resolv/res_init.c (res_ninit): Update comment.
227 2016-02-19  Florian Weimer  <fweimer@redhat.com>
229         [BZ #19505]
230         * posix/spawn_int.h: Add headers and include guard.
231         (__spawn_valid_fd): New function.
232         * posix/spawn_faction_addopen.c
233         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
234         * posix/spawn_faction_addclose.c
235         (posix_spawn_file_actions_addclose): Likewise.
236         * posix/spawn_faction_adddup2.c
237         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
238         second file descriptor.
239         * posix/spawn_valid_fd.c: New file.
240         * posix/tst-posix_spawn-fd.c: New file.
241         * posix/Makefile (routines): Add spawn_valid_fd.
242         (tests): Add tst-posix_spawn-fd.
244 2016-02-19  Florian Weimer  <fweimer@redhat.com>
246         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
247         (do_test): Limit the number of arenas, so that we can use fewer
248         outer threads.  Limit timeout to 3 seconds, in preparation for a
249         larger TIMEOUT value.
251 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
253         [BZ #19674]
254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
255         sign in overflowing and underflowing results when overflow or
256         underflow is detected early.  Include sign in result before rather
257         than after scaling.
259         [BZ #19603]
260         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
261         (__ieee754_remainderl): Adjust sign of integer version of low part
262         when taking absolute value of high part.
263         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
264         * math/libm-test.inc (remainder_test_data): Add another test.
265         (remquo_test_data): Likewise.
267 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
269         [BZ #19602]
270         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
271         equal high parts and both low parts zero specially.
272         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
273         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
274         Add test-fmodl-ldbl-128ibm.
276         [BZ #19595]
277         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
278         common logic for all cases of shifting subnormal results.  Do not
279         insert sign bit in shifted mantissa.  Always pass -1023 as biased
280         exponent to ldbl_insert_mantissa in subnormal case.
282         [BZ #19594]
283         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
284         on high and low parts then adjust result and use
285         ldbl_canonicalize_int if needed.
287         [BZ #19593]
288         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
289         on high part and __floor or __ceil on low part then use
290         ldbl_canonicalize_int if needed.
292         [BZ #19592]
293         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
294         high and low parts then use ldbl_canonicalize_int if needed.
296         [BZ #17899]
297         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
298         New function.
299         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
300         on high and low parts then use ldbl_canonicalize_int if needed.
302 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
304         * configure: Regenerated.
306         * po/libc.pot: Regenerated.
308         * po/be.po: Updated translation.
309         * po/bg.po: Likewise.
310         * po/ca.po: Likewise.
311         * po/cs.po: Likewise.
312         * po/da.po: Likewise.
313         * po/el.po: Likewise.
314         * po/eo.po: Likewise.
315         * po/es.po: Likewise.
316         * po/fi.po: Likewise.
317         * po/fr.po: Likewise.
318         * po/gl.po: Likewise.
319         * po/hr.po: Likewise.
320         * po/hu.po: Likewise.
321         * po/ia.po: Likewise.
322         * po/id.po: Likewise.
323         * po/it.po: Likewise.
324         * po/ja.po: Likewise.
325         * po/lt.po: Likewise.
326         * po/nb.po: Likewise.
327         * po/nl.po: Likewise.
328         * po/pt_BR.po: Likewise.
329         * po/rw.po: Likewise.
330         * po/sk.po: Likewise.
331         * po/sl.po: Likewise.
332         * po/sv.po: Likewise.
333         * po/tr.po: Likewise.
334         * po/zh_CN.po: Likewise.
335         * po/zh_TW.po: Likewise.
337         * version.h (RELEAES): Set to "development".
338         (VERSION): Set to 2.23.90.
340         * version.h (RELEASE): Set to "stable".
341         (VERSION): Set to 2.23.
342         * include/feature.h (__GLIBC_MINOR__): Set to 23.
344         * NEWS: Updated fixed bugs.
346 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
347             Wilco Dijkstra  <wdijkstr@arm.com>
349         [BZ #19462]
350         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
351         (_STRING_INLINE_unaligned): This.
352         * include/string.h: Include <string_private.h>.
353         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
354         _STRING_INLINE_unaligned.
355         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
356         (_STRING_INLINE_unaligned): New.
357         * sysdeps/aarch64/string_private.h: New file.
358         * sysdeps/generic/string_private.h: Likewise.
359         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
360         * sysdeps/s390/string_private.h: Likewise.
361         * sysdeps/x86/string_private.h: Likewise.
362         * sysdeps/m68k/m680x0/m68020/bits/string.h
363         (_STRING_ARCH_unaligned): Renamed to ...
364         (_STRING_INLINE_unaligned): This.
365         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
366         to ...
367         (_STRING_INLINE_unaligned): This.
368         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
369         to ...
370         (_STRING_INLINE_unaligned): This.
371         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
372         to ...
373         (_STRING_INLINE_unaligned): This.
375 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
376             H.J. Lu  <hongjiu.lu@intel.com>
378         [BZ #19590]
379         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
380         relocation.
382 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
384         [BZ #18665]
385         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
386         *herrno_p.
387         (gaih_getanswer): Document functional behviour. Return tryagain
388         if any result is tryagain.
389         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
390         when freed.
391         * resolv/res_send.c: Add copyright text.
392         (__libc_res_nsend): Document that MAXPACKET is expected.
393         (send_vc): Document. Remove buffer reuse.
394         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
395         size of the buffer. Add Dprint for truncated UDP buffer.
397 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
399         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
400         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
401         * INSTALL: Regenerate.
403 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
404             Jonathan Wakely  <jwakely@redhat.com>
405             Carlos O'Donell  <carlos@redhat.com>
407         [BZ 19439]
408         * math/Makefile (tests): Add test-math-isinff.
409         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
410         * math/bits/mathcalls.h [__USE_MISC]: Use
411         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
412         functions not in C++11 and which don't conflict e.g. isinff,
413         isinfl etc.
414         * math/test-math-isinff.cc: New file.
416 2016-02-12  Florian Weimer  <fweimer@redhat.com>
418         * misc/bug18240.c (do_test): Set RLIMIT_AS.
420 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
422         [BZ #19529]
423         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
425 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
427         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
429 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
431         [BZ #19550]
432         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
433         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
434         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
435         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
436         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
437         New syscall entry.
438         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
439         New syscall entry.
440         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
441         syscall entry.
443 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
445         [BZ #18240]
446         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
447         unsigned int wraparound.
449 2016-01-27  Florian Weimer  <fweimer@redhat.com>
451         [BZ #18240]
452         * misc/bug18240.c: New test.
453         * misc/Makefile (tests): Add it.
455 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
456             Joseph Myers  <joseph@codesourcery.com>
458         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
459         load in branch delay slot when less than a word of input left.
461 2016-01-27  Andreas Schwab  <schwab@suse.de>
463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
464         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
465         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
466         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
468 2016-01-26  David S. Miller  <davem@davemloft.net>
470         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
472 2016-01-25  David S. Miller  <davem@davemloft.net>
474         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
475         __sqrtl_finite.
476         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
477         instead using versioned_symbol.
478         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
479         of entries.
481         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
482         __sqrtl_finite to GLIBC_2.23
484 2016-01-25  Ricchard Henderson  <rth@redhat.com>
486         * sysdeps/alpha/fpu/libm-test-ulps: Update.
488 2016-01-25  Andreas Schwab  <schwab@suse.de>
490         [BZ #17514]
491         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
492         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
493         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
494         * nptl/tst-mutex-errorcheck.c: New file.
496 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
498         [BZ #18560]
499         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
500         (IPCOP_semop): Likewise.
501         (IPCOP_semget): Likewise.
502         (IPCOP_semctl): Likewise.
503         (IPCOP_msgsnd): Likewise.
504         (IPCOP_msgrcv): Likewise.
505         (IPCOP_msgget): Likewise.
506         (IPCOP_msgctl): Likewise.
507         (IPCOP_shmat): Likewise.
508         (IPCOP_shmdt): Likewise.
509         (IPCOP_shmget): Likewise.
510         (IPCOP_shmctl): Likewise.
512 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
514         * string/tst-endian.c: Include <libc-internal.h>.
515         (do_test): Ignore tautological-compare warnings around
516         "htobeXX (beXXtoh (i)) != i" and
517         "htoleXX (leXXtoh (i)) != i" if-statements.
519 2016-01-24  David S. Miller  <davem@davemloft.net>
521         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
522         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
523         alias.
524         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
525         __sqrtl_finite.
527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
529 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
531         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
532         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
533         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
535 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
537         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
538         (thread_func): Use new function to simplify barrier check.
539         (do_test): Use new function to simplify checking barrier exit
540         code, and actually join the child thread.
542 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
544         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
545         semicolon.
546         (__libc_tend): Likewise.
547         (__libc_tabort): Likewise.
549 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
551         * sysdeps/nios2/libm-test-ulps: Update.
552         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
553         (__gtsf2): Likewise.
554         (__unorddf2): Likewise.
555         (__unordsf2): Likewise.
556         (__ledf2): Likewise.
558 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
560         * nis/nis_table.c (__follow_path): Disable diagnostic for
561         uninitialized variable that is a false positive for gcc 4.7.
562         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
564 2016-01-20  Roland McGrath  <roland@hack.frob.com>
566         * sysdeps/nacl/lowlevellock-futex.h
567         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
568         Always evaluate PRIVATE argument.
570 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
572         [BZ #19490]
573         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
574         (pthread_cond_broadcast): Use ENTRY/END
575         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
576         (pthread_cond_signal): Likewise.
577         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
578         Likewise.
579         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
580         Likewise.
581         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
582         Likewise.
584 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
586         * sysdeps/ieee754/dbl-64/s_finite.c
587         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
588         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
589         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
591         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
594         (__gtsf2): Add as optional for libc.so.
595         (__unordsf2): Likewise.
596         (__signbit): Remove for libc.so.
597         (__signbitl): Likewise.
599 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
601         * iconvdata/bug-iconv11.c (test_ibm93x):
602         Use %zu printf format specifier for size_t argument.
604 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
606         * math/gen-libm-test.pl (parse_ulps): Do not reduce
607         already-recorded ulps.
608         * sysdeps/arm/libm-test-ulps: Regenerated.
609         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
611         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
613 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
614             Paul Pluzhnikov  <ppluzhnikov@google.com>
616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
617         assembler not supporting AVX-512.
619 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
621         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
623 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
625         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
626         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
630         * sysdeps/arm/libm-test-ulps: Regenerated.
632 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
634         [BZ #19451]
635         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
637 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
639         [BZ #19486]
640         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
641         * sysdeps/generic/fix-fp-int-convert-overflow.h
642         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
643         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
644         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
645         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
646         Likewise.
647         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
648         Avoid conversions to long int where inexact exceptions
649         could be raised.
650         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
651         Likewise.
652         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
653         Avoid conversions to long long int where inexact exceptions
654         could be raised.
655         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
656         Likewise.
658 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
660         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
661         * configure: Regenerated.
663 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
665         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
667 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
670         outside of comment.
672 2016-01-15  Torvald Riegel  <triegel@redhat.com>
674         * nptl/tst-barrier1.c: Add description on first line.
675         * nptl/tst-barrier2.c: Likewise.
676         * nptl/tst-barrier3.c: Likewise.
677         * nptl/tst-barrier4.c: Likewise.
678         * nptl/tst-barrier5.c: Likewise.
680 2016-01-15  Torvald Riegel  <triegel@redhat.com>
682         [BZ #18868]
683         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
685 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
689         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
690         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
691         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
692         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
694         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
695         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
696         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
697         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
699 2016-01-15  Torvald Riegel  <triegel@redhat.com>
701         [BZ #13065]
702         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
703         new implementation.
704         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
705         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
706         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
707         (BARRIER_IN_THRESHOLD): New macro.
708         * nptl/pthread_barrierattr_setpshared.c
709         (pthread_barrierattr_setpshared): Clean up.
710         * nptl/tst-barrier4.c: Correct comment.
711         * nptl/tst-barrier5.c: New file.
712         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
713         (gen-as-const-headers): Remove lowlevelbarrier.sym.
714         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
715         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
716         * nptl/lowlevelbarrier.sym: Remove.
717         * nptl/DESIGN-barrier.txt: Remove.
718         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
719         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
720         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
721         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
722         error.
723         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
724         implementation.
726 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
728         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
729         (do_child): Mask SIGRTMIN while thr is running.
731 2016-01-15  Martin Sebor  <msebor@redhat.com>
733         [BZ #19432]
734         * iconvdata/Makefile: Add bug-iconv11.
735         * iconvdata/bug-iconv11.c: New test.
736         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
737         * iconvdata/ibm933.c: Same.
738         * iconvdata/ibm935.c: Same.
739         * iconvdata/ibm937.c: Same.
740         * iconvdata/ibm939.c: Same.
742 2016-01-15  Martin Sebor  <msebor@redhat.com>
744         [BZ #19443]
745         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
746         [DEBUG] (_ufc_set_bits): Declare used.
747         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
748         [DEBUG] (print_all): Declare used.
749         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
750         operands of the ternary ?: expression to target type.
751         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
752         calling the undeclared abort.
753         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
755 2016-01-15  Martin Sebor  <msebor@redhat.com>
757         [BZ #18755]
758         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
759         warnings.
760         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
761         (__gai_create_helper_thread): Same.
762         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
763         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
764         to suppress -Wmaybe-uninitialized warnings.
766 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
768         [BZ #19465]
769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
770         inside if.
771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
772         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
775 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
777         [BZ #19466]
778         * time/tst-mktime2.c (time_t_max): Removed.
779         (time_t_min): Likewise.
780         (TYPE_SIGNED): New.
781         (TYPE_MINIMUM): Likewise.
782         (TYPE_MAXIMUM): Likewise.
783         (TIME_T_MIN): Likewise.
784         (TIME_T_MAX): Likewise.
785         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
786         and TIME_T_MIN.
787         (do_test): Likewise.
789 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
791         [BZ #19467]
792         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
793         index_Fast_Unaligned_Load flag for Excavator family CPUs.
795 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
797         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
799 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
801         * benchtests/Makefile (PYTHON): Define.
802         (bench-func): Use $(PYTHON) to run python scripts.
803         ($(objpfx)bench-%.c): Likewise.
805 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
807         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
808         leading slash when `file_name' is "/".
810 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
812         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
813         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
814         Likewise.
815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
816         Likewise.
817         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
818         Likewise.
819         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
820         enum constant and macro.
821         (PTRACE_SETSIGMASK): Likewise.
822         (PTRACE_SECCOMP_GET_FILTER): Likewise.
823         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
824         (PTRACE_GETSIGMASK): Likewise.
825         (PTRACE_SETSIGMASK): Likewise.
826         (PTRACE_SECCOMP_GET_FILTER): Likewise.
827         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
828         Likewise.
829         (PTRACE_SETSIGMASK): Likewise.
830         (PTRACE_SECCOMP_GET_FILTER): Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
832         (PTRACE_GETSIGMASK): Likewise.
833         (PTRACE_SETSIGMASK): Likewise.
834         (PTRACE_SECCOMP_GET_FILTER): Likewise.
835         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
836         Likewise.
837         (PTRACE_SETSIGMASK): Likewise.
838         (PTRACE_SECCOMP_GET_FILTER): Likewise.
839         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
840         Likewise.
841         (PTRACE_SETSIGMASK): Likewise.
842         (PTRACE_SECCOMP_GET_FILTER): Likewise.
843         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
844         Likewise.
845         (PTRACE_SETSIGMASK): Likewise.
846         (PTRACE_SECCOMP_GET_FILTER): Likewise.
848 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
849             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
851         [BZ #19439]
852         * math/bits/mathcalls.h
853         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
854         prototype.
855         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
857 2016-01-11  Andreas Schwab  <schwab@suse.de>
859         [BZ #19253]
860         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
861         cache when TZDEFRULES was used.
862         * time/tst-tzname.c: New file.
863         * time/Makefile (test): Add tst-tzname.
864         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
865         * timezone/Makefile (test-zones): Add $(posixrules-file).
866         ($(testdata)/$(posixrules-file)): New rule.
868 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
870         Fix doc quoting problems with Texinfo 5
871         Without this change, in the info file output, Texinfo 5 quotes code
872         in text with undirected single quotes 'like this' and generates
873         code examples that with many PDF readers cannot be cut out of PDFs
874         and pasted into code.
875         * manual/libc.texinfo: Configure the libc manual like the GNU
876         Emacs manual, by using @documentencoding and setting
877         txicodequoteundirected and txicodequotebacktick.  This way,
878         Texinfo 5 quotes code in text with directed single quotes ‘like
879         this’ and produces examples that can be cut out of PDFs.  This
880         change causes Texinfo 5 to generate info files that contain UTF-8
881         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
882         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
884 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
886         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
887         __libc_tabort, __libc_tend): New wrappers that enforce compiler
888         barriers to their respective compiler built-ins.
889         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
890         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
891         * sysdeps/powerpc/sysdep.h: Likewise.
892         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
893         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
894         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
896 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
898         * scripts/config.guess: Revert previous shebang change.
899         * scripts/config.sub: Likewise.
900         * scripts/mkinstalldirs: Likewise.
902 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
904         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
905         PPC_FEATURE2_HAS_IEEE128.
906         * sysdeps/powerpc/dl-procinfo.c:
907         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
909 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
911         [BZ #19415]
912         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
913         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
914         (_dl_lookup_address): Rewrite using function resolver trampoline.
915         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
916         two bits in address.
918 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
920         * longlong.h: Change !__SHMEDIA__ to
921         (!defined (__SHMEDIA__) || !__SHMEDIA__).
922         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
924 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
925             Joseph Myers  <joseph@codesourcery.com>
926             Mark Shinwell  <shinwell@codesourcery.com>
927             Andrew Stubbs  <ams@codesourcery.com>
928             Rich Felker <dalias@libc.org>
930         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
932 2016-01-07  Richard Henderson  <rth@redhat.com>
934         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
936 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
938         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
939         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
940         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
941         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
942         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
944 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
945             Joseph Myers  <joseph@codesourcery.com>
947         * timezone/private.h: Update from tzcode 2015g.
948         * timezone/tzfile.h: Likewise.
949         * timezone/tzselect.ksh: Likewise.
950         * timezone/zdump.c: Likewise.
951         * timezone/zic.c: Likewise.
952         * timezone/ialloc.c: Remove file.
953         * timezone/scheck.c: Likewise.
954         * timezone/Makefile (extra-objs): Remove variable.
955         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
956         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
957         -Wno-maybe-uninitialized.
958         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
959         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
960         (CFLAGS-ialloc.c): Remove variable.
961         (CFLAGS-scheck.c): Likewise.
962         * timezone/README: Update list of files from tzcode.
964 2016-01-07  Khem Raj  <raj.khem@gmail.com>
966         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
967         instead of __fxprintf when _LIBC is undefined.
969 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
971         * catgets/test-gencat.sh: Remove space after shebang.
972         * conform/GlibcConform.pm: Likewise.
973         * conform/check-header-lists.sh: Likewise.
974         * conform/conformtest.pl: Likewise.
975         * conform/linknamespace.pl: Likewise.
976         * conform/list-header-symbols.pl: Likewise.
977         * debug/catchsegv.sh: Likewise.
978         * elf/genrtldtbl.awk: Likewise.
979         * elf/tst-pathopt.sh: Likewise.
980         * elf/tst-rtld-load-self.sh: Likewise.
981         * grp/tst_fgetgrent.sh: Likewise.
982         * iconvdata/gen-8bit-gap-1.sh: Likewise.
983         * iconvdata/gen-8bit-gap.sh: Likewise.
984         * iconvdata/gen-8bit.sh: Likewise.
985         * iconvdata/run-iconv-test.sh: Likewise.
986         * intl/tst-gettext.sh: Likewise.
987         * intl/tst-gettext2.sh: Likewise.
988         * intl/tst-gettext4.sh: Likewise.
989         * intl/tst-gettext6.sh: Likewise.
990         * intl/tst-translit.sh: Likewise.
991         * io/ftwtest-sh: Likewise.
992         * libio/test-freopen.sh: Likewise.
993         * locale/gen-translit.pl: Likewise.
994         * malloc/tst-mtrace.sh: Likewise.
995         * manual/check-safety.sh: Likewise.
996         * manual/libc-texinfo.sh: Likewise.
997         * manual/tsort.awk: Likewise.
998         * manual/xtract-typefun.awk: Likewise.
999         * nptl/tst-cancel-wrappers.sh: Likewise.
1000         * nptl/tst-tls6.sh: Likewise.
1001         * posix/globtest.sh: Likewise.
1002         * posix/tst-getconf.sh: Likewise.
1003         * posix/wordexp-tst.sh: Likewise.
1004         * scripts/check-c++-types.sh: Likewise.
1005         * scripts/check-local-headers.sh: Likewise.
1006         * scripts/config.guess: Likewise.
1007         * scripts/config.sub: Likewise.
1008         * scripts/cpp: Likewise.
1009         * scripts/cross-test-ssh.sh: Likewise.
1010         * scripts/documented.sh: Likewise.
1011         * scripts/evaluate-test.sh: Likewise.
1012         * scripts/gen-libc-abis: Likewise.
1013         * scripts/gen-sorted.awk: Likewise.
1014         * scripts/list-fixed-bugs.py: Likewise.
1015         * scripts/merge-test-results.sh: Likewise.
1016         * scripts/mkinstalldirs: Likewise.
1017         * scripts/rellns-sh: Likewise.
1018         * scripts/test-installation.pl: Likewise.
1019         * scripts/update-copyrights: Likewise.
1020         * stdio-common/tst-printf.sh: Likewise.
1021         * stdio-common/tst-unbputc.sh: Likewise.
1022         * stdlib/tst-fmtmsg.sh: Likewise.
1023         * stdlib/tst-setcontext3.sh: Likewise.
1024         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1025         * sysdeps/unix/make-syscalls.sh: Likewise.
1027 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1029         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1030         asm stw with atomic_exchange_rel.  Add explanatory comment.
1031         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1032         Likewise.
1034 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1036         [BZ #19122]
1037         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1038         * sysdeps/generic/dl-unistd.h: New file.
1039         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1041 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1043          [BZ #19122]
1044          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1045          * sysdeps/generic/dl-mman.h: New file.
1046          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1048 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1050         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1051         trailing whitespace removed.
1052         * scripts/config.guess: Update to version 2016-01-01.
1053         * scripts/config.sub: Update to version 2016-01-01.
1054         * scripts/move-if-change: Update from gnulib.
1056 2016-01-04  Anton Blanchard  <anton@samba.org>
1058         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1059         for array indices.
1060         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1062 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1064         * NEWS: Update copyright dates.
1065         * catgets/gencat.c (print_version): Likewise.
1066         * csu/version.c (banner): Likewise.
1067         * debug/catchsegv.sh: Likewise.
1068         * debug/pcprofiledump.c (print_version): Likewise.
1069         * debug/xtrace.sh (do_version): Likewise.
1070         * elf/ldconfig.c (print_version): Likewise.
1071         * elf/ldd.bash.in: Likewise.
1072         * elf/pldd.c (print_version): Likewise.
1073         * elf/sotruss.sh: Likewise.
1074         * elf/sprof.c (print_version): Likewise.
1075         * iconv/iconv_prog.c (print_version): Likewise.
1076         * iconv/iconvconfig.c (print_version): Likewise.
1077         * locale/programs/locale.c (print_version): Likewise.
1078         * locale/programs/localedef.c (print_version): Likewise.
1079         * login/programs/pt_chown.c (print_version): Likewise.
1080         * malloc/memusage.sh (do_version): Likewise.
1081         * malloc/memusagestat.c (print_version): Likewise.
1082         * malloc/mtrace.pl: Likewise.
1083         * manual/libc.texinfo: Likewise.
1084         * nptl/version.c (banner): Likewise.
1085         * nscd/nscd.c (print_version): Likewise.
1086         * nss/getent.c (print_version): Likewise.
1087         * nss/makedb.c (print_version): Likewise.
1088         * posix/getconf.c (main): Likewise.
1089         * scripts/test-installation.pl: Likewise.
1090         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1092         * All files with FSF copyright notices: Update copyright dates
1093         using scripts/update-copyrights.
1094         * intl/plural.c: Regenerated.
1095         * locale/programs/charmap-kw.h: Likewise.
1096         * locale/programs/locfile-kw.h: Likewise.
1098 2016-01-02  Helge Deller  <deller@gmx.de>
1100         [BZ #19285]
1101         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1102         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1103         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1104         (MADV_xxK_PAGES): Remove.
1106 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1108         [BZ #15421]
1109         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1110         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1111         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1112         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1114 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1116         [BZ #19408]
1117         * sysdeps/unix/sysv/linux/personality.c: New file.
1118         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1119         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1120         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1121         (sysdep_routines): Add personality.
1122         (tests): Add tst-personality.
1123         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1124         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1125         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1126         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1127         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1128         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1129         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1130         Likewise.
1131         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1132         Likewise.
1133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1134         Likewise.
1135         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1136         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1137         Likewise.
1139 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1141         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1142         (PATH_ARM_SYSTYPE): Remove.
1143         (PATH_CPUINFO): Likewise.
1144         (IO_BASE_FOOTBRIDGE): Likewise.
1145         (IO_SHIFT_FOOTBRIDGE): Likewise.
1146         (struct platform): Likewise.
1147         (init_iosys): Remove compatibility code for 2.4 kernels.
1148         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1150 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1152         * malloc/tst-malloc-thread-fail.c: New file.
1153         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1154         (tst-malloc-thread-fail): Link against libpthread.
1156 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1158         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1159         (get_parser): New function.
1160         (main): New function.
1162 2015-12-29  Rob Wu  <rob@robwu.nl>
1164         [BZ #19369]
1165         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1167 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1169         [BZ #19270]
1170         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1172 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1174         [BZ #15421]
1175         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1177 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1179         [BZ #13690]
1180         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1181         after releasing it.
1182         (__lll_robust_unlock): Likewise.
1183         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1184         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1185         (lll_robust_unlock): Likewise.
1186         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1187         Prevent warnings in callers.
1189 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1191         * malloc/arena.c (list_lock): Update comment.
1193 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1195         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1196         __parse_hwcap_and_convert_at_platform to libc.a.
1198 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1200         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1201         platform and feature support for POWER9.
1202         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1203         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1204         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1205         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1206         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1207         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1208         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1209         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1211 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1213         Harmonize generic stdio-lock support with nptl
1215         This fixes build when _IO_funlockfile is a macro, fixes build where
1216         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1217         stack unwind.
1219         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1220         _IO_release_lock ): Use cleanup attribute on new
1221         _IO_acquire_lock_file variable instead of assuming that
1222         _IO_release_lock will be called.
1223         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1224         _IO_acquire_lock_needs_exceptions_enabled.
1225         (_IO_acquire_lock_clear_flags2): New macro.
1227 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1229         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1231 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1233         [BZ #19182]
1234         * malloc/arena.c (list_lock): Document lock ordering requirements.
1235         (free_list_lock): New lock.
1236         (ptmalloc_lock_all): Comment on free_list_lock.
1237         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1238         (detach_arena): Update comment.  free_list_lock is now needed.
1239         (_int_new_arena): Use free_list_lock around detach_arena call.
1240         Acquire arena lock after list_lock.  Add comment, including FIXME
1241         about incorrect synchronization.
1242         (get_free_list): Switch to free_list_lock.
1243         (reused_arena): Acquire free_list_lock around detach_arena call
1244         and attached threads counter update.  Add two FIXMEs about
1245         incorrect synchronization.
1246         (arena_thread_freeres): Switch to free_list_lock.
1247         * malloc/malloc.c (struct malloc_state): Update comments to
1248         mention free_list_lock.
1250 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1252         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1253         Remove functions.
1254         (sloww, sloww1): Accept argument to offset quadrant.
1255         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1256         quadrant.
1257         (__sin, __cos): Consolidate common code into new functions.
1258         (reduce_sincos_1, do_sincos_1): New functions.
1259         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1262         code to new functions.
1263         (reduce_sincos_2, do_sincos_2): New functions.
1264         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1267         common code for sincos.
1268         (__cos) [!IN_SINCOS]: Likewise.
1269         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1270         New function.
1271         (__sincos): Use it.
1273 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1275         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1276         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1277         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1279 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1281         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1284         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1285         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1286         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1287         index_Prefer_No_VZEROUPPER): New feature.
1288         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1289         Prefer_No_VZEROUPPER for Knights Landing.
1291 015-12-18  Torvald Riegel  <triegel@redhat.com>
1293         * math/atest-exp2.c (mp_exp_m1): Remove.
1295 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1297         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1298         syscalls.
1299         (__SYSCALL0): New macro.
1300         (__SYSCALL1): Likewise.
1301         (__SYSCALL2): Likewise.
1302         (__SYSCALL3): Likewise.
1303         (__SYSCALL4): Likewise.
1304         (__SYSCALL5): Likewise.
1305         (__SYSCALL6): Likewise.
1306         (__SYSCALL_CONCAT_X): Likewise.
1307         (__SYSCALL_CONCAT): Likewise.
1308         (__SYSCALL_DIST): Likewise.
1309         (__SYSCALL_CALL): Likewise.
1311 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1313         [BZ #19363]
1314         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1316 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1318         [BZ #19375]
1319         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1320         negative subnormals.
1322 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1325         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1326         (INTERNAL_SYSCALL_NCS): Use it.
1327         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1329 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1331         [BZ #19243]
1332         * malloc/arena.c (get_free_list): Remove assert and adjust
1333         reference count handling.  Add comment about reused_arena
1334         interaction.
1335         (reused_arena): Add comments abount get_free_list interaction.
1336         * malloc/tst-malloc-thread-exit.c: New file.
1337         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1338         (tst-malloc-thread-exit): Link against libpthread.
1340 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1342         [BZ #19367]
1343         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1344         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1345         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1346         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1347         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1349 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1351         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1352         Silvermont optimizations for Knights Landing.
1354 2015-12-15  Andreas Schwab  <schwab@suse.de>
1356         [BZ #17197]
1357         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1358         immediately after emitting SI.
1359         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1360         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1361         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1362         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1363         * iconvdata/bug-iconv10.c: New file.
1364         * iconvdata/Makefile (tests): Add bug-iconv10.
1365         ($(objpfx)bug-iconv10.out): New rule.
1367 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1369         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1370         aliasing violation.
1372 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1374         [BZ #18472]
1375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1376         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1377         conditionals for them.
1378         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1379         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1381         sys/kdaemon.h.
1382         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1383         compat-only syscall, obsoleted in glibc 2.23.
1384         (create_module): Likewise.
1385         (get_kernel_syms): Likewise.
1386         (query_module): Likewise.
1387         (uselib): Likewise.
1388         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1390 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1392         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1393         <linux/version.h>.
1394         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1395         conditional code.
1396         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1397         and ioshift_name initialization.
1399 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1401         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1402         Fix indentation.
1404 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1408 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1410         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1412 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1413             Jakub Wilk  <jwilk@debian.org>
1415         [BZ #19347]
1416         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1417         to change the group of the device to the tty group.
1419 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1421         Split large string section; add truncation advice
1422         * manual/examples/strncat.c: Remove.
1423         This example was misleading, as the code would have undefined
1424         behavior if "hello" was longer than SIZE.  Anyway, the manual
1425         shouldn't encourage strncpy+strncat for this sort of thing.
1426         * manual/string.texi (Copying Strings and Arrays): Split into
1427         three sections Copying Strings and Arrays, Concatenating Strings,
1428         and Truncating Strings, as this section was way too long.  All
1429         cross-referenced changed.  Add advice about string-truncation
1430         functions.  Remove misleading strncat example.
1432 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1434         * manual/nss.texi (NSS Modules Interface): Document
1435         NSS_STATUS_NOTFOUND and SUCCESS.
1437 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1439         [BZ 18568]
1440         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1441         201505L, for Unicode 8.
1443 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1445         * locale/C-translit.h: Regenerate.
1447 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1449         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1450         and U+0153.
1452 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1454         [BZ #19351]
1455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1456         expanding log(1+z), compare z rather than its square with epsilon
1457         to determine when to avoid evaluating the expansion.
1459         [BZ #19350]
1460         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1461         Increase overflow threshold.
1463         [BZ #19349]
1464         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1465         when small.
1467         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1469         New macro.
1470         [__LINUX_KERNEL_VERSION >= 0x040300]
1471         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1473         Likewise.
1474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1475         Likewise.
1476         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1477         Likewise.
1478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1479         Likewise.
1480         [__LINUX_KERNEL_VERSION >= 0x040300]
1481         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1482         [__LINUX_KERNEL_VERSION >= 0x040300]
1483         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1484         [__LINUX_KERNEL_VERSION >= 0x040300]
1485         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1486         [__LINUX_KERNEL_VERSION >= 0x040300]
1487         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1488         [__LINUX_KERNEL_VERSION >= 0x040300]
1489         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1491         Likewise.
1492         [__LINUX_KERNEL_VERSION >= 0x040300]
1493         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1495         Likewise.
1496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1497         Likewise.
1498         [__LINUX_KERNEL_VERSION >= 0x040300]
1499         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1500         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1501         Likewise.
1502         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1503         Likewise.
1504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1506         Likewise.
1507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1508         Likewise.
1509         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1510         Likewise.
1511         [__LINUX_KERNEL_VERSION >= 0x040300]
1512         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1514         Likewise.
1515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1516         Likewise.
1517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1518         Likewise.
1519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1520         Likewise.
1521         [__LINUX_KERNEL_VERSION >= 0x040300]
1522         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1523         [__LINUX_KERNEL_VERSION >= 0x040300]
1524         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1525         [__LINUX_KERNEL_VERSION >= 0x040300]
1526         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1527         [__LINUX_KERNEL_VERSION >= 0x040300]
1528         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1529         [__LINUX_KERNEL_VERSION >= 0x040300]
1530         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1532         Likewise.
1533         [__LINUX_KERNEL_VERSION >= 0x040300]
1534         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1536         Likewise.
1537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1538         Likewise.
1539         [__LINUX_KERNEL_VERSION >= 0x040300]
1540         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1542         Likewise.
1543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1546         (__ASSUME_SOCKET_SYSCALL): Likewise.
1547         (__ASSUME_BIND_SYSCALL): Likewise.
1548         (__ASSUME_CONNECT_SYSCALL): Likewise.
1549         (__ASSUME_LISTEN_SYSCALL): Likewise.
1550         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1551         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1552         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1553         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1554         (__ASSUME_SEND_SYSCALL): Likewise.
1555         (__ASSUME_SENDTO_SYSCALL): Likewise.
1556         (__ASSUME_RECV_SYSCALL): Likewise.
1557         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1558         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1559         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1560         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1561         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1562         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1563         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1564         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1565         Likewise.
1566         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1567         Likewise.
1568         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1569         Likewise.
1570         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1571         Likewise.
1572         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1573         Likewise.
1574         [__LINUX_KERNEL_VERSION >= 0x020625]
1575         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1576         [__LINUX_KERNEL_VERSION >= 0x020625]
1577         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1578         [__LINUX_KERNEL_VERSION >= 0x020625]
1579         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1580         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1581         Likewise.
1582         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1583         Likewise.
1584         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1585         Likewise.
1586         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1587         Likewise.
1588         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1589         Likewise.
1590         [__LINUX_KERNEL_VERSION >= 0x020625]
1591         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1592         [__LINUX_KERNEL_VERSION >= 0x020625]
1593         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1594         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1595         Likewise.
1596         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1597         Likewise.
1599 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1601         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1602         record the current if the current ABI and CPU support the FP64
1603         extension.
1604         (has-modd-spreg): Define to record the current if the current ABI and
1605         CPU support 32-bit floating point values in odd FPU registers.
1606         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1607         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1608         $(has-modd-spreg) equals yes.
1609         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1610         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1611         $(has-modd-spreg) equal yes.
1613 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1615         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1616         basename.
1618 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1620         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1621         (bench-string): ... here.
1622         (bench): Add bench-string.
1623         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1624         to *-benchset to reflect what they are.
1625         (benchset): Adjust.
1627         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1628         cos-inputs.
1630 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1632         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1633         __attribute__ ((__simd__)) for vector math function declarations.
1635 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1637         Fix typo in strncat, wcsncat manual entries
1638         * manual/string.texi (Copying and Concatenation): Fix typos in
1639         sample implementations of strncat and wcsncat, by having them use
1640         the old value of the destination length, not the new one.
1642 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1644         [BZ #16961]
1645         [BZ #16962]
1646         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1647         string on the stack for strtod.
1648         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1649         a string on the stack for strtof.
1650         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1651         constructing a string on the stack for strtold.
1652         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1653         __strtold_nan to GLIBC_PRIVATE.
1654         * math/test-nan-overflow.c: New file.
1655         * math/test-nan-payload.c: Likewise.
1656         * math/Makefile (tests): Add test-nan-overflow and
1657         test-nan-payload.
1659 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1661         Consistency about byte vs character in string.texi
1662         * manual/string.texi (String and Array Utilities):
1663         Distinguish more carefully among bytes, multibyte characters,
1664         and wide characters.  Use "byte" when talking about C 'char',
1665         to distinguish it more clearly from multibyte characters.
1666         Say "wide character" or "multibyte character" instead of
1667         "character", when a wide or multibyte character is intended.
1668         Similarly for "multibyte string" versus "string".
1669         Define these terms more carefully.
1671 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1673         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1674         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1675         Likewise.
1676         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1677         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1678         * sysdeps/sh/math_private.h: New file.
1679         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1680         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1681         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1682         long double function name.
1683         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1684         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1689         Remove __finitel, __isinfl, and __isnanl.
1690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1691         Likewise.
1692         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1694         Remove __finitel.
1695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1696         Likewise.
1697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1699 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1701         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1702         installed libmvec_nonshared.a.
1704 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1706         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1707         (sysdep_routines): Likewise.
1708         (sysdep-rtld-routines): Likewise.
1709         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1710         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1711         * sysdeps/powerpc/Versions: Added new
1712         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1713         * sysdeps/powerpc/hwcapinfo.c: New file.
1714         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1715         and parse hwcap, hwcap2 and platform number information.
1716         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1717         to store HWCAP+HWCAP2 and platform number.
1718         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1719         for HWCAP+HWCAP2 and platform number in the TCB.
1720         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1721         the HWCAP, HWCAP2 and platform number in the TCB.
1722         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1723         (TLS_INIT_TP): Included calls to add the hwcap and
1724         at_platform values in the TCB in TP initialization.
1725         (TLS_DEFINE_INIT_TP): Likewise.
1726         (THREAD_GET_HWCAP): New macro.
1727         (THREAD_SET_HWCAP): Likewise.
1728         (THREAD_GET_AT_PLATFORM): Likewise.
1729         (THREAD_SET_AT_PLATFORM): Likewise.
1730         * sysdeps/powerpc/powerpc32/dl-machine.h:
1731         (dl_platform_init): New function that calls
1732         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1733         powerpc32.
1734         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1735         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1736         this functionality, static linking case.
1737         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1738         linking case.
1739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1740         __parse_hwcap_and_convert_at_platform for the static linking case.
1741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1742         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1743         ABI list for GLIBC 2.23.
1744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1745         Likewise.
1746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1747         Likewise.
1749 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1751         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1752         * configure: Regenerate.
1753         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1754         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1756 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1758         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1759         * iconvdata/ibm933.c: Likewise.
1760         * iconvdata/ibm935.c: Likewise.
1761         * iconvdata/ibm937.c: Likewise.
1762         * iconvdata/ibm939.c: Likewise.
1764 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1766         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1767         pthread_join.
1768         * nptl/tst-cancel21.c (tf): Likewise.
1770 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1772         [BZ #19313]
1773         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1774         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1775         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1776         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1777         Likewise.
1778         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1779         Likewise.
1780         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1783         Likewise.
1784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1785         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1786         unsigned long int with __CPU_MASK_TYPE.
1788 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1790         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1792 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1794         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1795         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1796         t512.x.
1797         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1799 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1801         [BZ #19214]
1802         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1803         argument to return extended model.  Update family and model
1804         with extended family and model when family == 0x0f.
1805         (init_cpu_features): Updated.
1807 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1809         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1810         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1812         * sysdeps/mach/hurd/mmap64.c: New file.
1814 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1816         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1817         rights for its main user thread in NEWTASK.
1819 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1821         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1822         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1824 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1826         [BZ #14259]
1827         * Makeconfig: Rename localedir to complocaledir.
1828         Rename inst_localedir to inst_complocaledir.
1829         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1830         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1831         * configure.ac: Use libc_cv_complocaledir.
1832         * configure: Regenerate.
1833         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1834         -DCOMPLOCALEDIR.
1835         * locale/findlocale.c: Use COMPLOCALEDIR.
1836         * locale/loadarchive.c: Likewise.
1837         * locale/programs/locale.c: Likewise.
1838         * locale/programs/localedef.c: Likewise.
1839         * locale/programs/locarchive.c: Likewise.
1840         * localedata/Makefile: Use inst_complocaledir.
1841         * sysdeps/gnu/configure: Regenerate.
1842         * sysdeps/hppa/configure: Regenerate.
1843         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1844         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1846         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1848         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1849         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1851 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1853         [BZ #19058]
1854         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1855         AS_NEEDED.
1856         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1857         workaround.
1858         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1859         libmvec-static-only-routines): Added new file.
1860         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1862 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1864         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1865         of interrupted RPC instead of restoring it.
1867         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1868         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1869         libc_hidden_def.
1870         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1871         into initialized data instead of common. Define rtld_hidden_data_def.
1872         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1873         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1874         libc_hidden_def.
1875         (if_freenameindex): Add libc_hidden_weak.
1876         (if_nameindex): Add libc_hidden_weak.
1877         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1878         __open64.
1879         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1880         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1881         * sysdeps/mach/nanosleep.c: Include <time.h>
1882         (__nanosleep): Rename to __libc_nanosleep.
1883         (__nanosleep): Add weak_alias.
1884         (nanosleep): Update alias.
1886 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1888         * stdlib/strtod_nan.c: New file.
1889         * stdlib/strtod_nan_double.h: Likewise.
1890         * stdlib/strtod_nan_float.h: Likewise.
1891         * stdlib/strtod_nan_main.c: Likewise.
1892         * stdlib/strtod_nan_narrow.h: Likewise.
1893         * stdlib/strtod_nan_wide.h: Likewise.
1894         * stdlib/strtof_nan.c: Likewise.
1895         * stdlib/strtold_nan.c: Likewise.
1896         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1897         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1898         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1899         * wcsmbs/wcstod_nan.c: Likewise.
1900         * wcsmbs/wcstof_nan.c: Likewise.
1901         * wcsmbs/wcstold_nan.c: Likewise.
1902         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1903         strtold_nan.
1904         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1905         wcstof_nan.
1906         * include/stdlib.h (__strtof_nan): Declare and use
1907         libc_hidden_proto.
1908         (__strtod_nan): Likewise.
1909         (__strtold_nan): Likewise.
1910         (__wcstof_nan): Likewise.
1911         (__wcstod_nan): Likewise.
1912         (__wcstold_nan): Likewise.
1913         * include/wchar.h (____wcstoull_l_internal): Declare.
1914         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1915         (____strtoull_l_internal): Remove declaration.
1916         (STRTOF_NAN): Define macro.
1917         (SET_MANTISSA): Remove macro.
1918         (STRTOULL): Likewise.
1919         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1920         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1921         (STRTOF_NAN): Define macro.
1922         (SET_MANTISSA): Remove macro.
1923         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1924         (SET_MANTISSA): Remove macro.
1925         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1926         macro.
1927         (SET_MANTISSA): Remove macro.
1928         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1929         macro.
1930         (SET_MANTISSA): Remove macro.
1931         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1932         (SET_MANTISSA): Remove macro.
1933         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1934         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1935         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1937         [BZ #19266]
1938         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1939         upper case and lower case letters inside NAN(), not using TOLOWER.
1940         * stdlib/tst-strtod-nan-locale-main.c: New file.
1941         * stdlib/tst-strtod-nan-locale.c: Likewise.
1942         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1943         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1944         Depend on $(gen-locales).
1945         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1946         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1947         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1948         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1949         Depend on $(gen-locales).
1950         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1952 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1954         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1956         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1958         __finitel, __isinfl, and __isnanl.
1959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1960         Likewise.
1961         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1963         __finitel.
1964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1965         Likewise.
1966         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1968 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1970         * malloc/memusage.c (me): Remove redundant getenv call.
1972 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1974         [BZ #19143]
1975         [BZ #19164]
1976         * nptl/check-cpuset.h: Remove.
1977         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1978         Remove CPU set size check.
1979         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1980         Likewise.
1981         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1982         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1983         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1984         (__pthread_setaffinity_new): Remove CPU set size check.
1985         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1986         (__kernel_cpumask_size): Remove.
1987         (__sched_setaffinity_new): Remove CPU set size check.
1988         * manual/threads.texi (Default Thread Attributes): Remove stale
1989         reference to check_cpuset_attr, determine_cpumask_size in comment.
1990         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1991         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1992         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1993         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1994         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1995         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1996         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1997         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1998         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1999         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2000         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2001         skeleton test file.
2002         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2003         tst-affinity-pid.
2005 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2007         * scripts/update-abilist.sh: New file.
2008         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2009         * Makerules (update-all-abi-%, update-all-abi)
2010         (subdir_update-all-abi): New targets.
2011         * elf/Makefile (update-all-abi): New target.
2013 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2015         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2016         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2017         (__libc_lock_define_initialized): Use it.
2018         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2019         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2020         * malloc/malloc.c (main_arena): Likewise.
2021         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2022         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2024 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2026         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2027         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2028         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2029         (PTRACE_O_MASK): Update value.
2030         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2031         New value in enum __ptrace_setoptions.
2032         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2033         (PTRACE_O_MASK): Update value.
2034         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2035         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2036         (PTRACE_O_MASK): Update value.
2037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2038         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2039         (PTRACE_O_MASK): Update value.
2040         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2041         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2042         (PTRACE_O_MASK): Update value.
2043         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2044         New value in enum __ptrace_setoptions.
2045         (PTRACE_O_MASK): Update value.
2046         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2047         New value in enum __ptrace_setoptions.
2048         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2049         (PTRACE_O_MASK): Update value.
2051         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2052         New macro.
2053         (PACKET_AUXDATA): Likewise.
2054         (PACKET_ORIGDEV): Likewise.
2055         (PACKET_VERSION): Likewise.
2056         (PACKET_HDRLEN): Likewise.
2057         (PACKET_RESERVE): Likewise.
2058         (PACKET_TX_RING): Likewise.
2059         (PACKET_LOSS): Likewise.
2060         (PACKET_VNET_HDR): Likewise.
2061         (PACKET_TX_TIMESTAMP): Likewise.
2062         (PACKET_TIMESTAMP): Likewise.
2063         (PACKET_FANOUT): Likewise.
2064         (PACKET_TX_HAS_OFF): Likewise.
2065         (PACKET_QDISC_BYPASS): Likewise.
2066         (PACKET_ROLLOVER_STATS): Likewise.
2067         (PACKET_FANOUT_DATA): Likewise.
2068         (PACKET_MR_UNICAST): Likewise.
2070         [BZ #19242]
2071         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2072         (TOUPPER): Likewise.
2073         * stdlib/tst-strtol-locale-main.c: New file.
2074         * stdlib/tst-strtol-locale.c: Likewise.
2075         * stdlib/Makefile (tests): Add tst-strtol-locale.
2076         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2077         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2078         Depend on $(gen-locales).
2079         * wcsmbs/tst-wcstol-locale.c: New file.
2080         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2081         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2082         tr_TR.ISO-8859-9.
2083         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2084         Depend on $(gen-locales).
2086 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2088         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2089         __glibc_likely instead of __builtin_expect.  After falling back to
2090         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2091         system interface to register the code pages as occupied.
2093 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2095         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2096         [!ARM_MATH_PRIVATE_H].
2097         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2098         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2099         [!HPPA_MATH_PRIVATE_H].
2100         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2101         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2102         to [!I386_MATH_PRIVATE_H].
2103         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2104         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2105         Change guard to [!M68K_MATH_PRIVATE_H].
2106         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2107         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2108         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2109         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2110         macro.
2111         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2112         [!MIPS_MATH_PRIVATE_H].
2113         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2114         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2115         [!NIO2_MATH_PRIVATE_H].
2116         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2117         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2118         [!TILE_MATH_PRIVATE_H].
2119         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2121         [BZ #15421]
2122         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2123         initialize with 0 and define as weak alias of __signgam.
2124         * include/math.h [!_ISOMAC] (__signgam): Declare.
2125         * math/Makefile (libm-calls): Add w_lgamma_compat.
2126         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2127         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2128         test-signgam-ullong-init.
2129         (tests-static): Add test-signgam-uchar-static,
2130         test-signgam-uchar-init-static, test-signgam-uint-static,
2131         test-signgam-uint-init-static, test-signgam-ullong-static and
2132         test-signgam-ullong-init-static.
2133         (CFLAGS-test-signgam-uchar.c): New variable.
2134         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2135         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2136         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2137         (CFLAGS-test-signgam-uint.c): Likewise.
2138         (CFLAGS-test-signgam-uint-init.c): Likewise.
2139         (CFLAGS-test-signgam-uint-static.c): Likewise.
2140         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2141         (CFLAGS-test-signgam-ullong.c): Likewise.
2142         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2143         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2144         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2145         * math/Versions (libm): Add GLIBC_2.23.
2146         * math/lgamma-compat.h: New file.
2147         * math/test-signgam-main.c: Likewise.
2148         * math/test-signgam-uchar-init-static.c: Likewise.
2149         * math/test-signgam-uchar-init.c: Likewise.
2150         * math/test-signgam-uchar-static.c: Likewise.
2151         * math/test-signgam-uchar.c: Likewise.
2152         * math/test-signgam-uint-init-static.c: Likewise.
2153         * math/test-signgam-uint-init.c: Likewise.
2154         * math/test-signgam-uint-static.c: Likewise.
2155         * math/test-signgam-uint.c: Likewise.
2156         * math/test-signgam-ullong-init-static.c: Likewise.
2157         * math/test-signgam-ullong-init.c: Likewise.
2158         * math/test-signgam-ullong-static.c: Likewise.
2159         * math/test-signgam-ullong.c: Likewise.
2160         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2161         wrapper of w_lgamma_main.c.
2162         * math/w_lgamma_compat.c: New file.
2163         * math/w_lgamma_compatf.c: Likewise.
2164         * math/w_lgamma_compatl.c: Likewise.
2165         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2166         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2167         defining compatibility symbols.
2168         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2169         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2170         wrapper of w_lgammaf_main.c.
2171         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2172         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2173         defining compatibility symbols.
2174         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2175         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2176         wrapper of w_lgammal_main.c.
2177         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2178         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2179         defining compatibility symbols.
2180         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2181         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2182         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2183         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2184         <lgamma-compat.h>.
2185         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2186         (__ieee754_gamma): Define as alias.
2187         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2188         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2189         <lgamma-compat.h>.
2190         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2191         (__ieee754_gammaf): Define as alias.
2192         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2193         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2194         <lgamma-compat.h>.
2195         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2196         (__ieee754_gammal): Define as alias.
2197         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2198         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2199         <math/w_lgamma_compat.c>.
2200         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2201         Define as alias of __lgamma_compat and use in defining lgammal.
2202         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2203         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2204         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2205         (USE_AS_COMPAT): New macro.
2206         (LGAMMA_OLD_VER): Undefine and redefine.
2207         (lgammal): Do not define here.
2208         (gammal): Only define here if [GAMMA_ALIAS].
2209         * conform/linknamespace.pl (@whitelist): Remove signgam.
2210         * sysdeps/nacl/libm.abilist: Update.
2211         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2212         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2218         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2219         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2220         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2221         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2224         Likewise.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2226         Likewise.
2227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2228         Likewise.
2229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2230         Likewise.
2231         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2233         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2234         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2235         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2239         Likewise.
2240         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2242         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2244 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2246         [BZ #16364]
2247         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2248         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2250 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2252         * sysdeps/s390/fpu/bits/mathinline.h:
2253         Use __asm__ [__volatile__] instead of asm [volatile].
2254         * sysdeps/s390/abort-instr.h: Likewise.
2255         * sysdeps/s390/atomic-machine.h: Likewise.
2256         * sysdeps/s390/bits/string.h: Likewise.
2257         * sysdeps/s390/dl-tls.h: Likewise.
2258         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2259         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2260         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2261         * sysdeps/s390/fpu/fesetround.c: Likewise.
2262         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2263         * sysdeps/s390/fpu/s_fma.c: Likewise.
2264         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2265         * sysdeps/s390/memusage.h: Likewise.
2266         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2267         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2268         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2269         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2270         * sysdeps/s390/nptl/tls.h: Likewise.
2271         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2272         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2273         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2274         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2275         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2276         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2277         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2278         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2279         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2280         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2281         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2282         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2283         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2284         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2285         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2286         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2287         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2288         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2289         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2291         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2293         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2295 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2296             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2298         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2299         Add lwarx hint, and use macro for acquire instruction.
2300         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2301         Likewise.
2302         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2303         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2304         update to use new atomic macros.
2306 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2308         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2309         (__lll_trylock_elision): Fix setting of adapt_count.
2310         * sysdeps/unix/sysv/linux/powerpc/htm.h
2311         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2312         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2313         (_ABORT_SYSCALL): Renumber, and clarify definition.
2314         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2316 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2318         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2319         after system headers to prevent MIN/MAX redefinition.  Define
2320         HAVE_ALLOCA to preserve builtin alloca usage.
2322 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2324         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2325         static and don't set or restore rounding.
2326         (__cos)[IN_SINCOS]: Likewise.
2327         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2328         (__sincos): Set and restore rounding mode.  Remove check for infinite
2329         or NaN input.
2331         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2333         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2334         as used.
2336 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2338         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2340 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2342         * config.make.in (have-glob-dat-reloc): New.
2343         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2344         target supports GLOB_DAT relocaton. AC_SUBST.
2345         * configure: Regenerated.
2346         * elf/Makefile (tests): Add tst-prelink.
2347         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2348         (tst-prelink-ENV): New.
2349         ($(objpfx)tst-prelink-conflict.out): Likewise.
2350         ($(objpfx)tst-prelink-cmp.out): Likewise.
2351         * sysdeps/x86/tst-prelink.c: Moved to ...
2352         * elf/tst-prelink.c: Here.
2353         * sysdeps/x86/tst-prelink.exp: Moved to ...
2354         * elf/tst-prelink.exp: Here.
2355         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2356         (tst-prelink-ENV): Removed.
2357         ($(objpfx)tst-prelink-conflict.out): Likewise.
2358         ($(objpfx)tst-prelink-cmp.out): Likewise.
2359         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2361 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2363         [BZ #14551]
2364         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2365         (__mpn_construct_long_double): If high part overflows to infinity,
2366         set errno and recompute overflowed result of the correct sign.
2367         * sysdeps/ieee754/ldbl-128ibm/Makefile
2368         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2369         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2370         $(libm).
2371         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2373 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2375         [BZ #15479]
2376         [BZ #19238]
2377         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2378         floating-point state after first operation on input.  Restore full
2379         state rather than just rounding mode.
2380         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2381         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2382         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2384         [BZ #19235]
2385         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2386         add 0.5 to integer arguments.
2387         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2388         Likewise.
2389         (.LC2): New object.
2391 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2393         * scripts/pylintrc (reports): Set to no.
2395 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2397         * elf/dl-load.c (open_verify): Take new argument FD.
2398         Skip __open call if passed FD is not -1.
2399         (_dl_map_object, open_path): Update callers.
2400         * elf/dl-sysdep-open.h: New file.
2401         * elf/dl-load.c: Include it.
2402         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2403         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2404         * sysdeps/nacl/dl-sysdep-open.h: New file.
2405         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2406         from libc to rtld.
2408 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2410         [BZ #19228]
2411         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2412         and restore full floating-point state.
2413         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2414         Likewise.
2415         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2416         Likewise.
2417         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2418         Likewise.
2419         * math/test-nearbyint-except-2.c: New file.
2420         * math/Makefile (tests): Add test-nearbyint-except-2.
2422 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2424         [BZ #19178]
2425         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2426         (tst-prelink-ENV): New.
2427         ($(objpfx)tst-prelink-conflict.out): Likewise.
2428         ($(objpfx)tst-prelink-cmp.out): Likewise.
2429         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2430         * sysdeps/x86/tst-prelink.c: New file.
2431         * sysdeps/x86/tst-prelink.exp: Likewise.
2433 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2435         * math/auto-libm-test-in: Add another test of pow.
2436         * math/auto-libm-test-out: Regenerated.
2437         * math/libm-test.inc (pow_test_data): Add another test.
2439 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2441         [BZ #19219]
2442         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2443         weak_alias to nearbyintl.
2445 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2447         * sysdeps/aarch64/bits/string.h: New file.
2448         (_STRING_ARCH_unaligned): Define.
2450 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2452         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2453         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2454         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2455         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2458 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2460         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2461         for original name of the DSO.  Add it to the name list of the DSO
2462         if it is actually given.
2463         (_dl_map_object): Keep track of whether an audit module rewrote
2464         the file name.  If yes, pass the original name to
2465         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2466         debugging is enabled, log the change of the file name.
2467         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2468         _dl_map_object_from_fd.
2469         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2470         * elf/tst-audit11.c: New file
2471         * elf/tst-auditmod11.c: New file.
2472         * elf/tst-audit11mod1.c: New file.
2473         * elf/tst-audit11mod2.c: New file.
2474         * elf/tst-audit11mod2.map: New file.
2475         * elf/tst-audit12.c: New file
2476         * elf/tst-auditmod12.c: New file.
2477         * elf/tst-audit12mod1.c: New file.
2478         * elf/tst-audit12mod2.c: New file.
2479         * elf/tst-audit12mod2.map: New file.
2480         * elf/tst-audit12mod3.c: New file.
2482 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2484         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2485         Don't create weak aliases,
2486         because versioned symbols are created later.
2487         * sysdeps/s390/s390-32/setjmp.S
2488         (setjmp, _setjmp): Remove weak and rename to an unique name
2489         in SHARED case due to existing versioned symbols.
2490         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2491         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2492         (getcontext): Create weak alias only in non SHARED case.
2493         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2495 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2497         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2498         (__ASSUME_*_SYSCALL) Define new macros.
2499         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2500         Remove socketcall syscalls.
2501         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2502         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2503         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2504         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2505         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2506         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2508 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2510         [BZ #12926]
2511         Terminate process on invalid netlink response.
2512         * sysdeps/unix/sysv/linux/netlinkaccess.h
2513         (__netlink_assert_response): Declare.
2514         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2515         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2516         (sysdep_routines): Add netlink_assert_response.
2517         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2518         __netlink_assert_response.
2519         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2520         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2521         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2522         __netlink_assert_response.
2524 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2526         [BZ #19178]
2527         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2528         (RTYPE_CLASS_PLT): Likewise.
2529         (RTYPE_CLASS_COPY): Likewise.
2530         (RTYPE_CLASS_TLS): Likewise.
2531         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2532         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2533         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2534         DL_DEBUG_PRELINK.
2536 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2538         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2539         calls with argument -0.5.
2540         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2542         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2543         (libc_cv_z_nodlopen): Likewise.
2544         (libc_cv_z_initfirst): Likewise.
2545         * configure: Regenerated.
2547 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2549         Simplify abilist format to be line-based.
2550         * scripts/abilist.awk: Collect descriptors in the descs variable.
2551         (emit): Write descs variable and sort it
2552         externally, with sort.
2553         * sysdeps/**/*.abilist: Convert to new format.
2555 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2557         [BZ #11460]
2558         * io/Makefile (routines): Add fts64.
2559         (tests): Add tst-fts and tst-fts-lfs.
2560         (CFLAGS-fts64.c): New.
2561         * io/Versions (GLIBC_2.23): New.
2562         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2563         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2564         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2565         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2566         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2567         (FTSENT64): Likewise.
2568         (fts64_children): Likewise.
2569         (fts64_close): Likewise.
2570         (fts64_open): Likewise.
2571         (fts64_read): Likewise.
2572         (fts64_set): Likewise.
2573         * io/fts64.c: New file.
2574         * io/tst-fts.c: New test.
2575         * io/tst-fts-lfs.c: Likewise.
2576         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2577         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2578         fts64_set.
2579         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2598         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2599         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2600         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2601         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2602         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2605         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2606         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2607         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2608         * sysdeps/wordsize-64/fts.c: New file.
2609         * sysdeps/wordsize-64/fts64.c: Likewise.
2610         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2611         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2612         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2613         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2615 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2617         * math/libm-test.inc (NON_FINITE): New macro.
2618         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2619         * math/gen-libm-test.pl (show_exceptions): Add argument
2620         $non_finite.
2621         (parse_args): Update call to show_exceptions.
2622         * math/test-math-finite.h: New file.
2623         * math/test-math-no-finite.h: Likewise.
2624         * math/test-double-finite.c: Likewise.
2625         * math/test-float-finite.c: Likewise.
2626         * math/test-ldouble-finite.c: Likewise.
2627         * math/test-double.c: Include "test-math-no-finite.h".
2628         * math/test-float.c: Include "test-math-no-finite.h".
2629         * math/test-ldouble.c: Include "test-math-no-finite.h".
2630         * math/test-math-inline.h (TEST_FINITE): New macro.
2631         * math/test-math-vector.h (TEST_FINITE): Likewise.
2632         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2633         (libm-tests): Add test-float-finite and test-double-finite.
2634         ($(objpfx)test-float-finite.o): New dependency on
2635         $(objpfx)libm-test.stmp.
2636         ($(objpfx)test-double-finite.o): Likewise.
2637         ($(objpfx)test-ldouble-finite.o): Likewise.
2638         (libm-test-no-inline-cflags): New variable.
2639         (libm-test-finite-cflags): Likewise.
2640         (CFLAGS-test-float-finite.c): Likewise.
2641         (CFLAGS-test-double-finite.c): Likewise.
2642         (CFLAGS-test-ldouble-finite.c): Likewise.
2643         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2644         (CFLAGS-test-double.c): Likewise.
2645         (CFLAGS-test-ldouble.c): Likewise.
2647 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2649         * io/fcntl.c (__fcntl): Add ... to prototype.
2650         * misc/ioctl.c (__ioctl): Likewise.
2651         * misc/syscall.c (syscall): Likewise.
2653 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2655         * scripts/list-fixed-bugs.py: New file.
2657         [BZ #19213]
2658         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2659         returned for argument 1.
2660         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2661         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2662         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2663         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2664         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2665         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2667         [BZ #19211]
2668         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2669         __USE_XOPEN], not if [!__USE_ISOC99].
2670         (lgammaf): Likewise.
2671         (lgammal): Likewise.
2672         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2673         (gammaf): Likewise.
2674         (gammal): Likewise.
2675         * math/test-signgam-finite-c11.c: New file.
2676         * math/test-signgam-finite-c99.c: Likewise.
2677         * math/test-signgam-finite.c: Likewise.
2678         * math/Makefile (tests): Add test-signgam-finite,
2679         test-signgam-finite-c99 and test-signgam-finite-c11.
2680         (CFLAGS-test-signgam-finite.c): New variable.
2681         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2682         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2684         [BZ #19212]
2685         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2686         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2687         500].
2688         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2689         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2690         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2691         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2692         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2693         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2694         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2695         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2696         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2697         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2699         [BZ #19209]
2700         * math/bits/math-finite.h (ldexp): Remove declaration.
2701         (ldexpf): Likewise.
2702         (ldexpl): Likewise.
2704         [BZ #19205]
2705         * math/bits/math-finite.h (acosf): Condition declaration on
2706         [__USE_ISOC99].
2707         (acosl): Likewise.
2708         (acoshf): Likewise.
2709         (acoshl): Likewise.
2710         (asinf): Likewise.
2711         (asinl): Likewise.
2712         (atan2f): Likewise.
2713         (atan2l): Likewise.
2714         (atanhf): Likewise.
2715         (atanhl): Likewise.
2716         (coshf): Likewise.
2717         (coshl): Likewise.
2718         (expf): Likewise.
2719         (expl): Likewise.
2720         (fmodf): Likewise.
2721         (fmodl): Likewise.
2722         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2723         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2724         (j0l): Likewise.
2725         (y0f): Likewise.
2726         (y0l): Likewise.
2727         (j1f): Likewise.
2728         (j1l): Likewise.
2729         (y1f): Likewise.
2730         (y1l): Likewise.
2731         (jnf): Likewise.
2732         (jnl): Likewise.
2733         (ynf): Likewise.
2734         (ynl): Likewise.
2735         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2736         (lgammal_r): Likewise.
2737         (__lgamma_r_finite): New declaration.
2738         (__lgammaf_r_finite): Likewise.
2739         (__lgammal_r_finite): Likewise.
2740         (lgamma): Use __lgamma_r_finite.
2741         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2742         __lgammaf_r_finite.
2743         (lgammal): Condition definition on [__USE_ISOC99].  Use
2744         __lgammal_r_finite.
2745         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2746         __lgamma_r_finite.
2747         (gammaf): Condition definition on [__USE_ISOC99].  Use
2748         __lgammaf_r_finite.
2749         (gammal): Condition definition on [__USE_ISOC99].  Use
2750         __lgammal_r_finite.
2751         (logf): Condition declaration on [__USE_ISOC99].
2752         (logl): Likewise.
2753         (log10f): Likewise.
2754         (log10l): Likewise.
2755         (ldexpf): Likewise.
2756         (ldexpl): Likewise.
2757         (powf): Likewise.
2758         (powl): Likewise.
2759         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2760         __USE_ISOC99].
2761         (remainderf): Condition declaration on [__USE_ISOC99].
2762         (remainderl): Likewise.
2763         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2764         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2765         (scalbl): Likewise.
2766         (sinhf): Condition declaration on [__USE_ISOC99].
2767         (sinhl): Likewise.
2768         (sqrtf): Likewise.
2769         (sqrtl): Likewise.
2771 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2773         * sysdeps/arm/atomic-machine.h
2774         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2775         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2776         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2777         Remove conditional code.
2778         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2779         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2780         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2781         Change conditional to [__ASSEMBLER__].
2782         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2783         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2784         [!__ASSEMBLER__].
2785         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2786         code.
2787         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2788         conditional macro definitions.
2789         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2790         (__arch_compare_and_exchange_val_16_acq): Likewise.
2791         (__arch_compare_and_exchange_val_32_acq): Likewise.
2792         (atomic_exchange_and_add): Likewise.
2793         (atomic_add): Likewise.
2794         (atomic_add_negative): Likewise.
2795         (atomic_add_zero): Likewise.
2796         (atomic_bit_set): Likewise.
2797         (atomic_bit_test_set): Likewise.
2798         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2799         code unconditional.
2800         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2802         * math/test-math-errno.h: New file.
2803         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2804         empty.
2805         (TEST_ERRNO): New macro.
2806         (TEST_EXCEPTIONS): Likewise.
2807         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2808         (TEST_EXCEPTIONS): Likewise.
2809         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2810         * math/test-double.c: Include "test-math-errno.h".
2811         * math/test-float.c: Likewise.
2812         * math/test-ldouble.c: Likewise.
2813         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2814         code unconditional.
2815         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2816         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2817         unconditional.
2818         (test_errno): Only run code if TEST_ERRNO.
2819         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2821 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2823         * nptl/tst-once5.cc: Remove attribution.
2825 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2827         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2828         sqrt, tan, tanh, y0, y1 and yn.
2829         * math/auto-libm-test-out: Regenerated.
2830         * math/libm-test.inc (scalb_test_data): Add more tests.
2831         (scalbn_test_data): Likewise.
2832         (scalbln_test_data): Likewise.
2833         (signbit_test_data): Likewise.
2834         (sin_test_data): Likewise.
2835         (sincos_test_data): Likewise.
2836         (sinh_test_data): Likewise.
2837         (sqrt_test_data): Likewise.
2838         (tan_test_data): Likewise.
2839         (tanh_test_data): Likewise.
2840         (tgamma_test_data): Likewise.
2841         (y0_test_data): Likewise.
2842         (y1_test_data): Likewise.
2843         (yn_test_data): Likewise.
2844         (significand_test_data): Likewise.
2845         * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 2015-11-03  David Kastrup  <dak@gnu.org>
2849         [BZ #18604]
2850         * assert/assert.h (assert): Don't macro-expand failed assertion
2851         expression in error message.
2852         * malloc/malloc.c (assert): Likewise.
2854 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2856         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2857         test.
2858         * configure: Regenerated.
2860 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2862         * math/libm-test.inc (modf_test_data): Add more tests.
2863         (nearbyint_test_data): Likewise.
2864         (nextafter_test_data): Likewise.
2865         (nexttoward_test_data): Likewise.
2866         (pow_test_data): Likewise.
2867         (remainder_test_data): Likewise.
2868         (remquo_test_data): Likewise.
2869         (rint_test_data): Likewise.
2871         [BZ #19201]
2872         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2873         Check for zero remainder in case of large exponents and ensure
2874         correct sign of result in that case.
2875         * math/libm-test.inc (remainder_test_data): Add more tests.
2877         [BZ #6799]
2878         * math/s_nextafter.c: Include <errno.h>.
2879         (__nextafter): Set errno on overflow and underflow.
2880         * math/s_nexttowardf.c: Include <errno.h>.
2881         (__nexttowardf): Set errno on overflow and underflow.
2882         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2883         (__nextafterl): Set errno on overflow and underflow.
2884         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2885         (__nexttoward): Set errno on overflow and underflow.
2886         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2887         (__nexttowardf): Set errno on overflow and underflow.
2888         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2889         (__nextafterf): Set errno on overflow and underflow.
2890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2891         (__nextafterl): Set errno on overflow and underflow.
2892         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2893         (__nexttoward): Set errno on overflow and underflow.
2894         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2895         (__nexttowardf): Set errno on overflow and underflow.
2896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2897         (__nextafterl): Set errno on overflow and underflow.
2898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2899         (__nexttoward): Set errno on overflow and underflow.
2900         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2901         (__nexttowardf): Set errno on overflow and underflow.
2902         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2903         (__nexttoward): Set errno on overflow and underflow.
2904         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2905         (__nexttowardf): Set errno on overflow and underflow.
2906         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2907         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2908         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2909         (__nextafterl): Set errno on overflow and underflow.
2910         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2911         setting to be missing on overflow.  Add more tests.
2912         (nexttoward_test_data): Likewise.
2914         * configure.ac (libc_cv_initfini_array): Remove configure test.
2915         * configure: Regenerated.
2917 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2919         [BZ #19189]
2920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2921         non-finite argument handle arguments with negative sign.
2923         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2924         result from infinite argument.
2925         (j1_test_data): Likewise.
2926         (jn_test_data): Likewise.
2927         (y0_test_data): Likewise.
2928         (y1_test_data): Likewise.
2929         (yn_test_data): Likewise.
2931         [BZ #16171]
2932         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2933         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2934         * math/w_remainderf.c (dremf): Define as weak alias of
2935         __remainderf.
2936         * math/w_remainderl.c (dreml): Define as weak alias of
2937         __remainderl.
2938         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2939         __remainder.
2940         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2941         __remainderf.
2942         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2943         __remainderl.
2944         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2945         weak alias of remainderl.
2946         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2947         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2948         alias of __remainder.
2949         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2950         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2951         strong alias of __remainderl.
2952         (dreml): Use long_double_symbol.
2953         * math/Makefile (libm-calls): Remove w_drem.
2954         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2955         (CFLAGS-nldbl-drem.c): Remove variable.
2956         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2957         * math/w_drem.c: Remove file.
2958         * math/w_dremf.c: Likewise.
2959         * math/w_dreml.c: Likewise.
2960         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2961         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2962         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2964         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2965         * sysdeps/i386/configure: Regenerated.
2966         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2967         * sysdeps/x86_64/configure: Regenerated.
2969         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2970         test.
2971         (libc_cv_visibility_attribute): Likewise.
2972         (libc_cv_protected_data): Test unconditionally.
2973         (libc_cv_broken_visibility_attribute): Remove configure test.
2974         (libc_cv_have_sdata_section): Test unconditionally.
2975         * configure: Regenerated.
2977         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2978         * include/scratch_buffer.h: Include <stddef.h> instead of
2979         <libc-internal.h>.
2980         (struct scratch_buffer): Use max_align_t instead of
2981         libc_max_align_t.
2983 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2985         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2986         instead of extend_alloca.  Change control flow to avoid a goto.
2987         Remove assert which is trivially always true.
2989 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2991         [BZ #16068]
2992         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2993         (FE_ALL_EXCEPT_X86): New macro.
2994         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2995         FE_ALL_EXCEPT.  Ensure precision control is included in
2996         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2997         handle "denormal operand exception" and clear FZ and DAZ bits.
2998         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2999         (FE_ALL_EXCEPT_X86): New macro.
3000         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3001         FE_ALL_EXCEPT.  Ensure precision control is included in
3002         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3003         handle "denormal operand exception" and clear FZ and DAZ bits.
3004         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3005         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3006         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3007         test-fenv-x87 and test-fenv-sse-2.
3008         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3010         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3011         * math/test-double.h (BUILD_COMPLEX): New macro.
3012         * math/test-float.h (BUILD_COMPLEX): Likewise.
3013         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3015         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3016         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3017         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3019         instead of DBL_DENORM_MIN in comment.
3020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3021         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3023         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3025         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3027 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3029         [BZ# 19048]
3030         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3031         attached_threads member.
3032         (main_arena): Initialize attached_threads.
3033         * malloc/arena.c (list_lock): Update comment.
3034         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3035         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3036         (deattach_arena): New function.
3037         (_int_new_arena): Initialize arena reference count and deattach
3038         replaced arena.
3039         (get_free_list, reused_arena): Update reference count and deattach
3040         replaced arena.
3041         (arena_thread_freeres): Update arena reference count and only put
3042         unreferenced arenas on the free list.
3044 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3046         [BZ #19181]
3047         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3048         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3049         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3050         * math/test-fenv-clear-main.c: New file.
3051         * math/test-fenv-clear.c: Likewise.
3052         * math/Makefile (tests): Add test-fenv-clear.
3053         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3054         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3055         test-fenv-clear-sse.
3056         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3058         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3059         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3060         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3062 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3064         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3065         static libc.
3067 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3069         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3070         test.
3071         * sysdeps/i386/configure: Regenerated.
3072         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3073         test.
3074         * sysdeps/x86_64/configure: Regenerated.
3075         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3077         memset-avx2 unconditionally instead of conditionally on
3078         [$(config-cflags-avx2) = yes].
3079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3080         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3081         unconditional.
3082         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3083         * sysdeps/x86_64/multiarch/memset_chk.S
3084         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3085         to [IS_IN (libc) && SHARED].
3087 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3089         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3090         configure test.
3091         * sysdeps/arm/configure: Regenerated.
3092         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3093         Define variable if not already defined.
3095         [BZ #17404]
3096         * sysdeps/mips/atomic-machine.h
3097         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3098         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3099         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3101         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3102         unconditional.
3103         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3104         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3105         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3106         unconditional.
3107         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3108         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3109         unconditional.
3110         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3111         * stdlib/setenv.c
3112         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3113         code unconditional.
3114         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3115         Remove conditional code.
3116         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3117         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3118         unconditional.
3119         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3120         code.
3121         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3122         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3123         unconditional.
3124         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3125         code.
3126         * sysdeps/ieee754/ldbl-128/k_tanl.c
3127         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3128         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3129         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3130         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3131         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3132         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3133         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3134         unconditional.
3135         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3136         code.
3137         * sysdeps/ieee754/ldbl-96/k_tanl.c
3138         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3139         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3141         * nptl/tst-initializers1-c11.c: New file.
3142         * nptl/tst-initializers1-gnu11.c: Likewise.
3143         * nptl/Makefile (tests): Add these new tests.
3144         (CFLAGS-tst-initializers1-c11.c): New variable.
3145         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3147         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3148         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3149         instead of -std=gnu99.
3150         * configure.ac (systemtap): Test with -std=gnu11 instead of
3151         -std=gnu99.
3152         * configure: Regenerated.
3153         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3154         in compilation command in comment.
3156         * sysdeps/nptl/configure.ac: Remove file.
3157         * sysdeps/nptl/configure: Remove generated file.
3158         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3159         * configure: Regenerated.
3160         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3161         * config.make.in (have-forced-unwind): Remove variable.
3162         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3163         unconditional.
3164         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3165         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3166         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3167         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3168         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3169         unconditional.
3171 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3173         [BZ #19174]
3174         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3175         .skip_lock_out_of_tbegin_retries.
3176         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3177         (__lll_lock_elision): Likewise, and respect a value of
3178         try_tbegin <= 0.
3180 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3182         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3183         statement.
3185 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3187         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3188         variable.
3189         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3190         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3192         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3193         of -std=c1x -D_ISOC11_SOURCE.
3195         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3196         * configure: Regenerated.
3197         * manual/install.texi (Tools for Compilation): Document
3198         requirement for GCC 4.7 or later.
3199         * INSTALL: Regenerated.
3201 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3203         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3204         on CNT to a conditional jump to 'puntdata'.
3206 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3208         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3209         (libc_cv_gcc_tls_model_attr): Likewise.
3210         * configure: Regenerated.
3212         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3213         * configure: Regenerated.
3214         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3216 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3218         * configure.ac (old_glibc_headers): Remove configure test.
3219         * configure: Regenerated.
3220         * config.make.in (old-glibc-headers): Remove variable.
3221         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3222         (install): Remove dependency on remove-old-headers.
3223         (headers2_0): Remove variable.
3224         (remove-old-headers): Remove rule.
3226         * configure.ac (libc_cv_dot_text): Remove configure test.
3227         (libc_cv_asm_set_directive): Use .text instead of
3228         ${libc_cv_dot_text} in configure test.
3229         * configure: Regenerated.
3231 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3233         [BZ #19168]
3234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3236 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3238         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3239         not support static linking.
3240         * configure: Regenerate.
3242 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3244         * math/libm-test.inc (check_float_internal): Do not special-case
3245         errors up to 0.5 ulp.
3247         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3248         log2.
3249         * math/auto-libm-test-out: Regenerated.
3250         * math/libm-test.inc (MAX_EXP): New macro.
3251         (ilogb_test_data): Add more tests.
3252         (isfinite_test_data): Likewise.
3253         (isgreater_test_data): Likewise.
3254         (isgreaterequal_test_data): Likewise.
3255         (isinf_test_data): Likewise.
3256         (isless_test_data): Likewise.
3257         (islessequal_test_data): Likewise.
3258         (islessgreater_test_data): Likewise.
3259         (isnan_test_data): Likewise.
3260         (isnormal_test_data): Likewise.
3261         (issignaling_test_data): Likewise.
3262         (isunordered_test_data): Likewise.
3263         (j0_test_data): Likewise.
3264         (j1_test_data): Likewise.
3265         (jn_test_data): Likewise.
3266         (lgamma_test_data): Likewise.
3267         (log_test_data): Likewise.
3268         (log10_test_data): Likewise.
3269         (log1p_test_data): Likewise.
3270         (log2_test_data): Likewise.
3271         (logb_test_data): Likewise.
3272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3274         [BZ #18611]
3275         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3276         avoid excess range and precision on underflow.
3277         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3279         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3280         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3281         underflow.
3282         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3283         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3284         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3285         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3286         * math/auto-libm-test-in: Do not allow missing errno setting for
3287         tests of j1 and jn.
3288         * math/auto-libm-test-out: Regenerated.
3290 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3292         [BZ #15491]
3293         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3294         floating-point environment instead of clearing all exceptions.
3295         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3296         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3297         merging in "invalid" exceptions from frndint.
3298         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3299         * math/test-nearbyint-except.c: New file.
3300         * math/Makefile (tests): Add test-nearbyint-except.
3302 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3304         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3306         * sysdeps/tile/libm-test-ulps: Regenerated.
3308 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3311         (__NR_sync_file_range2): Assume it is always defined.
3312         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3313         (__NR_sync_file_range): Assume it is always defined.
3315 2015-10-22  Andreas Schwab  <schwab@suse.de>
3317         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3318         INTERNAL_SYSCALL_ERRNO.
3319         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3320         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3322         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3323         Likewise.
3324         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3326 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3328         * io/tst-fcntl.c (fd): New static variable.
3329         (do_prepare): Open temporary file here....
3330         (do_test): ...not here.
3332         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3334 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3336         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3337         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3338         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3339         Moved before "#ifdef __ASSEMBLER__".
3341 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3343         [BZ #19156]
3344         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3345         arguments very close to 0.
3347 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3349         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3350         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3352 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3354         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3355         New.  Defined for GCC 5 and above when not compiling for
3356         profiling.
3357         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3359         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3360         Renamed to ...
3361         (CFLAGS-epoll_pwait.o): This.
3362         (CFLAGS-mmap.c): Renamed to ...
3363         (CFLAGS-mmap.o): This.
3364         (CFLAGS-mmap64.c): Renamed to ...
3365         (CFLAGS-mmap64.o): This.
3366         (CFLAGS-epoll_pwait.os): New.
3367         (CFLAGS-mmap.os): Likewise.
3368         (CFLAGS-mmap64.os): Likewise.
3369         (CFLAGS-semtimedop.os): Likewise.
3370         (CFLAGS-semtimedop.c): Renamed to ...
3371         (CFLAGS-semtimedop.o): This.
3373 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3375         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3376         warning message.
3378 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3380         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3381         * Makefile ($(objpfx)c++-types-check.out): Filter out
3382         $(+gccwarn-c) instead of -Wstrict-prototypes.
3384         * io/fts.c (fts_open): Convert to prototype-style function
3385         definition.
3386         * malloc/mcheck.c (mcheck): Likewise.
3387         (mcheck_pedantic): Likewise.
3388         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3389         internal_function.
3390         (re_search_internal): Likewise.
3391         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3392         prototype-style function definition.
3393         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3394         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3395         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3396         (xdr_utmpptr): Likewise.
3397         (xdr_utmparr): Likewise.
3398         (xdr_utmpidle): Likewise.
3399         (xdr_utmpidleptr): Likewise.
3400         (xdr_utmpidlearr): Likewise.
3402         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3403         log, log10 and log2.
3404         * math/auto-libm-test-out: Regenerated.
3405         * math/libm-test.inc (fmod_test_data): Add more tests.
3406         (fpclassify_test_data): Likewise.
3407         (frexp_test_data): Likewise.
3408         (hypot_test_data): Likewise.
3409         (ilogb_test_data): Likewise.
3411 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3413         * debug/fortify_fail.c (__fortify_fail): Convert to
3414         prototype-style function definition.  Use internal_function.
3415         * libio/genops.c (save_for_backup): Convert to prototype-style
3416         function definition.
3417         * libio/wgenops.c (save_for_wbackup): Likewise.
3418         * login/grantpt.c (grantpt): Likewise.
3419         * login/ptsname.c (ptsname): Likewise.
3420         (__ptsname_r): Likewise.
3421         * login/unlockpt.c (unlockpt): Likewise.
3422         * mach/msgserver.c (__mach_msg_server): Likewise.
3423         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3424         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3425         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3426         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3427         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3428         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3429         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3430         Likewise.
3431         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3432         internal_function.
3433         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3434         prototype-style function definition.
3435         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3436         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3437         (__pthread_create_2_0): Likewise.
3438         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3439         * nptl/register-atfork.c (__register_atfork): Likewise.
3440         * posix/glob.c (glob): Likewise.
3441         * posix/regcomp.c (re_comp): Likewise.
3442         * posix/regexec.c (re_exec): Likewise.
3443         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3444         [!__STDC__]: Remove conditional code.
3445         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3446         [!__STDC__]: Remove conditional code.
3447         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3448         [!__STDC__]: Remove conditional code.
3449         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3450         [!__STDC__]: Remove conditional code.
3451         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3452         [!__STDC__]: Remove conditional code.
3453         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3454         [!__STDC__]: Remove conditional code.
3455         * stdlib/mul.c [__STDC__]: Make code unconditional.
3456         [!__STDC__]: Remove conditional code.
3457         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3458         [!__STDC__]: Remove conditional code.
3459         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3460         [!__STDC__]: Remove conditional code.
3461         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3462         function definition.
3463         (STRTOF): Likewise.
3464         * stdlib/strtod_l.c (__STRTOF): Likewise.
3465         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3466         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3467         (__strtol_l): Likewise.
3468         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3469         [!__STDC__]: Remove conditional code.
3470         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3471         definition.
3472         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3473         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3474         type.
3475         (__strcasecmp): Convert to prototype-style function definition.
3476         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3477         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3478         type.
3479         (__strncasecmp): Convert to prototype-style function definition.
3480         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3481         * sunrpc/xdr.c (xdr_union): Likewise.
3482         * sunrpc/xdr_array.c (xdr_array): Likewise.
3483         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3484         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3485         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3486         Likewise.
3487         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3488         Likewise.
3489         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3490         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3491         Likewise.
3492         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3493         (LOCALE_PARAM_PROTO): Likewise.
3494         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3495         argument type.
3496         (ut_argument_spec): Remove macro.
3497         (ut_argument_spec_iso): Rename to ut_argument_spec.
3498         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3499         prototype-style function definition.
3500         (memcpy_uppcase): Likewise.
3501         (__strftime_internal): Likewise.
3502         (my_strftime): Likewise.
3503         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3504         (LOCALE_PARAM_DECL): Likewise.
3505         [_LIBC] (LOCALE_PARAM): Include argument type.
3506         (__strptime_internal): Convert to prototype-style function
3507         definition.
3508         (strptime): Likewise.
3509         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3510         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3511         type.
3512         (__wcscasecmp): Convert to prototype-style function definition.
3513         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3514         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3515         type.
3516         (__wcsncasecmp): Convert to prototype-style function definition.
3518         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3519         function definition.
3520         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3521         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3522         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3523         * elf/dl-minimal.c (_itoa): Likewise.
3524         * hurd/hurdmalloc.c (malloc): Likewise.
3525         (free): Likewise.
3526         (realloc): Likewise.
3527         * inet/inet6_option.c (inet6_option_space): Likewise.
3528         (inet6_option_init): Likewise.
3529         (inet6_option_append): Likewise.
3530         (inet6_option_alloc): Likewise.
3531         (inet6_option_next): Likewise.
3532         (inet6_option_find): Likewise.
3533         * io/ftw.c (FTW_NAME): Likewise.
3534         (NFTW_NAME): Likewise.
3535         (NFTW_NEW_NAME): Likewise.
3536         (NFTW_OLD_NAME): Likewise.
3537         * libio/iofwide.c (_IO_fwide): Likewise.
3538         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3539         (_IO_str_init_static): Likewise.
3540         (_IO_str_init_readonly): Likewise.
3541         (_IO_str_overflow): Likewise.
3542         (_IO_str_underflow): Likewise.
3543         (_IO_str_count): Likewise.
3544         (_IO_str_seekoff): Likewise.
3545         (_IO_str_pbackfail): Likewise.
3546         (_IO_str_finish): Likewise.
3547         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3548         (_IO_wstr_overflow): Likewise.
3549         (_IO_wstr_underflow): Likewise.
3550         (_IO_wstr_count): Likewise.
3551         (_IO_wstr_seekoff): Likewise.
3552         (_IO_wstr_pbackfail): Likewise.
3553         (_IO_wstr_finish): Likewise.
3554         * locale/programs/localedef.c (normalize_codeset): Likewise.
3555         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3556         (add_locales_to_archive): Likewise.
3557         (delete_locales_from_archive): Likewise.
3558         * malloc/malloc.c (__libc_mallinfo): Likewise.
3559         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3560         * misc/tsearch.c (__tfind): Likewise.
3561         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3562         * nptl/pthread_attr_getdetachstate.c
3563         (__pthread_attr_getdetachstate): Likewise.
3564         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3565         Likewise.
3566         * nptl/pthread_attr_getinheritsched.c
3567         (__pthread_attr_getinheritsched): Likewise.
3568         * nptl/pthread_attr_getschedparam.c
3569         (__pthread_attr_getschedparam): Likewise.
3570         * nptl/pthread_attr_getschedpolicy.c
3571         (__pthread_attr_getschedpolicy): Likewise.
3572         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3573         Likewise.
3574         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3575         Likewise.
3576         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3577         Likewise.
3578         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3579         Likewise.
3580         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3581         (__pthread_attr_init_2_0): Likewise.
3582         * nptl/pthread_attr_setdetachstate.c
3583         (__pthread_attr_setdetachstate): Likewise.
3584         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3585         Likewise.
3586         * nptl/pthread_attr_setinheritsched.c
3587         (__pthread_attr_setinheritsched): Likewise.
3588         * nptl/pthread_attr_setschedparam.c
3589         (__pthread_attr_setschedparam): Likewise.
3590         * nptl/pthread_attr_setschedpolicy.c
3591         (__pthread_attr_setschedpolicy): Likewise.
3592         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3593         Likewise.
3594         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3595         Likewise.
3596         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3597         Likewise.
3598         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3599         Likewise.
3600         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3601         Likewise.
3602         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3603         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3604         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3605         use internal_function.
3606         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3607         prototype-style function definition.
3608         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3609         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3610         internal_function.
3611         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3612         Convert to prototype-style function definition.
3613         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3614         Likewise.
3615         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3616         Likewise.
3617         (__pthread_mutex_unlock): Likewise.
3618         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3619         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3620         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3621         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3622         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3623         * nss/makedb.c (process_input): Likewise.
3624         * posix/fnmatch.c (__strchrnul): Likewise.
3625         (__wcschrnul): Likewise.
3626         (fnmatch): Likewise.
3627         * posix/fnmatch_loop.c (FCT): Likewise.
3628         * posix/glob.c (globfree): Likewise.
3629         (__glob_pattern_type): Likewise.
3630         (__glob_pattern_p): Likewise.
3631         * posix/regcomp.c (re_compile_pattern): Likewise.
3632         (re_set_syntax): Likewise.
3633         (re_compile_fastmap): Likewise.
3634         (regcomp): Likewise.
3635         (regerror): Likewise.
3636         (regfree): Likewise.
3637         * posix/regexec.c (regexec): Likewise.
3638         (re_match): Likewise.
3639         (re_search): Likewise.
3640         (re_match_2): Likewise.
3641         (re_search_2): Likewise.
3642         (re_search_stub): Likewise.  Use internal_function
3643         (re_copy_regs): Likewise.
3644         (re_set_registers): Convert to prototype-style function
3645         definition.
3646         (prune_impossible_nodes): Likewise.  Use internal_function.
3647         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3648         prototype-style function definition.
3649         (inet_net_pton_ipv4): Likewise.
3650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3651         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3652         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3653         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3654         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3655         Make variadic.
3656         * time/strptime_l.c (localtime_r): Convert to prototype-style
3657         function definition.
3658         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3659         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3660         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3661         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3663         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3664         definition.
3665         (_ufc_doit_r): Likewise.
3666         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3667         (_ufc_output_conversion_r): Likewise.
3668         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3669         * inet/rcmd.c (rcmd_af): Likewise.
3670         (rcmd): Likewise.
3671         (ruserok_af): Likewise.
3672         (ruserok): Likewise.
3673         (ruserok2_sa): Likewise.
3674         (ruserok_sa): Likewise.
3675         (iruserok_af): Likewise.
3676         (iruserok): Likewise.
3677         (__ivaliduser): Likewise.
3678         (__validuser2_sa): Likewise.
3679         * inet/rexec.c (rexec_af): Likewise.
3680         (rexec): Likewise.
3681         * inet/ruserpass.c (ruserpass): Likewise.
3682         * locale/programs/xmalloc.c (xcalloc): Likewise.
3683         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3684         * math/w_drem.c (__drem): Likewise.
3685         * math/w_dremf.c (__dremf): Likewise.
3686         * math/w_dreml.c (__dreml): Likewise.
3687         * misc/daemon.c (daemon): Likewise.
3688         * resolv/res_debug.c (p_fqnname): Likewise.
3689         * stdlib/div.c (div): Likewise.
3690         * string/memcmp.c (memcmp_bytes): Likewise.
3691         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3692         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3694         * crypt/cert.c (main): Convert to prototype-style function
3695         definition.
3696         * io/pipe.c (__pipe): Likewise.
3697         * io/pipe2.c (__pipe2): Likewise.
3698         * misc/futimesat.c (futimesat): Likewise.
3699         * misc/utimes.c (__utimes): Likewise.
3700         * posix/execve.c (__execve): Likewise.
3701         * posix/execvp.c (execvp): Likewise.
3702         * posix/execvpe.c (__execvpe): Likewise.
3703         * posix/fexecve.c (fexecve): Likewise.
3704         * socket/socketpair.c (socketpair): Likewise.
3705         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3706         * stdlib/erand48.c (erand48): Likewise.
3707         * stdlib/erand48_r.c (__erand48_r): Likewise.
3708         * stdlib/jrand48.c (jrand48): Likewise.
3709         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3710         * stdlib/lcong48.c (lcong48): Likewise.
3711         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3712         * stdlib/nrand48.c (nrand48): Likewise.
3713         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3714         * stdlib/seed48.c (seed48): Likewise.
3715         * stdlib/seed48_r.c (__seed48_r): Likewise.
3716         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3717         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3718         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3720 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3722         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3723         * configure: Regenerated.
3724         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3725         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3726         unconditional.
3727         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3728         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3729         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3730         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3731         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3732         unconditional.
3733         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3735         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3736         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3738         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3739         function definition.
3740         * crypt/crypt_util.c (__encrypt_r): Likewise.
3741         * libio/genops.c (_IO_no_init): Likewise.
3742         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3743         (_IO_old_fopencookie): Likewise.
3744         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3745         * libio/iogetline.c (_IO_getline): Likewise.
3746         (_IO_getline_info): Likewise.
3747         * libio/iogetwline.c (_IO_getwline): Likewise.
3748         (_IO_getwline_info): Likewise.
3749         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3750         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3751         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3752         (find_entry): Likewise.
3753         (iterate_table): Likewise.
3754         (lookup): Likewise.
3755         * login/forkpty.c (forkpty): Likewise.
3756         * misc/hsearch_r.c (__hsearch_r): Likewise.
3757         * misc/select.c (__select): Likewise.
3758         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3759         Likewise.
3760         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3761         Likewise.
3762         * nptl/old_pthread_cond_timedwait.c
3763         (__pthread_cond_timedwait_2_0): Likewise.
3764         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3765         * nptl/pthread_barrierattr_getpshared.c
3766         (pthread_barrierattr_getpshared): Likewise.
3767         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3768         Likewise.
3769         * nptl/pthread_mutex_setprioceiling.c
3770         (pthread_mutex_setprioceiling): Likewise.
3771         * nptl/pthread_mutexattr_getprioceiling.c
3772         (pthread_mutexattr_getprioceiling): Likewise.
3773         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3774         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3775         Likewise.
3776         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3777         Likewise.
3778         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3779         Likewise.
3780         * socket/recvfrom.c (__recvfrom): Likewise.
3781         * socket/sendto.c (__sendto): Likewise.
3782         * socket/setsockopt.c (__setsockopt): Likewise.
3783         * stdio-common/_itoa.c (_itoa): Likewise.
3784         * stdio-common/_itowa.c (_itowa): Likewise.
3785         * stdio-common/reg-printf.c (__register_printf_specifier):
3786         Likewise.
3787         (__register_printf_function): Likewise.
3788         * stdio-common/tempname.c (__path_search): Likewise.
3789         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3790         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3791         * stdlib/random_r.c (__initstate_r): Likewise.
3792         * stdlib/setenv.c (__add_to_environ): Likewise.
3793         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3794         * streams/getpmsg.c (getpmsg): Likewise.
3795         * streams/putmsg.c (putmsg): Likewise.
3796         * streams/putpmsg.c (putpmsg): Likewise.
3797         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3798         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3799         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3800         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3801         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3802         * sunrpc/svc_udp.c (cache_get): Likewise.
3803         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3804         * sysdeps/mach/hurd/getcwd.c
3805         (__canonicalize_directory_name_internal): Likewise.
3806         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3807         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3808         * sysdeps/mach/hurd/select.c (__select): Likewise.
3809         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3810         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3811         * sysdeps/sparc/nptl/pthread_barrier_init.c
3812         (__pthread_barrier_init): Likewise.
3813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3814         (__pthread_cond_timedwait): Likewise.
3815         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3816         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3817         Likewise.
3818         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3819         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3820         Likewise.
3821         * sysvipc/semtimedop.c (semtimedop): Likewise.
3822         * time/setitimer.c (__setitimer): Likewise.
3823         * time/strftime_l.c (emacs_strftime): Likewise.
3825 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3827         * config.make.in (have-ssp): Delete.
3828         (stack-protector): New variable.
3829         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3830         cache test for -fstack-protector-strong.  Export stack_protector to
3831         the best ssp flag.
3832         * configure: Regenerated.
3833         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3834         * nscd/Makefile (CFLAGS-nscd): Likewise.
3835         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3837 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3839         [BZ #19122]
3840         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3841         attribute_hidden.
3843 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3845         [BZ #18743]
3846         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3847         code to...
3848         (ELIDE_LOCK): ...here.
3849         (__get_new_count): New function with part of the code from
3850         __elide_lock that updates the value of adapt_count after a
3851         transaction abort.
3852         (__elided_trylock): Moved this code to...
3853         (ELIDE_TRYLOCK): ...here.
3855 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3857         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3858         * configure: Regenerate.
3859         * INSTALL: Regenerate.
3860         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3861         and tweak grammar.
3863 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3865         * login/programs/pt_chown.c: Include signal.h
3866         (main): Clear any signal mask from the parent process.
3868 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3870         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3871         * configure: Regenerated.
3872         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3873         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3874         $(gnu89-inline-CFLAGS).
3876         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3877         test.
3878         (libc_cv_asm_weakext_directive): Likewise.
3879         * configure: Regenerated.
3880         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3881         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3882         * include/libc-symbols.h
3883         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3884         #error.
3885         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3886         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3888         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3889         prototype-style function definition.
3890         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3891         * sysdeps/i386/ffs.c (__ffs): Likewise.
3892         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3893         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3894         Likewise.
3895         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3896         Likewise.
3897         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3898         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3899         Likewise.
3900         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3901         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3902         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3903         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3904         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3905         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3906         * sysdeps/mach/hurd/access.c (__access): Likewise.
3907         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3908         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3909         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3910         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3911         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3912         (cthread_getspecific): Likewise.
3913         (cthread_setspecific): Likewise.
3914         (__libc_getspecific): Likewise.
3915         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3916         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3917         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3918         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3919         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3920         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3921         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3922         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3923         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3924         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3925         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3926         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3927         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3928         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3929         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3930         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3931         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3932         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3933         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3934         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3935         * sysdeps/mach/hurd/link.c (__link): Likewise.
3936         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3937         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3938         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3939         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3940         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3941         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3942         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3943         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3944         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3945         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3946         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3947         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3948         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3949         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3950         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3951         * sysdeps/mach/hurd/send.c (__send): Likewise.
3952         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3953         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3954         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3955         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3956         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3957         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3958         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3959         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3960         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3961         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3962         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3963         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3964         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3965         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3966         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3967         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3968         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3969         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3970         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3971         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3972         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3973         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3974         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3975         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3976         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3977         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3978         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3979         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3980         * sysdeps/posix/alarm.c (alarm): Likewise.
3981         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3982         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3983         * sysdeps/posix/dup.c (__dup): Likewise.
3984         * sysdeps/posix/dup2.c (__dup2): Likewise.
3985         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3986         (main): Likewise.
3987         * sysdeps/posix/flock.c (__flock): Likewise.
3988         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3989         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3990         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3991         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3992         * sysdeps/posix/isatty.c (__isatty): Likewise.
3993         * sysdeps/posix/killpg.c (killpg): Likewise.
3994         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3995         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3996         * sysdeps/posix/raise.c (raise): Likewise.
3997         * sysdeps/posix/remove.c (remove): Likewise.
3998         * sysdeps/posix/rename.c (rename): Likewise.
3999         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4000         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4001         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4002         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4003         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4004         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4005         * sysdeps/posix/sigset.c (sigset): Likewise.
4006         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4007         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4008         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4009         * sysdeps/posix/time.c (time): Likewise.
4010         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4011         (ttyname): Likewise.
4012         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4013         * sysdeps/posix/utime.c (utime): Likewise.
4014         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4015         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4016         Likewise.
4017         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4018         (pthread_spin_trylock): Likewise.
4019         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4020         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4021         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4022         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4023         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4024         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4025         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4026         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4027         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4028         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4029         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4030         * sysdeps/s390/ffs.c (__ffs): Likewise.
4031         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4032         Likewise.
4033         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4034         Likewise.
4035         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4036         Likewise.
4037         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4038         (pthread_barrier_destroy): Likewise.
4039         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4040         (__pthread_barrier_wait): Likewise.
4041         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4042         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4043         (__pthread_barrier_wait): Likewise.
4044         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4045         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4046         (memcmp_not_common_alignment): Likewise.
4047         (MEMCMP): Likewise.
4048         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4049         (_wordcopy_fwd_dest_aligned): Likewise.
4050         (_wordcopy_bwd_aligned): Likewise.
4051         (_wordcopy_bwd_dest_aligned): Likewise.
4052         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4053         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4054         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4055         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4056         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4057         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4058         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4059         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4060         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4061         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4062         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4063         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4064         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4065         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4066         * sysdeps/unix/stime.c (stime): Likewise.
4067         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4068         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4069         Likewise.  Use internal_function.
4070         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4071         Convert to prototype-style function definition.
4072         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4073         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4075         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4076         Likewise.  Use internal_function.
4077         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4078         prototype-style function definition
4079         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4080         Likewise.
4081         (__getlogin_r): Likewise.
4082         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4084         (__pthread_cond_broadcast): Likewise.
4085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4086         (__pthread_cond_destroy): Likewise.
4087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4088         (__pthread_cond_init): Likewise.
4089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4090         (__pthread_cond_signal): Likewise.
4091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4092         (__pthread_cond_wait): Likewise.
4093         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4094         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4095         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4096         Likewise.
4097         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4098         Likewise.
4099         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4102         Likewise.
4103         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4105         (__ftruncate64): Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4107         (truncate64): Likewise.
4108         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4109         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4110         (pthread_getcpuclockid): Likewise.
4111         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4112         Likewise.
4113         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4114         Likewise.
4115         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4120         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4121         (__libc_sigaction): Likewise.
4122         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4123         Likewise.
4124         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4125         (__sigprocmask): Likewise.
4126         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4127         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4128         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4129         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4130         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4131         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4132         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4133         Likewise.
4134         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4135         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4136         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4137         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4138         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4139         Likewise.
4140         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4141         (__sigprocmask): Likewise.
4142         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4143         (cfgetispeed): Likewise.
4144         (cfsetospeed): Likewise.
4145         (cfsetispeed): Likewise.
4146         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4147         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4148         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4149         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4150         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4151         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4152         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4153         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4154         Likewise.
4155         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4160         Likewise.
4161         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4163 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4165         sunrpc: Rewrite with explicit TLS access using __thread.
4166         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4167         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4168         directly.
4169         (__rpc_thread_variables): Access thread_rpc_vars directly.
4170         Eliminate redundant assignment of the tvp variable.
4172 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4174         malloc: Rewrite with explicit TLS access using __thread.
4175         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4176         (tsd_setspecific, tsd_getspecific): Remove.
4177         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4178         (tsd_setspecific, tsd_getspecific): Likewise.
4179         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4180         (tsd_setspecific, tsd_getspecific): Likewise.
4181         * malloc/arena.c (thread_arena): New TLS variable.
4182         (arena_key): Remove variable.
4183         (arena_get): Use thread_arena.
4184         (arena_lookup): Remove macro.
4185         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4186         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4187         (_int_new_arena, get_free_list, reused_arena)
4188         (arena_thread_freeres): Use thread_arena.
4189         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4190         tsd_getspecific, tsd_setspecific from safety annotations.
4191         (Allocating Cleared Space): Remove arena_lookup from safety
4192         annotations.
4194 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4196         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4197         struct scratch_buffer instead of extend_alloca.
4199 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4201         * sysdeps/unix/sysv/linux/kernel-features.h
4202         (__ASSUME_SOCK_CLOEXEC): Remove.
4203         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4204         (__have_paccept): Remove unused macro.
4205         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4206         * misc/syslog.c (openlog_internal): Remove fallback code for
4207         !__ASSUME_SOCK_CLOEXEC.
4208         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4209         missing SOCK_CLOEXEC.
4210         * nscd/connections.c (have_sock_cloexec): Remove definition.
4211         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4212         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4213         !__ASSUME_SOCK_CLOEXEC.
4214         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4215         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4216         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4217         definition.
4218         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4219         code for !__ASSUME_SOCK_CLOEXEC.
4221 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4223         [BZ #18982]
4224         * manual/stdio.texi (Variable Arguments Output): Add portability
4225         note, explaining that vfprintf clobbers the va_list pointer.
4227 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4229         * math/libm-test.inc (fabs_test_data): Add more tests.
4230         (fdim_test_data): Likewise.
4231         (fma_test_data): Likewise.
4232         (fmax_test_data): Likewise.
4233         (fmin_test_data): Likewise.
4234         (fmod_test_data): Likewise.
4236 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4238         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4239         data.
4241 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4243         * math/libm-test.inc (ceil_test_data): Add more tests and more
4244         expectations for "inexact".
4245         (floor_test_data): Add more tests.
4246         (round_test_data): Likewise.
4247         (trunc_test_data): Likewise.
4249         * crypt/cert.c (good_bye): Convert to prototype-style function
4250         definition.
4251         (get8): Likewise.
4252         (put8): Likewise.
4253         * crypt/crypt-entry.c (crypt): Likewise.
4254         (__fcrypt): Likewise.
4255         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4256         (_ufc_set_bits): Likewise.
4257         (_ufc_clearmem): Likewise.
4258         (__init_des_r): Likewise.
4259         (shuffle_sb): Likewise.
4260         (shuffle_sb): Likewise.
4261         (_ufc_setup_salt_r): Likewise.
4262         (_ufc_mk_keytab_r): Likewise.
4263         (_ufc_dofinalperm_r): Likewise.
4264         (encrypt): Likewise.
4265         (__setkey_r): Likewise.
4266         (setkey): Likewise.
4267         * crypt/md5.c (md5_init_ctx): Likewise.
4268         (md5_read_ctx): Likewise.
4269         (md5_finish_ctx): Likewise.
4270         (md5_stream): Likewise.
4271         (md5_buffer): Likewise.
4272         (md5_process_bytes): Likewise.
4273         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4274         (__sha256_finish_ctx): Likewise.
4275         (__sha256_process_bytes): Likewise.
4276         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4277         (__sha512_finish_ctx): Likewise.
4278         (__sha512_process_bytes): Likewise.
4279         * ctype/isctype.c (__isctype): Likewise.
4280         * debug/backtrace.c (__backtrace): Likewise.
4281         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4282         * debug/fgets_chk.c (__fgets_chk): Likewise.
4283         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4284         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4285         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4286         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4287         * debug/memset_chk.c (__memset_chk): Likewise.
4288         * debug/strcat_chk.c (__strcat_chk): Likewise.
4289         * debug/strncat_chk.c (__strncat_chk): Likewise.
4290         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4291         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4292         * dirent/dirfd.c (dirfd): Likewise.
4293         * dirent/getdents.c (__getdirentries): Likewise.
4294         * dirent/getdents64.c (getdirentries64): Likewise.
4295         * dirent/rewinddir.c (__rewinddir): Likewise.
4296         * dirent/seekdir.c (seekdir): Likewise.
4297         * dirent/telldir.c (telldir): Likewise.
4298         * elf/sln.c (makesymlinks): Likewise.
4299         (makesymlink): Likewise.
4300         * gmon/gmon.c (__moncontrol): Likewise.
4301         (__monstartup): Likewise.
4302         (write_hist): Likewise.
4303         (write_call_graph): Likewise.
4304         (write_bb_counts): Likewise.
4305         * grp/setgroups.c (setgroups): Likewise.
4306         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4307         * inet/inet_net.c (inet_network): Likewise.
4308         * inet/inet_netof.c (inet_netof): Likewise.
4309         * inet/rcmd.c (rresvport_af): Likewise.
4310         (rresvport): Likewise.
4311         * io/access.c (__access): Likewise.
4312         * io/chdir.c (__chdir): Likewise.
4313         * io/chmod.c (__chmod): Likewise.
4314         * io/chown.c (__chown): Likewise.
4315         * io/close.c (__close): Likewise.
4316         * io/creat.c (creat): Likewise.
4317         * io/creat64.c (creat64): Likewise.
4318         * io/dup.c (__dup): Likewise.
4319         * io/dup2.c (__dup2): Likewise.
4320         * io/dup3.c (__dup3): Likewise.
4321         * io/euidaccess.c (__euidaccess): Likewise.
4322         * io/faccessat.c (faccessat): Likewise.
4323         * io/fchmod.c (__fchmod): Likewise.
4324         * io/fchmodat.c (fchmodat): Likewise.
4325         * io/fchown.c (__fchown): Likewise.
4326         * io/fchownat.c (fchownat): Likewise.
4327         * io/fcntl.c (__fcntl): Likewise.
4328         * io/flock.c (__flock): Likewise.
4329         * io/fts.c (fts_load): Likewise.
4330         (fts_close): Likewise.
4331         (fts_read): Likewise.
4332         (fts_set): Likewise.
4333         (fts_children): Likewise.
4334         (fts_build): Likewise.
4335         (fts_stat): Likewise.
4336         (fts_sort): Likewise.
4337         (fts_alloc): Likewise.
4338         (fts_lfree): Likewise.
4339         (fts_palloc): Likewise.
4340         (fts_padjust): Likewise.
4341         (fts_maxarglen): Likewise.
4342         (fts_safe_changedir): Likewise.
4343         * io/getwd.c (getwd): Likewise.
4344         * io/isatty.c (__isatty): Likewise.
4345         * io/lchown.c (__lchown): Likewise.
4346         * io/link.c (__link): Likewise.
4347         * io/linkat.c (linkat): Likewise.
4348         * io/lseek.c (__libc_lseek): Likewise.
4349         * io/mkdir.c (__mkdir): Likewise.
4350         * io/mkdirat.c (mkdirat): Likewise.
4351         * io/mkfifo.c (mkfifo): Likewise.
4352         * io/mkfifoat.c (mkfifoat): Likewise.
4353         * io/open.c (__libc_open): Likewise.
4354         * io/open64.c (__libc_open64): Likewise.
4355         * io/readlink.c (__readlink): Likewise.
4356         * io/readlinkat.c (readlinkat): Likewise.
4357         * io/rmdir.c (__rmdir): Likewise.
4358         * io/symlink.c (__symlink): Likewise.
4359         * io/symlinkat.c (symlinkat): Likewise.
4360         * io/ttyname.c (ttyname): Likewise.
4361         * io/ttyname_r.c (__ttyname_r): Likewise.
4362         * io/umask.c (__umask): Likewise.
4363         * io/unlink.c (__unlink): Likewise.
4364         * io/unlinkat.c (unlinkat): Likewise.
4365         * io/utime.c (utime): Likewise.
4366         * libio/clearerr.c (clearerr): Likewise.
4367         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4368         * libio/feof.c (_IO_feof): Likewise.
4369         * libio/feof_u.c (feof_unlocked): Likewise.
4370         * libio/ferror.c (_IO_ferror): Likewise.
4371         * libio/ferror_u.c (ferror_unlocked): Likewise.
4372         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4373         * libio/fileno.c (__fileno): Likewise.
4374         * libio/fputc.c (fputc): Likewise.
4375         * libio/fputc_u.c (fputc_unlocked): Likewise.
4376         * libio/fputwc.c (fputwc): Likewise.
4377         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4378         * libio/freopen.c (freopen): Likewise.
4379         * libio/freopen64.c (freopen64): Likewise.
4380         * libio/fseek.c (fseek): Likewise.
4381         * libio/fseeko.c (fseeko): Likewise.
4382         * libio/fseeko64.c (fseeko64): Likewise.
4383         * libio/ftello.c (__ftello): Likewise.
4384         * libio/ftello64.c (ftello64): Likewise.
4385         * libio/fwide.c (fwide): Likewise.
4386         * libio/genops.c (_IO_un_link): Likewise.
4387         (_IO_link_in): Likewise.
4388         (_IO_least_marker): Likewise.
4389         (_IO_switch_to_main_get_area): Likewise.
4390         (_IO_switch_to_backup_area): Likewise.
4391         (_IO_switch_to_get_mode): Likewise.
4392         (_IO_free_backup_area): Likewise.
4393         (_IO_switch_to_put_mode): Likewise.
4394         (__overflow): Likewise.
4395         (__underflow): Likewise.
4396         (__uflow): Likewise.
4397         (_IO_setb): Likewise.
4398         (_IO_doallocbuf): Likewise.
4399         (_IO_default_underflow): Likewise.
4400         (_IO_default_uflow): Likewise.
4401         (_IO_default_xsputn): Likewise.
4402         (_IO_sgetn): Likewise.
4403         (_IO_default_xsgetn): Likewise.
4404         (_IO_sync): Likewise.
4405         (_IO_default_setbuf): Likewise.
4406         (_IO_default_seekpos): Likewise.
4407         (_IO_default_doallocate): Likewise.
4408         (_IO_init): Likewise.
4409         (_IO_old_init): Likewise.
4410         (_IO_default_sync): Likewise.
4411         (_IO_default_finish): Likewise.
4412         (_IO_default_seekoff): Likewise.
4413         (_IO_sputbackc): Likewise.
4414         (_IO_sungetc): Likewise.
4415         (_IO_set_column): Likewise.
4416         (_IO_set_column): Likewise.
4417         (_IO_adjust_column): Likewise.
4418         (_IO_get_column): Likewise.
4419         (_IO_init_marker): Likewise.
4420         (_IO_remove_marker): Likewise.
4421         (_IO_marker_difference): Likewise.
4422         (_IO_marker_delta): Likewise.
4423         (_IO_seekmark): Likewise.
4424         (_IO_unsave_markers): Likewise.
4425         (_IO_nobackup_pbackfail): Likewise.
4426         (_IO_default_pbackfail): Likewise.
4427         (_IO_default_seek): Likewise.
4428         (_IO_default_stat): Likewise.
4429         (_IO_default_read): Likewise.
4430         (_IO_default_write): Likewise.
4431         (_IO_default_showmanyc): Likewise.
4432         (_IO_default_imbue): Likewise.
4433         (_IO_iter_next): Likewise.
4434         (_IO_iter_file): Likewise.
4435         * libio/getc.c (_IO_getc): Likewise.
4436         * libio/getwc.c (_IO_getwc): Likewise.
4437         * libio/iofclose.c (_IO_new_fclose): Likewise.
4438         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4439         * libio/iofflush.c (_IO_fflush): Likewise.
4440         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4441         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4442         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4443         * libio/iofgets.c (_IO_fgets): Likewise.
4444         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4445         * libio/iofgetws.c (fgetws): Likewise.
4446         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4447         * libio/iofopen64.c (_IO_fopen64): Likewise.
4448         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4449         (_IO_cookie_write): Likewise.
4450         (_IO_cookie_seek): Likewise.
4451         (_IO_cookie_close): Likewise.
4452         (_IO_cookie_seekoff): Likewise.
4453         (_IO_old_cookie_seek): Likewise.
4454         * libio/iofputs.c (_IO_fputs): Likewise.
4455         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4456         * libio/iofputws.c (fputws): Likewise.
4457         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4458         * libio/iofread.c (_IO_fread): Likewise.
4459         * libio/iofread_u.c (__fread_unlocked): Likewise.
4460         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4461         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4462         * libio/ioftell.c (_IO_ftell): Likewise.
4463         * libio/iofwrite.c (_IO_fwrite): Likewise.
4464         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4465         * libio/iogets.c (_IO_gets): Likewise.
4466         * libio/iopadn.c (_IO_padn): Likewise.
4467         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4468         (_IO_new_popen): Likewise.
4469         (_IO_new_proc_close): Likewise.
4470         * libio/ioputs.c (_IO_puts): Likewise.
4471         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4472         (_IO_seekoff): Likewise.
4473         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4474         (_IO_seekpos): Likewise.
4475         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4476         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4477         * libio/ioungetc.c (_IO_ungetc): Likewise.
4478         * libio/ioungetwc.c (ungetwc): Likewise.
4479         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4480         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4481         * libio/iowpadn.c (_IO_wpadn): Likewise.
4482         * libio/libc_fatal.c (__libc_fatal): Likewise.
4483         * libio/memstream.c (__open_memstream): Likewise.
4484         (_IO_mem_sync): Likewise.
4485         (_IO_mem_finish): Likewise.
4486         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4487         (_IO_old_file_close_it): Likewise.
4488         (_IO_old_file_finish): Likewise.
4489         (_IO_old_file_fopen): Likewise.
4490         (_IO_old_file_attach): Likewise.
4491         (_IO_old_file_setbuf): Likewise.
4492         (_IO_old_do_write): Likewise.
4493         (old_do_write): Likewise.
4494         (_IO_old_file_underflow): Likewise.
4495         (_IO_old_file_overflow): Likewise.
4496         (_IO_old_file_sync): Likewise.
4497         (_IO_old_file_seekoff): Likewise.
4498         (_IO_old_file_write): Likewise.
4499         (_IO_old_file_xsputn): Likewise.
4500         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4501         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4502         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4503         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4504         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4505         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4506         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4507         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4508         (_IO_old_popen): Likewise.
4509         (_IO_old_proc_close): Likewise.
4510         * libio/oldpclose.c (__old_pclose): Likewise.
4511         * libio/pclose.c (__new_pclose): Likewise.
4512         * libio/peekc.c (_IO_peekc_locked): Likewise.
4513         * libio/putc.c (_IO_putc): Likewise.
4514         * libio/putc_u.c (putc_unlocked): Likewise.
4515         * libio/putchar.c (putchar): Likewise.
4516         * libio/putchar_u.c (putchar_unlocked): Likewise.
4517         * libio/putwc.c (putwc): Likewise.
4518         * libio/putwc_u.c (putwc_unlocked): Likewise.
4519         * libio/putwchar.c (putwchar): Likewise.
4520         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4521         * libio/rewind.c (rewind): Likewise.
4522         * libio/setbuf.c (setbuf): Likewise.
4523         * libio/setlinebuf.c (setlinebuf): Likewise.
4524         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4525         * libio/vscanf.c (_IO_vscanf): Likewise.
4526         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4527         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4528         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4529         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4530         (_IO_switch_to_main_wget_area): Likewise.
4531         (_IO_switch_to_wbackup_area): Likewise.
4532         (_IO_wsetb): Likewise.
4533         (_IO_wdefault_pbackfail): Likewise.
4534         (_IO_wdefault_finish): Likewise.
4535         (_IO_wdefault_uflow): Likewise.
4536         (__woverflow): Likewise.
4537         (__wuflow): Likewise.
4538         (__wunderflow): Likewise.
4539         (_IO_wdefault_xsputn): Likewise.
4540         (_IO_wdefault_xsgetn): Likewise.
4541         (_IO_wdoallocbuf): Likewise.
4542         (_IO_wdefault_doallocate): Likewise.
4543         (_IO_switch_to_wget_mode): Likewise.
4544         (_IO_free_wbackup_area): Likewise.
4545         (_IO_switch_to_wput_mode): Likewise.
4546         (_IO_sputbackwc): Likewise.
4547         (_IO_sungetwc): Likewise.
4548         (_IO_adjust_wcolumn): Likewise.
4549         (_IO_init_wmarker): Likewise.
4550         (_IO_wmarker_delta): Likewise.
4551         (_IO_seekwmark): Likewise.
4552         (_IO_unsave_wmarkers): Likewise.
4553         * libio/wmemstream.c (open_wmemstream): Likewise.
4554         (_IO_wmem_sync): Likewise.
4555         (_IO_wmem_finish): Likewise.
4556         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4557         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4558         * locale/programs/simple-hash.c (init_hash): Likewise.
4559         (delete_hash): Likewise.
4560         (insert_entry): Likewise.
4561         (set_entry): Likewise.
4562         (next_prime): Likewise.
4563         (is_prime): Likewise.
4564         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4565         (xmalloc): Likewise.
4566         (xrealloc): Likewise.
4567         * locale/programs/xstrdup.c (xstrdup): Likewise.
4568         * localedata/collate-test.c (xstrcoll): Likewise.
4569         * localedata/xfrm-test.c (xstrcmp): Likewise.
4570         * login/getlogin_r.c (__getlogin_r): Likewise.
4571         * login/getpt.c (__posix_openpt): Likewise.
4572         * login/login_tty.c (login_tty): Likewise.
4573         * login/setlogin.c (setlogin): Likewise.
4574         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4575         (mach_msg_destroy_port): Likewise.
4576         (mach_msg_destroy_memory): Likewise.
4577         * malloc/mcheck.c (flood): Likewise.
4578         * misc/acct.c (acct): Likewise.
4579         * misc/brk.c (__brk): Likewise.
4580         * misc/chflags.c (chflags): Likewise.
4581         * misc/chroot.c (chroot): Likewise.
4582         * misc/fchflags.c (fchflags): Likewise.
4583         * misc/fstab.c (getfsspec): Likewise.
4584         (getfsfile): Likewise.
4585         * misc/fsync.c (fsync): Likewise.
4586         * misc/ftruncate.c (__ftruncate): Likewise.
4587         * misc/ftruncate64.c (__ftruncate64): Likewise.
4588         * misc/getdomain.c (getdomainname): Likewise.
4589         (getdomainname): Likewise.
4590         * misc/gethostname.c (__gethostname): Likewise.
4591         * misc/getpass.c (getpass): Likewise.
4592         * misc/getttyent.c (skip): Likewise.
4593         (value): Likewise.
4594         * misc/gtty.c (gtty): Likewise.
4595         * misc/hsearch.c (hsearch): Likewise.
4596         (hcreate): Likewise.
4597         * misc/hsearch_r.c (__hcreate_r): Likewise.
4598         (__hdestroy_r): Likewise.
4599         * misc/ioctl.c (__ioctl): Likewise.
4600         * misc/mkdtemp.c (mkdtemp): Likewise.
4601         * misc/mkostemp.c (mkostemp): Likewise.
4602         * misc/mkostemp64.c (mkostemp64): Likewise.
4603         * misc/mkostemps.c (mkostemps): Likewise.
4604         * misc/mkostemps64.c (mkostemps64): Likewise.
4605         * misc/mkstemp.c (mkstemp): Likewise.
4606         * misc/mkstemp64.c (mkstemp64): Likewise.
4607         * misc/mkstemps.c (mkstemps): Likewise.
4608         * misc/mkstemps64.c (mkstemps64): Likewise.
4609         * misc/mktemp.c (__mktemp): Likewise.
4610         * misc/preadv.c (preadv): Likewise.
4611         * misc/preadv64.c (preadv64): Likewise.
4612         * misc/pwritev.c (pwritev): Likewise.
4613         * misc/pwritev64.c (pwritev64): Likewise.
4614         * misc/readv.c (__readv): Likewise.
4615         * misc/revoke.c (revoke): Likewise.
4616         * misc/setdomain.c (setdomainname): Likewise.
4617         * misc/setegid.c (setegid): Likewise.
4618         * misc/seteuid.c (seteuid): Likewise.
4619         * misc/sethostid.c (sethostid): Likewise.
4620         * misc/sethostname.c (sethostname): Likewise.
4621         * misc/setregid.c (__setregid): Likewise.
4622         * misc/setreuid.c (__setreuid): Likewise.
4623         * misc/sstk.c (sstk): Likewise.
4624         * misc/stty.c (stty): Likewise.
4625         * misc/syscall.c (syscall): Likewise.
4626         * misc/syslog.c (setlogmask): Likewise.
4627         * misc/truncate.c (__truncate): Likewise.
4628         * misc/truncate64.c (truncate64): Likewise.
4629         * misc/ualarm.c (ualarm): Likewise.
4630         * misc/usleep.c (usleep): Likewise.
4631         * misc/ustat.c (ustat): Likewise.
4632         * misc/writev.c (__writev): Likewise.
4633         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4634         * nptl/old_pthread_cond_broadcast.c
4635         (__pthread_cond_broadcast_2_0): Likewise.
4636         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4637         Likewise.
4638         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4639         Likewise.
4640         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4641         Likewise.
4642         * nptl/pt-raise.c (raise): Likewise.
4643         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4644         Likewise.
4645         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4646         * nptl/pthread_barrierattr_destroy.c
4647         (pthread_barrierattr_destroy): Likewise.
4648         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4649         Likewise.
4650         * nptl/pthread_barrierattr_setpshared.c
4651         (pthread_barrierattr_setpshared): Likewise.
4652         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4653         Likewise.
4654         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4655         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4656         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4657         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4658         Likewise.
4659         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4660         Likewise.
4661         * nptl/pthread_condattr_getpshared.c
4662         (pthread_condattr_getpshared): Likewise.
4663         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4664         Likewise.
4665         * nptl/pthread_condattr_setpshared.c
4666         (pthread_condattr_setpshared): Likewise.
4667         * nptl/pthread_detach.c (pthread_detach): Likewise.
4668         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4669         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4670         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4671         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4672         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4673         Likewise.
4674         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4675         Likewise.
4676         * nptl/pthread_mutex_getprioceiling.c
4677         (pthread_mutex_getprioceiling): Likewise.
4678         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4679         Likewise.
4680         * nptl/pthread_mutexattr_getprotocol.c
4681         (pthread_mutexattr_getprotocol): Likewise.
4682         * nptl/pthread_mutexattr_getpshared.c
4683         (pthread_mutexattr_getpshared): Likewise.
4684         * nptl/pthread_mutexattr_getrobust.c
4685         (pthread_mutexattr_getrobust): Likewise.
4686         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4687         Likewise.
4688         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4689         Likewise.
4690         * nptl/pthread_mutexattr_setprioceiling.c
4691         (pthread_mutexattr_setprioceiling): Likewise.
4692         * nptl/pthread_mutexattr_setprotocol.c
4693         (pthread_mutexattr_setprotocol): Likewise.
4694         * nptl/pthread_mutexattr_setpshared.c
4695         (pthread_mutexattr_setpshared): Likewise.
4696         * nptl/pthread_mutexattr_setrobust.c
4697         (pthread_mutexattr_setrobust): Likewise.
4698         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4699         Likewise.
4700         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4701         Likewise.
4702         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4703         Likewise.
4704         * nptl/pthread_rwlockattr_getkind_np.c
4705         (pthread_rwlockattr_getkind_np): Likewise.
4706         * nptl/pthread_rwlockattr_getpshared.c
4707         (pthread_rwlockattr_getpshared): Likewise.
4708         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4709         Likewise.
4710         * nptl/pthread_rwlockattr_setkind_np.c
4711         (pthread_rwlockattr_setkind_np): Likewise.
4712         * nptl/pthread_rwlockattr_setpshared.c
4713         (pthread_rwlockattr_setpshared): Likewise.
4714         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4715         Likewise.
4716         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4717         Likewise.
4718         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4719         Likewise.
4720         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4721         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4722         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4723         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4724         * nptl/sem_close.c (sem_close): Likewise.
4725         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4726         * nptl/sem_init.c (__old_sem_init): Likewise.
4727         * nptl/sigaction.c (__sigaction): Likewise.
4728         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4729         * posix/_exit.c (_exit): Likewise.
4730         * posix/alarm.c (alarm): Likewise.
4731         * posix/confstr.c (confstr): Likewise.
4732         * posix/fpathconf.c (__fpathconf): Likewise.
4733         * posix/getgroups.c (__getgroups): Likewise.
4734         * posix/getpgid.c (__getpgid): Likewise.
4735         * posix/group_member.c (__group_member): Likewise.
4736         * posix/pathconf.c (__pathconf): Likewise.
4737         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4738         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4739         * posix/setgid.c (__setgid): Likewise.
4740         * posix/setpgid.c (__setpgid): Likewise.
4741         * posix/setuid.c (__setuid): Likewise.
4742         * posix/sleep.c (__sleep): Likewise.
4743         * posix/sysconf.c (__sysconf): Likewise.
4744         * posix/times.c (__times): Likewise.
4745         * posix/uname.c (__uname): Likewise.
4746         * posix/waitid.c (__waitid): Likewise.
4747         * pwd/getpw.c (__getpw): Likewise.
4748         * resolv/base64.c (b64_pton): Likewise.
4749         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4750         * resolv/gethnamaddr.c (Dprintf): Likewise.
4751         (gethostbyname): Likewise.
4752         (gethostbyname2): Likewise.
4753         (gethostbyaddr): Likewise.
4754         (_sethtent): Likewise.
4755         (_gethtbyname): Likewise.
4756         (_gethtbyname2): Likewise.
4757         (_gethtbyaddr): Likewise.
4758         (map_v4v6_address): Likewise.
4759         (map_v4v6_hostent): Likewise.
4760         (addrsort): Likewise.
4761         (ht_sethostent): Likewise.
4762         (ht_gethostbyname): Likewise.
4763         (ht_gethostbyaddr): Likewise.
4764         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4765         (inet_net_ntop_ipv4): Likewise.
4766         * resolv/inet_neta.c (inet_neta): Likewise.
4767         * resolv/inet_ntop.c (inet_ntop): Likewise.
4768         (inet_ntop4): Likewise.
4769         (inet_ntop6): Likewise.
4770         * resolv/inet_pton.c (__inet_pton): Likewise.
4771         (inet_pton4): Likewise.
4772         (inet_pton6): Likewise.
4773         * resolv/res_debug.c (loc_aton): Likewise.
4774         (loc_ntoa): Likewise.
4775         * resource/getpriority.c (__getpriority): Likewise.
4776         * resource/getrusage.c (__getrusage): Likewise.
4777         * resource/nice.c (nice): Likewise.
4778         * resource/setpriority.c (__setpriority): Likewise.
4779         * resource/setrlimit64.c (setrlimit64): Likewise.
4780         * resource/vlimit.c (vlimit): Likewise.
4781         * resource/vtimes.c (vtimes): Likewise.
4782         * rt/aio_error.c (aio_error): Likewise.
4783         * rt/aio_return.c (aio_return): Likewise.
4784         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4785         * signal/kill.c (__kill): Likewise.
4786         * signal/killpg.c (killpg): Likewise.
4787         * signal/raise.c (raise): Likewise.
4788         * signal/sigaction.c (__sigaction): Likewise.
4789         * signal/sigaddset.c (sigaddset): Likewise.
4790         * signal/sigaltstack.c (sigaltstack): Likewise.
4791         * signal/sigandset.c (sigandset): Likewise.
4792         * signal/sigblock.c (__sigblock): Likewise.
4793         * signal/sigdelset.c (sigdelset): Likewise.
4794         * signal/sigempty.c (sigemptyset): Likewise.
4795         * signal/sigfillset.c (sigfillset): Likewise.
4796         * signal/sighold.c (sighold): Likewise.
4797         * signal/sigignore.c (sigignore): Likewise.
4798         * signal/sigintr.c (siginterrupt): Likewise.
4799         * signal/sigisempty.c (sigisemptyset): Likewise.
4800         * signal/sigismem.c (sigismember): Likewise.
4801         * signal/signal.c (signal): Likewise.
4802         * signal/sigorset.c (sigorset): Likewise.
4803         * signal/sigpause.c (__sigpause): Likewise.
4804         * signal/sigpending.c (sigpending): Likewise.
4805         * signal/sigprocmask.c (__sigprocmask): Likewise.
4806         * signal/sigrelse.c (sigrelse): Likewise.
4807         * signal/sigreturn.c (__sigreturn): Likewise.
4808         * signal/sigset.c (sigset): Likewise.
4809         * signal/sigsetmask.c (__sigsetmask): Likewise.
4810         * signal/sigstack.c (sigstack): Likewise.
4811         * signal/sigsuspend.c (__sigsuspend): Likewise.
4812         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4813         * signal/sysv_signal.c (__sysv_signal): Likewise.
4814         * socket/accept.c (accept): Likewise.
4815         * socket/accept4.c (__libc_accept4): Likewise.
4816         * socket/bind.c (__bind): Likewise.
4817         * socket/connect.c (__connect): Likewise.
4818         * socket/getpeername.c (getpeername): Likewise.
4819         * socket/getsockname.c (__getsockname): Likewise.
4820         * socket/getsockopt.c (getsockopt): Likewise.
4821         * socket/listen.c (__listen): Likewise.
4822         * socket/recv.c (__recv): Likewise.
4823         * socket/recvmsg.c (__recvmsg): Likewise.
4824         * socket/send.c (__send): Likewise.
4825         * socket/sendmsg.c (__sendmsg): Likewise.
4826         * socket/shutdown.c (shutdown): Likewise.
4827         * socket/sockatmark.c (sockatmark): Likewise.
4828         * socket/socket.c (__socket): Likewise.
4829         * stdio-common/ctermid.c (ctermid): Likewise.
4830         * stdio-common/cuserid.c (cuserid): Likewise.
4831         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4832         * stdio-common/remove.c (remove): Likewise.
4833         * stdio-common/rename.c (rename): Likewise.
4834         * stdio-common/renameat.c (renameat): Likewise.
4835         * stdio-common/tempname.c (__gen_tempname): Likewise.
4836         * stdio-common/xbug.c (InitBuffer): Likewise.
4837         (AppendToBuffer): Likewise.
4838         (ReadFile): Likewise.
4839         * stdlib/a64l.c (a64l): Likewise.
4840         * stdlib/drand48_r.c (drand48_r): Likewise.
4841         * stdlib/getcontext.c (getcontext): Likewise.
4842         * stdlib/getenv.c (getenv): Likewise.
4843         * stdlib/l64a.c (l64a): Likewise.
4844         * stdlib/llabs.c (llabs): Likewise.
4845         * stdlib/lldiv.c (lldiv): Likewise.
4846         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4847         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4848         * stdlib/putenv.c (putenv): Likewise.
4849         * stdlib/random.c (__srandom): Likewise.
4850         (__initstate): Likewise.
4851         (__setstate): Likewise.
4852         * stdlib/random_r.c (__srandom_r): Likewise.
4853         (__setstate_r): Likewise.
4854         (__random_r): Likewise.
4855         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4856         * stdlib/setcontext.c (setcontext): Likewise.
4857         * stdlib/setenv.c (setenv): Likewise.
4858         (unsetenv): Likewise.
4859         * stdlib/srand48.c (srand48): Likewise.
4860         * stdlib/srand48_r.c (__srand48_r): Likewise.
4861         * stdlib/swapcontext.c (swapcontext): Likewise.
4862         * stdlib/system.c (__libc_system): Likewise.
4863         * stdlib/tst-strtod.c (expand): Likewise.
4864         * stdlib/tst-strtol.c (expand): Likewise.
4865         * stdlib/tst-strtoll.c (expand): Likewise.
4866         * streams/fattach.c (fattach): Likewise.
4867         * streams/fdetach.c (fdetach): Likewise.
4868         * streams/getmsg.c (getmsg): Likewise.
4869         * streams/isastream.c (isastream): Likewise.
4870         * string/ffs.c (__ffs): Likewise.
4871         * string/ffsll.c (ffsll): Likewise.
4872         * string/memcmp.c (memcmp_common_alignment): Likewise.
4873         (memcmp_not_common_alignment): Likewise.
4874         (MEMCMP): Likewise.
4875         * string/memcpy.c (memcpy): Likewise.
4876         * string/memmove.c (MEMMOVE): Likewise.
4877         * string/memset.c (memset): Likewise.
4878         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4879         * string/strchrnul.c (STRCHRNUL): Likewise.
4880         * string/strerror.c (strerror): Likewise.
4881         * string/strndup.c (__strndup): Likewise.
4882         * string/strverscmp.c (__strverscmp): Likewise.
4883         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4884         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4885         (clnttcp_freeres): Likewise.
4886         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4887         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4888         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4889         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4890         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4891         (xdr_callhdr): Likewise.
4892         * sunrpc/rpcinfo.c (udpping): Likewise.
4893         (tcpping): Likewise.
4894         (pstatus): Likewise.
4895         (pmapdump): Likewise.
4896         (brdcst): Likewise.
4897         (deletereg): Likewise.
4898         (getprognum): Likewise.
4899         (getvers): Likewise.
4900         (get_inet_address): Likewise.
4901         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4902         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4903         (svcudp_stat): Likewise.
4904         (svcudp_recv): Likewise.
4905         (svcudp_reply): Likewise.
4906         (svcudp_getargs): Likewise.
4907         (svcudp_freeargs): Likewise.
4908         (svcudp_destroy): Likewise.
4909         * sunrpc/xdr.c (xdr_bytes): Likewise.
4910         (xdr_netobj): Likewise.
4911         (xdr_string): Likewise.
4912         (xdr_wrapstring): Likewise.
4913         * sunrpc/xdr_float.c (xdr_float): Likewise.
4914         (xdr_double): Likewise.
4915         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4916         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4917         * sysvipc/ftok.c (ftok): Likewise.
4918         * sysvipc/msgctl.c (msgctl): Likewise.
4919         * sysvipc/msgget.c (msgget): Likewise.
4920         * sysvipc/msgrcv.c (msgrcv): Likewise.
4921         * sysvipc/msgsnd.c (msgsnd): Likewise.
4922         * sysvipc/semget.c (semget): Likewise.
4923         * sysvipc/semop.c (semop): Likewise.
4924         * sysvipc/shmat.c (shmat): Likewise.
4925         * sysvipc/shmctl.c (shmctl): Likewise.
4926         * sysvipc/shmdt.c (shmdt): Likewise.
4927         * sysvipc/shmget.c (shmget): Likewise.
4928         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4929         * termios/speed.c (cfgetospeed): Likewise.
4930         (cfgetispeed): Likewise.
4931         (cfsetospeed): Likewise.
4932         (cfsetispeed): Likewise.
4933         * termios/tcflow.c (tcflow): Likewise.
4934         * termios/tcflush.c (tcflush): Likewise.
4935         * termios/tcgetattr.c (__tcgetattr): Likewise.
4936         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4937         * termios/tcgetsid.c (tcgetsid): Likewise.
4938         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4939         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4940         * time/adjtime.c (__adjtime): Likewise.
4941         * time/dysize.c (dysize): Likewise.
4942         * time/ftime.c (ftime): Likewise.
4943         * time/getitimer.c (__getitimer): Likewise.
4944         * time/gettimeofday.c (__gettimeofday): Likewise.
4945         * time/gmtime.c (__gmtime_r): Likewise.
4946         (gmtime): Likewise.
4947         * time/localtime.c (__localtime_r): Likewise.
4948         (localtime): Likewise.
4949         * time/offtime.c (__offtime): Likewise.
4950         * time/settimeofday.c (__settimeofday): Likewise.
4951         * time/stime.c (stime): Likewise.
4952         * time/strftime_l.c (tm_diff): Likewise.
4953         (iso_week_days): Likewise.
4954         * time/strptime.c (strptime): Likewise.
4955         * time/time.c (time): Likewise.
4956         * time/timespec_get.c (timespec_get): Likewise.
4957         * time/tzset.c (tzset_internal): Likewise.
4958         (compute_change): Likewise.
4959         (__tz_compute): Likewise.
4960         * wcsmbs/btowc.c (__btowc): Likewise.
4961         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4962         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4963         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4964         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4965         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4966         * wcsmbs/wcscat.c (__wcscat): Likewise.
4967         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4968         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4969         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4970         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4971         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4972         * wcsmbs/wcslen.c (__wcslen): Likewise.
4973         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4974         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4975         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4976         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4977         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4978         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4979         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4980         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4981         * wcsmbs/wcstok.c (wcstok): Likewise.
4982         * wcsmbs/wctob.c (wctob): Likewise.
4983         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4984         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4985         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4986         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4987         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4988         * wcsmbs/wmemset.c (__wmemset): Likewise.
4989         * wctype/wcfuncs.c (__towlower): Likewise.
4990         (__towupper): Likewise.
4992         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4993         (lll_unlock_elision): Add adapt_count parameter.
4995 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4997         * sysdeps/nptl/configure.ac: Do not give errors based on the
4998         results of top-level configure tests.
4999         * sysdeps/nptl/configure: Regenerated.
5001         * configure.ac (libc_cv_Bgroup): Remove configure test.
5002         * configure: Regenerated.
5003         * config.make.in (have-Bgroup): Remove variable.
5005         * configure.ac (sizeof_long_double): Remove configure test.
5006         * configure: Regenerated.
5007         * config.make.in (sizeof-long-double): Remove variable.
5009         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5010         * configure: Regenerated.
5011         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5012         variable.
5013         (exceptions): Likewise.
5014         * sysdeps/arm/configure: Regenerated.
5015         * config.make.in (exceptions): Remove variable.
5016         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5017         $(exceptions).
5018         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5019         (CFLAGS-vdprintf_chk.c): Likewise.
5020         (CFLAGS-printf_chk.c): Likewise.
5021         (CFLAGS-fprintf_chk.c): Likewise.
5022         (CFLAGS-vprintf_chk.c): Likewise.
5023         (CFLAGS-vfprintf_chk.c): Likewise.
5024         (CFLAGS-gets_chk.c): Likewise.
5025         (CFLAGS-fgets_chk.c): Likewise.
5026         (CFLAGS-fgets_u_chk.c): Likewise.
5027         (CFLAGS-fread_chk.c): Likewise.
5028         (CFLAGS-fread_u_chk.c): Likewise.
5029         (CFLAGS-wprintf_chk.c): Likewise.
5030         (CFLAGS-fwprintf_chk.c): Likewise.
5031         (CFLAGS-vwprintf_chk.c): Likewise.
5032         (CFLAGS-vfwprintf_chk.c): Likewise.
5033         (CFLAGS-fgetws_chk.c): Likewise.
5034         (CFLAGS-fgetws_u_chk.c): Likewise.
5035         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5036         (CFLAGS-fputc.c): Likewise.
5037         (CFLAGS-fputwc.c): Likewise.
5038         (CFLAGS-freopen64.c): Likewise.
5039         (CFLAGS-freopen.c): Likewise.
5040         (CFLAGS-fseek.c): Likewise.
5041         (CFLAGS-fseeko64.c): Likewise.
5042         (CFLAGS-fseeko.c): Likewise.
5043         (CFLAGS-ftello64.c): Likewise.
5044         (CFLAGS-ftello.c): Likewise.
5045         (CFLAGS-fwide.c): Likewise.
5046         (CFLAGS-genops.c): Likewise.
5047         (CFLAGS-getc.c): Likewise.
5048         (CFLAGS-getchar.c): Likewise.
5049         (CFLAGS-getwc.c): Likewise.
5050         (CFLAGS-getwchar.c): Likewise.
5051         (CFLAGS-iofclose.c): Likewise.
5052         (CFLAGS-iofflush.c): Likewise.
5053         (CFLAGS-iofgetpos64.c): Likewise.
5054         (CFLAGS-iofgetpos.c): Likewise.
5055         (CFLAGS-iofgets.c): Likewise.
5056         (CFLAGS-iofgetws.c): Likewise.
5057         (CFLAGS-iofputs.c): Likewise.
5058         (CFLAGS-iofputws.c): Likewise.
5059         (CFLAGS-iofread.c): Likewise.
5060         (CFLAGS-iofsetpos64.c): Likewise.
5061         (CFLAGS-iofsetpos.c): Likewise.
5062         (CFLAGS-ioftell.c): Likewise.
5063         (CFLAGS-iofwrite.c): Likewise.
5064         (CFLAGS-iogetdelim.c): Likewise.
5065         (CFLAGS-iogetline.c): Likewise.
5066         (CFLAGS-iogets.c): Likewise.
5067         (CFLAGS-iogetwline.c): Likewise.
5068         (CFLAGS-ioputs.c): Likewise.
5069         (CFLAGS-ioseekoff.c): Likewise.
5070         (CFLAGS-ioseekpos.c): Likewise.
5071         (CFLAGS-iosetbuffer.c): Likewise.
5072         (CFLAGS-iosetvbuf.c): Likewise.
5073         (CFLAGS-ioungetc.c): Likewise.
5074         (CFLAGS-ioungetwc.c): Likewise.
5075         (CFLAGS-oldfileops.c): Likewise.
5076         (CFLAGS-oldiofclose.c): Likewise.
5077         (CFLAGS-oldiofgetpos64.c): Likewise.
5078         (CFLAGS-oldiofgetpos.c): Likewise.
5079         (CFLAGS-oldiofsetpos64.c): Likewise.
5080         (CFLAGS-oldiofsetpos.c): Likewise.
5081         (CFLAGS-peekc.c): Likewise.
5082         (CFLAGS-putc.c): Likewise.
5083         (CFLAGS-putchar.c): Likewise.
5084         (CFLAGS-putwc.c): Likewise.
5085         (CFLAGS-putwchar.c): Likewise.
5086         (CFLAGS-rewind.c): Likewise.
5087         (CFLAGS-wfileops.c): Likewise.
5088         (CFLAGS-wgenops.c): Likewise.
5089         (CFLAGS-oldiofopen.c): Likewise.
5090         (CFLAGS-iofopen.c): Likewise.
5091         (CFLAGS-iofopen64.c): Likewise.
5092         (CFLAGS-oldtmpfile.c): Likewise.
5093         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5094         (CFLAGS-fprintf.c): Likewise.
5095         (CFLAGS-printf.c): Likewise.
5096         (CFLAGS-vfwprintf.c): Likewise.
5097         (CFLAGS-vfscanf.c): Likewise.
5098         (CFLAGS-vfwscanf.c): Likewise.
5099         (CFLAGS-fscanf.c): Likewise.
5100         (CFLAGS-scanf.c): Likewise.
5101         (CFLAGS-isoc99_vfscanf.c): Likewise.
5102         (CFLAGS-isoc99_vscanf.c): Likewise.
5103         (CFLAGS-isoc99_fscanf.c): Likewise.
5104         (CFLAGS-isoc99_scanf.c): Likewise.
5105         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5106         (CFLAGS-isoc99_fwscanf.c): Likewise.
5107         (CFLAGS-isoc99_vwscanf.c): Likewise.
5108         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5110         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5111         after mkstemp64.
5112         * login/tst-utmp.c (do_prepare): Likewise.
5113         * rt/tst-aio.c (do_prepare): Likewise.
5114         * rt/tst-aio64.c (do_prepare): Likewise.
5116 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5118         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5119         (__lll_lock_elision): Remove adapt_count decrement...
5120         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5121         (__lll_trylock_elision): Likewise.
5122         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5123         (__lll_unlock_elision): ... to here. And utilize
5124         new adapt_count parameter.
5125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5126         (__lll_unlock_elision): Update to include adapt_count
5127         parameter.
5128         (lll_unlock_elision): Pass pointer to adapt_count
5129         variable.
5131 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5133         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5134         Add elision adapt_count parameter to list of arguments.
5135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5136         (lll_unlock_elision): Update with new parameter list
5137         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5138         (lll_unlock_elision): Likewise.
5139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5140         (lll_unlock_elision): Likewise.
5142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5144         [BZ #19122]
5145         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5146         attribute_hidden.
5148         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5149         attribute_hidden.
5150         [IS_IN (rtld)] (__strdup): Likewise.
5151         [IS_IN (rtld)] (__strerror_r): Likewise.
5152         [IS_IN (rtld)] (__strsep_g): Likewise.
5153         [IS_IN (rtld)] (memchr): Likewise.
5154         [IS_IN (rtld)] (memcmp): Likewise.
5155         [IS_IN (rtld)] (memcpy): Likewise.
5156         [IS_IN (rtld)] (memmove): Likewise.
5157         [IS_IN (rtld)] (memset): Likewise.
5158         [IS_IN (rtld)] (rawmemchr): Likewise.
5159         [IS_IN (rtld)] (stpcpy): Likewise.
5160         [IS_IN (rtld)] (strchr): Likewise.
5161         [IS_IN (rtld)] (strcmp): Likewise.
5162         [IS_IN (rtld)] (strlen): Likewise.
5163         [IS_IN (rtld)] (strnlen): Likewise.
5164         [IS_IN (rtld)] (strsep): Likewise.
5166         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5167         attribute_hidden.
5168         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5170         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5171         attribute_hidden.
5172         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5174         * include/setjmp.h (__longjmp): Add attribute_hidden.
5175         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5177         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5178         Add attribute_hidden.
5180         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5181         [IS_IN (rtld)] (__open): Likewise.
5182         [IS_IN (rtld)] (__fcntl): Likewise.
5184         * include/dirent.h (__opendirat): Add attribute_hidden.
5185         (__getdents): Likewise.
5186         (__getdents64): Likewise.
5187         (__alloc_dir): Likewise.
5188         [IS_IN (rtld)] (__closedir): Likewise.
5189         [IS_IN (rtld)] (__fdopendir): Likewise.
5190         [IS_IN (rtld)] (__readdir): Likewise.
5191         [IS_IN (rtld)] (__readdir64): Likewise.
5192         [IS_IN (rtld)] (__rewinddir): Likewise.
5194         * include/dlfcn.h (_dl_catch_error): Moved to ...
5195         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5196         attribute_hidden.
5198         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5199         (_itoa_word): Likewise.
5201         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5202         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5203         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5204         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5205         (_dl_higher_prime_number): Likewise.
5206         (_dl_debug_printf_c): Likewise.
5207         (_dl_signal_cerror): Likewise.
5208         (_dl_receive_error): Likewise.
5209         (_dl_reloc_bad_type): Likewise.
5210         (_dl_resolve_conflicts): Likewise.
5211         (_dl_check_all_versions): Likewise.
5212         (_dl_check_map_versions): Likewise.
5213         (_dl_sort_fini): Likewise.
5214         (_dl_debug_initialize): Likewise.
5215         (_dl_init_paths): Likewise.
5216         (_dl_show_auxv): Likewise.
5217         (_dl_next_ld_env_entry): Likewise.
5218         (_dl_important_hwcaps): Likewise.
5219         (_dl_load_cache_lookup): Likewise.
5220         (_dl_update_slotinfo): Likewise.
5221         (_dl_show_scope): Likewise.
5223         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5224         attribute_hidden.
5225         (_wordcopy_fwd_dest_aligned): Likewise.
5226         (_wordcopy_bwd_aligned): Likewise.
5227         (_wordcopy_bwd_dest_aligned): Likewise.
5229         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5230         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5231         Likewise.
5232         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5233         Likewise.
5234         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5236 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5239         GCC 5 requirement.
5241 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5243         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5244         test.
5245         * sysdeps/i386/configure: Regenerated.
5246         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5247         code unconditional.
5249         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5250         test.
5251         (libc_cv_asm_popsection_directive): Likewise.
5252         * configure: Regenerated.
5253         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5254         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5255         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5256         (__make_section_unallocated): Make definition unconditional.
5257         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5258         Remove conditional definition.
5259         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5260         (__make_section_unallocated): Likewise.
5262         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5263         * configure: Regenerated.
5264         * config.make.in (static-libgcc): Remove variable.
5265         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5266         $(static-libgcc).
5267         (build-module-helper): Likewise.
5269         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5270         * configure: Regenerated.
5272 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5274         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5275         (struct char_buffer): New type.
5276         (char_buffer_start, char_buffer_size, char_buffer_error)
5277         (char_buffer_rewind, char_buffer_add): New functions.
5278         (ADDW): Remove macro, replaced by the char_buffer_add function.
5279         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5280         of extend_alloca.  Make control flow more explicit.
5282 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5284         [BZ #19137]
5285         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5286         Add -fomit-frame-pointer.
5287         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5289 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5291         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5292         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5294         only if !__GNUC_PREREQ (5,0).
5295         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5296         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5297         (INTERNAL_SYSCALL_NCS): Likewise.
5298         (LOADREGS_0): New macro for GCC 5.
5299         (ASMARGS_0): Likewise.
5300         (LOADREGS_1): Likewise.
5301         (ASMARGS_1): Likewise.
5302         (LOADREGS_2): Likewise.
5303         (ASMARGS_2): Likewise.
5304         (LOADREGS_3): Likewise.
5305         (ASMARGS_3): Likewise.
5306         (LOADREGS_4): Likewise.
5307         (ASMARGS_4): Likewise.
5308         (LOADREGS_5): Likewise.
5309         (ASMARGS_5): Likewise.
5310         (LOADREGS_6): Likewise.
5311         (ASMARGS_6): Likewise.
5313 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5315         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5316         -fomit-frame-pointer.
5317         (CFLAGS-mmap64.c): Likewise.
5318         (CFLAGS-semtimedop.c): Likewise.
5319         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5320         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5321         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5322         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5324 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5326         [BZ #18928]
5327         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5328         _dl_pointer_guard member.
5329         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5330         initializer.
5331         (security_init): Always set up pointer guard.
5332         (process_envvars): Do not process LD_POINTER_GUARD.
5334 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #19134]
5337         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5338         (.LC2): Likewise.
5339         (.LC3): Likewise.
5340         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5342 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5344         [BZ #19129]
5345         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5346         r0 and r1.
5348 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5350         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5352 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5354         * include/stap-probe.h: Fix macro definition formatting.
5356 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5358         [BZ #19074]
5359         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5360         load and store num_ifs.
5362 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5364         [BZ #18822]
5365         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5366         (__sched_getaffinity_new): Add libc_hidden_proto and
5367         libc_hidden_def.
5369 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5371         [BZ #19007]
5372         * scripts/localplt.awk: Also allow GOT references.
5373         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5374         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5375         with "+ REL R_386_GLOB_DAT".
5376         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5377         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5379 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5381         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5382         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5383         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5384         Likewise.
5385         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5386         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5387         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5388         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5389         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5390         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5391         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5392         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5393         Likewise.
5394         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5396 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #19125]
5399         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5400         <math_private.h> and <stdint.h>.
5401         (__llround): Avoid conversions to and from long long int, and
5402         subtractions, where those might raise spurious exceptions.
5403         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5404         <math_private.h> and <stdint.h>.
5405         (__llroundf): Avoid conversions to and from long long int, and
5406         subtractions, where those might raise spurious exceptions.
5408 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5410         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5411         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5412         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5413         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5414         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5415         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5416         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5417         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5418         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5419         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5420         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5421         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5422         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5423         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5424         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5425         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5426         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5427         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5428         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5429         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5430         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5431         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5432         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5433         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5434         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5435         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5436         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5437         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5438         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5439         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5440         (__xstat64_conv): Likewise.
5441         (__xstat32_conv): Likewise.
5443 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5445         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5446         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5447         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5448         <sysdeps/unix/sysv/linux/sysdep.h>.
5449         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5450         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5451         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5452         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5453         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5454         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5455         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5456         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5457         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5462         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5463         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5465         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5466         (sysdep-dl-routines): Add sysdep.
5467         [$(subdir) == nptl] (libpthread-routines): Likewise.
5468         [$(subdir) == rt] (librt-routines): Likewise.
5469         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5470         PIC when branching to SYSCALL_ERROR_LABEL.
5471         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5473         <sysdeps/unix/sysv/linux/sysdep.h>.
5474         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5475         (SYSCALL_ERROR_ERRNO): Removed.
5476         (SYSCALL_ERROR_HANDLER): Changed to empty.
5477         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5478         (__syscall_error): New prototype.
5479         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5480         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5482 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5484         [BZ #19124]
5485         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5486         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5487         _dl_runtime_resolve_avx.
5488         (_dl_runtime_profile_avx512): Make it a hidden alias of
5489         _dl_runtime_profile_avx.
5491 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5493         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5494         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5495         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5496         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5498         [BZ #16422]
5499         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5500         New configure test.
5501         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5502         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5503         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5504         <math_private.h> and <stdint.h>.
5505         (__llrint): Avoid conversions to long long int where those might
5506         raise spurious exceptions.
5507         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5508         <math_private.h> and <stdint.h>.
5509         (__llrintf): Avoid conversions to long long int where those might
5510         raise spurious exceptions.
5512 2015-10-12  Andreas Schwab  <schwab@suse.de>
5514         [BZ #18969]
5515         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5516         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5517         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5518         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5519         $(gen-locales).
5520         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5521         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5522         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5523         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5524         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5525         $(gen-locales).
5526         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5527         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5528         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5529         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5530         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5531         ($(objpfx)tst-ftell-active-handler.out)
5532         ($(objpfx)tst-ftell-append.out)
5533         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5534         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5535         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5536         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5537         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5538         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5539         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5540         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5541         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5542         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5543         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5544         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5545         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5546         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5547         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5548         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5549         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5550         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5551         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5552         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5553         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5554         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5555         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5556         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5557         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5558         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5559         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5560         $(gen-locales).
5561         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5562         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5563         $(gen-locales).
5564         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5565         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5566         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5567         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5568         $(gen-locales).
5569         * libio/tst_wprintf2.c (main): Use explicit locale.
5570         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5572 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5574         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5575         __msg_sig_post.
5576         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5578 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5580         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5581         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5583         * sysdeps/arm/libm-test-ulps: Regenerated.
5585         [BZ #15470]
5586         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5588         [BZ #16399]
5589         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5590         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5591         and <fix-fp-int-convert-overflow.h>.
5592         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5593         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5594         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5595         and <fix-fp-int-convert-overflow.h>.
5596         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5597         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5598         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5599         <fix-fp-int-convert-overflow.h>.
5600         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5601         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5602         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5603         <fix-fp-int-convert-overflow.h>.
5604         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5605         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5606         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5607         and <fix-fp-int-convert-overflow.h>.
5608         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5609         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5610         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5611         <limits.h> and <fix-fp-int-convert-overflow.h>.
5612         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5613         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5614         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5615         and <fix-fp-int-convert-overflow.h>.
5616         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5617         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5618         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5619         and <fix-fp-int-convert-overflow.h>.
5620         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5621         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5622         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5624 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5626         [BZ #18589]
5627         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5628         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5629         $(gen-locales).
5631 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5632             Phil Blundell <pb@pbcl.net>
5634         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5635         * nptl/tst-cancel26.c: New file.
5636         * nptl/tst-cancel27.c: Likewise.
5638 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5640         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5641         __ILP32__ isn't defined.
5642         (lrint): Likewise.
5643         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5644         (lrintf): Likewise.
5645         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5646         (lrintl): Likewise.
5647         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5648         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5649         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5651 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5654         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5656         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5657         file.
5658         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5659         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5661 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5663         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5664         configure test.
5665         * sysdeps/i386/configure: Regenerated.
5666         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5667         configure test.
5668         * sysdeps/x86_64/configure: Regenerated.
5669         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5670         Make code unconditional.
5672         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5673         test.
5674         * sysdeps/i386/configure: Regenerated.
5675         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5676         test.
5677         * sysdeps/x86_64/configure: Regenerated.
5678         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5679         Make code unconditional.
5680         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5681         Likewise.
5682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5683         Likewise.
5684         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5685         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5686         code unconditional.
5687         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5688         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5689         code unconditional.
5690         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5691         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5692         code unconditional.
5693         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5694         code unconditional.
5695         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5696         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5697         code unconditional.
5698         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5699         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5700         code unconditional.
5701         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5702         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5703         code unconditional.
5704         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5705         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5706         code unconditional.
5707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5708         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5710         [BZ #19095]
5711         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5712         mantissa to long int before shifting left.
5714 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5716         [BZ #19094]
5717         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5718         <limits.h>.
5719         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5720         when result overflows but exception would not result from cast.
5721         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5722         <limits.h>.
5723         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5724         when result overflows but exception would not result from cast.
5725         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5726         <limits.h>.
5727         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5728         when result overflows but exception would not result from cast.
5729         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5730         <limits.h>.
5731         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5732         when result overflows but exception would not result from cast.
5733         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5734         <limits.h>.
5735         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5736         when result overflows but exception would not result from cast.
5737         * math/libm-test.inc (lrint_test_data): Add more tests.
5738         (llrint_test_data): Likewise.
5740 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5742         [BZ #18872]
5743         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5744         Move out from under [$(run-built-tests) = yes] conditional.
5745         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5746         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5748 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5750         [BZ #18589]
5751         * string/Makefile (tests): Add bug-strcoll2.
5752         (LOCALES): Add cs_CZ.UTF-8.
5753         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5755         [BZ #18589]
5756         * string/bug-strcoll2.c: New file.
5757         * locale/categories.def: Revert commit
5758         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5759         * locale/langinfo.h: Likewise.
5760         * locale/localeinfo.h: Likewise.
5761         * locale/C-collate.c: Likewise.
5762         * locale/programs/ld-collate.c (collate_output): Likewise.
5763         * string/strcoll_l.c (STRDIFF): Likewise.
5764         (STRCOLL): Likewise.
5765         * wcsmbs/wcscoll_l.c: Likewise.
5767 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5769         * math/libm-test.inc (lround_test_data): Do not expect the absence
5770         of "inexact" for some tests with non-integer arguments.
5771         (llround_test_data): Likewise.
5773         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5774         test.
5775         (libc_cv_cc_sse2avx): Likewise.
5776         * sysdeps/i386/configure: Regenerated.
5777         * sysdeps/i386/i686/multiarch/Makefile
5778         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5779         [$(subdir) = math].
5780         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5781         code unconditional.
5782         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5783         Likewise.
5784         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5785         Likewise.
5786         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5787         Likewise.
5788         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5789         test.
5790         (libc_cv_cc_sse2avx): Likewise.
5791         * sysdeps/x86_64/configure: Regenerated.
5792         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5793         unconditional.
5794         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5795         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5796         unconditional.
5797         (_dl_runtime_profile)
5798         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5799         conditional code.
5800         * sysdeps/x86_64/fpu/multiarch/Makefile
5801         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5803         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5804         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5805         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5806         * sysdeps/x86_64/fpu/multiarch/e_log.c
5807         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5808         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5809         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5810         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5811         Likewise.
5812         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5813         Likewise.
5814         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5815         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5816         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5817         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5818         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5819         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5820         (HAVE_SSE2AVX_SUPPORT): Likewise.
5822 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5824         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5825         instead of #pragma optimize.
5827 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5829         [BZ #17195]
5830         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5831         as is similarly done in systrim and _int_free already.
5833 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5835         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5837 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #19088]
5840         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5841         <limits.h>.
5842         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5843         overflows but exception would not result from cast.
5844         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5845         and <limits.h>.
5846         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5847         overflows but exception would not result from cast.
5848         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5849         <limits.h>.
5850         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5851         overflows but exception would not result from cast.
5852         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5853         <limits.h>.
5854         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5855         overflows but exception would not result from cast.
5856         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5857         <limits.h>.
5858         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5859         overflows but exception would not result from cast.
5860         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5861         <limits.h>.
5862         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5863         overflows but exception would not result from cast.
5864         * math/libm-test.inc (lround_test_data): Add more tests.
5865         (llround_test_data): Likewise.
5867 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5869         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5870         (CFLAGS-ialloc.c): Ditto.
5871         (CFLAGS-scheck.c): Ditto.
5873 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5875         [BZ #19086]
5876         * manual/filesys.texi (Storage Allocation): Fix argument order for
5877         posix_fallocate64.
5879 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5881         [BZ #19085]
5882         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5883         exponent below 48 inside case for non-overflowing exponent.
5884         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5886 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5888         * iconvdata/cp737.h (from_idx): Add const.
5889         * iconvdata/cp775.h (from_idx): Likewise.
5891 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5893         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5894         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5895         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5897         [BZ #19079]
5898         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5899         file, conditioned on [!_LP64].
5900         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5901         [!_LP64] (__lround): Do not define as function or alias.
5902         [!_LP64] (lround): Likewise.
5903         [!_LP64] (__lroundl): Likewise.
5904         [!_LP64] (lroundl): Likewise.
5905         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5906         macro.
5907         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5908         Likewise.
5910 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5912         * math/libm-test.inc (lrint_test_data): Add more tests.
5913         (llrint_test_data): Likewise.
5914         (lround_test_data): Likewise.
5915         (llround_test_data): Likewise.
5917         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5918         (llrint_test_data): Add tests used for lrint.
5920         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5921         test.
5922         * sysdeps/i386/configure: Regenerated.
5923         * sysdeps/i386/i686/multiarch/Makefile
5924         [$(config-cflags-sse4) = yes]: Make code unconditional.
5925         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5926         Likewise.
5927         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5928         Likewise.
5929         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5930         test.
5931         * sysdeps/x86_64/configure: Regenerated.
5932         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5933         Make code unconditional.
5934         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5935         Likewise.
5936         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5937         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5939         * scripts/rpm2dynsym.sh: Remove file.
5941 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5943         * configure.ac (libc_cv_cxx_thread_local): Define.
5944         * configure: Regenerate.
5945         * config.make.in (have-cxx-thread_local): Define.
5946         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5947         (LDLIBS-tst-thread_local1): Define.
5948         (tests): Add tst-thread_local1.
5949         [have-cxx-thread_local != yes] (tests-unsupported): Add
5950         tst-thread_local1.
5951         * nptl/tst-thread_local1.cc: New file.
5953 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5955         [BZ #19078]
5956         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5957         (u_thres): Likewise.
5958         (__expl): Determine whether to call __kernel_standard_l based on
5959         value of result, not argument.
5961         * math/libm-test.inc (scalb_test_data): Add more expectations for
5962         the "inexact" exception.
5964         [BZ #19077]
5965         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5966         0.0L for argument 1.0L.
5968         [BZ #19076]
5969         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5970         constant 0.0L when computing infinite result.
5972 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5974         [BZ #10432]
5975         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5976         malloc_usable_size.
5978 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5980         [BZ #19018]
5981         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5982         Mangle function pointer before storing it.
5983         (__call_tls_dtors): Demangle function pointer before calling it.
5985 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5987         [BZ #19012]
5988         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5989         Clean up on failure.
5991 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5993         [BZ #19071]
5994         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5995         long int variable to store possibly incremented high part of
5996         mantissa.
5997         * math/libm-test.inc (lround_test_data): Add tests used for
5998         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5999         for tests requiring 64-bit long.  Do not condition tests on
6000         [TEST_FLOAT] unnecessarily.
6001         (llround_test_data): Add tests used for lround.  Add another
6002         expectation for the "inexact" exception.  Do not condition tests
6003         on [TEST_FLOAT] unnecessarily.
6005         [BZ #887]
6006         [BZ #19049]
6007         [BZ #19050]
6008         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6009         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6010         <fix-int-fp-convert-zero.h>.
6011         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6012         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6013         <fix-int-fp-convert-zero.h>.
6014         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6015         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6016         <fix-int-fp-convert-zero.h>.
6017         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6018         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6019         <fix-int-fp-convert-zero.h>.
6020         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6021         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6022         <fix-int-fp-convert-zero.h>.
6023         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6024         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6025         <fix-int-fp-convert-zero.h>.
6026         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6027         * sysdeps/ieee754/flt-32/s_erff.c: Include
6028         <fix-int-fp-convert-zero.h>.
6029         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6030         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6031         <fix-int-fp-convert-zero.h>.
6032         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6034         <fix-int-fp-convert-zero.h>.
6035         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6036         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6037         <fix-int-fp-convert-zero.h>.
6038         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6039         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6040         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6041         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6042         file.
6043         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6045 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6049 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #19059]
6052         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6053         overflowing computation.
6054         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6055         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6056         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6057         Likewise.
6058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6059         Likewise.
6060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6061         Likewise.
6062         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6063         Likewise.
6064         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6065         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6066         Likewise.
6067         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6068         Likewise.
6069         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6071         * nss/rewrite_field.c (__nss_rewrite_field): Use
6072         internal_function.
6073         * nss/valid_field.c (__nss_valid_field): Likewise.
6074         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6076 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6078         [BZ #18724]
6079         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6080         (__nss_invalid_field_characters, __nss_valid_field)
6081         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6082         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6083         tst-field.c: New file.
6084         * nss/Makefile (routines): Add valid_field, rewrite_field.
6085         (tests-static): Define unconditionally.
6086         (tests): Include tests-static.
6087         [build-static-nss] (tests-static): Use append.
6088         [build-static-nss] (tests): Remove modification.
6089         * nss/getent.c (print_group): Call putgrent.  Report error.
6090         (print_gshadow): Call putsgent.  Report error.
6091         (print_passwd): Call putpwent.  Report error.
6092         (print_shadow): Call putspent.  Report error.
6093         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6094         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6095         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6096         name, password, directory, shell fields for valid syntax.  Rewrite
6097         GECOS field to match syntax.
6098         * pwd/Makefile (tests): Add tst-putpwent.
6099         * pwd/tst-putpwent.c: New file.
6100         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6101         Check grName, grpasswd, gr_mem fields for valid syntax.
6102         Change loop variable i to size_t.
6103         * grp/Makefile (tests): Add tst-putgrent.
6104         * grp/tst-putgrent.c: New file.
6105         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6106         valid syntax.
6107         * shadow/Makefile (tests): Add tst-putspent.
6108         * shadow/tst-putspent.c: New file.
6109         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6110         sg_mem fields for valid syntax.
6111         * gshadow/Makefile (tests): Add tst-putsgent.
6112         * gshadow/tst-putsgent.c: New file.
6114 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6116         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6117         assembly instructions.
6119 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6121         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6122         prefix from operands.
6124 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6126         [BZ #16347]
6127         [BZ #19046]
6128         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6129         <libc-internal.h>.
6130         (MAXLGM): Do not use diagnostic control macros.
6131         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6132         threshold for ldbl-128ibm.
6133         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6134         instead of multiplying by log then subtracting.
6135         * math/auto-libm-test-in: Add more tests of lgamma.
6136         * math/auto-libm-test-out: Regenerated.
6138         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6139         (TYPE_HEX_DIG): Likewise.
6140         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6141         precisions when printing floating-point numbers.
6142         (check_float_internal): Likewise.
6144 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6146         [BZ #16620]
6147         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6148         of log (10) rounded downward to 48 bits.
6149         (log10_low): Use corresponding low part of log (10).
6151         [BZ #19032]
6152         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6153         compute result as (x - x) / (x - x) not as 0 / 0.
6154         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6155         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6157         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6158         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6159         and expm1.
6160         * math/auto-libm-test-out: Regenerated.
6161         * math/libm-test.inc (acos_test_data): Add more tests.
6162         (asin_test_data): Likewise.
6163         (asinh_test_data): Likewise.
6164         (atan_test_data): Likewise.
6165         (atanh_test_data): Likewise.
6166         (atan2_test_data): Likewise.
6167         (cbrt_test_data): Likewise.
6168         (ceil_test_data): Likewise.
6169         (copysign_test_data): Likewise.
6170         (cos_test_data): Likewise.
6171         (cosh_test_data): Likewise.
6172         (erf_test_data): Likewise.
6173         (erfc_test_data): Likewise.
6174         (exp_test_data): Likewise.
6175         (exp10_test_data): Likewise.
6176         (exp2_test_data): Likewise.
6177         (expm1_test_data): Likewise.
6178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6180 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6182         [BZ #19006]
6183         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6184         to ...
6185         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6186         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6187         to ...
6188         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6189         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6190         to ...
6191         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6192         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6193         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6194         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6195         to ...
6196         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6197         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6198         Moved to ...
6199         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6200         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6201         Moved to ...
6202         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6203         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6204         to ...
6205         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6206         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6207         Moved to ...
6208         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6209         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6210         to ...
6211         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6212         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6213         Removed.
6214         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6215         Likewise.
6216         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6217         Likewise.
6218         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6219         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6220         Likewise.
6221         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6222         Likewise.
6223         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6224         Likewise.
6225         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6226         Likewise.
6227         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6234         Likewise.
6235         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6236         Likewise.
6237         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6238         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6239         Likewise.
6240         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6243         Likewise.
6244         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6245         Likewise.
6246         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6247         Likewise.
6248         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6249         Replace ../i486/pthread_cond_timedwait.S with
6250         ../pthread_cond_timedwait.S.
6252 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6254         * math/libm-test.inc (acos_test_data): Refine expectations for
6255         errno and "inexact" exceptions.
6256         (acosh_test_data): Likewise.
6257         (asin_test_data): Likewise.
6258         (asinh_test_data): Likewise.
6259         (atan_test_data): Likewise.
6260         (atanh_test_data): Likewise.
6261         (atan2_test_data): Likewise.
6262         (cbrt_test_data): Likewise.
6263         (ceil_test_data): Likewise.
6264         (copysign_test_data): Likewise.
6265         (cosh_test_data): Likewise.
6266         (erf_test_data): Likewise.
6267         (erfc_test_data): Likewise.
6268         (exp_test_data): Likewise.
6269         (exp10_test_data): Likewise.
6270         (exp2_test_data): Likewise.
6271         (expm1_test_data): Likewise.
6272         (fabs_test_data): Likewise.
6273         (floor_test_data): Likewise.
6274         (fma_test_data): Likewise.
6275         (fmax_test_data): Likewise.
6276         (fmin_test_data): Likewise.
6277         (fmod_test_data): Likewise.
6278         (fpclassify_test_data): Likewise.
6279         (frexp_test_data): Likewise.
6280         (hypot_test_data): Likewise.
6281         (ilogb_test_data): Likewise.
6282         (isgreater_test_data): Likewise.
6283         (isgreaterequal_test_data): Likewise.
6284         (isinf_test_data): Likewise.
6285         (isless_test_data): Likewise.
6286         (islessequal_test_data): Likewise.
6287         (islessgreater_test_data): Likewise.
6288         (isnan_test_data): Likewise.
6289         (isnormal_test_data): Likewise.
6290         (issignaling_test_data): Likewise.
6291         (isunordered_test_data): Likewise.
6292         (j0_test_data): Likewise.
6293         (j1_test_data): Likewise.
6294         (jn_test_data): Likewise.
6295         (lgamma_test_data): Likewise.
6296         (lrint_test_data): Likewise.
6297         (llrint_test_data): Likewise.
6298         (log_test_data): Likewise.
6299         (log10_test_data): Likewise.
6300         (log1p_test_data): Likewise.
6301         (log2_test_data): Likewise.
6302         (logb_test_data): Likewise.
6303         (lround_test_data): Likewise.
6304         (llround_test_data): Likewise.
6305         (modf_test_data): Likewise.
6306         (nearbyint_test_data): Likewise.
6307         (nextafter_test_data): Likewise.
6308         (nexttoward_test_data): Likewise.
6309         (pow_test_data): Likewise.
6310         (remainder_test_data): Likewise.
6311         (remquo_test_data): Likewise.
6312         (rint_test_data): Likewise.
6313         (round_test_data): Likewise.
6314         (signbit_test_data): Likewise.
6315         (sinh_test_data): Likewise.
6316         (sqrt_test_data): Likewise.
6317         (tanh_test_data): Likewise.
6318         (tgamma_test_data): Likewise.
6319         (trunc_test_data): Likewise.
6320         (y0_test_data): Likewise.
6321         (y1_test_data): Likewise.
6322         (yn_test_data): Likewise.
6323         (significand_test_data): Likewise.
6325 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6327         * manual/filesys.texi (Storage Allocation): Document that
6328         posix_fallocate emulation fails when fd is open with O_WRONLY.
6330 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #19016]
6333         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6334         allow more cases with X^2 + Y^2 >= 0.5.
6335         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6336         normal element in sum instead of special-casing based on values of
6337         arguments.
6338         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6339         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6340         -1 as normal element in sum instead of special-casing based on
6341         values of arguments.
6342         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6343         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6344         (__x2y2m1): Update comment.
6345         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6346         as normal element in sum instead of special-casing based on values
6347         of arguments.
6348         * math/s_clog.c (__clog): Handle more cases using log1p without
6349         hypot.
6350         * math/s_clog10.c (__clog10): Likewise.
6351         * math/s_clog10f.c (__clog10f): Likewise.
6352         * math/s_clog10l.c (__clog10l): Likewise.
6353         * math/s_clogf.c (__clogf): Likewise.
6354         * math/s_clogl.c (__clogl): Likewise.
6355         * math/auto-libm-test-in: Add more tests of clog and clog10.
6356         * math/auto-libm-test-out: Regenerated.
6357         * sysdeps/i386/fpu/libm-test-ulps: Update.
6358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6360 2015-09-28  Martin Sebor  <msebor@redhat.com>
6362         [BZ #18969]
6363         * string/Makefile (LOCALES): Define.
6364         (gen-locales.mk): Include.
6365         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6366         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6367         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6368         on setlocale failure.
6370 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6372         [BZ #18985]
6373         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6374         (__strftime_internal): Likewise.
6375         * time/tst-strftime.c (do_bz18985): New test.
6376         (do_test): Call it.
6378 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6380         [BZ #18956]
6381         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6382         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6383         extracting high part.
6384         * math/auto-libm-test-in: Add another test of pow.
6385         * math/auto-libm-test-out: Regenerated.
6386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6388 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6390         [BZ #18825]
6391         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6392         New macro.
6393         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6394         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6395         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6396         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6397         DBL_NARROW_EVAL, reloading the PIC register as needed.
6398         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6399         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6400         FLT_NARROW_EVAL.  Use separate return path for case when first
6401         argument is NaN.
6402         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6403         DEFINE_LDBL_MIN.
6404         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6405         PIC register.
6406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6407         math_check_force_underflow_nonneg.
6408         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6409         underflow for subnormal result.
6410         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6412         math_check_force_underflow_nonneg.
6413         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6414         math_check_force_underflow.
6415         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6416         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6417         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6418         DEFINE_LDBL_MIN.
6419         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6420         * math/auto-libm-test-in: Add more tests of pow.
6421         * math/auto-libm-test-out: Regenerated.
6423 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6425         * nss/bug17079.c (init_test_items): Add diagnostic for
6426         inconsistent entries.
6427         (test_buffer_size): Skip inconsistent entries.
6429 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6431         [BZ #13304]
6432         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6433         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6434         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6436         [BZ #13304]
6437         * sysdeps/microblaze/s_fma.c: New file.
6438         * sysdeps/microblaze/s_fmaf.c: Likewise.
6439         * sysdeps/microblaze/sfp-machine.h: Likewise.
6441 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6443         [BZ #17250]
6444         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6445         member.
6447 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6449         [BZ #18803]
6450         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6451         (MO): New macro.
6452         (__ieee754_hypot) [PIC]: Load PIC register.
6453         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6454         DBL_NARROW_EVAL.
6455         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6456         math_check_force_underflow_nonneg in case where result might be
6457         tiny.
6458         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6459         Likewise.
6460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6461         Likewise.
6462         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6463         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6464         * math/auto-libm-test-in: Add more tests of hypot.
6465         * math/auto-libm-test-out: Regenerated.
6467 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6469         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6471 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6473         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6474         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6475         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6476         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6477         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6478         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6479         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6481         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6482         LOAD_PIC_REG.
6484         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6485         (FLT_CHECK_FORCE_UFLOW): Likewise.
6486         (DBL_CHECK_FORCE_UFLOW): Likewise.
6487         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6488         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6489         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6490         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6491         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6492         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6493         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6494         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6495         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6496         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6497         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6498         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6499         (flt_min): Replace with use of DEFINE_FLT_MIN.
6500         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6501         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6502         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6503         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6504         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6505         (flt_min): Replace with use of DEFINE_FLT_MIN.
6506         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6507         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6508         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6509         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6510         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6511         (flt_min): Replace with use of DEFINE_FLT_MIN.
6512         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6513         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6514         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6515         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6516         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6517         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6518         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6519         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6520         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6521         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6522         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6523         (flt_min): Replace with use of DEFINE_FLT_MIN.
6524         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6525         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6526         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6527         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6528         main computation.
6529         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6530         (flt_min): Replace with use of DEFINE_FLT_MIN.
6531         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6532         main computation.
6533         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6534         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6535         (MO): New macro.
6536         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6537         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6538         (flt_min): Replace with use of DEFINE_FLT_MIN.
6539         (MO): New macro.
6540         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6541         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6542         (__log1pl): Use MO.
6544         [BZ #19003]
6545         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6546         $(config-cflags-nofma).
6548 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6550         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6552 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6554         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6555         (TWO127): Likewise.
6557         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6558         (min_of_type): Likewise.
6559         (math_check_force_underflow): Likewise.
6560         (math_check_force_underflow_nonneg): Likewise.
6561         (math_check_force_underflow_complex): Likewise.
6562         * math/e_exp2l.c (__ieee754_exp2l): Use
6563         math_check_force_underflow_nonneg.
6564         * math/k_casinh.c (__kernel_casinh): Likewise.
6565         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6566         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6567         * math/s_catan.c (__catan): Use
6568         math_check_force_underflow_complex.
6569         * math/s_catanf.c (__catanf): Likewise.
6570         * math/s_catanh.c (__catanh): Likewise.
6571         * math/s_catanhf.c (__catanhf): Likewise.
6572         * math/s_catanhl.c (__catanhl): Likewise.
6573         * math/s_catanl.c (__catanl): Likewise.
6574         * math/s_ccosh.c (__ccosh): Likewise.
6575         * math/s_ccoshf.c (__ccoshf): Likewise.
6576         * math/s_ccoshl.c (__ccoshl): Likewise.
6577         * math/s_cexp.c (__cexp): Likewise.
6578         * math/s_cexpf.c (__cexpf): Likewise.
6579         * math/s_cexpl.c (__cexpl): Likewise.
6580         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6581         * math/s_clog10.c (__clog10): Likewise.
6582         * math/s_clog10f.c (__clog10f): Likewise.
6583         * math/s_clog10l.c (__clog10l): Likewise.
6584         * math/s_clogf.c (__clogf): Likewise.
6585         * math/s_clogl.c (__clogl): Likewise.
6586         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6587         * math/s_csinf.c (__csinf): Likewise.
6588         * math/s_csinh.c (__csinh): Likewise.
6589         * math/s_csinhf.c (__csinhf): Likewise.
6590         * math/s_csinhl.c (__csinhl): Likewise.
6591         * math/s_csinl.c (__csinl): Likewise.
6592         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6593         * math/s_csqrtf.c (__csqrtf): Likewise.
6594         * math/s_csqrtl.c (__csqrtl): Likewise.
6595         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6596         * math/s_ctanf.c (__ctanf): Likewise.
6597         * math/s_ctanh.c (__ctanh): Likewise.
6598         * math/s_ctanhf.c (__ctanhf): Likewise.
6599         * math/s_ctanhl.c (__ctanhl): Likewise.
6600         * math/s_ctanl.c (__ctanl): Likewise.
6601         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6602         instead of volatile.
6603         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6604         math_check_force_underflow.
6605         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6606         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6607         volatile when forcing underflow.
6608         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6609         math_check_force_underflow_nonneg.
6610         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6611         Likewise.
6612         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6613         math_check_force_underflow.
6614         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6615         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6616         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6617         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6618         math_check_force_underflow_nonneg.
6619         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6620         math_check_force_underflow.
6621         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6623         instead of volatile.
6624         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6625         math_check_force_underflow.
6626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6627         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6628         math_check_force_underflow_nonneg.
6629         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6630         math_check_force_underflow.
6631         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6632         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6633         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6634         math_check_force_underflow_nonneg.
6635         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6636         Likewise.
6637         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6638         math_check_force_underflow.
6639         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6640         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6641         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6642         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6643         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6644         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6645         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6646         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6647         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6648         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6649         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6650         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6651         Likewise.
6652         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6653         math_check_force_underflow_nonneg.
6654         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6655         Likewise.
6656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6657         math_check_force_underflow.
6658         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6659         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6660         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6661         Likewise.
6662         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6663         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6664         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6665         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6666         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6667         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6669         instead of volatile.
6670         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6671         math_check_force_underflow.
6672         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6674         math_check_force_underflow.
6675         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6676         Likewise.
6677         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6678         Use math_check_force_underflow_nonneg.
6679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6680         math_check_force_underflow.
6681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6682         Likewise.
6683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6684         Likewise.
6685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6686         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6687         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6688         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6690         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6691         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6692         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6693         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6694         math_check_force_underflow_nonneg.
6695         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6696         math_check_force_underflow.
6697         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6698         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6699         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6700         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6701         math_check_force_underflow_nonneg.
6702         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6703         math_check_force_underflow.
6704         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6706         instead of volatile.
6707         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6708         math_check_force_underflow.
6710         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6711         * stdlib/strtod_l.c: Include <math_private.h>.
6712         (overflow_value): Use math_narrow_eval.
6713         (underflow_value): Likewise.
6714         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6715         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6716         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6717         (__ieee754_gamma_r): Likewise.
6718         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6719         Likewise.
6720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6721         Likewise.
6722         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6723         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6724         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6725         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6726         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6727         (__ieee754_gammaf_r): Likewise.
6728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6729         Likewise.
6730         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6731         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6732         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6733         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6734         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6735         volatile.
6736         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6737         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6738         math_narrow_eval.
6739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6740         Likewise.
6741         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6742         Likewise.
6743         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6744         Likewise.
6745         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6746         volatile.
6747         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6748         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6749         math_narrow_eval.
6750         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6751         Likewise.
6752         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6753         Likewise.
6755 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6757         * nptl/Versions: Remove ignored symbols.
6759 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6761         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6762         * nss/Makefile (tests): Update.
6764 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6766         * nss/bug18287.c: New file.
6767         * nss/Makefile (tests): Add bug18287.
6769 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6771         * mach/Versions (__mach_host_self_): Add symbol.
6773 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6775         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6776         vm_page_size.
6778 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6780         Really fix sysdeps/i386/fpu/s_scalbn.S build
6782         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6783         (libc: GLIBC_2_22): Remove unused version set.
6785 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6787         * config.make.in (enable-timezone-tools): New variable.
6788         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6789         (enable_timezone_tools): Export to generated files.
6790         * configure: Regenerate.
6791         * INSTALL: Regenerate.
6792         * manual/install.texi (--disable-timezone-tools): Document new flag.
6793         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6794         ifeq ($(enable-timezone-tools),yes) check.
6796 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6798         * timezone/Makefile: Revert previous change.
6800         [BZ #18980]
6801         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6802         (DEFINE_DBL_MIN): Likewise.
6803         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6804         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6805         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6806         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6807         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6808         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6809         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6810         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6811         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6812         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6813         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6814         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6815         (flt_min): Replace with use of DEFINE_FLT_MIN.
6816         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6817         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6818         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6819         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6820         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6821         (flt_min): Replace with use of DEFINE_FLT_MIN.
6822         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6823         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6824         (flt_min): Replace with use of DEFINE_FLT_MIN.
6825         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6826         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6827         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6828         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6829         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6830         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6831         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6832         (__ieee754_pow): Use DBL_NARROW_EVAL.
6833         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6834         (__ieee754_powf): Use FLT_NARROW_EVAL.
6835         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6836         (__ieee754_expf_sse2): Convert double-precision result to single
6837         precision.
6838         * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6842         * timezone/Makefile: Ignore unused variable errors due to private.h
6843         (time_t_min) and (time_t_max).
6844         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6845         Likewise.
6847 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6849         [BZ #18981]
6850         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6851         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6852         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6853         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6854         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6855         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6856         (__scalbn): Use DBL_NARROW_EVAL.
6857         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6858         (__scalbnf): Use FLT_NARROW_EVAL.
6860 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6862         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6863         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6864         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6865         * stdio-common/printf_fp.c (___printf_fp):
6866         Use signbit to get the sign. Use isinf macro to allow inlining.
6867         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6868         * stdio-common/printf_size.c (__printf_size): Likewise.
6870 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6872         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6874 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6876         [BZ #18980]
6877         * sysdeps/generic/math_private.h: Include <float.h>.
6878         (math_narrow_eval): New macro.
6879         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6880         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6881         math_narrow_eval on overflowing return value.
6882         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6883         Likewise.
6884         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6885         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6886         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6887         Likewise.
6888         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6890 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6892         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6893         * math/Makefile: Remove isinf_ns.c.
6894         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6895         * math/multc3.c (__multc3): Likewise.
6896         * math/s_casin.c (__casin): Likewise.
6897         * math/s_casinf.c (__casinf): Likewise.
6898         * math/s_casinl.c (__casinl): Likewise.
6899         * math/s_cproj.c (__cproj): Likewise.
6900         * math/s_cprojf.c (__cprojf): Likewise.
6901         * math/s_cprojl.c (__cprofl): Likewise.
6902         * math/s_ctan.c (__ctan): Likewise.
6903         * math/s_ctanf.c (__ctanf): Likewise.
6904         * math/s_ctanh.c (__ctanh): Likewise.
6905         * math/s_ctanhf.c (__ctanhf): Likewise.
6906         * math/s_ctanhl.c (__ctanhl): Likewise.
6907         * math/s_ctanl.c (__ctanl): Likewise.
6908         * math/w_fmod.c (__fmod): Likewise.
6909         * math/w_fmodf.c (__fmodf): Likewise.
6910         * math/w_fmodl.c (_fmodl): Likewise.
6911         * math/w_remainder.c (__remainder): Likewise.
6912         * math/w_remainderf.c (__remainderf): Likewise.
6913         * math/w_remainderl.c (__remainderl): Likewise.
6914         * math/w_scalb.c (__scalb): Likewise.
6915         * math/w_scalbf.c (__scalbf): Likewise.
6916         * math/w_scalbl.c (__scalbl): Likewise.
6917         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6918         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6919         with isinf.
6920         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6922         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6923         __isinf_nsf with isinf.
6924         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6926         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6927         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6928         with isinf.
6929         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6930         __isinf_nsl with isinf.
6931         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6932         with isinf.
6933         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6934         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6935         __isinf_nsl with isinf.
6936         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6937         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6938         with isinf.
6940 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6942         * resolv/base64.c (rcsid): Remove unused static.
6943         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6944         static.  (tqpi1): Likewise.
6945         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6946         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6947         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6948         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6949         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6950         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6951         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6952         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6953         Likewise.
6955 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6957         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6958         <nptl/pthreadP.h>.
6959         (_longjmp_unwind): Use __libc_ptf_call.
6960         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6962 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6964         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6965         * sysdeps/arm/__longjmp.S: Likewise.
6967 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6969         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6970         Use __builtin_signbit.
6971         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6972         Use __builtin_signbitf.
6973         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6974         Use __builtin_signbitl.
6975         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6976         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6978 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6980         [BZ #15367]
6981         [BZ #17441]
6983         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6984         * math/math.h (fpclassify): Use __builtin_fpclassify when
6985         available.  (signbit): Use __builtin_signbit(f/l).
6986         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6987         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6988         (isinf): Use __builtin_isinf_sign.
6990 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6992         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6993         * benchtests/bench-math-inlines.c: New benchmark.
6994         * benchtests/bench-util.h: New file.
6995         * benchtests/bench-util.c: New file.
6996         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6998 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7000         * elf/tst-dlmopen1.c: Define TEST_SO.
7001         (do_test): Use TEST_SO.
7003         * elf/dl-load.c: Include libc-internal.h.
7004         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7006 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7008         [BZ #17887]
7009         * time/strptime_l.c (__strptime_internal): Make %z accept
7010         [+-]HH:MM time zones.
7012 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7014         [BZ #17886]
7015         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7016         valid time zone.
7018 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7020         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7021         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7022         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7023         (__ASSUME_FDATASYNC): Delete.
7025 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7027         * conform/linknamespace.pl: Require weak undefined symbols to be
7028         in the standard namespace.
7029         (%strong_syms): Rename to %seen_syms.
7030         (%strong_seen): Rename to %seen_where.
7032 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7034         [BZ #18970]
7035         * misc/error.c (error): Replace pthread_setcancelstate with
7036         __pthread_setcancelstate.
7037         (error_at_line): Likewise.
7038         * posix/wordexp.c (parse_comm): Likewise.
7039         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7040         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7041         (__pthread_setcancelstate): This.
7042         (pthread_setcancelstate): Add an alias.
7043         * nptl/nptl-init.c (pthread_functions): Replace
7044         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7045         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7046         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7047         hidden_proto.
7048         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7049         it with hidden_def.
7050         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7051         (pthread_setcancelstate): Renamed to ...
7052         (__pthread_setcancelstate): This.
7053         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7054         __libc_ptf_call with __pthread_setcancelstate.
7056 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7057             Andreas Schwab  <schwab@suse.de>
7059         [BZ #17118]
7060         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7061         result when imaginary part of argument is infinite using sine and
7062         cosine.
7063         * math/s_ctanf.c (__ctanf): Likewise.
7064         * math/s_ctanl.c (__ctanl): Likewise.
7065         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7066         of result when real part of argument is infinite using sine and
7067         cosine.
7068         * math/s_ctanhf.c (__ctanhf): Likewise.
7069         * math/s_ctanhl.c (__ctanhl): Likewise.
7070         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7071         (ctanh_test_data): Add more tests of ctanh.
7073 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7075         [BZ #15384]
7076         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7077         bit-mask as in subtraction.
7078         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7079         Likewise.
7080         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7081         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7082         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7084         [BZ #18951]
7085         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7086         underflow exception for small results.
7087         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7088         Likewise.
7089         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7090         Likewise.
7091         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7092         Likewise.
7093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7094         Likewise.
7095         * math/auto-libm-test-in: Add more tests of tgamma.
7096         * math/auto-libm-test-out: Regenerated.
7098 2015-09-17  Andreas Schwab  <schwab@suse.de>
7100         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7102 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7104         [BZ #18977]
7105         * math/bits/mathcalls.h
7106         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7107         not declare.
7108         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7109         Likewise.
7110         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7111         Likewise.
7112         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7113         Likewise.
7114         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7115         Likewise.
7116         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7117         Likewise.
7118         * conform/data/math.h-data
7119         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7120         function.
7121         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7122         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7123         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7124         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7125         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7126         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7127         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7128         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7129         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7130         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7131         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7133         [BZ #6803]
7134         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7135         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7136         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7137         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7138         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7139         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7140         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7141         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7142         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7143         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7144         Likewise.
7145         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7146         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7147         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7148         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7149         long_double_symbol calls.
7150         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7151         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7152         strong alias of __ldexpl.
7153         (scalbnl): Define using long_double_symbol.
7154         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7155         Remove alias.
7156         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7157         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7158         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7159         (scalbln_test_data): Add more errno expectations.
7161 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7163         Cache the host port like we cache the task port.  This way we do not
7164         need to call the kernel just to get the port.  Furthermore, we no
7165         longer increase the reference count on every invocation of
7166         `mach_host_self'.
7168         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7169         Protect declarations against the macro expansion.
7170         * mach/mach_init.c (__mach_host_self_): New variable.
7171         (mach_init): Initialize `__mach_host_self_'.
7172         * mach/mach_init.h (__mach_host_self_): New declaration.
7173         (__mach_host_self, mach_host_self): New macros.
7174         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7175         Release reference.
7177 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7179         [BZ #4404]
7180         * po/de.po: Update from Translation Project.
7182         [BZ #16415]
7183         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7184         (__expm1l): Remove code to handle positive infinity and overflow.
7185         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7186         variable.
7187         (__expm1l): Remove code to handle positive infinity and overflow.
7189 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7190             Paul Pluzhnikov  <ppluzhnikov@google.com>
7192         [BZ #18872]
7193         * stdio-common/Makefile (tst-printf-bz18872): New test.
7194         (tst-printf-bz18872-mem.out): Likewise.
7195         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7196         * stdio-common/vfprintf.c: Fix memory leaks.
7198 2015-09-16  Andreas Schwab  <schwab@suse.de>
7200         [BZ #17244]
7201         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7202         Remove extra va_start/va_end calls.
7204         [BZ #17243]
7205         * posix/execl.c (execl): Add missing va_end.
7206         * posix/execle.c (execle): Likewise.
7207         * posix/execlp.c (execlp): Likewise.
7209 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7211         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7212         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7214 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7216         [BZ #18967]
7217         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7218         undefine around includes of <bits/mathcalls.h>.
7219         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7220         not declare function.
7221         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7222         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7223         (scalb): Likewise.
7224         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7225         not define macro.
7226         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7227         variable.
7228         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7229         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7230         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7232         [BZ #18857]
7233         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7234         return non-finite argument without doing ordered comparisons on
7235         it.
7237         [BZ #16296]
7238         * math/fenv.h (fegetround): Use __attribute_pure__.
7239         * include/fenv.h (__fegetround): Likewise.
7241         [BZ #18595]
7242         * math/s_ctan.c (__ctan): Force underflow exception for results
7243         whose real or imaginary part has small absolute value.
7244         * math/s_ctanf.c (__ctanf): Likewise.
7245         * math/s_ctanh.c (__ctanh): Likewise.
7246         * math/s_ctanhf.c (__ctanhf): Likewise.
7247         * math/s_ctanhl.c (__ctanhl): Likewise.
7248         * math/s_ctanl.c (__ctanl): Likewise.
7249         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7250         and ctanh.  Add more tests of ctan and ctanh.
7252         [BZ #15918]
7253         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7254         handling of cases where one argument is an infinity.
7256         [BZ #18875]
7257         [BZ #18966]
7258         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7259         (MO): New macro.
7260         (__ieee754_exp10): For small results, force underflow exception
7261         and remove excess range and precision from return value.
7262         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7263         (MO): New macro.
7264         (__ieee754_exp10f): For small results, force underflow exception
7265         and remove excess range and precision from return value.
7266         * math/auto-libm-test-in: Add more tests of exp10.
7267         * math/auto-libm-test-out: Regenerated.
7269 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7271         [BZ #18875]
7272         [BZ #18961]
7273         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7274         (MO): New macro.
7275         (__ieee754_exp): For small results, force underflow exception and
7276         remove excess range and precision from return value.
7277         (__exp_finite): Likewise.
7278         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7279         (MO): New macro.
7280         (__ieee754_expf): For small results, force underflow exception and
7281         remove excess range and precision from return value.
7282         (__expf_finite): Likewise.
7283         * math/auto-libm-test-in: Add more tests of exp.
7284         * math/auto-libm-test-out: Regenerated.
7286         [BZ #16521]
7287         [BZ #18875]
7288         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7289         small results.
7290         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7291         (MO): New macro.
7292         (__ieee754_exp2): For small results, force underflow exception and
7293         remove excess range and precision from return value.
7294         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7295         (MO): New macro.
7296         (__ieee754_exp2f): For small results, force underflow exception
7297         and remove excess range and precision from return value.
7298         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7299         (MO): New macro.
7300         (__ieee754_exp2l): Force underflow exception for small results.
7301         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7302         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7303         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7304         (MO): New macro.
7305         (__ieee754_exp2l): Force underflow exception for small results.
7306         * math/auto-libm-test-in: Add more tests or exp2.
7307         * math/auto-libm-test-out: Regenerated.
7309 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7311         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7313         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7314         /dev/null.
7316 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7318         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7319         io fs process)): Drop spurious backslash.
7321 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7324         Use sysinfo system call instead of parsing /proc/meminfo.
7325         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7326         Likewise.
7328 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7330         [BZ #16985]
7331         * programs/localedef.c (main): Display argv[remaining] when
7332         output_path is NULL.
7334 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7336         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7337         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7338         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7339         tanh.
7340         * math/auto-libm-test-out: Regenerated.
7341         * sysdeps/i386/fpu/libm-test-ulps: Update.
7342         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7343         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7348         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7349         Use 'override' keyword to freeze the value here, preventing
7350         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7352 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7354         [BZ #14912]
7355         * sysdeps/aarch64/bits/atomic.h: Move to ...
7356         * sysdeps/aarch64/atomic-machine.h: ...here.
7357         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7358         _AARCH64_ATOMIC_MACHINE_H.
7359         * sysdeps/alpha/bits/atomic.h: Move to ...
7360         * sysdeps/alpha/atomic-machine.h: ...here.
7361         * sysdeps/arm/bits/atomic.h: Move to ...
7362         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7363         * bits/atomic.h: Move to ...
7364         * sysdeps/generic/atomic-machine.h: ...here.
7365         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7366         * sysdeps/i386/bits/atomic.h: Move to ...
7367         * sysdeps/i386/atomic-machine.h: ...here.
7368         * sysdeps/ia64/bits/atomic.h: Move to ...
7369         * sysdeps/ia64/atomic-machine.h: ...here.
7370         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7371         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7372         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7373         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7374         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7375         * sysdeps/microblaze/bits/atomic.h: Move to ...
7376         * sysdeps/microblaze/atomic-machine.h: ...here.
7377         * sysdeps/mips/bits/atomic.h: Move to ...
7378         * sysdeps/mips/atomic-machine.h: ...here.
7379         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7380         * sysdeps/powerpc/bits/atomic.h: Move to ...
7381         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7382         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7383         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7384         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7385         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7386         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7387         <atomic-machine.h> instead of <bits/atomic.h>.
7388         * sysdeps/s390/bits/atomic.h: Move to ...
7389         * sysdeps/s390/atomic-machine.h: ...here.
7390         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7391         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7392         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7393         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7394         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7395         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7396         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7397         * sysdeps/tile/bits/atomic.h: Move to ...
7398         * sysdeps/tile/atomic-machine.h: ...here.
7399         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7400         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7401         <sysdeps/tile/atomic-machine.h> instead of
7402         <sysdeps/tile/bits/atomic.h>.
7403         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7404         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7405         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7406         <sysdeps/tile/atomic-machine.h> instead of
7407         <sysdeps/tile/bits/atomic.h>.
7408         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7409         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7410         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7411         <sysdeps/arm/atomic-machine.h> instead of
7412         <sysdeps/arm/bits/atomic.h>.
7413         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7414         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7415         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7416         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7417         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7418         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7419         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7420         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7421         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7422         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7423         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7424         * sysdeps/x86_64/bits/atomic.h: Move to ...
7425         * sysdeps/x86_64/atomic-machine.h: ...here.
7426         * include/atomic.h: Include <atomic-machine.h> instead of
7427         <bits/atomic.h>.
7429         * sysdeps/mips/mips32/libm-test-ulps: Update.
7430         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7432         [BZ #18952]
7433         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7434         not convert non-integer negative arguments to int to determine the
7435         value of signgam.
7436         * math/auto-libm-test-in: Add more tests of lgamma.
7437         * math/auto-libm-test-out: Regenerated.
7439         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7440         cosh, csqrt, erfc, expm1 and lgamma.
7441         * math/auto-libm-test-out: Regenerated.
7442         * sysdeps/i386/fpu/libm-test-ulps: Update.
7443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7445 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7447         [BZ #2542]
7448         [BZ #2543]
7449         [BZ #2558]
7450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7451         __lgamma_neg for arguments from -28.0 to -2.0.
7452         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7453         __lgamma_negf for arguments from -15.0 to -2.0.
7454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7455         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7456         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7457         Call __lgamma_negl for arguments from -33.0 to -2.0.
7458         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7459         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7460         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7461         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7468         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7469         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7470         (__lgamma_neg): Likewise.
7471         (__lgamma_negl): Likewise.
7472         (__lgamma_product): Likewise.
7473         (__lgamma_productl): Likewise.
7474         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7475         * math/auto-libm-test-in: Add more tests of lgamma.
7476         * math/auto-libm-test-out: Regenerated.
7477         * sysdeps/i386/fpu/libm-test-ulps: Update.
7478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7482         [BZ #18675]
7483         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7485 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7487         [BZ #14912]
7488         * bits/libc-lock.h: Move to ...
7489         * sysdeps/generic/libc-lock.h: ...here.
7490         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7491         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7492         * sysdeps/mach/hurd/libc-lock.h: ...here.
7493         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7494         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7495         * sysdeps/mach/bits/libc-lock.h: Move to ...
7496         * sysdeps/mach/libc-lock.h: ...here.
7497         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7498         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7499         * sysdeps/nptl/libc-lock.h: ...here.
7500         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7501         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7502         * sysdeps/nptl/libc-lockP.h: ...here.
7503         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7504         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7505         <bits/libc-lock.h>.
7506         * dirent/scandir-tail.c: Likewise.
7507         * dlfcn/dlerror.c: Likewise.
7508         * elf/dl-close.c: Likewise.
7509         * elf/dl-iteratephdr.c: Likewise.
7510         * elf/dl-lookup.c: Likewise.
7511         * elf/dl-open.c: Likewise.
7512         * elf/dl-support.c: Likewise.
7513         * elf/dl-writev.h: Likewise.
7514         * elf/rtld.c: Likewise.
7515         * grp/fgetgrent.c: Likewise.
7516         * gshadow/fgetsgent.c: Likewise.
7517         * gshadow/sgetsgent.c: Likewise.
7518         * iconv/gconv_conf.c: Likewise.
7519         * iconv/gconv_db.c: Likewise.
7520         * iconv/gconv_dl.c: Likewise.
7521         * iconv/gconv_int.h: Likewise.
7522         * iconv/gconv_trans.c: Likewise.
7523         * include/link.h: Likewise.
7524         * inet/getnameinfo.c: Likewise.
7525         * inet/getnetgrent.c: Likewise.
7526         * inet/getnetgrent_r.c: Likewise.
7527         * intl/bindtextdom.c: Likewise.
7528         * intl/dcigettext.c: Likewise.
7529         * intl/finddomain.c: Likewise.
7530         * intl/gettextP.h: Likewise.
7531         * intl/loadmsgcat.c: Likewise.
7532         * intl/localealias.c: Likewise.
7533         * intl/textdomain.c: Likewise.
7534         * libidn/idn-stub.c: Likewise.
7535         * libio/libioP.h: Likewise.
7536         * locale/duplocale.c: Likewise.
7537         * locale/freelocale.c: Likewise.
7538         * locale/newlocale.c: Likewise.
7539         * locale/setlocale.c: Likewise.
7540         * login/getutent_r.c: Likewise.
7541         * login/getutid_r.c: Likewise.
7542         * login/getutline_r.c: Likewise.
7543         * login/utmp-private.h: Likewise.
7544         * login/utmpname.c: Likewise.
7545         * malloc/mtrace.c: Likewise.
7546         * misc/efgcvt.c: Likewise.
7547         * misc/error.c: Likewise.
7548         * misc/fstab.c: Likewise.
7549         * misc/getpass.c: Likewise.
7550         * misc/mntent.c: Likewise.
7551         * misc/syslog.c: Likewise.
7552         * nis/nis_call.c: Likewise.
7553         * nis/nis_callback.c: Likewise.
7554         * nis/nss-default.c: Likewise.
7555         * nis/nss_compat/compat-grp.c: Likewise.
7556         * nis/nss_compat/compat-initgroups.c: Likewise.
7557         * nis/nss_compat/compat-pwd.c: Likewise.
7558         * nis/nss_compat/compat-spwd.c: Likewise.
7559         * nis/nss_nis/nis-alias.c: Likewise.
7560         * nis/nss_nis/nis-ethers.c: Likewise.
7561         * nis/nss_nis/nis-grp.c: Likewise.
7562         * nis/nss_nis/nis-hosts.c: Likewise.
7563         * nis/nss_nis/nis-network.c: Likewise.
7564         * nis/nss_nis/nis-proto.c: Likewise.
7565         * nis/nss_nis/nis-pwd.c: Likewise.
7566         * nis/nss_nis/nis-rpc.c: Likewise.
7567         * nis/nss_nis/nis-service.c: Likewise.
7568         * nis/nss_nis/nis-spwd.c: Likewise.
7569         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7570         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7571         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7572         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7573         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7574         * nis/nss_nisplus/nisplus-network.c: Likewise.
7575         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7576         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7577         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7578         * nis/nss_nisplus/nisplus-service.c: Likewise.
7579         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7580         * nis/ypclnt.c: Likewise.
7581         * nptl/libc_pthread_init.c: Likewise.
7582         * nss/getXXbyYY.c: Likewise.
7583         * nss/getXXent.c: Likewise.
7584         * nss/getXXent_r.c: Likewise.
7585         * nss/nss_db/db-XXX.c: Likewise.
7586         * nss/nss_db/db-netgrp.c: Likewise.
7587         * nss/nss_db/nss_db.h: Likewise.
7588         * nss/nss_files/files-XXX.c: Likewise.
7589         * nss/nss_files/files-alias.c: Likewise.
7590         * nss/nsswitch.c: Likewise.
7591         * posix/regex_internal.h: Likewise.
7592         * posix/wordexp.c: Likewise.
7593         * pwd/fgetpwent.c: Likewise.
7594         * resolv/res_hconf.c: Likewise.
7595         * resolv/res_libc.c: Likewise.
7596         * shadow/fgetspent.c: Likewise.
7597         * shadow/lckpwdf.c: Likewise.
7598         * shadow/sgetspent.c: Likewise.
7599         * socket/opensock.c: Likewise.
7600         * stdio-common/reg-modifier.c: Likewise.
7601         * stdio-common/reg-printf.c: Likewise.
7602         * stdio-common/reg-type.c: Likewise.
7603         * stdio-common/vfprintf.c: Likewise.
7604         * stdio-common/vfscanf.c: Likewise.
7605         * stdlib/abort.c: Likewise.
7606         * stdlib/cxa_atexit.c: Likewise.
7607         * stdlib/fmtmsg.c: Likewise.
7608         * stdlib/random.c: Likewise.
7609         * stdlib/setenv.c: Likewise.
7610         * string/strsignal.c: Likewise.
7611         * sunrpc/auth_none.c: Likewise.
7612         * sunrpc/bindrsvprt.c: Likewise.
7613         * sunrpc/create_xid.c: Likewise.
7614         * sunrpc/key_call.c: Likewise.
7615         * sunrpc/rpc_thread.c: Likewise.
7616         * sysdeps/arm/backtrace.c: Likewise.
7617         * sysdeps/generic/ldsodefs.h: Likewise.
7618         * sysdeps/generic/stdio-lock.h: Likewise.
7619         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7620         * sysdeps/i386/backtrace.c: Likewise.
7621         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7622         * sysdeps/m68k/backtrace.c: Likewise.
7623         * sysdeps/mach/hurd/cthreads.c: Likewise.
7624         * sysdeps/mach/hurd/dirstream.h: Likewise.
7625         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7626         * sysdeps/nptl/malloc-machine.h: Likewise.
7627         * sysdeps/nptl/stdio-lock.h: Likewise.
7628         * sysdeps/posix/dirstream.h: Likewise.
7629         * sysdeps/posix/getaddrinfo.c: Likewise.
7630         * sysdeps/posix/system.c: Likewise.
7631         * sysdeps/pthread/aio_suspend.c: Likewise.
7632         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7633         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7634         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7635         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7636         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7637         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7638         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7639         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7640         * sysdeps/unix/sysv/linux/system.c: Likewise.
7641         * sysdeps/x86_64/backtrace.c: Likewise.
7642         * time/alt_digit.c: Likewise.
7643         * time/era.c: Likewise.
7644         * time/tzset.c: Likewise.
7645         * wcsmbs/wcsmbsload.c: Likewise.
7646         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7647         instead of <bits/libc-lock.h> in comment.
7649 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7651         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7652         Only use .set mips2 if the current ISA is below mips2.
7653         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7654         Likewise.
7655         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7656         mips32r2 if the current ISA is below mips32r2.
7657         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7658         (TLS_IE): Updated to use the TLD_RDHWR macro.
7659         (TLS_LE): Likewise.
7660         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7661         __ASSEMBLER__ condition.
7663 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7665         Fix parallel build of before-compile targets.
7667         * sysdeps/mach/Makefile ($(patsubst
7668         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7669         mach-before-compile target.
7670         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7671         io fs process)): Move rule to dedicated hurd-before-compile target.
7673 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7675         Fix rules generating headers in hurd/ and mach/ when initial make call
7676         has subdir= explicitly set.
7678         * sysdeps/mach/Makefile ($(patsubst
7679         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7680         calling $(MAKE).
7681         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7682         io fs process)): Force subdir to hurd when calling $(MAKE).
7683         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7684         subdir to mach when calling $(MAKE).
7686 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7688         Check sysheaders when looking for Mach and Hurd headers
7690         * sysdeps/mach/configure.ac: Add sysheaders check.
7691         * sysdeps/mach/configure: Regenerate.
7692         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7693         * sysdeps/mach/hurd/configure: Regenerate.
7695 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7697         [BZ #18921]
7698         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7699         Fix inverted sense of test of 'o_directory_works' value.
7700         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7701         Bernhard Voelker <mail@bernhard-voelker.de>.
7703 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7705         [BZ #14912]
7706         * bits/linkmap.h: Move to ...
7707         * sysdeps/generic/linkmap.h: ...here.
7708         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7709         * sysdeps/aarch64/linkmap.h: ...here.
7710         * sysdeps/arm/bits/linkmap.h: Move to ...
7711         * sysdeps/arm/linkmap.h: ...here.
7712         * sysdeps/hppa/bits/linkmap.h: Move to ...
7713         * sysdeps/hppa/linkmap.h: ...here.
7714         * sysdeps/ia64/bits/linkmap.h: Move to ...
7715         * sysdeps/ia64/linkmap.h: ...here.
7716         * sysdeps/mips/bits/linkmap.h: Move to ...
7717         * sysdeps/mips/linkmap.h: ...here.
7718         * sysdeps/s390/bits/linkmap.h: Move to ...
7719         * sysdeps/s390/linkmap.h: ...here.
7720         * sysdeps/sh/bits/linkmap.h: Move to ...
7721         * sysdeps/sh/linkmap.h: ...here.
7722         * sysdeps/x86/bits/linkmap.h: Move to ...
7723         * sysdeps/x86/linkmap.h: ...here.
7724         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7726 2015-09-04  Andreas Schwab  <schwab@suse.de>
7728         [BZ #18635]
7729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7730         (__makecontext): Terminate FDE before return label.
7731         (__novec_makecontext): Likewise.
7733 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7735         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7736         first member of struct sv in syscall macro.
7738 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7740         [BZ #14912]
7741         * bits/stdio-lock.h: Move to ...
7742         * sysdeps/generic/stdio-lock.h: ...here.
7743         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7744         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7745         * sysdeps/nptl/stdio-lock.h: ...here.
7746         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7747         * include/libio.h: Include <stdio-lock.h> instead of
7748         <bits/stdio-lock.h>.
7749         * sysdeps/nptl/fork.c: Likewise.
7750         * sysdeps/pthread/flockfile.c: Likewise.
7751         * sysdeps/pthread/ftrylockfile.c: Likewise.
7752         * sysdeps/pthread/funlockfile.c: Likewise.
7754         [BZ #14912]
7755         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7756         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7757         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7758         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7759         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7760         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7761         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7763 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7765         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7766         (test-xfail-tst-protected1b): New variable.
7768 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7770         [BZ #14912]
7771         * bits/libc-tsd.h: Move to ...
7772         * sysdeps/generic/libc-tsd.h: ...here.
7773         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7774         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7775         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7776         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7777         * include/ctype.h: Include <libc-tsd.h> instead of
7778         <bits/libc-tsd.h>.
7779         * include/rpc/rpc.h: Likewise.
7780         * locale/localeinfo.h: Likewise.
7781         * sunrpc/rpc_thread.c: Likewise.
7782         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7783         * sysdeps/nptl/malloc-machine.h: Likewise.
7785         * Makefile (headers): Remove bits/libc-lock.h.
7786         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7788         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7789         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7790         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7791         <bits/stdio-lock.h>.
7792         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7793         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7795 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7797         [BZ #18757]
7798         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7799         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7800         BZ #18757.
7802 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7804         * malloc/mtrace.pl: Filter out NULL entries.
7806 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7808         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7809         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7810         macro.
7812         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7813         (TCP_CC_INFO): Likewise.
7814         (TCP_SAVE_SYN): Likewise.
7815         (TCP_SAVED_SYN): Likewise.
7817 2015-08-31  Brett Neumeier <brett@neumeier.us>
7819         [BZ #18870]
7820         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7822 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7824         [BZ #18873]
7825         Fix broken overflow check in posix_fallocate
7826         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7827         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7828         Fix parenthesization typo.
7830 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7832         [BZ #18887]
7833         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7834         tst-mntent-blank-passno.
7835         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7836         * misc/tst-mntent-blank-corrupt.c: New test.
7837         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7838         * misc/tst-mntent.c (do_test): ... here.
7840 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7842         [BZ #4404]
7843         * po/de.po: Fix SIGALRM typo.
7845 2015-08-28  James Perkins  <james@loowit.net>
7847         * time/tst-strptime2.c (tests): Replace short list of test
7848         strings for strptime %z specifier with code which exhaustively
7849         tests every combination of sign and 0 to 5 digits. Tests for
7850         rejection of invalid strings.
7852 2015-08-28  James Perkins  <james@loowit.net>
7854         [BZ #16141]
7855         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7856         calculation, removing incorrect decimal time rounding, so that
7857         all minute values result in a valid seconds value.
7858         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7859         offset range limits to UTC-99:59 through UTC+99:59 to parse
7860         current and historical use cases.
7861         * time/tst-strptime2.c (tests): Modify and add tests for the
7862         strptime %z input field descriptor, specifically conversion of
7863         minutes to seconds and validating an offset range of -9959 to
7864         +9959.
7866 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7867             Dmitry V. Levin  <ldv@altlinux.org>
7869         [BZ #18877]
7870         * posix/Makefile (tests): Add tst-mmap-offset.
7871         * posix/tst-mmap.c: New file.
7872         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7873         offset calculation for negative values.
7875 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7877         * sysdeps/i386/init-arch.h: New file.
7878         * sysdeps/i386/i586/init-arch.h: Likewise.
7879         * sysdeps/i386/i686/init-arch.h: Likewise.
7880         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7881         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7882         * sysdeps/x86/cpu-features.h (bit_I586): New.
7883         (bit_I686): Likewise.
7884         (bit_CX8): Likewise.
7885         (bit_CMOV): Likewise.
7886         (index_CX8): Likewise.
7887         (index_CMOV): Likewise.
7888         (index_I586): Likewise.
7889         (index_I686): Likewise.
7890         (reg_CX8): Likewise.
7891         (reg_CMOV): Likewise.
7892         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7893         available at compile-time.
7894         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7895         available at compile-time.
7896         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7897         (USE_I686): Likewise.
7899 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7901         * sysdeps/i386/bcopy.S: New file.
7902         * sysdeps/i386/bzero.S: Likewise.
7903         * sysdeps/i386/memcpy.S: Likewise.
7904         * sysdeps/i386/memmove.S: Likewise.
7905         * sysdeps/i386/mempcpy.S: Likewise.
7906         * sysdeps/i386/memset.S: Likewise.
7907         * sysdeps/i386/bzero.c: Removed.
7908         * sysdeps/i386/memset.c: Likewise.
7909         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7910         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7911         * sysdeps/i386/i586/memset_chk.S: Likewise.
7912         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7913         * sysdeps/i386/memcpy_chk.S: Here.
7914         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7915         * sysdeps/i386/memmove_chk.S: Here.
7916         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7917         * sysdeps/i386/mempcpy_chk.S: Likewise.
7918         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7919         * sysdeps/i386/memset_chk.S: Likewise.
7921 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7923         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7924         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7925         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7926         * soft-fp/fmadf4.c: Ditto.
7927         * soft-fp/fmatf4.c: Ditto.
7929 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7931         * sysdeps/i386/i586/Implies: Removed.
7932         * sysdeps/i386/i686/Implies: Likewise.
7934 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7936         * sysdeps/i386/i486/strlen.S: Moved to ...
7937         * sysdeps/i386/strlen.S: Here.
7939 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7941         * sysdeps/i386/i486/strcat.S: Moved to ...
7942         * sysdeps/i386/strcat.S: Here.
7944 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7946         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7947         * sysdeps/i386/pthread_spin_trylock.S: Here.
7948         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7949         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7951 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7953         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7954         * sysdeps/i386/string-inlines.c: Here.
7956 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7958         * sysdeps/i386/i486/htonl.S: Moved ...
7959         * sysdeps/i386/htonl.S: here.
7961 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7963         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7964         * sysdeps/i386/bits/atomic.h: Here.
7966 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7968         * sysdeps/i386/i486/Versions: Removed.
7970 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7972         [BZ #2898]
7973         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7974         Based on patch by Aurelien Jarno.
7976 2015-08-26  Stan Shebs  <stanshebs@google.com>
7978         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7979         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7981 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7983         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7984         * sysdeps/powerpc/dl-procinfo.c:
7985         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7986         feature so it shows when LD_SHOW_AUXV=1.
7988 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7990         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7991         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7992         definition.  ISA 2.07B no longer requires full sync.
7994 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7996         [BZ #18863]
7997         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7998         (si_call_addr): Define.
7999         (si_syscall): Define.
8000         (si_arch): Define.
8002 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8004         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8005         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8006         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8007         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8008         (__memset_zero_constant_len_parameter): New.
8009         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8010         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8011         (__memset_zero_constant_len_parameter): Don't define if
8012         __memset_chk or USE_AS_BZERO are defined.
8014         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8015         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8016         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8018         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8019         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8020         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8021         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8022         comments.
8023         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8024         -mno-mmx for $(all-rtld-routines).
8025         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8026         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8027         i386.
8029 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8031         * sysdeps/generic/unwind.h
8032         (_Unwind_Word): Use __mode__(__unwind_word__)
8033         instead of __mode__(__word__).
8034         (_Unwind_Sword): Likewise.
8036         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8037         (MAX_NEEDED_INPUT): New define.
8038         (MAX_NEEDED_OUTPUT): New define.
8040         * NEWS: New item for IBM z13 string optimizations.
8042         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8043         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8044         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8045         * sysdeps/s390/multiarch/Makefile
8046         (sysdep_routines): Add memrchr functions.
8047         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8048         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8050         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8051         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8052         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8053         * sysdeps/s390/multiarch/Makefile
8054         (sysdep_routines): Add wmemcmp functions.
8055         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8056         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8057         * benchtests/bench-wmemcmp.c: New File.
8058         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8060         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8061         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8062         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8063         * sysdeps/s390/multiarch/Makefile
8064         (sysdep_routines): Add wmemset functions.
8065         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8066         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8067         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8068         * string/test-memset.c: Add wmemset support.
8069         * wcsmbs/test-wmemset.c: New File.
8070         * wcsmbs/Makefile (strop-tests): Add wmemset.
8071         * benchtests/bench-memset.c: Add wmemset support.
8072         * benchtests/bench-wmemset.c: New File.
8073         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8075         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8076         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8077         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8078         * sysdeps/s390/multiarch/Makefile
8079         (sysdep_routines): Add memccpy functions.
8080         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8081         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8082         * string/memccpy.c: Use MEMCCPY if defined.
8084         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8085         * sysdeps/s390/multiarch/memchr.c: Likewise.
8086         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8087         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8088         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8089         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8090         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8091         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8092         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8093         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8094         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8095         and rawmemchr functions.
8096         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8097         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8098         and wmemchr.
8099         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8100         * string/test-memchr.c: Add wmemchr support.
8101         * wcsmbs/test-wmemchr.c: New File.
8102         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8103         * benchtests/bench-memchr.c: Add wmemchr support.
8104         * benchtests/bench-wmemchr.c: New File.
8105         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8107         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8108         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8109         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8110         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8111         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8112         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8114         wcscspn functions.
8115         * sysdeps/s390/multiarch/ifunc-impl-list.c
8116         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8117         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8118         * string/test-strcspn.c: Add wcscspn support.
8119         * wcsmbs/test-wcscspn.c: New File.
8120         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8121         * benchtests/bench-strcspn.c: Add wcscspn support.
8122         * benchtests/bench-wcscspn.c: New File.
8123         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8125         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8126         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8127         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8128         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8129         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8130         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8132         wcspbrk functions.
8133         * sysdeps/s390/multiarch/ifunc-impl-list.c
8134         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8135         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8136         * string/test-strpbrk.c: Add wcspbrk support.
8137         * wcsmbs/test-wcspbrk.c: New File.
8138         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8139         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8140         * benchtests/bench-wcspbrk.c: New File.
8141         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8143         * sysdeps/s390/multiarch/strspn-c.c: New File.
8144         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8145         * sysdeps/s390/multiarch/strspn.c: Likewise.
8146         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8147         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8148         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8149         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8151         wcsspn functions.
8152         * sysdeps/s390/multiarch/ifunc-impl-list.c
8153         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8154         * string/test-strspn.c: Add wcsspn support.
8155         * wcsmbs/test-wcsspn.c: New File.
8156         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8157         * benchtests/bench-strspn.c: Add wcsspn support.
8158         * benchtests/bench-wcsspn.c: New File.
8159         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8161         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8162         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8163         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8164         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8165         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8166         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8168         wcsrchr functions.
8169         * sysdeps/s390/multiarch/ifunc-impl-list.c
8170         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8171         * benchtests/bench-wcsrchr.c: New File.
8172         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8174         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8175         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8176         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8177         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8178         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8179         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8181         wcschrnul functions.
8182         * sysdeps/s390/multiarch/ifunc-impl-list.c
8183         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8184         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8185         * string/test-strchr.c: Add wcschrnul support.
8186         * wcsmbs/test-wcschrnul.c: New File.
8187         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8188         * benchtests/bench-strchr.c: Add wcschrnul support.
8189         * benchtests/bench-wcschrnul.c: New File.
8190         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8192         * sysdeps/s390/multiarch/strchr-c.c: New File.
8193         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8194         * sysdeps/s390/multiarch/strchr.c: Likewise.
8195         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8196         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8197         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8199         wcschr functions.
8200         * sysdeps/s390/multiarch/ifunc-impl-list.c
8201         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8202         * string/strchr.c (STRCHR): Define and use macro.
8203         * benchtests/bench-wcschr.c: New File.
8204         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8206         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8207         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8208         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8209         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8210         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8211         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8213         wcsncmp functions.
8214         * sysdeps/s390/multiarch/ifunc-impl-list.c
8215         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8216         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8217         * benchtests/bench-strncmp.c: Add wcsncmp support.
8218         * benchtests/bench-wcsncmp.c: New File.
8219         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8221         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8222         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8223         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8224         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8225         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8226         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8227         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8229         wcscmp functions.
8230         * sysdeps/s390/multiarch/ifunc-impl-list.c
8231         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8232         * string/strcmp.c (STRCMP): Define and use macro.
8233         * benchtests/bench-wcscmp.c: New File.
8234         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8235         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8236         instead of _HAVE_STRING_ARCH_memchr.
8238         * sysdeps/s390/multiarch/strncat-c.c: New File.
8239         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8240         * sysdeps/s390/multiarch/strncat.c: Likewise.
8241         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8242         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8243         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8244         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8245         wcsncat functions.
8246         * sysdeps/s390/multiarch/ifunc-impl-list.c
8247         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8248         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8249         * string/test-strncat.c: Add wcsncat support.
8250         * wcsmbs/test-wcsncat.c: New File.
8251         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8252         * benchtests/bench-strncat.c: Add wcsncat support.
8253         * benchtests/bench-wcsncat.c: New File.
8254         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8256         * sysdeps/s390/multiarch/strcat-c.c: New File.
8257         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8258         * sysdeps/s390/multiarch/strcat.c: Likewise.
8259         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8260         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8261         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8262         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8263         wcscat functions.
8264         * sysdeps/s390/multiarch/ifunc-impl-list.c
8265         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8266         * string/strcat.c (STRCAT): Define and use macro.
8267         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8268         * string/test-strcat.c: Add wcscat support.
8269         * wcsmbs/test-wcscat.c: New File.
8270         * wcsmbs/Makefile (strop-tests): Add wcscat.
8271         * benchtests/bench-strcat.c: Add wcscat support.
8272         * benchtests/bench-wcscat.c: New File.
8273         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8275         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8276         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8277         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8278         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8279         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8280         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8281         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8282         wcpncpy functions.
8283         * sysdeps/s390/multiarch/ifunc-impl-list.c
8284         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8285         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8286         * string/test-stpncpy.c: Add wcpncpy support.
8287         * wcsmbs/test-wcpncpy.c: New File.
8288         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8289         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8290         * benchtests/bench-wcpncpy.c: New File.
8291         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8293         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8294         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8295         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8296         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8297         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8298         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8299         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8301         wcsncpy functions.
8302         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8303         * sysdeps/s390/multiarch/ifunc-impl-list.c
8304         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8305         * string/test-strncpy.c: Add wcsncpy support.
8306         * wcsmbs/test-wcsncpy.c: New File.
8307         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8308         * benchtests/bench-strncpy.c: Add wcsncpy support.
8309         * benchtests/bench-wcsncpy.c: New File.
8310         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8312         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8313         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8314         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8315         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8316         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8317         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8319         wcpcpy functions.
8320         * string/stpcpy.c: Use STPCPY if defined.
8321         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8322         * sysdeps/s390/multiarch/ifunc-impl-list.c
8323         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8324         * string/test-stpcpy.c: Add wcpcpy support.
8325         * wcsmbs/test-wcpcpy.c: New File.
8326         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8327         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8328         * benchtests/bench-wcpcpy.c: New File.
8329         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8331         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8332         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8333         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8334         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8335         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8336         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8337         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8339         wcscpy functions.
8340         * sysdeps/s390/multiarch/ifunc-impl-list.c
8341         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8342         * benchtests/bench-wcscpy.c: New File.
8343         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8345         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8346         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8347         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8348         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8349         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8350         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8352         wcsnlen functions.
8353         * sysdeps/s390/multiarch/ifunc-impl-list.c
8354         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8355         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8356         * string/test-strnlen.c: Add wcsnlen support.
8357         * wcsmbs/test-wcsnlen.c: New File.
8358         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8359         * benchtests/bench-strnlen.c: Add wcsnlen support.
8360         * benchtests/bench-wcsnlen.c: New File.
8361         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8363         * sysdeps/s390/multiarch/Makefile: New File.
8364         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8365         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8366         * sysdeps/s390/multiarch/strlen.c: Likewise.
8367         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8368         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8369         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8370         * string/strlen.c (STRLEN): Define and use macro.
8371         * sysdeps/s390/multiarch/ifunc-impl-list.c
8372         (IFUNC_VX_IMPL): New macro function.
8373         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8374         * benchtests/Makefile (wcsmbs-bench): New variable.
8375         (string-bench-all): Added wcsmbs-bench.
8376         * benchtests/bench-wcslen.c: New File.
8378         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8379         s390_vx_libc_ifunc2): New macro function.
8381         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8382         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8383         assembler support.
8384         * sysdeps/s390/configure: Regenerated.
8386         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8387         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8389         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8390         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8391         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8393         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8394         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8395         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8396         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8397         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8398         (memcmp, bcmp): Use __memcmp_default as alias source.
8399         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8400         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8401         Rename to __memcmp_default.
8402         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8403         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8404         (memcpy): Use __memcpy_default as alias source.
8405         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8406         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8407         Rename to __memcpy_default.
8408         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8409         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8410         (memset): Use __memset_default as alias source.
8411         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8412         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8413         Rename to __memset_default.
8414         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8415         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8416         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8417         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8418         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8419         (memcmp, bcmp): Use __memcmp_default as alias source.
8420         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8421         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8422         Rename to __memcmp_default.
8423         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8424         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8425         (memcpy): Use __memcpy_default as alias source.
8426         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8427         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8428         Rename to __memcpy_default.
8429         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8430         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8431         (memset): Use __memset_default as alias source.
8432         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8433         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8434         Rename to __memset_default.
8435         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8436         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8438         [BZ #18610]
8439         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8440         __ieee_instruction_pointer to __unused.
8441         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8442         __ieee_instruction_pointer.
8443         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8444         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8445         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8446         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8447         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8448         Mark dxc-field as reserved.
8450 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8452         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8453         if the weak reference is not null.
8455 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8457         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8459         [BZ #11214]
8460         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8462 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8464         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8465         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8466         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8467         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8468         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8469         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8470         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8471         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8472         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8473         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8474         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8475         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8476         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8477         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8478         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8479         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8480         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8481         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8483 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8485         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8486         register other than r0 for tabort, it has special meaning.
8487         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8488         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8489         transaction before starting syscall.
8491 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8493         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8495 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8497         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8499         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8500         * sysdeps/x86_64/rtld-memset.S: Likewise.
8501         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8502         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8503         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8504         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8506         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8508 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8510         * debug/strcpy_chk.c: Improve performance.
8511         * debug/stpcpy_chk.c: Likewise.
8512         * sysdeps/x86_64/strcpy_chk.S: Remove.
8513         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8515         [BZ #18240]
8516         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8518 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8520         [BZ #15128]
8521         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8522         ifuncmain8.
8523         (modules-names): Add ifuncmod8.
8524         ($(objpfx)ifuncmain8): New rule.
8525         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8526         <cpuid.h>.
8527         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8528         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8529         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8530         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8531         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8532         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8533         * sysdeps/x86_64/ifuncmain8.c: New file.
8534         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8535         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8536         Removed.
8537         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8538         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8539         Change rtld_savespace_sse to __glibc_unused2.
8540         (RTLD_CHECK_FOREIGN_CALL): Removed.
8541         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8542         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8543         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8545 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8547         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8549 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8551         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8552         Unconditionally set __fpcr to avoid uninialized warning.
8553         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8555 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8557         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8558         is corrupt.
8560         * malloc/arena.c (arena_get2): Drop unused argument.
8561         (arena_lock): Adjust.
8562         (arena_get_retry): Likewise.
8564 2015-08-24  Andreas Schwab  <schwab@suse.de>
8566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8567         Don't define.
8568         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8569         (__ASSUME_IPC64): Don't undef.
8570         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8571         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8572         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8573         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8574         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8575         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8576         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8577         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8578         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8579         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8580         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8581         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8582         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8583         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8584         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8585         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8586         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8587         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8589         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8590         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8592 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8594         * manual/Makefile (install): Only build manual when perl is available.
8596 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8598         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8599         '#undef memcpy' by '#undef memchr'.
8601 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8603         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8604         memchr not point to the internal __GI_memchr implementation.
8606 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8608         * timezone/Makefile (CFLAGS-zdump.c): Remove
8609         -Wno-strict-prototypes.
8610         (CFLAGS-zic.c): Likewise.
8611         (CFLAGS-ialloc.c): Likewise.
8612         (CFLAGS-scheck.c): Likewise.
8614         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8615         -Wno-error=undef.
8617 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8619         * i386/i686/multiarch/strcasestr-c.c: Removed.
8620         * x86_64/multiarch/strcasestr.c: Likewise.
8621         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8622         Remove strcasestr.
8624 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8626         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8628         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8629         variables for high and low parts before possibly modifying them.
8631 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8633         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8634         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8635         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8636         of "multiarch/init-arch.h".
8637         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8638         * sysdeps/x86/init-arch.h: This.
8640 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8642         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8643         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8645 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8647         [BZ #17787]
8648         * manual/macros.texi: Add twoexp macro.
8649         * manual/filesys.texi: Fix exponents.
8650         * manual/llio.texi: Likewise.
8651         * manual/stdio.texi: Likewise.
8653 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8655         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8656         incorrect use.
8658 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #18370]
8661         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8662         whose real or imaginary part has small absolute value.
8663         * math/s_csqrtf.c (__csqrtf): Likewise.
8664         * math/s_csqrtl.c (__csqrtl): Likewise.
8665         * math/auto-libm-test-in: Add more tests of csqrt.
8666         * math/auto-libm-test-out: Regenerated.
8667         * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8671         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8672         __ppc_set_ppr_very_low): New functions.
8673         * manual/platform.texi: Add documentation about
8674         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8676 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8678         * string/stpncpy.c (stpncpy): Improve performance using
8679         __strnlen/memcpy/memset.
8681 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8683         [BZ #18796]
8684         * scripts/test-installation.pl: Don't add -lmvec to build options if
8685         libmvec wasn't built.
8687 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8689         [BZ #14341]
8690         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8691         case when there is a gap between DT_REL and DT_JMPREL sections.
8692         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8693         (LDFLAGS-tst-split-dynreloc): New.
8694         (tst-split-dynreloc-ENV): Likewise.
8695         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8696         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8698 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8700         [BZ #18822]
8701         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8702         attribute_hidden.
8703         (__xstat64_conv): Likewise.
8704         (__xstat32_conv): Likewise.
8706 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8708         [BZ #18822]
8709         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8710         Don't load %ebx when calling __setcontext.  Call __setcontext
8711         with HIDDEN_JUMPTARGET.
8712         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8713         libc_hidden_def.
8715 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8717         * sysdeps/i386/i686/Makefile
8718         [$(subdir) == string] (sysdep_routines): Moved to ...
8719         * sysdeps/i386/Makefile: Here.
8720         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8721         * sysdeps/i386/cacheinfo.c: Here.
8722         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8723         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8724         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8725         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8727 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8729         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8730         __i586__ is defined.
8731         (HAS_I686): Defined to 1 if __i686__ is defined.
8733 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8735         * elf/Makefile [$(have-z-execstack) = yes]
8736         (CPPFLAGS-tst-execstack.c): New variable.
8738         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8739         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8740         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8741         UTMPX || _HAVE_UT_TV].
8742         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8743         UTMPX || _HAVE_UT_TV - 0].
8745 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8747         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8748         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8749         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8751 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8753         * sysdeps/powerpc/dl-procinfo.c:
8754         (_dl_powerpc_cap_flags): Added missing strings for some
8755         hwcap features.
8756         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8758 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8760         Port the 0x7efe...feff pattern to GCC 6.
8761         See Steve Ellcey's bug report in:
8762         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8763         * string/memrchr.c (MEMRCHR):
8764         * string/rawmemchr.c (RAWMEMCHR):
8765         * string/strchr.c (strchr):
8766         * string/strchrnul.c (STRCHRNUL):
8767         Rewrite code to avoid issues with signed shift overflow.
8769 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8771         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8772         whether cpuid is available only if HAS_CPUID is 0.
8773         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8774         (HAS_I586): Likewise.
8775         (HAS_I686): Likewise.
8777 2015-08-18  Zack Weinberg  <zackw@panix.com>
8779         * misc/Versions (libc): Add GLIBC_2.23.
8781 2015-08-18  Alan Modra  <amodra@gmail.com>
8783         [BZ #18421]
8784         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8785         .Lp__global.
8786         (_start): Load %dp via .Lp__global.
8787         [!SHARED]: Use .section .rodata.
8789 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8791         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8792         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8794 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8796         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8797         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8799 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8801         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8802         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8804 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8806         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8807         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8809 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8811         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8812         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8814 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8816         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8817         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8819 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8821         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8823 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8825         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8826         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8827         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8828         (__ASSUME_LWS_CAS): Delete.
8830 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8832         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8833         * sysdeps/hppa/configure: Regenerated.
8834         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8835         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8836         * sysdeps/hppa/nptl/tls.h: Likewise.
8838 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8840         [BZ #18823]
8841         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8842         for scaling up small arguments.
8843         * math/s_csqrtf.c (__csqrtf): Likewise.
8844         * math/s_csqrtl.c (__csqrtl): Likewise.
8845         * math/auto-libm-test-in: Add more tests of csqrt.
8846         * math/auto-libm-test-out: Regenerated.
8848 2015-08-17  Andreas Schwab  <schwab@suse.de>
8850         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8851         version set GLIBC_2.19.
8853 2015-08-16  Zack Weinberg  <zackw@panix.com>
8855         [BZ #18681]
8856         * misc/regexp.h: This interface is no longer supported.
8857         Remove all contents, leaving only an #error directive.
8858         * misc/regexp.c (loc1, loc2, locs, step, advance):
8859         Demote to compatibility symbols.
8861 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8863         [BZ #18084]
8864         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8865         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8866         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8867         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8868         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8869         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8870         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8871         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8872         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8874 2015-08-15  Zack Weinberg  <zackw@panix.com>
8876         [BZ #18795]
8877         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8878         buffer length is known to be too large, not if it's known to be
8879         small enough.
8880         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8881         overflow at runtime, involving a length parameter, twice: once
8882         with a compile-time constant length parameter, once without.
8884 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8886         [BZ #18824]
8887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8888         scaling x * y up instead of down.
8889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8890         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8891         * math/auto-libm-test-in: Add more tests of fma.
8892         * math/auto-libm-test-out: Regenerated.
8894 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8896         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8898 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8900         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8901         unnecessary movq.
8902         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8903         Likewise.
8905 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8907         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8908         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8909         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8910         and tgamma.
8911         * math/auto-libm-test-out: Regenerated.
8912         * sysdeps/i386/fpu/libm-test-ulps: Update.
8913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8915         [BZ #16520]
8916         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8917         (__tanh): Force underflow exception for arguments with small
8918         absolute value.
8919         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8920         (__tanhf): Force underflow exception for arguments with small
8921         absolute value.
8922         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8923         (__tanhl): Force underflow exception for arguments with small
8924         absolute value.
8925         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8926         (__tanhl): Force underflow exception for arguments with small
8927         absolute value.
8928         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8929         (__tanhl): Force underflow exception for arguments with small
8930         absolute value.
8931         * math/auto-libm-test-in: Add more tests of tanh.
8932         * math/auto-libm-test-out: Regenerated.
8933         * sysdeps/i386/fpu/libm-test-ulps: Update.
8935 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8937         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8938         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8940 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8942         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8943         <cpuid.h>.
8945 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8947         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8948         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8950 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8952         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8953         Remove $(objpfx)init-arch.o.
8954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8955         init-arch.
8956         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8957         (INIT_ARCH_EXT): Defined as empty.
8958         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8960         __init_cpu_features call.  Replace HAS_XXX with
8961         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8963         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8964         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8966         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8967         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8970         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8971         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8972         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8973         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8974         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8975         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8979         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8980         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8982         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8984         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8985         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8986         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8988         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8991         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8998 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9000         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9001         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9002         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9003         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9004         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9005         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9006         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9007         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9008         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9009         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9010         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9011         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9012         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9013         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9014         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9015         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9016         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9017         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9018         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9019         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9020         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9021         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9022         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9023         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9024         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9025         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9027         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9028         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9029         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9030         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9031         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9032         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9033         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9034         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9035         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9036         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9037         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9038         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9039         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9040         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9041         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9042         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9044 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9046         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9047         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9049         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9050         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9051         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9052         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9053         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9054         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9055         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9056         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9057         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9058         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9059         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9060         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9061         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9062         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9063         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9064         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9065         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9067         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9068         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9069         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9070         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9071         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9072         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9073         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9074         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9075         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9076         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9077         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9078         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9079         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9080         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9081         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9082         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9083         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9084         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9085         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9086         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9087         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9088         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9090 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9092         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9093         (dl_platform_init): Call init_cpu_features.
9094         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9095         * sysdeps/i386/i686/cacheinfo.c
9096         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9097         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9098         * sysdeps/i386/i686/multiarch/Versions: Removed.
9099         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9100         Removed.
9101         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9102         * sysdeps/unix/sysv/linux/x86/Makefile
9103         (libpthread-sysdep_routines): Remove init-arch.
9104         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9105         <sysdeps/x86_64/dl-procinfo.c> instead of
9106         sysdeps/generic/dl-procinfo.c>.
9107         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9108         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9109         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9110         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9111         [$(subdir) == elf] (tests-static): Add
9112         tst-get-cpu-features-static.
9113         * sysdeps/x86/Versions: New file.
9114         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9115         * sysdeps/x86/cpu-features.c: Likewise.
9116         * sysdeps/x86/cpu-features.h: Likewise.
9117         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9118         * sysdeps/x86/libc-start.c: Likewise.
9119         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9120         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9121         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9122         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9123         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9124         Assume USE_MULTIARCH is defined and don't check it.
9125         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9126         (is_amd): Likewise.
9127         (max_cpuid): Likewise.
9128         (intel_check_word): Likewise.
9129         (__cache_sysconf): Don't call __init_cpu_features.
9130         (__x86_preferred_memory_instruction): Removed.
9131         (init_cacheinfo): Don't call __init_cpu_features. Replace
9132         __cpu_features with GLRO(dl_x86_cpu_features).
9133         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9134         (dl_platform_init): Call init_cpu_features.
9135         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9136         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9137         * sysdeps/x86_64/multiarch/Versions: Removed.
9138         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9139         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9140         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9141         Removed.
9142         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9144 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9146         [BZ #18820]
9147         * libio/Makefile (test-fmemopen-mem): New test.
9148         * libio/test-fmemopen.c (do_bz18820): New test.
9149         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9150         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9152 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9154         [BZ #16734]
9155         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9156         (FREE_BUF): Delete.
9157         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9158         * libio/genops.c (_IO_setb): Use malloc and free directly.
9159         (_IO_default_doallocate, _IO_default_finish): Likewise.
9160         ( _IO_unbuffer_all): Likewise.
9161         ( libc_freeres_fn): Likewise.
9162         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9163         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9164         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9165         (_IO_wdefault_doallocate): Likewise.
9167 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9169         [BZ #18086]
9170         * sysdeps/posix/nice.c (nice): Restore old errno.
9171         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9173 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9175         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9177 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9179         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9180         __bcopy and add a weak_alias to bcopy.
9181         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9182         for static build.
9184         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9185         cleanup macro usage.
9186         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9188         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9190         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9191         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9192         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9193         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9194         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9195         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9197         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9199         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9200         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9202         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9203         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9204         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9206         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9207         libc_hidden_def.
9208         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9210         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9211         (sysdep_routines): Add strstr-ppc64.
9212         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9214 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9216         [BZ #18778]
9217         * elf/Makefile (tests): Add Add tst-nodelete2.
9218         (modules-names): Add tst-nodelete2mod.
9219         (tst-nodelete2mod.so-no-z-defs): New.
9220         ($(objpfx)tst-nodelete2): Likewise.
9221         ($(objpfx)tst-nodelete2.out): Likewise.
9222         (LDFLAGS-tst-nodelete2): Likewise.
9223         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9224         out of loop through all loaded libraries.
9225         * elf/tst-nodelete2.c: New file.
9226         * elf/tst-nodelete2mod.c: Likewise.
9227         * elf/tst-znodelete-zlib.cc: Delete.
9229 2015-08-11  Andreas Schwab  <schwab@suse.de>
9231         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9232         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9233         (__openat64_nocancel): Likewise.
9235 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9237         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9238         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9239         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9240         * math/auto-libm-test-out: Regenerated.
9241         * sysdeps/i386/fpu/libm-test-ulps: Update.
9242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9244 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9246         [BZ #18790]
9247         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9248         threshold for returning +/- 1.
9249         * math/auto-libm-test-in: Add more tests of tanh.
9250         * math/auto-libm-test-out: Regenerated.
9251         * sysdeps/i386/fpu/libm-test-ulps: Update.
9253 2015-08-10  Andreas Schwab  <schwab@suse.de>
9255         [BZ #18781]
9256         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9257         MORE_OFLAGS to oflag.
9258         * io/test-lfs.c (do_test): Test openat64.
9260 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9262         [BZ #18789]
9263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9264         smaller threshold for returning the argument.
9265         * math/auto-libm-test-in: Add more tests of sinh.
9266         * math/auto-libm-test-out: Regenerated.
9267         * sysdeps/i386/fpu/libm-test-ulps: Update.
9269 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9271         [BZ #18674]
9272         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9273         break.
9275 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9277         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9278         (generated): Don't add $(addprefix z.,$(tzfiles)).
9280 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9282         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9283         * scripts/sysd-rules.awk: Likewise.
9285 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9287         * iconvdata/tst-tables.sh: Change echo -n to printf.
9288         * nss/db-Makefile: Likewise.
9289         * posix/tst-getconf.sh: Likewise.
9290         * stdio-common/tst-unbputc.sh: Likewise.
9292 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9294         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9295         MADV_*_PAGES defines behind this feature check.
9297 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9299         [BZ #18480]
9300         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9301         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9302         Define.
9303         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9304         LOAD_REGS_5, LOAD_REGS_6): Update.
9305         (INTERNAL_SYSCALL): Update using new LOAD defines.
9306         (INTERNAL_SYSCALL_NCS): Likewise.
9307         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9309 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9311         [BZ #16734]
9312         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9314 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9316         [BZ #17905]
9317         * catgets/Makefile (tst-catgets-mem): New test.
9318         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9319         * catgets/open_catalog.c (__open_catalog): Likewise.
9320         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9322 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9324         [BZ #18787]
9325         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9326         clobber registers.
9327         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9328         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9329         Cast return to __typeof (oldval).
9331 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9333         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9334         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9335         and delete sys/syscall.h include.
9337 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #16517]
9340         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9341         (tan): Force underflow exception for arguments with small absolute
9342         value.
9343         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9344         (__kernel_tanf): Force underflow exception for arguments with
9345         small absolute value.
9346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9347         (__kernel_tanl): Force underflow exception for arguments with
9348         small absolute value.
9349         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9350         (__kernel_tanl): Force underflow exception for arguments with
9351         small absolute value.
9352         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9353         (__kernel_tanl): Force underflow exception for arguments with
9354         small absolute value.
9355         * math/auto-libm-test-in: Add more tests of tan.
9356         * math/auto-libm-test-out: Regenerated.
9358 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9360         Fix sysdeps/i386/fpu/s_scalbn.S build
9362         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9364 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9366         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9368 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9370         Fix gcrt0.o compilation
9372         When static-start-installed-name is different from
9373         start-installed-name, we must not use the shared objects.
9375         * csu/Makefile
9376         (extra-objs): Add gmon-start.o when building shared library and
9377         $(static-start-installed-name) is different from
9378         $(start-installed-name).
9379         $(objpfx)g$(static-start-installed-name): When building shared
9380         library and $(static-start-installed-name) is different from
9381         $(static-start-installed-name), revert to non-shared rule,
9382         i.e. using $(objpfx)% and gmon-start.o.
9384 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9386         [BZ #16519]
9387         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9388         (__ieee754_sinh): Force underflow exception for arguments with
9389         small absolute value.
9390         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9391         (__ieee754_sinhf): Force underflow exception for arguments with
9392         small absolute value.
9393         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9394         (__ieee754_sinhl): Force underflow exception for arguments with
9395         small absolute value.
9396         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9397         (__ieee754_sinhl): Force underflow exception for arguments with
9398         small absolute value.
9399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9400         (__ieee754_sinhl): Force underflow exception for arguments with
9401         small absolute value.
9402         * math/auto-libm-test-in: Add more tests of sinh.
9403         * math/auto-libm-test-out: Regenerated.
9404         * sysdeps/i386/fpu/libm-test-ulps: Update.
9406 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9408         * libio/oldfileops.c: Include unistd.h.
9410 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9412         * stdlib/isomac.c: Include ctype.h.
9414 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9416         * dirent/tst-seekdir.c (main): Converted to ...
9417         (do_test): ... this.
9418         (TEST_FUNCTION): New macro.
9419         Include test-skeleton.c.
9420         * elf/tst-dlmodcount.c (main): Converted to ...
9421         (do_test): ... this.
9422         (TEST_FUNCTION): New macro.
9423         Include test-skeleton.c.
9424         * elf/tst-order-main.c (main): Converted to ...
9425         (do_test): ... this.
9426         (TEST_FUNCTION): New macro.
9427         Include test-skeleton.c.
9428         * elf/tst-pie2.c (main): Converted to ...
9429         (do_test): ... this.
9430         (TEST_FUNCTION): New macro.
9431         Include test-skeleton.c.
9432         * inet/tst-ether_aton.c (main): Converted to ...
9433         (do_test): ... this.
9434         (TEST_FUNCTION): New macro.
9435         Include test-skeleton.c.
9436         * misc/tst-mntent.c (main): Converted to ...
9437         (do_test): ... this.
9438         (TEST_FUNCTION): New macro.
9439         Include test-skeleton.c.
9440         * misc/tst-tsearch.c (main): Converted to ...
9441         (do_test): ... this.
9442         (TEST_FUNCTION): New macro.
9443         Include test-skeleton.c.
9444         * posix/tst-regexloc.c (main): Converted to ...
9445         (do_test): ... this.
9446         (TEST_FUNCTION): New macro.
9447         Include test-skeleton.c.
9448         * resolv/tst-aton.c (main): Converted to ...
9449         (do_test): ... this.
9450         (TEST_FUNCTION): New macro.
9451         Include test-skeleton.c.
9452         * stdio-common/test-fwrite.c (main): Converted to ...
9453         (do_test): ... this.
9454         (TEST_FUNCTION): New macro.
9455         Include test-skeleton.c.
9456         * stdio-common/tst-ferror.c (main): Converted to ...
9457         (do_test): ... this.
9458         (TEST_FUNCTION): New macro.
9459         Include test-skeleton.c.
9460         * stdio-common/tst-printf.c (main): Converted to ...
9461         (do_test): ... this.
9462         (TEST_FUNCTION): New macro.
9463         Include test-skeleton.c.
9464         * stdio-common/tst-printfsz.c (main): Converted to ...
9465         (do_test): ... this.
9466         (TEST_FUNCTION): New macro.
9467         Include test-skeleton.c.
9468         * stdlib/tst-strtod.c (main): Converted to ...
9469         (do_test): ... this.
9470         (TEST_FUNCTION): New macro.
9471         Include test-skeleton.c.
9472         * string/tst-strlen.c (main): Converted to ...
9473         (do_test): ... this.
9474         (TEST_FUNCTION): New macro.
9475         Include test-skeleton.c.
9476         * string/tst-svc.c (main): Converted to ...
9477         (do_test): ... this.
9478         (TEST_FUNCTION): New macro.
9479         Include test-skeleton.c.
9480         * time/tst-strptime.c (main): Converted to ...
9481         (do_test): ... this.
9482         (TEST_FUNCTION): New macro.
9483         Include test-skeleton.c.
9484         * timezone/tst-timezone.c (main): Converted to ...
9485         (do_test): ... this.
9486         (TEST_FUNCTION): New macro.
9487         Include test-skeleton.c.
9489 2015-08-05  Zack Weinberg  <zackw@panix.com>
9491         * misc/regexp.h: Update comments.
9493 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9495         [BZ #18635]
9496         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9497         before return label.
9499 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9501         [BZ #18661]
9502         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9503         when calling __errno_location.
9504         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9505         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9507 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9509         [BZ #18661]
9510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9511         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9512         __gettimeofday.
9514 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9516         [BZ #18661]
9517         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9518         (__start_context): Don't use pop to restore %rdi so that stack
9519         is aligned to 16 bytes when calling __setcontext.
9521 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9523         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9524         only for libc.
9525         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9527 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9529         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9530         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9531         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9533 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9535         * string/memccpy.c (memccpy):
9536         Improve performance by using memchr/memcpy/__mempcpy.
9538 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9540         * string/strncpy.c (strncpy):
9541         Improve performance by using __strnlen/memcpy.
9543 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9546         Optimize to avoid an unnecessary FPCR read.
9548 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9550         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9551         Optimize to reduce FPCR/FPSR accesses.
9553 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9555         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9556         dead->data[category] != NULL.
9558 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9560         [BZ #18647]
9561         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9562         and |x| close to 1, use absolute value of x when computing log.
9563         * math/auto-libm-test-in: Add more tests of pow.
9564         * math/auto-libm-test-out: Regenerated.
9566 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9568         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9569         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9570         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9572 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9574         [BZ #18525]
9575         * locales/km_KH: Remove timezone definition.
9576         * locales/lo_LA: Likewise.
9577         * locales/my_MM: Likewise.
9578         * locales/nan_TW@latin: Likewise.
9579         * locales/th_TH: Likewise.
9580         * locales/uk_UA: Likewise.
9582 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9584         [BZ #18265]
9585         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9586         (wcsncat): Likewise.
9587         (wcscmp): Likewise.
9588         (wcsncmp): Likewise.
9590 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9592         * test-skeleton.c (usage): New function.
9593         (main): Call usage when opt is '?'.
9595 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9597         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9598         before first use.
9600 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9602         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9603         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9604         in there too.
9606 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9608         * version.h (RELEASE): Set to "development".
9609         (VERSION): Set to "2.22.90"
9611         * version.h (RELEASE): Set to "stable".
9612         (VERSION): Set to "2.22"
9613         * include/features.h (__GLIBC_MINOR__): Set to 22.
9615 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9617         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9618         Restructure macro to avoid "value computed is not used" warning.
9619         (atomic_compare_and_exchange_val_acq): Likewise.
9621 2015-08-04  Andreas Schwab  <schwab@suse.de>
9623         [BZ #18635]
9624         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9625         ret.
9626         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9628 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9630         * po/pl.po: Updated translation.
9631         * po/uk.po: Likewise.
9632         * po/fi.po: Likewise.
9633         * po/ko.po: Likewise.
9634         * po/ru.po: Likewise.
9635         * po/vi.po: Likewise.
9637 2015-07-31  Zack Weinberg  <zackw@panix.com>
9639         [BZ #18681]
9640         * regexp.h: Add unconditional #warning stating that this header
9641         will be removed soon.  Revise banner comment to match.
9642         (compile): Consistently use ERROR instead of RETURN to report
9643         errors (partial fix for bz#18681).
9644         * regexp.c: Don't include regexp.h. Remove some unnecessary
9645         declarations.
9647 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9649         * po/libc.pot: Regenerated.
9651 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9653         [BZ #18740]
9654         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9655         float-vlen4-arch-ext-cflags): Removed.
9656         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9657         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9659 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9661         [BZ #14113]
9662         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9663         aligned to __aligned__.
9664         (pthread_cond_t, pthread_rwlock_t): Likewise.
9666 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9668         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9670 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9672         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9673         (struct sigaction): Change sa_flags from a long to an int, and add
9674         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9676 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9678         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9679         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9680         sysdeps/generic/sysdep.h include.
9681         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9682         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9683         sysdeps/hppa/sysdep.h.
9684         (ENTRY, PSEUDO): Undefine before defining.
9686 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9688         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9689         from scratch to use INTERNAL_SYSCALL.
9691 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9693         [BZ #18078]
9694         * scripts/check-localplt.awk: Support alternate relocations.
9695         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9696         sections.
9697         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9698         malloc entries with + REL R_386_GLOB_DAT.
9699         * sysdeps/x86_64/localplt.data: New file.
9701 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9703         [BZ #18731]
9704         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9705         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9706         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9708 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9710         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9712 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9714         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9715         directly in terms of __sync_fetch_and_add and delete (int) cast.
9717 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9719         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9720         the -D_ASM_IA64_CURRENT_H flag.
9722 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9724         [BZ #18641]
9725         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9727 2015-07-27  Andreas Schwab  <schwab@suse.de>
9729         * conform/conformtest.pl (checknamespace): Filter out string
9730         literals while tokenizing.
9732 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9734         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9735         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9736         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9738 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9740         * nptl/tst-join7mod.c: Add #include <string.h>.
9742 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9744         * sysdeps/nios2/libm-test-ulps: Update.
9746 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9748         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9749         Fix order of arguments to the rt_sigprocmask syscall.
9750         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9751         Likewise.
9753 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9755         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9757 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9759         [BZ #18457]
9760         * nptl/Makefile (tests): New test case tst-join7.
9761         (modules-names): New test case module tst-join7mod.
9762         * nptl/tst-join7.c: New file.
9763         * nptl/tst-join7mod.c: New file.
9764         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9765         all translation units in libc.so, libpthread.so and rtld.
9767 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9771 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9773         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9774         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9775         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9777         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9780         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9783         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9785         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9786         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9788         implementation.
9790 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9792         [BZ #17711]
9793         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9794         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9795         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9796         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9797         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9798         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9800 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9802         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9803         instead of just saying load lock in the comments.
9805 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9807         * sysdeps/unix/Subdirs: Moved ...
9808         * sysdeps/posix/Subdirs: ... here.
9809         * login/pty.h (struct termios, struct winsize): Add forward decls.
9810         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9811         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9812         * sysdeps/arm/nacl/libc.abilist: Updated.
9813         * sysdeps/nacl/libutil.abilist: New file.
9815         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9816         (SIGWINCH): New macro.
9818         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9819         * sysdeps/arm/nacl/libc.abilist: Add it.
9821 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9823         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9825 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9827         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9828         Swap __glibc_reserved0 and sa_flags order.
9830 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9832         [BZ #18657]
9833         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9834         are pending TLS destructor calls.
9835         * include/link.h (struct link_map): Add concurrency note for
9836         L_TLS_DTOR_COUNT.
9837         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9838         Don't touch the link map flag.  Atomically increment
9839         l_tls_dtor_count.
9840         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9841         Avoid taking the load lock and don't touch the link map flag.
9842         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9843         * stdlib/Makefile (tests): Use it.
9844         * stdlib/tst-tls-atexit.c (do_test): dlopen
9845         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9846         to allow tst-tls-atexit-nodelete test case to use it.
9848 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9850         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9851         to bits/types.h.
9852         (msgqnum_t): New typedef.
9853         (msglen_t): Likewise.
9854         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9855         and msg_qbytes type to msglen_t.
9857 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9859         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9860         pad0 to __glibc_reserved0.
9861         (struct stat64): Likewise.
9863 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9865         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9866         Change sa_flags from a long to an int and add __glibc_reserved0 before
9867         it for padding.
9869 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9871         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9872         anonymous by deleting "siginfo" name.
9874 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9876         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9877         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9878         rather than __nacl_irt_filename.
9879         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9881         * NEWS: New item for arm-nacl port.
9882         * sysdeps/arm/nacl/libc.abilist: New file.
9883         * sysdeps/nacl/ld.abilist: New file.
9884         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9885         * sysdeps/nacl/libanl.abilist: New file.
9886         * sysdeps/nacl/libcrypt.abilist: New file.
9887         * sysdeps/nacl/libdl.abilist: New file.
9888         * sysdeps/nacl/libm.abilist: New file.
9889         * sysdeps/nacl/libpthread.abilist: New file.
9890         * sysdeps/nacl/libresolv.abilist: New file.
9891         * sysdeps/nacl/librt.abilist: New file.
9893 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9895         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9896         __startcontext to initialize the new context.
9897         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9898         up CFI directive to forbid further backtracing.
9900 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9902         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9903         reference.
9904         * charmaps/ANSI_X3.4-1968: Likewise.
9905         * charmaps/BS_4730: Likewise.
9906         * charmaps/BS_VIEWDATA: Likewise.
9907         * charmaps/CP1250: Likewise.
9908         * charmaps/CP1251: Likewise.
9909         * charmaps/CP1252: Likewise.
9910         * charmaps/CP1253: Likewise.
9911         * charmaps/CP1254: Likewise.
9912         * charmaps/CP1255: Likewise.
9913         * charmaps/CP1256: Likewise.
9914         * charmaps/CSN_369103: Likewise.
9915         * charmaps/EBCDIC-DK-NO: Likewise.
9916         * charmaps/GB_1988-80: Likewise.
9917         * charmaps/GREEK-CCITT: Likewise.
9918         * charmaps/GREEK7: Likewise.
9919         * charmaps/INIS-8: Likewise.
9920         * charmaps/ISIRI-3342: Likewise.
9921         * charmaps/ISO_2033-1983: Likewise.
9922         * charmaps/ISO_5427-EXT: Likewise.
9923         * locales/POSIX: Likewise.
9924         * locales/ar_SA: Likewise.
9925         * locales/be_BY: Likewise.
9926         * locales/be_BY@latin: Likewise.
9927         * locales/ca_ES: Likewise.
9928         * locales/cs_CZ: Likewise.
9929         * locales/da_DK: Likewise.
9930         * locales/de_BE: Likewise.
9931         * locales/de_CH: Likewise.
9932         * locales/de_LU: Likewise.
9933         * locales/en_AU: Likewise.
9934         * locales/en_BW: Likewise.
9935         * locales/en_CA: Likewise.
9936         * locales/en_DK: Likewise.
9937         * locales/en_GB: Likewise.
9938         * locales/en_IE: Likewise.
9939         * locales/en_NZ: Likewise.
9940         * locales/en_ZA: Likewise.
9941         * locales/en_ZW: Likewise.
9942         * locales/es_AR: Likewise.
9943         * locales/es_BO: Likewise.
9944         * locales/es_CL: Likewise.
9945         * locales/es_CO: Likewise.
9946         * locales/es_DO: Likewise.
9947         * locales/es_EC: Likewise.
9948         * locales/es_ES: Likewise.
9949         * locales/es_HN: Likewise.
9950         * locales/es_MX: Likewise.
9951         * locales/es_PA: Likewise.
9952         * locales/es_PE: Likewise.
9953         * locales/es_PY: Likewise.
9954         * locales/es_SV: Likewise.
9955         * locales/es_US: Likewise.
9956         * locales/es_UY: Likewise.
9957         * locales/es_VE: Likewise.
9958         * locales/et_EE: Likewise.
9959         * locales/fa_IR: Likewise.
9960         * locales/fo_FO: Likewise.
9961         * locales/fr_CA: Likewise.
9962         * locales/fr_CH: Likewise.
9963         * locales/gv_GB: Likewise.
9964         * locales/he_IL: Likewise.
9965         * locales/hr_HR: Likewise.
9966         * locales/id_ID: Likewise.
9967         * locales/is_IS: Likewise.
9968         * locales/it_CH: Likewise.
9969         * locales/iw_IL: Likewise.
9970         * locales/kl_GL: Likewise.
9971         * locales/ko_KR: Likewise.
9972         * locales/kw_GB: Likewise.
9973         * locales/lg_UG: Likewise.
9974         * locales/lt_LT: Likewise.
9975         * locales/lv_LV: Likewise.
9976         * locales/mi_NZ: Likewise.
9977         * locales/nhn_MX: Likewise.
9978         * locales/nl_BE: Likewise.
9979         * locales/pl_PL: Likewise.
9980         * locales/sk_SK: Likewise.
9981         * locales/sl_SI: Likewise.
9982         * locales/sv_FI: Likewise.
9983         * locales/tl_PH: Likewise.
9984         * locales/tr_TR: Likewise.
9985         * locales/vi_VN: Likewise.
9987 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9989         [BZ #17475]
9990         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9991         of tu_IN and bh_IN.
9993 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9995         [BZ #18694]
9996         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9997         bits/wordsize.h.
9998         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10000 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10003         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10004         (spawn_thread): New function.
10005         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10006         (do_test): ... here.  Use IS_LOADED to test for its
10007         availability.
10009 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10011         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10013 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10015         [BZ #18696]
10016         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10017         si_addr_bnd.
10018         (si_lower): New.
10019         (si_upper): Likewise.
10021 2015-07-16  David S. Miller  <davem@davemloft.net>
10023         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10025 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10027         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10028         buffer.
10029         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10030         fail output information.
10032 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10035         and strstr-ppc64..
10036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10037         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10038         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10039         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10040         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10042 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10044         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10045         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10046         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10047         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10049 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10051         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10052         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10053         rtld_hidden_proto.
10054         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10056 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10058         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10059         the test can fail.
10061         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10063         [BZ #18676]
10064         * elf/tst-nodelete-opened.c: New test case.
10065         * elf/tst-nodelete-opened-lib.c: New test case module.
10066         * elf/Makefile (tests, modules-names): Use them.
10067         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10068         early.
10070 2015-07-15  David S. Miller  <davem@davemloft.net>
10072         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10073         futex-intenal.h
10074         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10075         * sysdeps/sparc/sparc64/Makefile: Likewise.
10076         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10077         Remove space from macro define.
10078         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10080 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10082         [BZ #17475]
10083         * locale/iso-639.def: Update Bhili and Tulu language codes as
10084         per iso639-3.
10086 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10088         * elf/tst-leaks1.c (main): Converted to ...
10089         (do_test): ... this.
10090         (TEST_FUNCTION): New macro.
10091         Include test-skeleton.c.
10092         * localedata/tst-langinfo.c (main): Converted to ...
10093         (do_test): ... this.
10094         (TEST_FUNCTION): New macro.
10095         Include test-skeleton.c.
10096         * math/test-fpucw.c (main): Converted to ...
10097         (do_test): ... this.
10098         (TEST_FUNCTION): New macro.
10099         Include test-skeleton.c.
10100         * math/test-tgmath.c (main): Converted to ...
10101         (do_test): ... this.
10102         (TEST_FUNCTION): New macro.
10103         Include test-skeleton.c.
10104         * math/test-tgmath2.c (main): Converted to ...
10105         (do_test): ... this.
10106         (TEST_FUNCTION): New macro.
10107         Include test-skeleton.c.
10108         * setjmp/tst-setjmp.c (main): Converted to ...
10109         (do_test): ... this.
10110         (TEST_FUNCTION): New macro.
10111         Include test-skeleton.c.
10112         * stdio-common/tst-sscanf.c (main): Converted to ...
10113         (do_test): ... this.
10114         (TEST_FUNCTION): New macro.
10115         Include test-skeleton.c.
10116         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10117         (do_test): ... this.
10118         (TEST_FUNCTION): New macro.
10119         Include test-skeleton.c.
10121         * elf/tst-audit9.c (main): Converted to ...
10122         (do_test): ... this.
10123         (TEST_FUNCTION): New macro.
10124         Include test-skeleton.c.
10126 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10128         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10130 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10132         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10133         New variable.
10135 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10137         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10139 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10141         * sysdeps/generic/dl-fileid.h: New file.
10142         * sysdeps/posix/dl-fileid.h: New file.
10143         * sysdeps/nacl/dl-fileid.h: New file.
10144         * include/link.h: Include <dl-fileid.h>.
10145         (struct link_map): Replace l_dev and l_ino with l_file_id.
10146         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10147         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10148         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10150 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10152         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10154 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10156         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10157         Add iff $CXX is set.
10158         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10159         Likewise.
10160         (tst-nodelete-zmodiff): Likewise.
10161         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10163 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10165         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10167 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10169         * sysdeps/aarch64/fpu/math_private.h
10170         (define math_opt_barrier): Add AArch64 version.
10171         (math_force_eval): Likewise.
10173 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10175         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10177 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10179         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10180         %ld with %jd and cast to intmax_t.
10181         (do_test_length_zero): Likewise.
10183 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10185         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10187 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10189         * sysdeps/tile/libm-test-ulps: Regenerated.
10191         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10192         Comment out the whole function, not just its body.
10194 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10196         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10197         locks.
10199         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10201 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10203         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10204         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10206 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10208         * sysdeps/nptl/futex-internal.h: New file.
10209         * sysdeps/nacl/futex-internal.h: New file.
10210         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10211         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10212         error checking.
10213         (setxid_unmark_thread): Likewise.
10214         (__nptl_setxid): Likewise.
10215         (__wait_lookup_done): Likewise.
10216         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10217         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10218         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10219         * nptl/pthread_once.c (clear_once_control): Likewise.
10220         (__pthread_once_slow): Likewise.
10221         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10222         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10223         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10224         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10225         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10226         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10227         Likewise.
10228         (__pthread_rwlock_rdlock): Likewise.
10229         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10230         Likewise.
10231         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10232         Likewise.
10233         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10234         Likewise.
10235         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10236         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10237         Likewise.
10238         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10239         __ASSUME_PRIVATE_FUTEX check.
10240         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10241         Check that shared futexes are supported.
10242         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10243         wrappers with error checking.
10244         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10245         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10246         * nptl/pthread_barrierattr_setpshared.c
10247         (pthread_barrierattr_setpshared): Check that shared futexes are
10248         supported.
10249         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10250         Likewise.
10251         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10252         Likewise.
10253         * nptl/sem_init.c (futex_private_if_supported): Remove.
10254         (__new_sem_init): Adapt and check that shared futexes are supported.
10255         * nptl/sem_open.c (sem_open): Likewise.
10256         * nptl/sem_post.c (futex_wake): Remove.
10257         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10258         (do_futex_wait): Use futex wrappers with error checking.
10259         * nptl/sem_wait.c: Include lowlevellock.h.
10260         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10261         Use futex_supports_pshared.
10262         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10263         Use futex wrappers with error checking.
10264         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10265         Likewise.
10266         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10267         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10268         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10269         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10270         (futex_wake): Likewise.
10271         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10272         (do_futex_wait): Use futex wrappers with error checking.
10273         (__new_sem_wait_slow): Update EINTR handling.
10274         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10276 2015-07-09  Martin Sebor  <msebor@redhat.com>
10278         [BZ #18435]
10279         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10280         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10281         * nptl/Makefile (test-xfail-tst-once5): Define.
10283 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10285         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10286         * elf/dl-minimal.c: For readability, reorder some definitions and
10287         introduce more page breaks.  Include <stdio.h>.
10288         (__libc_fatal): New function.
10290         * include/unistd.h: Add rtld_hidden_proto for _exit.
10291         * posix/_exit.c: Add rtld_hidden_def.
10292         * sysdeps/mach/hurd/_exit.c: Likewise.
10293         * sysdeps/nacl/_exit.c: Likewise.
10294         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10295         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10297 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10300         bndmov encoding with zero displacement.
10302 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10303             H.J. Lu  <hongjiu.lu@intel.com>
10305         [BZ #18134]
10306         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10307         * sysdeps/i386/configure: Regenerated.
10308         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10309         (_dl_runtime_profile): Save and restore Intel MPX return bound
10310         registers when calling _dl_call_pltexit.  Add
10311         PRESERVE_BND_REGS_PREFIX before return.
10312         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10313         (LRV_BND1_OFFSET): Likewise.
10314         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10315         lrv_bnd1.
10316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10317         typo in bndmov encoding.
10318         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10319         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10320         branch instructions to preserve bounds.
10322 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10325         [GLIBC_2.22]: Add fmemopen.
10327 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10329         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10330         returns an error, also try to use host port from __mach_host_self for
10331         the __vm_wire call.
10332         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10334 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10336         [BZ #18400]
10337         [BZ #18648]
10338         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10339         Fix pr_uid and pr_gid members.
10340         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10341         definition to elf_greg_t.
10343 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10345         [BZ #18383]
10346         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10347         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10348         * sysdeps/arm/configure: Regenerated.
10349         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10350         (test-xfail-tst-tlsalign-static): Variable removed.
10352         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10353         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10354         rather than explicit 'ln -s'.
10356         * resolv/rpc/netdb.h: New file.
10357         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10359 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10361         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10362         length buffers.
10363         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10364         test-skeleton.c.
10366         [BZ #6544]
10367         [BZ #11216]
10368         [BZ #12836]
10369         [BZ #13151]
10370         [BZ #13152]
10371         [BZ #14292]
10372         * include/stdio.h (fmemopen): Remove hidden prototype.
10373         (__fmemopen): Add new hidden prototype.
10374         * libio/Makefile: Add oldfmemopen object.
10375         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10376         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10377         compliance.
10378         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10379         symbol compatibility.
10380         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10381         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10382         fmemopen.
10383         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10384         on append and read mode.
10385         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10386         fmemopen.
10387         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10388         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10389         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10390         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10391         Likewise.
10392         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10393         [GLIBC_2.22]: Likewise.
10394         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10395         Likewise.
10396         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10397         Likewise.
10398         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10399         [GLIBC_2.22]: Likewise.
10400         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10401         [GLIBC_2.22]: Likewise.
10402         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10403         [GLIBC_2.22]: Likewise.
10404         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10405         [GLIBC_2.22]: Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10407         [GLIBC_2.22]: Likewise.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10409         [GLIBC_2.22]: Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10411         [GLIBC_2.22]: Likewise.
10412         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10413         Likewise.
10414         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10415         Likewise.
10416         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10417         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10418         [GLIBC_2.22]: Likewise.
10419         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10420         [GLIBC_2.22]: Likewise.
10421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10422         [GLIBC_2.22]: Likewise.
10423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10424         [GLIBC_2.22]: Likewise.
10425         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10426         Likewise.
10427         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10428         Likewise.
10429         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10430         Likewise.
10431         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10432         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10434 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10436         [BZ #18643]
10437         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10438         IPV6_PATHMTU, and IPV6_DONTFRAG.
10440 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10442         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10443         and _IO_UNBUFFERED.
10444         * libio/oldfileops.c: Likewise.
10445         * libio/wfileops.c: Likewise.
10447 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10449         * nscd/selinux.c: Delete selinux/flask.h include.
10451 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10453         [BZ #18641]
10454         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10455         (putpwent): Likewise.
10456         (getpwnam): Likewise.
10457         (getpwent_r): Likewise.
10458         (getpwuid_r): Likewise.
10459         (getpwnam_r): Likewise.
10460         (fgetpwent_r): Likewise.
10462 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10464         [BZ #18557]
10465         * inet/rcmd.c (__validuser2_sa): Check user first to
10466         short-circuit host check.
10468 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10469             Mikhail Ilin  <m.ilin@samsung.com>
10471         [BZ #17833]
10472         * elf/Makefile (tests): Add tst-nodelete.
10473         (modules-names): Add tst-nodelete-uniquemod.
10474         (tst-nodelete-uniquemod.so-no-z-defs): New.
10475         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10476         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10477         ($(objpfx)tst-nodelete): Likewise.
10478         ($(objpfx)tst-nodelete.out): Likewise.
10479         (LDFLAGS-tst-nodelete): Likewise.
10480         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10481         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10482         implement forced object deletion.
10483         (_dl_close): Pass false to _dl_close_worker.
10484         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10485         * elf/tst-nodelete.cc: New file.
10486         * elf/tst-nodeletelib.cc: Likewise.
10487         * elf/tst-znodeletelib.cc: Likewise.
10488         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10490 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10492         [BZ #18508]
10493         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10494         Depend on $(libdl).
10495         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10496         is not called infinitely times.
10497         (backtrace_helper): New function.
10498         (trace_arg): New struct.
10499         (st1): Enlarge stack size.
10500         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10501         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10502         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10503         Likewise.
10505 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10507         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10509 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10511         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10512         Include sys/types.h instead of bits/types.h.
10513         Remove inclusion of bits/wordsize.h.
10515 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10517         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10518         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10519         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10520         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10521         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10522         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10524 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10526         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10527         link-defines.sym.
10528         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10529         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10530         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10531         and LR_SIZE.
10532         * sysdeps/i386/link-defines.sym: New file.
10534 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10536         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10537         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10538         ($(objpfx)tst-audit3): New rule.
10539         ($(objpfx)tst-audit3.out): Likewise.
10540         * sysdeps/i386/tst-audit3.c: New file.
10541         * sysdeps/i386/tst-audit3.h: Likewise.
10542         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10543         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10545 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10547         [BZ #18633]
10548         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10549         pointer in C code.
10550         (__strcat_c): Likewise.
10551         (__strcat_g): Likewise.
10553 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10555         [BZ #18592]
10556         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10558 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10560         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10561         New function.  (__ieee754_sqrtf): New function.
10562         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10563         New function.
10564         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10565         New function.
10567 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10569         * sysdeps/ieee754/support.c: Remove unused file.
10571 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10573         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10574         registers instead of d ones so the layout is kernel abi compatible.
10575         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10576         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10577         Likewise.
10579 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10581         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10583 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10585         [BZ #18619]
10586         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10587         and return argument in case of subnormal argument.
10589 2015-07-01  Martin Sebor  <msebor@redhat.com>
10591         [BZ #18435]
10592         * nptl/Makefile: Add tst-once5.cc.
10593         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10594         Remove macro redefinitions.
10595         * nptl/tst-once5.cc: New test.
10597 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10599         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10601         * sysdeps/arm/libm-test-ulps: Regenerated.
10603         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10606 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10608         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10609         lll_lock_wait_private and lll_futex_wake probes.
10611         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10613         Likewise.
10614         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10615         atomic_spin_nop.
10616         * sysdeps/x86_64/bits/atomic.h: Likewise.
10617         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10618         to atomic_spin_nop and move ...
10619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10620         ... here and ...
10621         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10622         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10623         atomic_spin_nop instead of BUSY_WAIT_NOP.
10624         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10625         Likewise.
10626         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10627         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10628         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10629         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10630         instead of atomic_delay.
10632 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10634         [BZ #18613]
10635         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10636         X_ADJ not X when adjusting exponent.
10637         (__ieee754_gamma_r): Do intermediate computations in
10638         round-to-nearest then adjust overflowing and underflowing results
10639         as needed.
10640         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10641         of X_ADJ not X when adjusting exponent.
10642         (__ieee754_gammaf_r): Do intermediate computations in
10643         round-to-nearest then adjust overflowing and underflowing results
10644         as needed.
10645         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10646         log of X_ADJ not X when adjusting exponent.
10647         (__ieee754_gammal_r): Do intermediate computations in
10648         round-to-nearest then adjust overflowing and underflowing results
10649         as needed.  Use 1.0L not 1.0f as numerator of division.
10650         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10651         log of X_ADJ not X when adjusting exponent.
10652         (__ieee754_gammal_r): Do intermediate computations in
10653         round-to-nearest then adjust overflowing and underflowing results
10654         as needed.  Use 1.0L not 1.0f as numerator of division.
10655         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10656         of X_ADJ not X when adjusting exponent.
10657         (__ieee754_gammal_r): Do intermediate computations in
10658         round-to-nearest then adjust overflowing and underflowing results
10659         as needed.  Use 1.0L not 1.0f as numerator of division.
10660         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10661         to auto-libm-test-in.
10662         (tgamma_test): Use ALL_RM_TEST.
10663         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10664         tests of tgamma with spurious-overflow.
10665         * math/auto-libm-test-out: Regenerated.
10666         * math/gen-libm-have-vector-test.sh: Do not check for START.
10667         * sysdeps/i386/fpu/libm-test-ulps: Update.
10668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670         [BZ #18612]
10671         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10672         arguments, just return 0.5 times the argument, with underflow
10673         forced as needed.
10674         * math/auto-libm-test-in: Add more tests of j1.
10675         * math/auto-libm-test-out: Regenerated.
10677         [BZ #16559]
10678         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10679         (__ieee754_j1): Force underflow exception for small results.
10680         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10681         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10682         (__ieee754_j1f): Force underflow exception for small results.
10683         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10684         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10686         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10687         (__ieee754_j1l): Force underflow exception for small results.
10688         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10689         * math/auto-libm-test-in: Add more tests of j1 and jn.
10690         * math/auto-libm-test-out: Regenerated.
10692         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10693         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10694         (PF_MPLS): Likewise.
10695         (AF_IB): Likewise.
10696         (AF_MPLS): Likewise.
10697         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10698         value and macro.
10699         (MS_RMT_MASK): Include MS_LAZYTIME.
10701 2015-06-26  Mel Gorman  <mgorman@suse.de>
10703         [BZ #18502]
10704         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10705         already minimal.
10707 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10709         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10710         (DT_MIPS_NUM): Update.
10711         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10712         DT_MIPS_RLD_MAP_REL.
10714 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #16559]
10717         [BZ #18602]
10718         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10719         round-to-nearest internally then recompute results that
10720         underflowed to zero in the original rounding mode.
10721         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10722         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10723         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10724         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10725         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10726         * sysdeps/i386/fpu/libm-test-ulps: Update.
10727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10729 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10731         * NEWS: Fixed description of link with vector math library.
10733 2015-06-25  Andreas Schwab  <schwab@suse.de>
10735         [BZ #18549]
10736         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10737         * libio/test-fmemopen.c (do_test): Add test for it.
10739 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10741         [BZ #17841]
10742         * Makeconfig (no-pie-ldflag): New.
10743         (+link): Set to $(+link-pie) if default to PIE.
10744         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10745         * config.make.in (build-pie-default): New.
10746         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10747         is default.  AC_SUBST.
10748         * configure: Regenerated.
10749         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10751 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10753         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10754         to 'unsigned int'.
10756         * resolv/gai_misc.h (struct waitlist): Change type of field
10757         counterp to 'volatile unsigned int *'.
10758         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10759         FUTEXADDR and OLDVAL.
10760         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10761         Give local variable TOTAL type 'volatile unsigned int'.
10762         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10763         * resolv/gai_suspend.c (gai_suspend):
10764         Give local variable CNTR type 'unsigned int'.
10766         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10767         counterp to 'volatile unsigned int *'.
10768         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10769         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10770         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10771         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10772         Give local variable TOTAL type 'volatile unsigned int'.
10773         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10775 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10777         [BZ #18383]
10778         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10779         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10780         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10781         comment for i386/x86-64.
10782         (test-xfail-tst-tlsalign-extern-static): Removed.
10784 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10786         * math/test-double.h: New file.
10787         * math/test-float.h: Likewise.
10788         * math/test-ldouble.h: Likewise.
10789         * math/test-math-inline.h: Likewise.
10790         * math/test-math-no-inline.h: Likewise.
10791         * math/test-math-scalar.h: Likewise.
10792         * math/test-math-vector.h: Likewise.
10793         * math/test-vec-loop.h: Remove file.  Contents moved into
10794         test-math-vector.h.
10795         * math/libm-test.inc (MATHCONST): Do not document macro.
10796         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10797         and test-math-scalar.h.
10798         (FUNC): Remove macro.
10799         (FUNC_TEST): Likewise.
10800         (FLOAT): Likewise.
10801         (MATHCONST): Likewise.
10802         (PRINTF_EXPR): Likewise.
10803         (PRINTF_XEXPR): Likewise.
10804         (PRINTF_NEXPR): Likewise.
10805         (TEST_DOUBLE): Likewise.
10806         (TEST_MATHVEC): Likewise.
10807         (__NO_MATH_INLINES): Likewise.
10808         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10809         and test-math-scalar.h.
10810         (FUNC): Remove macro.
10811         (FUNC_TEST): Likewise.
10812         (FLOAT): Likewise.
10813         (MATHCONST): Likewise.
10814         (PRINTF_EXPR): Likewise.
10815         (PRINTF_XEXPR): Likewise.
10816         (PRINTF_NEXPR): Likewise.
10817         (TEST_FLOAT): Likewise.
10818         (TEST_MATHVEC): Likewise.
10819         (__NO_MATH_INLINES): Likewise.
10820         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10821         and test-math-scalar.h.
10822         (FUNC): Remove macro.
10823         (FUNC_TEST): Likewise.
10824         (FLOAT): Likewise.
10825         (MATHCONST): Likewise.
10826         (PRINTF_EXPR): Likewise.
10827         (PRINTF_XEXPR): Likewise.
10828         (PRINTF_NEXPR): Likewise.
10829         (TEST_DOUBLE): Likewise.
10830         (TEST_MATHVEC): Likewise.
10831         (TEST_INLINE): Likewise.
10832         (__NO_MATH_INLINES): Likewise.
10833         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10834         test-math-scalar.h.
10835         (FUNC): Remove macro.
10836         (FUNC_TEST): Likewise.
10837         (FLOAT): Likewise.
10838         (MATHCONST): Likewise.
10839         (PRINTF_EXPR): Likewise.
10840         (PRINTF_XEXPR): Likewise.
10841         (PRINTF_NEXPR): Likewise.
10842         (TEST_FLOAT): Likewise.
10843         (TEST_MATHVEC): Likewise.
10844         (TEST_INLINE): Likewise.
10845         (__NO_MATH_INLINES): Likewise.
10846         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10847         and test-math-scalar.h.
10848         (FUNC): Remove macro.
10849         (FUNC_TEST): Likewise.
10850         (FLOAT): Likewise.
10851         (MATHCONST): Likewise.
10852         (PRINTF_EXPR): Likewise.
10853         (PRINTF_XEXPR): Likewise.
10854         (PRINTF_NEXPR): Likewise.
10855         (TEST_LDOUBLE): Likewise.
10856         (TEST_MATHVEC): Likewise.
10857         (TEST_INLINE): Likewise.
10858         (__NO_MATH_INLINES): Likewise.
10859         * math/test-ldouble.c: Include test-ldouble.h,
10860         test-math-no-inline.h and test-math-scalar.h.
10861         (FUNC): Remove macro.
10862         (FUNC_TEST): Likewise.
10863         (FLOAT): Likewise.
10864         (MATHCONST): Likewise.
10865         (PRINTF_EXPR): Likewise.
10866         (PRINTF_XEXPR): Likewise.
10867         (PRINTF_NEXPR): Likewise.
10868         (TEST_LDOUBLE): Likewise.
10869         (TEST_MATHVEC): Likewise.
10870         (__NO_MATH_INLINES): Likewise.
10871         * math/test-double-vlen2.h: Include test-double.h,
10872         test-math-no-inline.h and test-math-vector.h.
10873         (FLOAT): Remove macro.
10874         (FUNC): Likewise.
10875         (MATHCONST): Likewise.
10876         (PRINTF_EXPR): Likewise.
10877         (PRINTF_XEXPR): Likewise.
10878         (PRINTF_NEXPR): Likewise.
10879         (TEST_DOUBLE): Likewise.
10880         (TEST_MATHVEC): Likewise.
10881         (__NO_MATH_INLINES): Likewise.
10882         (CNCT): Likewise.
10883         (CONCAT): Likewise.
10884         (WRAPPER_NAME): Likewise.
10885         (WRAPPER_DECL): Likewise.
10886         (WRAPPER_DECL_ff): Likewise.
10887         (WRAPPER_DECL_fFF): Likewise.
10888         (VECTOR_WRAPPER): Likewise.
10889         (VECTOR_WRAPPER_ff): Likewise.
10890         (VECTOR_WRAPPER_fFF): Likewise.
10891         (VEC_LEN): New macro.
10892         * math/test-double-vlen4.h: Include test-double.h,
10893         test-math-no-inline.h and test-math-vector.h.
10894         (FLOAT): Remove macro.
10895         (FUNC): Likewise.
10896         (MATHCONST): Likewise.
10897         (PRINTF_EXPR): Likewise.
10898         (PRINTF_XEXPR): Likewise.
10899         (PRINTF_NEXPR): Likewise.
10900         (TEST_DOUBLE): Likewise.
10901         (TEST_MATHVEC): Likewise.
10902         (__NO_MATH_INLINES): Likewise.
10903         (CNCT): Likewise.
10904         (CONCAT): Likewise.
10905         (WRAPPER_NAME): Likewise.
10906         (WRAPPER_DECL): Likewise.
10907         (WRAPPER_DECL_ff): Likewise.
10908         (WRAPPER_DECL_fFF): Likewise.
10909         (VECTOR_WRAPPER): Likewise.
10910         (VECTOR_WRAPPER_ff): Likewise.
10911         (VECTOR_WRAPPER_fFF): Likewise.
10912         (VEC_LEN): New macro.
10913         * math/test-double-vlen8.h: Include test-double.h,
10914         test-math-no-inline.h and test-math-vector.h.
10915         (FLOAT): Remove macro.
10916         (FUNC): Likewise.
10917         (MATHCONST): Likewise.
10918         (PRINTF_EXPR): Likewise.
10919         (PRINTF_XEXPR): Likewise.
10920         (PRINTF_NEXPR): Likewise.
10921         (TEST_DOUBLE): Likewise.
10922         (TEST_MATHVEC): Likewise.
10923         (__NO_MATH_INLINES): Likewise.
10924         (CNCT): Likewise.
10925         (CONCAT): Likewise.
10926         (WRAPPER_NAME): Likewise.
10927         (WRAPPER_DECL): Likewise.
10928         (WRAPPER_DECL_ff): Likewise.
10929         (WRAPPER_DECL_fFF): Likewise.
10930         (VECTOR_WRAPPER): Likewise.
10931         (VECTOR_WRAPPER_ff): Likewise.
10932         (VECTOR_WRAPPER_fFF): Likewise.
10933         (VEC_LEN): New macro.
10934         * math/test-float-vlen4.h: Include test-float.h,
10935         test-math-no-inline.h and test-math-vector.h.
10936         (FLOAT): Remove macro.
10937         (FUNC): Likewise.
10938         (MATHCONST): Likewise.
10939         (PRINTF_EXPR): Likewise.
10940         (PRINTF_XEXPR): Likewise.
10941         (PRINTF_NEXPR): Likewise.
10942         (TEST_FLOAT): Likewise.
10943         (TEST_MATHVEC): Likewise.
10944         (__NO_MATH_INLINES): Likewise.
10945         (CNCT): Likewise.
10946         (CONCAT): Likewise.
10947         (WRAPPER_NAME): Likewise.
10948         (WRAPPER_DECL): Likewise.
10949         (WRAPPER_DECL_ff): Likewise.
10950         (WRAPPER_DECL_fFF): Likewise.
10951         (VECTOR_WRAPPER): Likewise.
10952         (VECTOR_WRAPPER_ff): Likewise.
10953         (VECTOR_WRAPPER_fFF): Likewise.
10954         (VEC_LEN): New macro.
10955         * math/test-float-vlen8.h: Include test-float.h,
10956         test-math-no-inline.h and test-math-vector.h.
10957         (FLOAT): Remove macro.
10958         (FUNC): Likewise.
10959         (MATHCONST): Likewise.
10960         (PRINTF_EXPR): Likewise.
10961         (PRINTF_XEXPR): Likewise.
10962         (PRINTF_NEXPR): Likewise.
10963         (TEST_FLOAT): Likewise.
10964         (TEST_MATHVEC): Likewise.
10965         (__NO_MATH_INLINES): Likewise.
10966         (CNCT): Likewise.
10967         (CONCAT): Likewise.
10968         (WRAPPER_NAME): Likewise.
10969         (WRAPPER_DECL): Likewise.
10970         (WRAPPER_DECL_ff): Likewise.
10971         (WRAPPER_DECL_fFF): Likewise.
10972         (VECTOR_WRAPPER): Likewise.
10973         (VECTOR_WRAPPER_ff): Likewise.
10974         (VECTOR_WRAPPER_fFF): Likewise.
10975         (VEC_LEN): New macro.
10976         * math/test-float-vlen16.h: Include test-float.h,
10977         test-math-no-inline.h and test-math-vector.h.
10978         (FLOAT): Remove macro.
10979         (FUNC): Likewise.
10980         (MATHCONST): Likewise.
10981         (PRINTF_EXPR): Likewise.
10982         (PRINTF_XEXPR): Likewise.
10983         (PRINTF_NEXPR): Likewise.
10984         (TEST_FLOAT): Likewise.
10985         (TEST_MATHVEC): Likewise.
10986         (__NO_MATH_INLINES): Likewise.
10987         (CNCT): Likewise.
10988         (CONCAT): Likewise.
10989         (WRAPPER_NAME): Likewise.
10990         (WRAPPER_DECL): Likewise.
10991         (WRAPPER_DECL_ff): Likewise.
10992         (WRAPPER_DECL_fFF): Likewise.
10993         (VECTOR_WRAPPER): Likewise.
10994         (VECTOR_WRAPPER_ff): Likewise.
10995         (VECTOR_WRAPPER_fFF): Likewise.
10996         (VEC_LEN): New macro.
10997         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10998         test-vec-loop.h.
10999         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11000         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11001         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11002         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11003         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11005         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11007 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11009         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11010         (__getlogin_r): ... this.
11012 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11014         [BZ #18594]
11015         * math/s_ccosh.c (__ccosh): Compare with least normal value
11016         instead of comparing class with FP_SUBNORMAL.
11017         * math/s_ccoshf.c (__ccoshf): Likewise.
11018         * math/s_ccoshl.c (__ccoshl): Likewise.
11019         * math/s_cexp.c (__cexp): Likewise.
11020         * math/s_cexpf.c (__cexpf): Likewise.
11021         * math/s_cexpl.c (__cexpl): Likewise.
11022         * math/s_csin.c (__csin): Likewise.
11023         * math/s_csinf.c (__csinf): Likewise.
11024         * math/s_csinh.c (__csinh): Likewise.
11025         * math/s_csinhf.c (__csinhf): Likewise.
11026         * math/s_csinhl.c (__csinhl): Likewise.
11027         * math/s_csinl.c (__csinl): Likewise.
11028         * math/s_ctan.c (__ctan): Likewise.
11029         * math/s_ctanf.c (__ctanf): Likewise.
11030         * math/s_ctanh.c (__ctanh): Likewise.
11031         * math/s_ctanhf.c (__ctanhf): Likewise.
11032         * math/s_ctanhl.c (__ctanhl): Likewise.
11033         * math/s_ctanl.c (__ctanl): Likewise.
11034         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11035         csin, csinh, ctan and ctanh.
11036         * math/auto-libm-test-out: Regenerated.
11037         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11038         * sysdeps/i386/fpu/libm-test-ulps: Update.
11039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11041 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11043         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11044         return value is wrong, print the expected value too.
11046 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11048         [BZ #18585]
11049         * elf/readlib.c (is_gdb_python_file): New.
11050         (process_file): Don't issue errors on filenames with -gdb.py
11051         suffix.
11053 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11055         * math/auto-libm-test-in: Add more tests of csin and csinh.
11056         * math/auto-libm-test-out: Regenerated.
11057         * math/libm-test.inc (csin_test_data): Remove tests moved to
11058         auto-libm-test-in.
11059         (csinh_test_data): Likewise.
11061         [BZ #18593]
11062         * math/s_csin.c (__csin): Negate before rather than after possibly
11063         overflowing multiplication.
11064         * math/s_csinf.c (__csinf): Likewise.
11065         * math/s_csinh.c (__csinh): Likewise.
11066         * math/s_csinhf.c (__csinhf): Likewise.
11067         * math/s_csinhl.c (__csinhl): Likewise.
11068         * math/s_csinl.c (__csinl): Likewise.
11069         * math/auto-libm-test-in: Add some tests of csin and csinh.
11070         * math/auto-libm-test-out: Regenerated.
11071         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11072         (csinh_test_data): Likewise.
11073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11075         [BZ #18586]
11076         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11077         underflow exception for small results.
11079 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11081         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11082         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11083         variable and included header.
11084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11086         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11092         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11093         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11094         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11095         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11096         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11097         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11098         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11099         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11101 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11103         [BZ #16526]
11104         [BZ #16538]
11105         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11106         (__sin): Force underflow exception for arguments with small
11107         absolute value.
11108         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11109         (__kernel_sinf): Force underflow exception for arguments with
11110         small absolute value.
11111         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11112         (__kernel_sincosl): Force underflow exception for arguments with
11113         small absolute value.
11114         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11115         (__kernel_sinl): Force underflow exception for arguments with
11116         small absolute value.
11117         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11118         (__kernel_sincosl): Force underflow exception for arguments with
11119         small absolute value.
11120         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11121         (__kernel_sinl): Force underflow exception for arguments with
11122         small absolute value.
11123         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11124         (__kernel_sinl): Force underflow exception for arguments with
11125         small absolute value.
11126         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11127         (__kernel_sinf): Force underflow exception for arguments with
11128         small absolute value.
11129         * math/auto-libm-test-in: Add more tests of sin and sincos.
11130         * math/auto-libm-test-out: Regenerated.
11132         [BZ #18245]
11133         [BZ #18583]
11134         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11135         (__kernel_standard_l): Use feholdexcept and fesetenv around
11136         conversion to double instead of special-casing overflow and
11137         underflow.
11138         * math/libm-test.inc (fmod_test_data): Add more tests.
11139         (remainder_test_data): Likewise.
11140         (sqrt_test_data): Likewise.
11142 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11144         [BZ #17403]
11145         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11146         atomic_read_barrier, atomic_write_barrier): Define.
11147         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11148         atomic_read_barrier, atomic_write_barrier): Define.
11150 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11152         * math/Makefile [$(PERL) != no]
11153         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11154         dependency on libm-test.stmp below the inclusion of Rules.
11156 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11158         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11159         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11160         and included header.
11161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11165         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11166         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11169         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11170         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11171         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11172         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11173         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11174         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11175         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11176         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11177         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11178         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11179         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11181 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11183         [BZ #18371]
11184         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11185         intermediate but not final result might underflow.
11186         * math/s_csqrtf.c (__csqrtf): Likewise.
11187         * math/s_csqrtl.c (__csqrtl): Likewise.
11188         * math/auto-libm-test-in: Add more tests of csqrt.
11189         * math/auto-libm-test-out: Regenerated.
11190         * sysdeps/i386/fpu/libm-test-ulps: Update.
11192         [BZ #18219]
11193         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11194         threshold on absolute value of exponent for which scaling is used.
11195         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11196         * math/auto-libm-test-in: Add more tests of exp2.
11197         * math/auto-libm-test-out: Regenerated.
11199 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11201         [BZ #17977]
11202         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11203         when initializing interface list, based on the bug analysis
11204         and the patch proposed by Eric Newton.
11205         * resolv/tst-res_hconf_reorder.c: New test.
11206         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11207         tst-res_hconf_reorder.
11208         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11209         and $(shared-thread-library).
11210         (tst-res_hconf_reorder-ENV): New variable.
11212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11213         in comment.
11215 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11217         [BZ #16353]
11218         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11219         (__expm1): Force underflow exception for arguments with small
11220         absolute value.
11221         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11222         (__expm1f): Force underflow exception for arguments with small
11223         absolute value.
11224         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11225         (__expm1): Force underflow exception for arguments with small
11226         absolute value.
11227         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11228         (__expm1f): Force underflow exception for arguments with small
11229         absolute value.
11230         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11231         Check for small arguments before calling __expm1.
11232         * math/auto-libm-test-in: Do not mark underflow exceptions as
11233         possibly missing for bug 16353.
11234         * math/auto-libm-test-out: Regenerated.
11236 2015-06-22  Andreas Schwab  <schwab@suse.de>
11238         [BZ #18513]
11239         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11240         PTR queries.
11242 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11244         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11246         * string/strcoll_l.c: Remove unused struct element idxnow.
11248 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11250         [BZ #18569]
11251         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11252         underflow and return argument in case of subnormal argument.
11253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11254         Likewise.
11255         * math/auto-libm-test-in: Add more tests of expm1.
11256         * math/auto-libm-test-out: Regenerated.
11258         [BZ #16361]
11259         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11260         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11261         tiny results.
11262         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11263         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11264         tiny results.
11265         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11266         mark underflow exceptions as possibly missing for bug 16361.
11267         * math/auto-libm-test-out: Regenerated.
11269 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11271         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11272         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11273         Remove variable.
11274         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11275         (test-xfail-XOPEN2K8/utmpx.h/conform).
11277         * conform/conformtest.pl ($xerrors): New variable.
11278         (note_error): New function.
11279         (compiletest): New argument $xfail.  Use not_error.
11280         (runtest): Likewise.
11281         (top level): Handle xfail- lines.  Update calls to compiletest and
11282         runtest.  Handle xfail- and optional- in headers listed with
11283         allow-header.
11284         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11285         (O_EXEC): Likewise.
11286         (O_SEARCH): Likewise.
11287         * conform/data/stropts.h-data (ioctl): Likewise.
11288         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11289         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11290         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11291         (msghdr.msg_controllen): Likewise.
11292         (cmsghdr.cmsg_len): Likewise.
11293         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11294         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11295         variable.
11296         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11297         (test-xfail-XPG4/stropts.h/conform): Likewise.
11298         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11299         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11300         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11301         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11302         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11303         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11304         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11305         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11306         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11307         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11308         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11309         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11310         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11311         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11312         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11313         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11314         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11315         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11316         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11318 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11320         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11321         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11322         definitions for proper unfolding of __MATHDECL_VEC.
11324 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11326         * benchtests/bench-strcoll.c:
11327         Include string.h.
11328         (main): Remove unused variable res.
11330 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11332         * timezone/Makefile (%/UTC %/Universal):
11333         Generate test-result files for UTC and Universal.
11335 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11337         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11339 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11341         [BZ #16350]
11342         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11343         for arguments with small absolute value.
11344         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11345         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11346         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11347         (__asinh): Force underflow exception for arguments with small
11348         absolute value.
11349         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11350         (__asinhf): Force underflow exception for arguments with small
11351         absolute value.
11352         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11353         (__asinhl): Force underflow exception for arguments with small
11354         absolute value.
11355         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11356         (__asinhl): Force underflow exception for arguments with small
11357         absolute value.
11358         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11359         (__asinhl): Force underflow exception for arguments with small
11360         absolute value.
11361         * math/auto-libm-test-in: Do not mark underflow exceptions as
11362         possibly missing for bug 16350.
11363         * math/auto-libm-test-out: Regenerated.
11365         * include/bits/ipc.h: Remove file.
11366         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11367         variable.
11368         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11369         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11370         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11371         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11372         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11373         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11374         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11375         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11376         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11378         * math/auto-libm-test-in: Remove spurious underflow allowance for
11379         tests of cexp.
11380         * math/auto-libm-test-out: Regenerated.
11382         [BZ #18558]
11383         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11384         unconditional definition.
11385         (MCAST_BLOCK_SOURCE): Likewise.
11386         (MCAST_UNBLOCK_SOURCE): Likewise.
11387         (MCAST_LEAVE_GROUP): Likewise.
11388         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11389         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11390         (MCAST_MSFILTER): Likewise.
11391         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11392         Remove variable.
11393         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11394         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11395         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11396         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11397         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11399 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11401         * NEWS: Mention addition of x86_64 vector sincosf.
11402         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11403         * math/test-float-vlen4.h: Likewise.
11404         * math/test-float-vlen8.h: Likewise.
11405         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11406         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11407         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11408         * sysdeps/x86_64/fpu/Versions: New versions added.
11409         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11410         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11411         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11418         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11419         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11420         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11421         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11422         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11423         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11424         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11425         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11426         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11427         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11428         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11431         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11432         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11434         * NEWS: Mention addition of x86_64 vector sincos.
11435         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11436         * math/math.h (__MATHDECL_VEC): New macro.
11437         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11438         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11439         declaration under condition.
11440         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11441         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11442         TEST_VEC_LOOP change.
11443         * math/test-double-vlen4.h: Likewise.
11444         * math/test-double-vlen8.h: Likewise.
11445         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11446         * math/test-float-vlen4.h: Likewise.
11447         * math/test-float-vlen8.h: Likewise.
11448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11449         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11451         * sysdeps/x86_64/fpu/Versions: New versions added.
11452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11454         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11456         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11457         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11458         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11460         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11461         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11462         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11463         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11464         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11465         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11466         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11467         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11468         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11469         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11472         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11473         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11474         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11475         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11478         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11479         redirections for powf.
11480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11481         * sysdeps/x86_64/fpu/Versions: New versions added.
11482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11483         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11484         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11485         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11488         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11489         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11490         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11491         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11492         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11493         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11494         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11495         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11496         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11497         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11498         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11499         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11500         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11501         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11503         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11504         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11505         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11506         * math/test-float-vlen16.h: Fixed 2 argument macro.
11507         * math/test-float-vlen4.h: Likewise.
11508         * math/test-float-vlen8.h: Likewise.
11509         * NEWS: Mention addition of x86_64 vector powf.
11511 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11513         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11514         and redefine.
11515         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11516         and redefine.
11517         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11518         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11521         [BZ #18553]
11522         * resource/getpriority.c (getpriority): Rename to __getpriority
11523         and define as weak alias of __getpriority.
11524         * resource/setpriority.c (setpriority): Rename to __setpriority
11525         and define as weak alias of __setpriority.
11526         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11527         __getpriority and define as weak alias of __getpriority.
11528         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11529         __setpriority and define as weak alias of __setpriority.
11530         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11531         strong name.
11532         (setpriority): Use __setpriority as strong name.
11533         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11534         __getpriority and define as weak alias of __getpriority.
11535         * include/sys/resource.h (__getpriority): Declare.  Use
11536         libc_hidden_proto.
11537         (__setpriority): Likewise.
11538         (getpriority): Don't use libc_hidden_proto.
11539         (setpriority): Likewise.
11540         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11541         getpriority.  Call __setpriority instead of setpriority.
11542         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11543         Remove variable.
11545         [BZ #18547]
11546         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11547         as weak alias of __getttynam.  Use prototype function definition.
11548         Call __setttyent, __getttyent and __endttyent instead of
11549         setttyent, getttyent and endttyent.
11550         (getttyent): Rename to __getttyent and define as weak alias of
11551         __getttyent.  Call __setttyent instead of setttyent.  Call
11552         __fgets_unlocked instead of fgets_unlocked.
11553         (setttyent): Rename to __setttyent and define as weak alias of
11554         __setttyent.
11555         (endttyent): Rename to __endttyent and define as weak alias of
11556         __endttyent.
11557         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11558         (__setttyent): Likewise.
11559         (__endttyent): Likewise.
11560         (getttyent): Don't use libc_hidden_proto.
11561         (setttyent): Likewise.
11562         (endttyent): Likewise.
11563         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11564         __endttyent instead of setttyent, getttyent and endttyent.
11565         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11566         Remove variable.
11568         [BZ #18546]
11569         * socket/recv.c (__recv): Use libc_hidden_def.
11570         * socket/socket.c (__socket): Likewise.
11571         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11572         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11573         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11574         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11575         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11576         libc_hidden_def.
11577         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11578         libc_hidden_weak.
11579         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11580         Use libc_hidden_proto.
11581         (__recv): Likewise.
11582         * socket/Versions (libc): Export __recv and __socket at version
11583         GLIBC_PRIVATE.
11584         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11585         instead of recv.
11586         (init_mq_netlink): Call __socket instead of socket.
11587         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11588         Remove variable.
11590         [BZ #18545]
11591         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11592         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11593         hidden_weak.
11594         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11595         define as alias of __mq_timedsend.  Use hidden_weak.
11596         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11597         __mq_timedsend as strong name.
11598         (mq_timedreceive): Use __mq_timedreceive as strong name.
11599         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11600         (__mq_timedreceive): Likewise.
11601         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11602         __mq_timedreceive instead of mq_timedreceive.
11603         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11604         instead of mq_timedsend.
11605         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11606         Remove variable.
11608         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11609         hidden_def and hidden_weak instead of libc_hidden_def and
11610         libc_hidden_weak.
11611         (top level): Refer to hidden_def in comment.
11612         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11613         macro.  Use it instead of libc_hidden_def.
11614         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11615         specify __GI_* name explicitly.
11616         (mq_timedreceive): Likewise.
11617         (mq_setattr): Likewise.
11619         [BZ #18544]
11620         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11621         __pthread_barrier_init and define as weak alias of
11622         __pthread_barrier_init.
11623         * sysdeps/sparc/nptl/pthread_barrier_init.c
11624         (pthread_barrier_init): Likewise.
11625         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11626         __pthread_barrier_wait and define as weak alias of
11627         __pthread_barrier_wait.
11628         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11629         (pthread_barrier_wait): Likewise.
11630         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11631         (pthread_barrier_wait): Likewise.
11632         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11633         (pthread_barrier_wait): Likewise.
11634         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11635         (pthread_barrier_wait): Likewise.
11636         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11637         __pthread_barrier_wait at version GLIBC_PRIVATE.
11638         * include/pthread.h (__pthread_barrier_init): Declare.
11639         (__pthread_barrier_wait): Likewise.
11640         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11641         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11642         (helper_thread): Likewise.
11643         (init_mq_netlink): Call __pthread_barrier_init instead of
11644         pthread_barrier_init.
11646         [BZ #18542]
11647         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11648         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11649         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11650         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11651         vswscanf.
11652         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11653         Remove variable.
11655         [BZ #18540]
11656         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11657         strong alias of _IO_fflush.  Use libc_hidden_def.
11658         * libio/iofflush_u.c (fflush_unlocked): Rename to
11659         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11660         Use libc_hidden_weak.
11661         * include/stdio.h (__fflush_unlocked): Declare.  Use
11662         libc_hidden_proto.
11663         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11664         fflush_unlocked.
11665         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11666         Remove variable.
11668         [BZ #18539]
11669         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11670         define as weak alias of __addseverity.
11671         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11672         Remove variable.
11673         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11674         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11675         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11677         [BZ #18536]
11678         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11679         (__tfind): Likewise.
11680         (__tdelete): Likewise.
11681         (__twalk): Likewise.
11682         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11683         __twalk to GLIBC_PRIVATE.
11684         * include/search.h (__tsearch): Use libc_hidden_proto.
11685         (__tfind): Likewise.
11686         (__tdelete): Likewise.
11687         (__twalk): Likewise.
11688         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11689         Call __tdelete instead of tdelete.
11690         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11691         tfind.  Call __tsearch instead of tsearch.
11692         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11693         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11694         Remove variable.
11695         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11697         [BZ #18534]
11698         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11699         (dprintf): Define as a weak alias of __dprintf, not a strong
11700         alias.
11701         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11702         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11703         dprintf.
11704         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11705         Remove variable.
11706         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11709         [BZ #18533]
11710         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11711         not a strong alias.
11712         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11713         Remove variable.
11715         [BZ #18532]
11716         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11717         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11718         (in6addr_loopback): Rename to __in6addr_loopback and define as
11719         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11720         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11721         libc_hidden_proto.
11722         (__in6addr_any): Likewise.
11723         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11724         in6addr_any.
11725         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11726         variable.
11727         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11729 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11731         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11732         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11735         redirections for pow.
11736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11737         * sysdeps/x86_64/fpu/Versions: New versions added.
11738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11740         build of SSE, AVX2 and AVX512 IFUNC versions.
11741         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11743         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11744         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11748         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11749         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11750         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11751         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11752         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11753         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11754         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11755         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11759         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11761         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11762         * NEWS: Mention addition of x86_64 vector pow.
11764         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11765         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11766         redirections for expf.
11767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11768         * sysdeps/x86_64/fpu/Versions: New versions added.
11769         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11770         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11771         build of SSE, AVX2 and AVX512 IFUNC versions.
11772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11777         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11778         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11779         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11780         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11781         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11782         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11783         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11785         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11787         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11792         * NEWS: Mention addition of x86_64 vector expf.
11794         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11795         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11796         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11797         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11798         redirections for exp.
11799         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11800         * sysdeps/x86_64/fpu/Versions: New versions added.
11801         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11802         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11803         build of SSE, AVX2 and AVX512 IFUNC versions.
11804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11809         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11810         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11811         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11812         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11813         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11814         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11815         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11816         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11817         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11821         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11823         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11824         * NEWS: Mention addition of x86_64 vector exp.
11826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11827         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11828         redirections for logf.
11829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11830         * sysdeps/x86_64/fpu/Versions: New versions added.
11831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11833         build of SSE, AVX2 and AVX512 IFUNC versions.
11834         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11836         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11840         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11841         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11842         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11843         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11844         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11845         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11846         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11847         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11848         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11849         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11851         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11852         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11853         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11854         * NEWS: Mention addition of x86_64 vector logf.
11856         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11857         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11858         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11859         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11860         redirections for log.
11861         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11862         * sysdeps/x86_64/fpu/Versions: New versions added.
11863         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11864         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11865         build of SSE, AVX2 and AVX512 IFUNC versions.
11866         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11867         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11868         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11869         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11871         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11872         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11873         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11874         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11875         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11876         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11877         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11878         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11879         test.
11880         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11883         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11884         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11885         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11886         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11887         * NEWS: Mention addition of x86_64 vector log.
11889 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11891         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11892         cfi_adjust_cfa_offset argument.
11893         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11894         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11896         [BZ #18034]
11897         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11898         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11899         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11900         ordering using ldar.
11901         (_dl_tlsdesc_dynamic): Likewise.
11902         (_dl_tlsdesc_return_lazy): Likewise.
11903         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11904         relaxed atomics instead of volatile and synchronize with release store.
11905         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11906         volatile.
11907         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11909 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11914         * sysdeps/x86_64/fpu/Versions: New versions added.
11915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11916         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11917         build of SSE, AVX2 and AVX512 IFUNC versions.
11918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11922         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11924         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11925         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11926         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11927         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11928         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11929         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11930         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11931         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11932         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11933         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11936         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11937         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11938         * NEWS: Mention addition of x86_64 vector sinf.
11940 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11942         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11943         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11944         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11945         Remove variable.
11946         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11947         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11949 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11951         [BZ #18530]
11952         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11953         strong alias of _IO_fputs.  Use libc_hidden_def.
11954         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11955         and define as weak alias of __fputs_unlocked.  Use
11956         libc_hidden_weak.
11957         * include/stdio.h (__fputs_unlocked): Declare.  Use
11958         libc_hidden_proto.
11959         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11960         fputs_unlocked.
11962         [BZ #18529]
11963         * resolv/netdb.h [__USE_POSIX]: Change condition to
11964         [__USE_XOPEN2K].
11965         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11966         not expect.
11967         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11968         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11969         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11970         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11971         [XPG4 || UNIX98] (AI_ALL): Likewise.
11972         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11973         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11974         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11975         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11976         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11977         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11978         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11979         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11980         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11981         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11982         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11983         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11984         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11985         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11986         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11987         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11988         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11989         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11990         [XPG4 || UNIX98] (gai_strerror): Likewise.
11991         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11992         [XPG4 || UNIX98] (getnameinfo): Likewise.
11994         [BZ #18528]
11995         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11996         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11997         __USE_XOPEN2K8].
11998         (getgrent): Likewise.
11999         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12000         expect.
12001         [XPG3 || POSIX2008] (endgrent): Likewise.
12002         [XPG3] (setgrent): Likewise.
12003         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12004         variable.
12005         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12007         [BZ #18527]
12008         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12009         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12010         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12011         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12012         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12013         * include/unistd.h (__getlogin_r): Declare.  Use
12014         libc_hidden_proto.
12015         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12016         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12017         variable.
12018         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12019         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12020         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12022 2015-06-12  Martin Sebor  <msebor@redhat.com>
12024         [BZ #18512]
12025         * Makerules (check-install-supported): New target.
12026         (install): Add check-install-supported as a dependency.
12027         * manual/install.texi (Installing the C Library): Document
12028         that overriding prefix and exec_prefix is not supported.
12029         Mention DESTDIR.
12030         * INSTALL: Regenerate from the above.
12032 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12034         [BZ #18519]
12035         * posix/Versions (libc): Export __libc_pread at version
12036         GLIBC_PRIVATE.
12037         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12038         instead of pread.
12039         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12040         variable.
12042         [BZ #18522]
12043         * misc/efgcvt_r.c
12044         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12045         (cvt_symbol): Use weak_alias instead of strong_alias.
12046         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12047         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12048         Remove variable.
12049         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12050         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12052         [BZ #18520]
12053         * inet/herrno.c (h_errno): Rename to __h_errno.
12054         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12055         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12056         to __h_errno instead of h_errno.
12057         * nptl/herrno.c (h_errno): Rename to __h_errno.
12058         (__h_errno_location): Refer to __h_errno not h_errno.
12059         * resolv/Versions (h_errno): Rename to __h_errno.
12060         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12061         Remove variable.
12062         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12064 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12066         * configure.ac: More strict check for AVX512 assembler support.
12067         * configure: Regenerated.
12069         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12070         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12072         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12074         * sysdeps/x86_64/fpu/Versions: New versions added.
12075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12077         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12078         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12084         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12085         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12086         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12087         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12088         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12089         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12090         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12091         test.
12092         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12096         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12098         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12099         * NEWS: Mention addition of x86_64 vector sin.
12101 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12103         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12104         comment.
12106 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12108         [BZ #18479]
12109         * nptl/pt-interp.c: New file.
12110         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12111         Add pt-interp.
12112         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12113         $(common-objpfx)runtime-linker.h.
12115 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12117         * Makeconfig (+interp): Remove unused variable.
12118         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12119         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12120         $(elf-objpfx)runtime-linker.h.
12121         ($(elf-objpfx)runtime-linker.h): Rename to
12122         $(common-objpfx)runtime-linker.h and move ...
12123         * Makerules [$(build-shared) = yes]: ... here.
12124         * elf/interp.c: Include <runtime-linker.h> instead of
12125         <elf/runtime-linker.h>.
12127 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12129         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12130         (__gettimeofday_syscall): Remove vsyscall fallback.
12131         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12132         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12133         Add syscall fallback function.
12134         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12135         if vDSO is not present.
12136         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12137         fallback function.
12138         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12139         present.
12140         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12141         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12143 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12145         [BZ #18497]
12146         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12147         of wcscmp.
12148         (wcscmp): Define as weak alias of WCSCMP.
12149         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12150         wcscoll.
12151         (USE_HIDDEN_DEF): Define.
12152         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12153         __wcscoll.  Don't use libc_hidden_weak.
12154         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12155         wcscmp.
12156         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12157         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12158         __GI_wcscmp.
12159         (weak_alias): Undefine and redefine.
12160         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12161         __wcscmp and define as weak alias of __wcscmp.
12162         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12163         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12164         (__wcscoll): Likewise.
12165         (wcscmp): Don't use libc_hidden_proto.
12166         (wcscoll): Likewise.
12167         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12168         wcscoll.
12169         * posix/regexec.c (check_node_accept_bytes): Likewise.
12170         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12171         variable.
12172         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12173         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12175         [BZ #18507]
12176         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12177         __fstatvfs and define as weak alias of __fstatvfs.  Use
12178         libc_hidden_weak.
12179         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12180         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12181         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12182         Define as alias of __fstatvfs, not fstatvfs.
12183         (fstatvfs64): Likewise.
12184         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12185         Define as alias of __statvfs, not statvfs.
12186         (statvfs64): Likewise.
12187         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12188         Remove variable.
12190 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12193         (HAVE_GETCPU_VSYSCALL): Define.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12195         (HAVE_GETCPU_VSYSCALL): Likewise.
12196         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12197         * sysdeps/unix/sysv/linux/sched_getcpu.c
12198         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12199         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12200         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12201         prototype.
12202         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12203         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12204         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12206         Define.
12207         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12208         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12209         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12210         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12212 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12214         * sysdeps/x86_64/fpu/Makefile: New file.
12215         * sysdeps/x86_64/fpu/Versions: New file.
12216         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12217         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12218         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12219         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12220         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12221         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12222         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12223         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12230         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12231         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12232         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12233         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12234         * sysdeps/x86_64/configure: Regenerated.
12235         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12236         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12237         * manual/install.texi (Configuring and compiling): Document
12238         --disable-mathvec.
12239         * INSTALL: Regenerated.
12240         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12242         * math/Makefile: Added rules for vector tests.
12243         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12244         declaration under condition.
12245         * math/test-double-vlen2.h: New file.
12246         * math/test-double-vlen4.h: New file.
12247         * math/test-double-vlen8.h: New file.
12248         * math/test-vec-loop.h: Added initialization macro.
12249         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12250         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12251         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12252         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12253         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12256         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12257         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12258         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12259         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12262         * sysdeps/x86_64/fpu/Versions: New versions added.
12263         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12266         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12267         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12269         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12270         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12271         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12273         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12274         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12275         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12276         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12277         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12278         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12279         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12280         * NEWS: Mention addition of x86_64 vector cosf.
12282         * math/Makefile: Added CFLAGS for new tests.
12283         * math/test-float-vlen16.h: New file.
12284         * math/test-float-vlen4.h: New file.
12285         * math/test-float-vlen8.h: New file.
12286         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12287         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12289         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12290         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12291         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12292         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12294         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12295         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12296         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12298 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12300         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12301         * locale/programs/ld-ctype.c: Likewise.
12303 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12305         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12306         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12307         bit_ZMM16_31_state): New macro.
12308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12309         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12311 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12313         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12315 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12317         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12319 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12321         [BZ #18498]
12322         * libio/memstream.c (open_memstream): Rename to __open_memstream
12323         and define as weak alias of __open_memstream.
12324         * include/stdio.h (__open_memstream): Declare.  Use
12325         libc_hidden_proto.
12326         (open_memstream): Don't use libc_hidden_proto.
12327         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12328         open_memstream.
12329         * posix/getopt.c (_getopt_internal_r): Likewise.
12330         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12331         variable.
12332         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12333         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12334         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12336         [BZ #18496]
12337         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12338         instead of wcrtomb.
12340         [BZ #18483]
12341         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12342         [__USE_XOPEN2K8].  Remove redundant #endif.
12343         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12344         Remove redundant #if.
12345         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12346         Remove variable.
12347         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12348         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12350         [BZ #18495]
12351         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12352         (__iswlower): Likewise.
12353         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12354         (__iswlower): Likewise.
12355         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12356         instead of towlower.
12357         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12358         instead of iswlower.  Call __towupper instead of towupper.
12359         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12360         instead of iswalnum.
12362 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12364         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12365         errors to stderr.
12367 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12369         [BZ #15661]
12370         [BZ #17322]
12371         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12372         Check for overflow properly.  Check for O_APPEND.  Ignore large
12373         file system block sizes.  Add comments about problems.
12374         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12375         * manual/filesys.texi (Storage Allocation): New node.
12377 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12379         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12380         cancellable syscalls.
12381         (SYS_ify): Add guard to no redefine it.
12382         (INLINE_SYSCALL): Likewise.
12383         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12384         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12385         SYSCALL_CANCEL instead.
12386         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12387         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12388         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12389         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12390         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12391         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12392         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12393         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12394         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12395         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12396         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12397         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12398         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12399         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12400         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12402         Likewise.
12403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12404         (__libc_pread64): Likewise.
12405         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12406         (__libc_preadv): Likewise.
12407         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12408         (__libc_readv64): Likewise.
12409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12410         (__libc_pwrite): Likewise.
12411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12412         (__libc_pwrite64): Likewise.
12413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12414         (__libc_pwritev): Likewise.
12415         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12416         (__libc_pwritev64): Likewise.
12417         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12418         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12419         (sync_file_range): Likewise.
12420         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12421         Likewise.
12422         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12423         Likewise.
12424         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12425         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12426         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12427         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12428         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12429         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12430         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12431         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12433         Likewise.
12434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12435         (__libc_read64): Likewise.
12436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12437         Likewise.
12438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12439         Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12441         Likewise.
12442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12445         (__libc_pread64): Likewise.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12447         Likewise.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12449         (__libc_pwrite64): Likewise.
12450         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12451         (sync_file_range): Likewise.
12452         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12453         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12454         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12455         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12456         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12457         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12458         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12459         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12460         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12461         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12462         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12463         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12464         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12465         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12466         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12467         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12468         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12469         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12470         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12471         Likewise.
12472         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12473         Likewise.
12474         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12475         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12476         Likewise.
12477         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12478         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12479         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12480         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12481         Likewise.
12482         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12483         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12484         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12488 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12490         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12491         Include dl-vdso.
12492         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12493         Use VDSO routines for gettimeofday, clock_gettime if
12494         available.
12495         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12496         Declare VDSO symbols.
12497         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12498         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12499         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12500         * sysdeps/unix/sysv/linux/arm/Versions: Add
12501         __vdso_clock_gettime.
12503 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12505         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12506         be an inline implementation regardless of library is built within.
12507         (open_not_cancel_2): Likewise.
12508         (__read_nocancel): Likewise.
12509         (__write_nocancel): Likewise.
12510         (openat_not_cancel): Likewise.
12511         (openat_not_cancel_3): Likewise.
12512         (openat64_not_cancel): Likewise.
12513         (openat64_not_cancel_3): Likewise.
12514         (__close_nocancel): Likewise.
12515         (pause_not_cancel): Likewise.
12516         (nanosleep_not_cancel): Likewise.
12517         (sigsuspend_not_cancel): Likewise.
12519 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12521         [BZ #14958]
12522         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12523         wake-up.
12524         (__pthread_rwlock_rdlock_slow): Likewise.
12525         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12526         Likewise.
12527         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12528         Likewise.
12529         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12530         * nptl/tst-rwlock16.c: New file.
12531         * nptl/Makefile (tests): Add new test.
12533 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12535         [BZ #18324]
12536         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12537         missing wake-up of readers.
12538         * nptl/tst-rwlock15.c: New file.
12539         * nptl/Makefile (tests): Add new test.
12541 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12543         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12544         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12545         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12546         and __nacl_supply_interface_rtld.
12547         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12548         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12549         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12550         Add __nacl_supply_interface_rtld.
12551         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12553 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12555         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12556         isfinite.
12557         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12558         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12560 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12562         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12563         __signbit* with standard C99 macros.
12564         * math/e_exp10l.c: Likewise.
12565         * math/e_exp2l.c: Likewise.
12566         * math/e_scalb.c: Likewise.
12567         * math/e_scalbf.c: Likewise.
12568         * math/e_scalbl.c: Likewise.
12569         * math/s_ldexp.c: Likewise.
12570         * math/s_ldexpf.c: Likewise.
12571         * math/s_ldexpl.c: Likewise.
12572         * math/w_atan2.c: Likewise.
12573         * math/w_atan2f.c: Likewise.
12574         * math/w_atan2l.c: Likewise.
12575         * math/w_cosh.c: Likewise.
12576         * math/w_coshf.c: Likewise.
12577         * math/w_coshl.c: Likewise.
12578         * math/w_exp10.c: Likewise.
12579         * math/w_exp10f.c: Likewise.
12580         * math/w_exp10l.c: Likewise.
12581         * math/w_exp2.c: Likewise.
12582         * math/w_exp2f.c: Likewise.
12583         * math/w_exp2l.c: Likewise.
12584         * math/w_fmod.c: Likewise.
12585         * math/w_fmodf.c: Likewise.
12586         * math/w_fmodl.c: Likewise.
12587         * math/w_hypot.c: Likewise.
12588         * math/w_hypotf.c: Likewise.
12589         * math/w_hypotl.c: Likewise.
12590         * math/w_jnl.c: Likewise.
12591         * math/w_lgamma.c: Likewise.
12592         * math/w_lgamma_r.c: Likewise.
12593         * math/w_lgammaf.c: Likewise.
12594         * math/w_lgammaf_r.c: Likewise.
12595         * math/w_lgammal.c: Likewise.
12596         * math/w_lgammal_r.c: Likewise.
12597         * math/w_pow.c: Likewise.
12598         * math/w_powf.c: Likewise.
12599         * math/w_powl.c: Likewise.
12600         * math/w_remainder.c: Likewise.
12601         * math/w_remainderf.c: Likewise.
12602         * math/w_remainderl.c: Likewise.
12603         * math/w_scalb.c: Likewise.
12604         * math/w_scalbf.c: Likewise.
12605         * math/w_scalbl.c: Likewise.
12606         * math/w_scalbln.c: Likewise.
12607         * math/w_scalblnf.c: Likewise.
12608         * math/w_scalblnl.c: Likewise.
12609         * math/w_sinh.c: Likewise.
12610         * math/w_sinhf.c: Likewise.
12611         * math/w_sinhl.c: Likewise.
12612         * math/w_tgamma.c: Likewise.
12613         * math/w_tgammaf.c: Likewise.
12614         * math/w_tgammal.c: Likewise.
12615         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12616         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12617         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12618         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12619         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12620         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12621         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12622         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12623         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12624         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12625         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12626         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12627         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12628         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12629         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12630         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12632         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12633         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12636         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12639         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12640         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12641         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12642         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12644         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12645         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12646         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12647         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12648         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12649         * stdio-common/printf_fp.c: Likewise.
12650         * stdio-common/printf_fphex.c: Likewise.
12651         * stdio-common/printf_size.c: Likewise.
12653 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12655         [BZ #18470]
12656         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12657         strnlen.
12658         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12659         Remove variable.
12660         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12661         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12662         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12663         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12664         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12665         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12666         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12667         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12668         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12669         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12671         [BZ #18468]
12672         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12673         weak alias of __wmemchr.  Use libc_hidden_weak.
12674         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12675         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12676         instead of wmemchr.
12678 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12680         [BZ #18383]
12681         * elf/tst-tlsalign-extern.c: New file.
12682         * elf/tst-tlsalign-extern-static.c: New file.
12683         * elf/tst-tlsalign-vars.c: New file.
12684         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12685         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12686         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12687         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12688         (test-xfail-tst-tlsalign-extern-static): New variable.
12690 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12692         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12693         Use variable name _sc_err instead of err.
12694         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12695         instead of ret.
12696         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12697         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12698         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12699         (INLINE_SYSCALL): Likewise.
12701         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12702         * include/string.h (__strnlen): Use libc_hidden_proto.
12703         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12704         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12705         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12707         (libc_hidden_def): Undefine and redefine.
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12709         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12710         __GI_strnlen.
12711         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12712         libc_hidden_def.
12713         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12715         [BZ #18469]
12716         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12717         weak alias of __towlower.  Use libc_hidden_weak.
12718         (towupper): Rename to __towupper and define as weak alias of
12719         __towupper.  Use libc_hidden_weak.
12720         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12721         (__towupper): Likewise.
12722         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12723         __towlower instead of towlower.
12725 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12727         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12728         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12730 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12732         * sysdeps/aarch64/libm-test-ulps: Update.
12734 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12736         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12737         Define.
12738         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12740         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12741         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12742         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12743         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12744         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12746 2015-06-01  Martin Sebor  <msebor@redhat.com>
12748         [BZ #18116]
12749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12750         (__setcontext): Use extended four-operand version of mtsf whenever
12751         possible.
12752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12753         (__novec_swapcontext): Likewise.
12755 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12757         * benchtests/scripts/compare_bench.py: New file.
12758         * benchtests/scripts/import_bench.py (mean): New function.
12759         (split_list): Likewise.
12760         (do_for_all_timings): Likewise.
12761         (compress_timings): Likewise.
12763         * benchtests/scripts/import_bench.py: New file.
12764         * benchtests/scripts/validate_benchout.py: Import import_bench
12765         instead of jsonschema.
12766         (validate_bench): Remove function.
12767         (main): Use import_bench.
12769 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12771         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12772         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12774 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12778 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12780         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12781         set THREAD_SELF->tid to a magic value and futex-wake it.
12782         Pass its address to the thread_exit system call.
12783         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12784         bit is clear.
12785         * sysdeps/nacl/lowlevellock.h: New file.
12786         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12788         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12789         Add TIMEOUT to current time, don't subtract it.
12791 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12793         [BZ #2981]
12794         [BZ #18422]
12795         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12796         ($(objpfx)tst-audit2.out): Also depend on
12797         $(objpfx)tst-auditmod9b.so.
12798         * elf/tst-audit2.c: Include <dlfcn.h>.
12799         (calloc_called): New.
12800         (calloc): Allow to be called more than once.
12801         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12803 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12805         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12806         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12808 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12810         * stdlib/monetary.h: Fix comment.
12812 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12814         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12815         Avoid using variables in #defines that might cause shadowing.
12816         (INTERNAL_VSYSCALL_CALL): Likewise.
12818 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12820         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12822         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12823         * nptl/lll_timedlock_wait.c: ... to this new file.
12824         * nptl/Makefile (libpthread-routines): Add it.
12825         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12826         * nptl/lll_timedwait_tid.c: ... to this new file.
12827         * nptl/Makefile (libpthread-routines): Add it.
12828         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12829         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12830         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12831         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12832         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12833         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12834         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12835         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12836         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12837         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12839 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12841         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12842         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12843         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12845         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12847         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12849         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12850         * sysdeps/unix/sysv/linux/tile/sysdep.h
12851         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12852         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12853         using vDSO syscall macro.
12855 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12857         [BZ #17293]
12858         * uk_UA: Fix sorting order for Ukrainian locale
12860 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12862         * stdlib/monetary.h: Fix comment.
12864 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12866         [BZ #18234]
12867         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12868         st_mtim and st_ctim members.
12869         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12870         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12871         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12872         (struct stat64): Likewise.
12873         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12874         (struct stat64): Likewise.
12875         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12876         (struct stat64): Likewise.
12878 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12880         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12881         Define and include sysdep-vdso.h.
12882         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12883         Likewise.
12884         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12885         Likewise.
12886         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12887         Define with VDSO_SYMBOL and use PTR_MANGLE.
12888         (__vdso_clock_gettime): Likewise.
12889         (__vdso_clock_getres): Likewise.
12890         (_libc_vdso_platform_setup): Likewise.
12891         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12892         Likewise.
12893         (_libc_vdso_platform_setup): Likewise.
12894         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12895         Likewise.
12896         (__vdso_clock_gettime): Likewise.
12897         (__vdso_clock_getres): Likewise.
12898         (__vdso_get_tbfreq): Likewise.
12899         (__vdso_getcpu): Likewise.
12900         (__vdso_time): Likewise.
12901         (__vdso_sigtramp_rt64): Likewise.
12902         (__vdso_signtramp32): Likewise.
12903         (__vdso_sigtramp_rt32): Likewise.
12904         (_libc_vdso_platform_setup): Likewise.
12905         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12906         Likewise.
12907         (__vdso_clock_gettime): Likewise.
12908         (__vdso_clock_getres): Likewise.
12909         (_libc_vdso_platform_setup): Likewise.
12910         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12911         Likewise.
12912         (__vdso_clock_gettime): Likewise.
12913         (_libc_vdso_platform_setup): Likewise.
12914         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12915         Likewise.
12916         (__vdso_getcpu): Likewise.
12917         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12918         Use VDSO_SYMBOL macro to define.
12919         (__vdso_clock_gettime): Likewise.
12920         (__vdso_clock_getres): Likewise.
12921         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12922         Likewise.
12923         (__vdso_clock_gettime): Likewise.
12924         (__vdso_clock_getres): Likewise.
12925         (__vdso_get_tbfreq): Likewise.
12926         (__vdso_getcpu): Likewise.
12927         (__vdso_time): Likewise.
12928         (__vdso_sigtramp_rt64): Likewise.
12929         (__vdso_signtramp32): Likewise.
12930         (__vdso_sigtramp_rt32): Likewise.
12931         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12932         Likewise.
12933         (__vdso_clock_gettime): Likewise.
12934         (__vdso_clock_getres): Likewise.
12935         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12936         Likewise.
12937         (__vdso_clock_gettime): Likewise.
12938         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12939         Likewise.
12940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12941         macro.
12942         (INTERNAL_VSYSCALL): Likewise.
12943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12944         Remove macro.
12945         (INTERNAL_VSYSCALL): Likewise.
12946         (INTERNAL_VSYSCALL_NCS): Likewise.
12947         (INTERNAL_VSYSCALL_CALL): New macro.
12948         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12950         Likewise.
12951         (INTERNAL_VSYSCALL): Likewise.
12952         (INTERNAL_VSYSCALL_NCS): Likewise.
12953         (INTERNAL_VSYSCALL_CALL): New macro.
12954         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12956         (INLINE_VSYSCALL): Remove macro.
12957         (INTERNAL_VSYSCALL): Remove macro.
12958         (INTERNAL_VSYSCALL_NCS): Remove macro.
12959         (INTERNAL_VSYSCALL_CALL): New macro.
12960         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12961         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12962         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12963         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12964         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12966         (INLINE_VSYSCALL): Remove macro.
12967         (INTERNAL_VSYSCALL): Likewise.
12968         (INTERNAL_VSYSCALL_NCS): Likewise.
12969         (INTERNAL_VSYSCALL_CALL): New macro.
12970         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12972         PTR_DEMANGLE on vDSO pointer.
12973         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12974         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12975         macro.
12976         (INTERNAL_SYSCALL): Likewise.
12977         (INTERNAL_VSYSCALL_NCS): Remove macro.
12978         (INTERNAL_VSYSCALL_CALL): New macro.
12979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12980         Remove macro.
12981         (INTERNAL_VSYSCALL): Likewise.
12982         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12983         sysdep-vdso.h instead of libc-vdso.h.
12984         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12985         definition.
12986         (INLINE_VSYSCALL): Likewise.
12987         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12988         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12989         definition.
12990         (INLINE_VSYSCALL): Likewise.
12991         (INTERNAL_VSYSCALL): Likewise.
12992         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12993         * sysdeps/unix/sysv/linux/timespec_get.c
12994         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12995         (timespec_get): Use ANSI prototype.
12996         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12997         and definition for Linux.
12999 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13001         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13002         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13004 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13006         [BZ #2981]
13007         [BZ #18410]
13008         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13009         for missing DT_PLTRELSZ.
13011 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13013         Remove obsolete aliases that broke 'locale -a'
13014         [BZ #18412]
13015         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13016         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13017         breaking some applications that use 'locale -a' output.
13018         Change the encoding of this file from Latin-1 to ASCII to avoid
13019         other potential problems with people grepping this file.
13021 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13023         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13024         -fasynchronous-unwind-tables.
13025         (CFLAGS-sendto.c): Likewise.
13026         (CFLAGS-sendmsg.c): Likewise.
13027         (CFLAGS-connect.c): Likewise.
13028         (CFLAGS-recvmsg.c): Likewise.
13029         (CFLAGS-recvfrom.c): Likewise.
13030         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13031         (SOCKETCALL): New macro: non-cancellable socketcall.
13032         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13033         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13034         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13035         * sysdeps/unix/sysv/linux/accept.c: New file.
13036         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13037         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13038         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13039         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13040         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13041         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13042         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13043         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13044         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13045         * sysdeps/unix/sysv/linux/send.c: Likewise.
13046         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13047         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13048         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13049         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13050         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13051         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13052         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13053         prototype.
13054         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13055         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13056         instead of __internal_xxx function.
13057         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13058         prototype.
13059         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13060         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13061         instead of __internal_xxx function.
13062         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13063         prototype.
13064         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13065         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13066         instead of __internal_xxx function.
13067         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13068         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13069         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13070         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13071         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13072         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13073         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13074         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13075         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13076         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13077         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13078         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13079         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13080         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13081         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13082         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13083         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13084         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13085         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13086         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13089         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13090         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13091         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13092         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13093         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13094         * sysdeps/unix/sysv/linux/send.S: Likewise.
13095         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13096         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13097         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13098         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13099         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13100         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13101         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13102         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13103         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13104         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13105         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13106         socketcall is implemented in GLIBC.
13108 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13110         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13111         (__fma): Ignore uninitialized warnings around packing.
13112         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13113         (__fmaf): Ignore uninitialized warnings around packing.
13114         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13115         (__fmal): Ignore uninitialized warnings around packing.
13117         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13118         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13119         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13120         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13122         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13123         switch statement into default case.
13124         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13126         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13127         a conditional in forcing "inexact".
13128         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13129         Likewise.
13131 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13133         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13134         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13135         for each INTERNAL_SYSCALL use.
13137 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #438]
13140         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13141         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13142         variable.
13144         [BZ #18444]
13145         * string/basename.c (basename): Rename to __basename and define as
13146         weak alias of __basename.  Use libc_hidden_weak.
13147         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13148         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13149         __basename instead of basename.
13150         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13151         Remove variable.
13152         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13154 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13156         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13157         (_IO_JUMPS_FILE_plus): New.
13158         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13159         _IO_CAST_FIELD_ACCESS.
13160         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13161         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13162         * libio/freopen.c (freopen): Likewise.
13163         * libio/freopen64.c (freopen64): Likewise.
13164         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13165         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13166         * libio/iofwide.c (_IO_fwide): Likewise.
13167         * libio/memstream.c (open_memstream): Likewise.
13168         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13169         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13170         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13172 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13174         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13175         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13176         NADJ.
13177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13178         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13179         NADJ.
13180         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13181         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13182         NADJ.
13184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13185         (p == 4) case.
13187         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13188         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13189         Remove variable.
13190         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13191         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13192         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13194 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13196         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13197         Adjust jump table label generation macros.
13199 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13201         * stdio-common/vfprintf.c (vfprintf): Move local variables
13202         args_malloced, specs, specs_malloced, and the code after
13203         do_positional to the printf_positional function.
13204         (printf_positional): New function.
13206 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13208         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13209         function.
13210         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13211         STEP4_TABLE, process_arg): Move macro definitions
13212         out of the vfprintf function.  (Cosmetic change only.)
13214 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13216         * benchtests/Makefile (stdio-common-bench): Define.
13217         (benchset): Add stdio-common-bench.
13218         * sprintf-inputs: New file.
13219         * sprintf-source.c: New file.
13221 2015-05-21  Andreas Schwab  <schwab@suse.de>
13223         [BZ #13028]
13224         [BZ #17053]
13225         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13226         of struct __res_state.
13227         * resolv/res_send.c (__libc_res_nsend): Likewise.
13228         (get_nsaddr): New function.
13229         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13230         statp directly.
13232 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13234         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13235         -D_POSIX_C_SOURCE=199506L.
13237         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13239         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13240         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13241         Do not mention otherwise.
13242         [POSIX] (_XOPEN_VERSION): Do not expect.
13243         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13244         [POSIX] (_POSIX2_C_BIND): Likewise.
13245         [POSIX] (_POSIX2_VERSION): Likewise.
13246         [POSIX] (_XOPEN_XPG2): Likewise.
13247         [POSIX] (_XOPEN_XPG3): Likewise.
13248         [POSIX] (_XOPEN_XPG4): Likewise.
13249         [POSIX] (_XOPEN_UNIX): Likewise.
13250         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13251         [POSIX] (_POSIX_BARRIERS): Likewise.
13252         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13253         [POSIX] (_POSIX_CPUTIME): Likewise.
13254         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13255         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13256         [POSIX] (_POSIX_SHELL): Likewise.
13257         [POSIX] (_POSIX_SPAWN): Likewise.
13258         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13259         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13260         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13261         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13262         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13263         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13264         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13265         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13266         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13267         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13268         [POSIX] (_POSIX2_PBS): Likewise.
13269         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13270         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13271         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13272         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13273         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13274         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13275         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13276         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13277         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13278         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13279         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13280         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13281         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13282         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13283         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13284         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13285         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13286         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13287         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13288         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13289         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13290         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13291         [POSIX] (_SC_2_C_BIND): Likewise.
13292         [POSIX] (_SC_2_C_VERSION): Likewise.
13293         [POSIX] (_SC_2_PBS): Likewise.
13294         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13295         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13296         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13297         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13298         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13299         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13300         [POSIX] (_SC_BARRIERS): Likewise.
13301         [POSIX] (_SC_BASE): Likewise.
13302         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13303         [POSIX] (_SC_DEVICE_IO): Likewise.
13304         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13305         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13306         [POSIX] (_SC_FD_MGMT): Likewise.
13307         [POSIX] (_SC_FIFO): Likewise.
13308         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13309         [POSIX] (_SC_FILE_LOCKING): Likewise.
13310         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13311         [POSIX] (_SC_IOV_MAX): Likewise.
13312         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13313         [POSIX] (_SC_NETWORKING): Likewise.
13314         [POSIX] (_SC_PAGE_SIZE): Likewise.
13315         [POSIX] (_SC_PASS_MAX): Likewise.
13316         [POSIX] (_SC_PIPE): Likewise.
13317         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13318         [POSIX] (_SC_REGEXP): Likewise.
13319         [POSIX] (_SC_SHELL): Likewise.
13320         [POSIX] (_SC_SIGNALS): Likewise.
13321         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13322         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13323         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13324         [POSIX] (_SC_USER_GROUPS): Likewise.
13325         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13326         [POSIX] (_SC_STREAMS): Likewise.
13327         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13328         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13329         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13330         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13331         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13332         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13333         [POSIX] (_PC_FILESIZEBITS): Likewise.
13334         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13335         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13336         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13337         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13338         [POSIX] (uid_t): Likewise.
13339         [POSIX] (gid_t): Likewise.
13340         [POSIX] (off_t): Likewise.
13341         [POSIX] (pid_t): Likewise.
13342         [POSIX] (cuserid): Allow.
13343         (_SC_2_CHAR_TERM): Require constant.
13344         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13345         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13346         variable.
13348 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13350         * sysdeps/nacl/pthread-pids.h: New file.
13351         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13352         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13354         * nptl/pthread-pids.h: New file.
13355         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13356         * nptl/nptl-init.c: Include <pthread-pids.h>.
13357         (__pthread_initialize_minimal_internal):
13358         Call __pthread_initialize_pids instead of set_tid_address syscall.
13360         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13361         * sysdeps/posix/usleep.c: ... here.
13363 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13365         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13366         call_pselect6 object.
13367         [$(subdir) = io]: Remove call_sync_file_range object.
13368         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13369         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13370         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13371         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13373 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13375         * math/s_cproj.c: Add include "math_private.h".
13376         * math/s_cprojf.c: Likewise.
13377         * math/s_cprojl.c: Likewise.
13379 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13381         [BZ #18244]
13382         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13383         high mantissa bit when testing whether P is a NaN.
13384         * math/libm-test.inc (remainder_test_data): Add more tests.
13385         (remquo_test_data): Likewise.
13387         [BZ #18049]
13388         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13389         below -32, return the argument, with underflow if subnormal.
13390         * math/auto-libm-test-in: Add more tests of atanh.
13391         * math/auto-libm-test-out: Regenerated.
13393 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13395         [BZ #18434]
13396         * nptl/tst-sem15.c: New file.
13397         * nptl/Makefile (tests): Add it.
13398         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13399         s/<</>>/ to fix typo in EOVERFLOW check.
13400         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13402 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13404         * manual/strings.texi (envz_remove): Fix typo in safety
13405         annotations.
13407 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13408             Steve Ellcey  <sellcey@imgtec.com>
13410         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13411         in order to avoid strict alias warnings.
13412         (iruserok_af): Ditto for ra.
13414 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13416         [BZ #17581]
13417         * malloc/hooks.c
13418         (magicbyte): Convert to a function and avoid returning 0x01.
13419         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13420         (mem2chunk_check): Fix unsigned comparisons to zero.
13421         Hoist defs of sz and magic.
13423 2015-05-19  Richard Henderson  <rth@redhat.com>
13425         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13427         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13429 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13431         [BZ #16159]
13432         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13433         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13434         (reused_arena): Find a non-corrupt arena.
13435         (heap_trim): Pass arena to unlink.
13436         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13437         malloc_printerr.
13438         (top_check): Likewise.
13439         (free_check): Likewise.
13440         (realloc_check): Likewise.
13441         * malloc/malloc.c (malloc_printerr): Add arena argument.
13442         (unlink): Likewise.
13443         (munmap_chunk): Adjust.
13444         (ARENA_CORRUPTION_BIT): New macro.
13445         (arena_is_corrupt): Likewise.
13446         (set_arena_corrupt): Likewise.
13447         (sysmalloc): Use mmap if there are no usable arenas.
13448         (_int_malloc): Likewise.
13449         (__libc_malloc): Don't fail if arena_get returns NULL.
13450         (_mid_memalign): Likewise.
13451         (__libc_calloc): Likewise.
13452         (__libc_realloc): Adjust for additional argument to
13453         malloc_printerr.
13454         (_int_free): Likewise.
13455         (malloc_consolidate): Likewise.
13456         (_int_realloc): Likewise.
13457         (_int_memalign): Don't touch corrupt arenas.
13458         * malloc/tst-malloc-backtrace.c: New test case.
13460         * Makefile (summarize-tests): Fix return value on success.
13462         * manual/string.texi (Envz Functions): Add envz_remove.
13464 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13466         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13467         (invalid_name): New function, broken out of ...
13468         (__opendirat): ... here.  Call it.
13469         (need_isdir_precheck): New function, broken out of ...
13470         (__opendirat): ... here.  Call it.
13471         Use __fxstatat64, not __xstatat64.
13472         (opendir_oflags): New function, broken out of ...
13473         (__opendirat): ... here.  Call it.
13474         (opendir_tail): New function, broken out of ...
13475         (__opendirat): ... here.  Call it.
13476         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13477         opendir_tail, rather than punting to __opendirat.
13478         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13480 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13482         * .gitignore: Ignore generated *.pyc.
13484 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13486         * include/stdio.h: Define __need_wint_t.
13487         * test-skeleton.c: Avoid `for' loop initial declaration.
13488         * nptl/tst-initializers1.c: Use test-skeleton.c.
13490 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13492         [BZ #18418]
13493         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13495 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #16352]
13498         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13499         (__ieee754_atanh): Force underflow exception for results with
13500         small absolute value.
13501         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13502         (__ieee754_atanhf): Force underflow exception for results with
13503         small absolute value.
13504         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13505         (__ieee754_atanh): Force underflow exception for results with
13506         small absolute value.
13507         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13508         (__ieee754_atanhf): Force underflow exception for results with
13509         small absolute value.
13510         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13511         (__ieee754_atanhl): Force underflow exception for results with
13512         small absolute value.
13513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13514         (__ieee754_atanhl): Force underflow exception for results with
13515         small absolute value.
13516         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13517         (__ieee754_atanhl): Force underflow exception for results with
13518         small absolute value.
13519         * math/auto-libm-test-in: Do not allow missing underflow
13520         exceptions from atanh.
13521         * math/auto-libm-test-out: Regenerated.
13523         [BZ #18221]
13524         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13525         2**-28 as threshold for returning x or +/- 1/x.
13526         * math/auto-libm-test-in: Add more tests of tan.
13527         * math/auto-libm-test-out: Regenerated.
13529         [BZ #18220]
13530         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13531         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13532         * math/auto-libm-test-in: Add another test of lgamma.
13533         * math/auto-libm-test-out: Regenerated.
13535 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13537         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13538         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13539         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13540         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13541         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13542         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13543         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13544         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13545         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13546         (log1): Use fabs.  (my_log2): Use fabs.
13547         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13548         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13549         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13550         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13552         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13553         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13554         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13555         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13556         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13557         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13559 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13561         [BZ #18217]
13562         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13563         as threshold for returning 1 - x.
13564         * math/auto-libm-test-in: Add more tests of erfc.
13565         * math/auto-libm-test-out: Regenerated.
13567 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13569         [BZ #18196]
13570         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13571         threshold for large arguments.
13572         * math/auto-libm-test-in: Add another test of atan.
13573         * math/auto-libm-test-out: Regenerated.
13575         [BZ #16339]
13576         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13577         (__log1p): Force underflow exception for results with small
13578         absolute value.
13579         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13580         (__log1pf): Force underflow exception for results with small
13581         absolute value.
13582         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13583         (__log1p): Force underflow exception for results with small
13584         absolute value.
13585         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13586         (__log1pf): Force underflow exception for results with small
13587         absolute value.
13588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13589         (__log1pl): Force underflow exception for results with small
13590         absolute value.
13591         * math/auto-libm-test-in: Do not allow missing underflow
13592         exceptions from log1p.
13593         * math/auto-libm-test-out: Regenerated.
13595 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13596             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13598         [BZ #16704]
13599         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13601 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13603         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13604         (libmvec): New variable.
13605         * configure.ac: Added option for mathvec build.
13606         * configure: Regenerated.
13607         * mathvec/Depend: New file.
13608         * mathvec/Makefile: New file.
13609         * shlib-versions: Added libmvec.
13610         * math/Makefile: Added rule for libm.so installation.
13612         * bits/math-vector.h: New file.
13613         * bits/libm-simd-decl-stubs.h: New header.
13614         * math/Makefile (headers): Added new header
13615         libm-simd-decl-stubs.h.
13616         * math/math.h (__MATHCALL_VEC): New macro.
13618         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13619         for conditions in testing functions.
13620         * math/Makefile: Added call of libm-have-vector-test.sh.
13621         * math/libm-test.inc (HAVE_VECTOR): New macros.
13623         * math/libm-test.inc: START refactored.
13624         * math/test-double.c (TEST_MATHVEC): Add define.
13625         * math/test-float.c: Likewise.
13626         * math/test-idouble.c: Likewise.
13627         * math/test-ifloat.c: Likewise.
13628         * math/test-ildoubl.c: Likewise.
13629         * math/test-ldouble.c: Likewise.
13630         * sysdeps/generic/math-tests-arch.h
13631         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13632         architecture check.
13634         * math/test-double.c (FUNC_TEST): New macro.
13635         * math/test-float.c: Likewise.
13636         * math/test-idouble.c: Likewise.
13637         * math/test-ifloat.c: Likewise.
13638         * math/test-ildoubl.c: Likewise.
13639         * math/test-ldouble.c: Likewise.
13640         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13642 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13644         * sysdeps/nacl/fdopendir.c: New file.
13646         * dirent/scandir-tail.c: New file.
13647         * dirent/scandir64-tail.c: New file.
13648         * dirent/Makefile (routines): Add them.
13649         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13650         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13651         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13652         [!SCANDIR] (SCANDIR_TAIL): New macro.
13653         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13654         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13655         (SCANDIRAT): Macro removed.
13656         (SCANDIR_TAIL): New macro.
13657         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13658         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13659         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13660         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13661         (READDIR): Macro removed.
13662         (SCANDIR_TAIL): New macro.
13663         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13664         (SCANDIR_TAIL): New macro.
13666         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13667         * dirent/scandir-cancel.c: ... to this new file.
13668         * dirent/Makefile (routines): Add it.
13669         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13670         * sysdeps/unix/sysv/linux/i386/scandir64.c
13671         (SKIP_SCANDIR_CANCEL): Macro removed.
13672         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13674         * dirent/tst-scandir.c: New file.
13675         * dirent/tst-scandir64.c: New file.
13676         * dirent/Makefile (tests): Add them.
13678 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13680         [BZ #18409]
13681         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13683 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13685         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13686         list.
13688 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13690         * benchtests/bench-strcoll.c: New benchmark.
13691         * benchtests/Makefile: Generate locales and run benchmark.
13692         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13693         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13694         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13695         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13696         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13697         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13698         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13699         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13700         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13701         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13702         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13703         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13704         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13705         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13706         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13707         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13708         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13709         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13710         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13711         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13712         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13713         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13714         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13715         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13717 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13719         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13720         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13722 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13724         * posix/uname-values.h: New file.
13725         * posix/uname.c: Include that instead of <config-name.h>.
13726         * sysdeps/nacl/uname-values.h: New file.
13727         * sysdeps/arm/nacl/uname-values.h: New file.
13729 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13731         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13732         splitting into fields.
13734 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13736         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13737         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13738         * locale/localeinfo.h: Add enum collation_encoding_type.
13739         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13740         * programs/ld-collate.c (collate_output): Add encoding type info.
13741         * string/strcoll_l.c (STRDIFF): New function.
13742         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13743         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13745 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13747         [BZ #18397]
13748         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13749         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13750         <fpu_control.h> instead of <math/fpu_control.c>.
13751         * sysdeps/mips/mips32/fpu/Makefile: New file.
13753 2015-05-11  Andreas Schwab  <schwab@suse.de>
13755         [BZ #18007]
13756         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13757         nss_endgrent.
13758         (_nss_compat_endgrent): Call nss_endgrent.
13759         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13760         nss_endpwent.
13761         (_nss_compat_endpwent): Call nss_endpwent.
13762         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13763         needent, call nss_setspent only if non-zero.
13764         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13765         (internal_endspent): Don't call nss_endspent.
13766         (_nss_compat_endspent): Call nss_endspent.
13767         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13768         Remove.  All uses removed.
13769         (internal_setent): Remove parameter stayopen, add parameter
13770         stream.  Use it instead of global variable.
13771         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13772         (internal_endent, internal_getent): Add parameter stream.  Use it
13773         instead of global variable.
13774         (CONCAT(_nss_files_end,ENTNAME))
13775         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13776         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13777         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13778         uses removed.
13779         (internal_setent, internal_endent): Add parameter stream.  Use it
13780         instead of global variable.
13781         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13782         stream.
13783         (get_next_alias): Add parameter stream.
13784         (_nss_files_getaliasent_r): Pass global stream.
13785         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13786         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13787         (_nss_files_gethostbyname4_r): Pass local stream to
13788         internal_setent, internal_getent and internal_endent.  Remove
13789         locking.
13791 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13793         * tst-strfmon1.c (tests): Update expected currency symbol.
13795 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13797         * sysdeps/nacl/gethostname.c: New file.
13799 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13801         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13802         and sinh.
13803         * math/auto-libm-test-out: Regenerated.
13804         * sysdeps/i386/fpu/libm-test-ulps: Update.
13805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13809         [BZ #18125]
13810         * stdlib/tst-setcontext3.c: New file.
13811         * stdlib/tst-setcontext3.sh: New file.
13812         * stdlib/Makefile (tests): Add tst-setcontext3.
13813         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13814         to verify test program created output file.
13815         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13816         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13817         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13818         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13820 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13822         [BZ #18383]
13823         * elf/tst-tlsalign.c: New file.
13824         * elf/tst-tlsalign-static.c: New file.
13825         * elf/tst-tlsalign-lib.c: New file.
13826         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13827         (tests-static): Add tst-tlsalign-static.
13828         (modules-names): Add tst-tlsalign-lib.
13829         (test-xfail-tst-tlsalign): New variable.
13830         (test-xfail-tst-tlsalign-static): New variable.
13832         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13833         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13835 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13837         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13838         csqrt, erfc, sin and sincos.
13839         * math/auto-libm-test-out: Regenerated.
13840         * sysdeps/i386/fpu/libm-test-ulps: Update.
13841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13843 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13845         * sysdeps/aarch64/libm-test-ulps: Update.
13847 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13849         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13850         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13851         * math/auto-libm-test-out: Regenerated.
13852         * sysdeps/i386/fpu/libm-test-ulps: Update.
13853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13855 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13857         [BZ #18265]
13858         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13859         (wcsncpy): Likewise.
13861 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13863         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13864         Assume __ASSUME_FALLOCATE is always true.
13865         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13866         (__posix_fallocate64_l64): Likweise.
13867         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13868         (posix_fallocate): Likewise.
13869         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13870         (__posix_fallocate64_l64): Likewise.
13871         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13872         [!__ASSUME_FALLOCATE]: Add comment.
13874 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13876         * sysdeps/unix/sysv/linux/i386/Makefile
13877         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13878         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13879         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13880         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13882         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13883         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13885 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13887         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13888         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13889         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13896         * math/auto-libm-test-in: Add more tests of tgamma.
13897         * math/auto-libm-test-out: Regenerated.
13898         * sysdeps/i386/fpu/libm-test-ulps: Update.
13899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901         * math/auto-libm-test-in: Add more tests of tanh.
13902         * math/auto-libm-test-out: Regenerated.
13903         * sysdeps/i386/fpu/libm-test-ulps: Update.
13904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13906         * math/auto-libm-test-in: Add more tests of tan.
13907         * math/auto-libm-test-out: Regenerated.
13908         * sysdeps/i386/fpu/libm-test-ulps: Update.
13909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13911         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13912         * math/auto-libm-test-out: Regenerated.
13913         * sysdeps/i386/fpu/libm-test-ulps: Update.
13914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13916         * math/auto-libm-test-in: Add another test of pow.
13917         * math/auto-libm-test-out: Regenerated.
13918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13920         * math/auto-libm-test-in: Add more tests of lgamma.
13921         * math/auto-libm-test-out: Regenerated.
13922         * sysdeps/i386/fpu/libm-test-ulps: Update.
13923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13925         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13926         log1p.
13927         * math/auto-libm-test-out: Regenerated.
13928         * sysdeps/i386/fpu/libm-test-ulps: Update.
13929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13931 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13933         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13934         Elf64_Chdr structs and ELFCOMPRESS constants.
13936 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13938         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13939         expm1.
13940         * math/auto-libm-test-out: Regenerated.
13941         * sysdeps/i386/fpu/libm-test-ulps: Update.
13942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13944         * math/auto-libm-test-in: Add more tests of erf and erfc.
13945         * math/auto-libm-test-out: Regenerated.
13946         * sysdeps/i386/fpu/libm-test-ulps: Update.
13947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13949 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13951         * config.h.in (HAVE_AARCH64_BE): Add.
13953 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13955         * math/auto-libm-test-in: Add more tests of csqrt.
13956         * math/auto-libm-test-out: Regenerated.
13957         * sysdeps/i386/fpu/libm-test-ulps: Update.
13958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13960         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13961         * math/auto-libm-test-out: Regenerated.
13962         * sysdeps/i386/fpu/libm-test-ulps: Update.
13963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13965         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13967 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13969         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13970         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13972         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13973         (euidaccess, eaccess): Define as weak aliases.
13975         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13976         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13977         but __suseconds_t is often 'long int' so some sources assume that
13978         type is being used (e.g. they use %ld to print tv_usec).
13980 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13982         [BZ #18007]
13983         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13984         (CVE-2014-8121)
13985         * nss/tst-nss-getpwent.c: New file.
13986         * nss/Makefile (tests): Add new test.
13988 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13990         [BZ #18346]
13991         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13992         exponents less than 48 as cases where high part of mantissa needs
13993         examining to determine whether argument is integral.
13994         * math/libm-test.inc (round_test_data): Add more tests.
13996 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13998         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14000 2015-04-27  David S. Miller  <davem@davemloft.net>
14002         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14003         __tls_get_addr.
14004         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14006 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14008         [BZ#18333]
14009         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14011 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14013         [BZ#18333]
14014         * time/tzset.c (parse_tzname): Return error on memory allocation
14015         failure.
14016         * test-skeleton.c (struct temp_name_list): Change type of name
14017         member to non-const.
14018         (add_temp_file): Create a copy of the file name.
14019         (delete_temp_files): Deallocate memory.
14020         (create_temp_file): Add comment.
14022 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14024         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14025         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14027 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14029         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14030         * sysdeps/arm/configure: Regenerated.
14032 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14034         [BZ #17715]
14035         * time/tzfile.c (__tzfile_read): Check for large values of
14036         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14037         * time/tzset.c (__tzstring_len): New function, based on the old
14038         __tzstring function.
14039         (__tzstring): Call __tzstring_len.
14040         (parse_tzname): New helper function extracted from
14041         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14042         the input string.
14043         (parse_offset): New helper function extracted from
14044         __tzset_parse_tz.  Replace switch with fallthrough with
14045         initialization before sscanf.
14046         (parse_rule): Likewise.
14047         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14048         new-style function definition.
14049         * timezone/Makefile (tests): Add tst-tzset.
14050         (tst-tzset.out): Dependencies on time zone files.
14051         (tst-tzset-ENV): Set TZDIR.
14052         (testdata/XT%): Copy crafted time zone files.
14053         * timezone/README: Mention crafted time zone files.
14054         * timezone/testdata/XT1, timezone/testdata/XT2,
14055         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14056         files.
14057         * timezone/tst-tzset.c: New test.
14059 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14061         * Makeconfig (+gccwarn): Remove -Winline.
14063 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14065         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14067 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14069         * NEWS: Mention sysconf() cache information support for s390.
14070         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14072 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14074         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14075         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14076         (__nearbyint): Likewise.
14077         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14078         (copysignl): Likewise.
14080 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14082         [BZ #18287]
14083         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14084         based on padding.  (CVE-2015-1781)
14086 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14088         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14089         libc-vdso.h.
14090         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14091         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14092         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14093         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14094         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14095         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14096         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14097         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14098         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14099         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14100         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14101         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14102         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14103         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14104         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14105         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14106         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14107         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14108         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14109         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14110         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14111         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14112         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14114 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14116         * stdlib/setenv.c (__add_to_environ):
14117         Dump core quickly if setenv (..., NULL, ...) is called.
14118         This time, do it the right way, and pacify GCC with a pragma.
14120 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14122         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14123         IMAP->l_prev cannot be null, and #if out the code for the contrary
14124         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14125         believe that NS (&_dl_ns[NSID]) could point outside the array.
14127         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14128         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14129         before using NSID as an index.
14131 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14133         [BZ #17825]
14134         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14135         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14136         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14138 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14140         Add preliminary port to Google Native Client on ARM.
14141         * abi-tags (.*-.*-nacl.*): New entry.
14142         * sysdeps/arm/nacl: New directory.
14143         * sysdeps/nacl: New directory.
14145 2015-04-16  David S. Miller  <davem@davemloft.net>
14147         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14148         lowlevellock-futex.h
14150 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14152         * sysdeps/tile/configure.ac: New file.
14153         * sysdeps/tile/configure: Regenerated.
14155 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14157         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14158         conditionals for weak_alias and libc_hidden_weak.
14159         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14160         libc_hidden_weak and weak_alias.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14162         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14163         and weak_alias for static one.
14165 2015-04-15  David S. Miller  <davem@davemloft.net>
14167         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14169 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14171         [BZ #18206]
14172         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14173           Use signed comparision instead of substraction to avoid
14174           overflow bug.
14175         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14176           Take the sign of ret.
14177         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14178           Do not expect precise return values. Only the sign matters.
14179         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14180         * wcsmbs/test-wcsncmp.c: New File.
14181         * string/test-strncmp.c: Add wcsncmp support.
14183 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14185         [BZ #6792]
14186         * math/w_log1p.c: New file.
14187         * math/w_log1pf.c: Likewise.
14188         * math/w_log1pl.c: Likewise.
14189         * math/Makefile (libm-calls): Add w_log1p.
14190         * math/s_log1pl.c (log1pl): Remove weak_alias.
14191         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14192         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14193         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14194         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14195         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14196         [NO_LONG_DOUBLE] (log1pl): Likewise.
14197         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14198         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14199         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14200         (log1p): Remove long_double_symbol.
14201         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14202         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14203         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14204         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14205         remove weak_alias for corresponding log1p function.
14206         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14207         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14208         * sysdeps/ia64/fpu/w_log1p.c: New file.
14209         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14210         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14211         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14213 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14215         [BZ #18247]
14216         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14217         decimal exponent by 1.
14218         * stdlib/tst-strtod-round-data: Add more tests.
14219         * stdlib/tst-strtod-round.c (tests): Regenerated.
14221 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14223         * math/auto-libm-test-in: Add more tests of clog and clog10.
14224         * math/auto-libm-test-out: Regenerated.
14225         * sysdeps/i386/fpu/libm-test-ulps: Update.
14226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14230         * Makeconfig (module-cppflags): Exclude all .v.i files.
14231         (skip-module-cppflags): Variable removed.
14233         * configure.ac (libc_config_ok): Initialize before reading
14234         preconfigure scripts, not after.
14235         * configure: Regenerated.
14237         * test-skeleton.c (TIMEOUT): Move #define to top level.
14238         (main): Grok environment variable TEST_DIRECT.  If set, print
14239         test expectation details into that file and then behave as if
14240         given --direct.
14242 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14244         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14245         warning on 32-bit.
14247 2015-04-08  David S. Miller  <davem@davemloft.net>
14249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14251 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14253         * math/auto-libm-test-in: Add more tests of atanh.
14254         * math/auto-libm-test-out: Regenerated.
14255         * sysdeps/i386/fpu/libm-test-ulps: Update.
14256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14258         * math/auto-libm-test-in: Add more tests of atan.
14259         * math/auto-libm-test-out: Regenerated.
14260         * sysdeps/i386/fpu/libm-test-ulps: Update.
14261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14263 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14265         * elf/pldd.c (main): Rewrite to use struct
14266         scratch_buffer instead of extend_alloca.
14267         * elf/pldd-xx.c (find_maps): Likewise.
14268         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14269         <alloca.h>.
14270         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14271         scratch_buffer instead of extend_alloca.
14272         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14273         grp/compat-initgroups.c.
14274         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14275         Rewrite to use struct scratch_buffer instead of extend_alloca.
14276         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14277         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14279 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14281         * math/auto-libm-test-in: Add more tests of cbrt.
14282         * math/auto-libm-test-out: Regenerated.
14283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14285         * math/auto-libm-test-in: Add more tests of cabs.
14286         * math/auto-libm-test-out: Regenerated.
14287         * sysdeps/i386/fpu/libm-test-ulps: Update.
14288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14290         [BZ #18210]
14291         [BZ #18211]
14292         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14293         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14294         computations.
14295         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14296         clog10.
14297         * math/auto-libm-test-out: Regenerated.
14298         * sysdeps/i386/fpu/libm-test-ulps: Update.
14299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14301         [BZ #18197]
14302         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14303         (atan): Set FE_TONEAREST mode for internal computations.
14304         * math/auto-libm-test-in: Add more tests of atan.
14305         * math/auto-libm-test-out: Regenerated.
14307 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14309         [BZ #17930]
14310         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14312 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14314         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14316 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14318         * include/scratch_buffer.h: New file.
14319         * malloc/scratch_buffer_grow.c: Likewise.
14320         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14321         * malloc/scratch_buffer_set_array_size.c: Likewise.
14322         * malloc/tst-scratch_buffer.c: Likewise.
14323         * malloc/Makefile (routines): Add scratch_buffer_grow.
14324         (tests): Add test case.
14325         * malloc/Versions (GLIBC_PRIVATE): Export
14326         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14327         __libc_scratch_buffer_set_array_size.
14329 2015-04-06  Richard Henderson  <rth@redhat.com>
14331         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14332         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14334         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14335         unsigned int before printing.
14337 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14339         [BZ #17596]
14340         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14341         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14343 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14345         * include/libc-internal.h (libc_max_align_t): Define.
14347 2015-04-02  Andreas Schwab  <schwab@suse.de>
14349         [BZ #16850]
14350         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14352 2015-04-02  Mel Gorman  <mgorman@suse.de>
14354         [BZ #17195]
14355         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14356         as well as the main arena.
14358 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14360         [BZ #18185]
14361         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14362         sharing L2 cache to 2 for Silvermont/Knights Landing.
14364 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14366         [BZ #17711]
14367         * config.make.in (have-protected-data): New.
14368         * configure.ac: Check linker support for protected data symbol.
14369         * configure: Regenerated.
14370         * elf/Makefile (modules-names): Add tst-protected1moda and
14371         tst-protected1modb if $(have-protected-data) is yes.
14372         (tests): Add tst-protected1a and tst-protected1b if
14373         $(have-protected-data) is yes.
14374         ($(objpfx)tst-protected1a): New.
14375         ($(objpfx)tst-protected1b): Likewise.
14376         (tst-protected1modb.so-no-z-defs): Likewise.
14377         * elf/tst-protected1a.c: New file.
14378         * elf/tst-protected1b.c: Likewise.
14379         * elf/tst-protected1mod.h: Likewise.
14380         * elf/tst-protected1moda.c: Likewise.
14381         * elf/tst-protected1modb.c: Likewise.
14383 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14385         [BZ #17711]
14386         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14387         indicates it is called from do_lookup_x on relocation against
14388         protected data, skip the data definion in the executable from
14389         copy reloc.
14390         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14391         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14392         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14393         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14394         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14395         otherwise to 0.
14396         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14397         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14398         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14399         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14400         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14401         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14403 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14405         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14406         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14408 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14410         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14411         THREAD_SETMEM_NC.
14412         * sysdeps/x86_64/nptl/tls.h: Ditto.
14414 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14416         * dlfcn/tststatic.c (main): Converted to ...
14417         (do_test): ... this.
14418         (TEST_FUNCTION): New macro.
14419         Include test-skeleton.c.
14421 2015-03-26  Alan Modra  <amodra@gmail.com>
14423         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14424         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14425         zero for undefined weak.
14426         (elf_machine_plt_conflict): Similarly.
14428 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14430         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14431         atanh.
14432         * math/auto-libm-test-out: Regenerated.
14433         * sysdeps/i386/fpu/libm-test-ulps: Update.
14434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14436         * math/auto-libm-test-in: Add another test of asin.
14437         * math/auto-libm-test-out: Regenerated.
14438         * sysdeps/i386/fpu/libm-test-ulps: Update.
14439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14442         Remove macro.
14443         (LLL_EBX_REG): Likewise.
14444         (LLL_ENTER_KERNEL): Likewise.
14446         * math/auto-libm-test-in: Add more tests of asin.
14447         * math/auto-libm-test-out: Regenerated.
14448         * sysdeps/i386/fpu/libm-test-ulps: Update.
14449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451         [BZ #18138]
14452         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14453         libc_do_syscall_args): New structure.
14454         (INTERNAL_SYSCALL_MAIN_0): New macro.
14455         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14456         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14457         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14458         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14459         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14460         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14461         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14462         Replace conditional definitions by conditional definitions of ....
14463         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14464         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14465         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14466         (libpthread-sysdep_routines): Add libc-do-syscall.
14467         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14468         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14469         to __NR_futex not 240.
14471 2015-03-25  Alan Modra  <amodra@gmail.com>
14473         * NEWS: Advertise TLS optimization.
14474         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14475         (DT_PPC_NUM): Increment.
14476         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14477         (CHECK_STATIC_TLS): Use here.
14478         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14479         TLS descriptors.
14480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14481         * sysdeps/powerpc/dl-tls.c: New file.
14482         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14483         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14484         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14485         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14490 2015-03-25  Alan Modra  <amodra@gmail.com>
14492         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14493         for overlapping .opd entries" to "support...".
14494         * sysdeps/powerpc/powerpc64/configure: Regenerate
14496 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14498         * math/auto-libm-test-in: Add more tests of acos.
14499         * math/auto-libm-test-out: Regenerated.
14500         * sysdeps/i386/fpu/libm-test-ulps: Update.
14501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14503         * math/auto-libm-test-in: Add more tests of expm1.
14504         * math/auto-libm-test-out: Regenerated.
14505         * sysdeps/i386/fpu/libm-test-ulps: Update.
14506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14510         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14511         * math/auto-libm-test-out: Regenerated.
14512         * sysdeps/i386/fpu/libm-test-ulps: Update.
14513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14515         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14518         * math/auto-libm-test-in: Add more tests of log2.
14519         * math/auto-libm-test-out: Regenerated.
14520         * sysdeps/i386/fpu/libm-test-ulps: Update.
14521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14525         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14526         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14527         _IO_IS_APPENDING bit in READ_WRITE instead.
14529 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14531         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14532         (__determine_cpumask_size): Replace extend_alloca with a
14533         variable-length array.  Do not treat res == 0 as an error.
14535 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14537         [BZ #18100]
14538         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14539         and integer overflow.
14540         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14541         (main): Add integer overflow tests.
14542         * manual/pattern.texi (Calling Wordexp): Document additional use
14543         for WRDE_SYNTAX.
14545 2015-03-23  Alan Modra  <amodra@gmail.com>
14547         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14548         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14549         and false branch of conditional.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14551         Likewise.
14553 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14555         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14556         libc-modules.h
14557         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14558         unused declaration of _hurd_intr_rpc_msg_in_trap.
14559         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14560         defined instead of whether it is non-zero.
14561         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14562         input constraint instead of both input and output constraint.  Use ecx
14563         clobber instead of %ecx.
14564         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14565         mutex_unlock): Use a statement expression instead of an expression list.
14566         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14567         type to vm_size_t instead of vm_address_t.
14568         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14569         defined instead of whether it is non-zero.
14570         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14571         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14572         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14573         comparisons with mapaddr.
14574         * nscd/nscd-client.h: Include <time.h>.
14575         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14576         9th parameter to __vm_region instead of int.
14577         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14578         * scripts/check-local-headers.sh (exclude): Add device/,
14579         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14580         cthreads.h.
14582 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14584         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14585         to account for alignment padding.
14586         * sysdeps/arm/memmove.S: Likewise.
14588 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14590         * sysdeps/unix/sysv/linux/generic/README: New file.
14592 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14594         [BZ #18138]
14595         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14596         (futex_abstimed_wait)
14597         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14598         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14599         of lll_futex_timed_wait.
14601 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14603         [BZ #17542]
14604         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14606 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14608         [BZ #17090]
14609         [BZ #17620]
14610         [BZ #17621]
14611         [BZ #17628]
14612         * NEWS: Update.
14613         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14614         entries with Static TLS too.  Skip entries past the end of the
14615         allocated DTV, from Alan Modra.
14616         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14617         Static TLS DTV entry set up from...
14618         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14619         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14620         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14621         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14622         for Static TLS.
14623         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14624         that the slot we find is associated with the given map before
14625         using its generation count.
14626         * nptl_db/db_info.c: Include ldsodefs.h.
14627         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14628         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14629         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14630         (link_map::l_tls_offset): New struct field.
14631         (dtv_t::counter): Likewise.
14632         (rtld_global): New struct.
14633         (_rtld_global): New rtld variable.
14634         (dl_tls_dtv_slotinfo_list): New rtld global field.
14635         (dtv_slotinfo_list): New struct.
14636         (dtv_slotinfo): Likewise.
14637         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14638         (td_lookup): Rename to...
14639         (td_mod_lookup): ... this.  Use new mod parameter instead of
14640         LIBPTHREAD_SO.
14641         * nptl_db/td_thr_tlsbase.c: Include link.h.
14642         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14643         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14644         addresses even if the DTV is out of date or missing them.
14645         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14646         index zero-length arrays.
14647         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14648         (td_lookup): Make it a macro implemented in terms of...
14649         (td_mod_lookup): ... this declaration.
14650         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14651         (DB_MAIN_VARIABLE): Likewise.
14653 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14655         [BZ #18134]
14656         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14658 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14660         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14662 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14664         [BZ #18128]
14665         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14666         (atomic_add, atomic_increment_and_test)
14667         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14669 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14671         * stdlib/setenv.c (__add_to_environ):
14672         Dump core quickly if setenv (..., NULL, ...) is called.
14674 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14676         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14677         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14678         all the necessary asm magic in one place.
14679         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14680         using those.
14682 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14684         [BZ #14906]
14685         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14686         traced file mtime. Use consistent log message.
14687         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14688         (register_traced_file): Call install_watches. Always set mtime.
14689         (invalidate_cache): Iterate over all trace files. Call install_watches.
14690         (inotify_check_files): Don't inline. Handle watching parent
14691         directories and configuration file movement in and out.
14692         (handle_inotify_events): New function.
14693         (main_loop_poll): Call handle_inotify_events.
14694         (main_loop_epoll): Likewise.
14695         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14696         (struct traced_file): Use array of inotify fds. Add parent directory,
14697         and basename.
14698         (struct database_dyn): Remove unused file_mtime.
14699         (init_traced_file): New inline function.
14700         (define_traced_file): New macro.
14701         * nss/nss_db/db-init.c: Use define_traced_file.
14702         (_nss_db_init): Use init_traced_file.
14703         * nss/nss_files/files-init.c: Use define_traced_file.
14704         (_nss_files_init): Use init_traced_file.
14706 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14708         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14709         [_LIBC]: Do not include <stdlib.h>.
14710         [!_LIBC] (abort): Remove declaration.
14711         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14712         _FP_STATIC_ASSERT instead of conditionally calling abort.
14713         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14714         (_FP_EXTEND_CNAN): Likewise.
14715         (FP_TRUNC): Likewise.
14716         (__FP_CLZ): Likewise.
14717         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14719 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14721         * manual/string.texi (XPG basename): Fix prototype.
14723 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14725         [BZ #18080]
14726         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14727         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14729         (__setcontext): Likewise.
14730         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14731         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14732         Call rt_sigprocmask syscall one time to set new signal mask
14733         and retrieve the current signal mask instead of two calls.
14734         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14735         (__swapcontext): Likewise.
14736         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14737         * stdlib/tst-setcontext2.c: New file.
14739 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14741         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14743 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14745         [BZ #18093]
14746         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14747         the wrong size.
14749 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14751         [BZ #18043]
14752         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14754 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14756         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14757         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14758         Remove define.
14759         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14760         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14761         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14762         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14763         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14764         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14765         define.
14766         * nptl_db/td_symbol_list.c (td_lookup): Remove
14767         HAVE_ASM_GLOBAL_DOT_NAME code.
14768         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14769         HAVE_ASM_GLOBAL_DOT_NAME check.
14770         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14771         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14772         (DOT_LABEL): Remove define.
14773         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14774         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14775         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14776         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14777         (__TLS_GET_ADDR): Likewise.
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14779         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14781 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14783         [BZ #18111]
14784         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14785         (_FPU_SETCW): Initialize cw from fpsr before storing.
14786         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14787         (fesetexceptflag): Rewrite using fpu_control.h.
14788         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14790 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14792         [BZ #18110]
14793         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14794         asms.
14795         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14797 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14799         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14800         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14801         abort.
14802         (_FP_FMA): Likewise.
14803         (_FP_DIV): Likewise.
14805 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14807         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14808         with 0 in that case.
14809         * Makefile (summarize-tests): New canned sequence, factored out of
14810         commands for targets tests and xtests.  Display summary lines that
14811         don't start with PASS: or XFAIL: rather than ones that do start with
14812         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14813         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14814         do start with ERROR: or FAIL:.
14815         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14816         (except for [$(build-shared) = yes]).
14817         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14818         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14819         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14820         * nptl/Makefile: Revert 2015-03-04 changes.
14821         [$(CXX) empty] (tests-unsupported): New variable.
14822         * debug/Makefile: Likewise.
14824         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14825         gnulib file.  Replace __attribute with __attribute__ throughout.
14827 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14829         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14831 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14833         [BZ #18104]
14834         * math/auto-libm-test-in: Add another test of pow.
14835         * math/auto-libm-test-out: Regenerated.
14837 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14839         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14840         $(config-cflags-nofma).
14842 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14844         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14845         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14846         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14847         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14848         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14849         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14850         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14851         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14852         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14853         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14854         Add comment on closing #endif.
14856 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14858         * posix/wordexp.c (CHAR_IN_SET): New macro.
14859         (parse_param): Use it.
14861 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14863         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14865 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14867         [BZ #18043]
14868         * posix/wordexp.c (parse_param): Fix buffer overflow.
14869         * posix/wordexp-test.c (test_case): Add test case.
14871 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14873         [BZ #18042]
14874         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14875         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14877 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14879         [BZ #18043]
14880         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14881         (do_bz18043): Delete.
14882         (at_page_end): New.
14883         (testit): Refactor to have words at the edge of unreadable page.
14885 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14887         [BZ #16734]
14888         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14889         Cleanup read-only streams as well.
14890         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14892 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14894         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14895         <bits/libc-lockP.h>
14897 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14899         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14900         on [__KERNEL__].
14901         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14902         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14903         * soft-fp/op-common.h (_FP_DECL): Likewise.
14905 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14907         * elf/ifuncdep2.c (global): Replace
14908         __attribute__((visibility("protected"))) with
14909         asm (".protected global").
14910         * elf/ifuncmod1.c (global): Likewise.
14911         * elf/ifuncmod5.c (global): Likewise.
14913 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14915         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14916         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14918 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14920         * manual/install.texi (Configuring and compiling):
14921         Document test-wrapper-env-only.
14922         * INSTALL: Regenerated.
14924 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14926         [BZ #18043]
14927         * posix/wordexp.c (parse_param): Fix buffer overflow.
14928         * posix/wordexp-test.c (do_bz18043): Add test case.
14930 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14932         * time/tst-strptime2.c (do_test): Ensure failing tests are
14933         reported correctly.
14934         * time/tst-strptime3.c (do_test): Likewise.
14936 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14938         Fix aio_error thread-safety.
14939         * sysdeps/pthread/aio_error.c: New file
14940         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14941         synchronization.
14943 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14945         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14946         (group_number, vfprintf): Use it.
14947         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14948         (JUMP, REF): Use it.
14949         (WORK_BUFFER_SIZE): New enum constant.
14950         (process_arg, vfprintf): Use it.
14952 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14954         * manual/errno.texi (Error Messages): Complete example function
14955         by adding missing #define.
14956         (program_invocation_name): Add statement indicating GNU
14957         extension and reference which header file declares the variable.
14958         (program_invocation_short_name): Likewise.
14960 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14962         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14963         compatibility note.
14965 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14967         * Makeconfig (test-wrapper-env-only): New variable.
14968         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14969         then use that with $(test-wrapper-env-only) rather than using
14970         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14972 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14974         [BZ #18082]
14975         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14976         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14977         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14978         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14979         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14980         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14981         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14982         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14983         Likewise.
14984         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14985         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14986         Likewise.
14987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14988         Likewise.
14989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14990         Likewise.
14991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14992         Likewise.
14993         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14995         Likewise.
14996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14997         Likewise.
14998         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14999         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15001 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15003         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15004         (ETH_ALEN): New macro.
15005         (struct ether_addr): Use it for length of ether_addr_octet.
15007         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15008         (setdb): Don't call __nss_configure_lookup for "rpc".
15009         (do_test): Don't call test_rpc.
15010         (output_rpcent, test_rpc): Functions moved ...
15011         * sunrpc/test-rpcent.c: ... to this new file.
15012         * sunrpc/Makefile (tests): Add it.
15014         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15015         __xpg_sigpause.
15016         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15017         * nptl/tst-signal6.c: Likewise.
15018         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15019         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15021         * configure.ac (libc_cv_cxx_link_ok): New check.
15022         Reset CXX to empty if it fails to link.
15023         * configure: Regenerated.
15024         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15025         bug-atexit3-lib only if $(CXX) is nonempty.
15026         * nptl/Makefile (tests): Likewise for tst-cancel24.
15027         (tests, tests-static): Likewise for tst-cancel24-static.
15028         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15029         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15030         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15031         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15033 2015-03-04  Andreas Schwab  <schwab@suse.de>
15035         [BZ #17631]
15036         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15037         for non-GCC compilers.
15038         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15039         Likewise.
15041 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15043         [BZ #17776]
15044         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15045         integer before bitwise and assembly operations.
15046         (feclearexcept): Likewise.
15047         * math/test-fenvinline.c: New file.
15048         * math/Makefile: Add test-fenvinline test.
15050 2015-03-03  Alan Modra  <amodra@gmail.com>
15052         [BZ #16512]
15053         * scripts/localplt.awk: Strip off symbol version.
15054         * NEWS: Mention bug fix.
15056 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15058         * sysdeps/pthread/timer_routines.c
15059         (timer_free_list, thread_free_list, thread_active_list): Make static.
15061 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15063         [BZ #17779]
15064         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15065         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15066         Undefine.
15067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15068         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15069         Likewise.
15070         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15071         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15072         Likewise.
15074 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15076         [BZ #18036]
15077         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15078         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15080 2015-03-02  Andreas Schwab  <schwab@suse.de>
15082         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15083         variable name.
15085 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15087         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15088         Return error status.
15090 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15092         [BZ #15969]
15093         * locale/findlocale.c (_nl_find_locale): Introduce const
15094         version of loc_name and drop unsafe type casts.
15096 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15098         * dlfcn/tststatic2.c (main): Converted to ...
15099         (do_test): ... this.
15100         (TEST_FUNCTION): New macro.
15101         Include test-skeleton.c.
15103 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15105         [BZ #17711]
15106         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15107         (tests-pie): Add vismain.
15108         (CFLAGS-vismain.c): New.
15109         * elf/vismain.c: Add comments for PIE requirement.
15111 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15113         [BZ #18046]
15114         [BZ #18047]
15115         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15116         0x1p-56L as threshold for just returning the argument.
15117         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15118         0x1p-32L as threshold for just returning the argument.
15119         * math/auto-libm-test-in: Add more tests of atanh.
15120         * math/auto-libm-test-out: Regenerated.
15121         * sysdeps/i386/fpu/libm-test-ulps: Update.
15122         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15124 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15126         * string/bcopy.c (bcopy): Call memmove for performance.
15128 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15130         * string/bzero.c (__bzero): Call memset for performance.
15132 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15134         [BZ #18068]
15135         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15136         to 00100000.
15138 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15140         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15142 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15144         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15145         (__kernel_standard): Use CSTR macro when setting exc.name.
15146         * sysdeps/ieee754/Makefile [$(subdir) = math]
15147         (CFLAGS-k_standard.c): Remove variable.
15149         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15150         setting p and q from "else if" to "else".
15151         (qzero): Likewise.
15152         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15153         (qone): Likewise.
15154         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15155         (qzerof): Likewise.
15156         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15157         (qonef): Likewise.
15158         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15159         (qzero): Likewise.
15160         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15161         (qone): Likewise.
15163         [BZ #18038]
15164         [BZ #18039]
15165         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15166         return pi/2 for arguments below 0x1p-113L.
15167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15168         return pi/2 for arguments below 0x1p-106L.
15169         * math/auto-libm-test-in: Add more tests of acos.
15170         * math/auto-libm-test-out: Regenerated.
15172         [BZ #16351]
15173         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15174         (MO): New macro.
15175         (__ieee754_asin): Force underflow exception for results with small
15176         absolute value.
15177         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15178         (MO): New macro.
15179         (__ieee754_asinf): Force underflow exception for results with
15180         small absolute value.
15181         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15182         (__ieee754_asin): Force underflow exception for results with small
15183         absolute value.
15184         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15185         (__ieee754_asinf): Force underflow exception for results with
15186         small absolute value.
15187         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15188         (__ieee754_asinl): Force underflow exception for results with
15189         small absolute value.
15190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15191         (__ieee754_asinl): Force underflow exception for results with
15192         small absolute value.
15193         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15194         (__ieee754_asinl): Force underflow exception for results with
15195         small absolute value.
15196         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15197         Include <math.h>.
15198         * math/auto-libm-test-in: Do not mark underflow exceptions as
15199         possibly missing for bug 16351.
15200         * math/auto-libm-test-out: Regenerated.
15202         [BZ #18030]
15203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15204         of power of 2 down when low part has opposite sign.
15205         * math/libm-test.inc (logb_test_data): Add more tests.
15207 2015-02-26  Andreas Schwab  <schwab@suse.de>
15209         [BZ #18032]
15210         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15211         over collating symbol inside a bracket expression.  Minor cleanup.
15212         * posix/tst-fnmatch3.c (do_test): Add test case.
15214 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15216         [BZ #18029]
15217         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15218         Adjust exponent of power of 2 down when low part has opposite
15219         sign.
15220         * math/libm-test.inc (ilogb_test_data): Add more tests.
15222 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15224         [BZ #15969]
15225         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15226         the previous change.
15228         [BZ #15969]
15229         * locale/findlocale.c (_nl_find_locale): Retry archive search
15230         after alias expansion.
15232 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15234         * iconv/tst-iconv3.c (main): Converted to ...
15235         (do_test): ... this.
15236         (TEST_FUNCTION): New macro.
15237         Include test-skeleton.c.
15239         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15240         (convert): Make function static.
15241         (test_unalign): Likewise.  Add const to argument pointee types.
15242         (main): Replace with static function do_test.
15243         Print "Succeeded." only if RET is zero.
15244         (TEST_FUNCTION): New macro.
15245         Include test-skeleton.c.
15247         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15248         returns a null pointer.
15250 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15252         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15253         to __memcpy_ppc only for static builds.
15255 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15257         [BZ #18020]
15258         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15259         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15260         * math/auto-libm-test-in: Add more tests of asinh.
15261         * math/auto-libm-test-out: Regenerated.
15262         * sysdeps/i386/fpu/libm-test-ulps: Update.
15263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15265 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15267         [BZ #15850]
15268         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15269         and ip6_mtuinfo definitions here.
15270         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15271         in this define too.  Update comment.
15273 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15275         * elf/sprof.c (load_shobj): Tweak error message to match others.
15277 2015-02-24  Kevin Easton  <kevin@guarana.org>
15279         [BZ #16145] (partial fix)
15280         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15281         to reduce lock contention.
15283 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15285         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15286         (struct timex): Update time comment.
15287         (ADJ_SETOFFSET): Define.
15289 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15291         [BZ #18019]
15292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15293         2**56 not 2**28 as threshold for log (2x) formula.
15294         * math/auto-libm-test-in: Add more tests of acosh.
15295         * math/auto-libm-test-out: Regenerated.
15296         * sysdeps/i386/fpu/libm-test-ulps: Update.
15297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15301         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15302         parenthesis around the buf assignment.
15303         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15305 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15307         [BZ #16783]
15308         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15309         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15310         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15311         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15312         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15313         * math/libm-test.inc (scalb_test_data): Add more tests.
15315 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15317         [BZ #17916]
15318         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15319         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15321 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15323         [BZ #17523]
15324         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15325         * io/bits/fcntl2.h (open): Use it.
15326         (openat): Likewise.
15327         * io/open.c (__libc_open): Likewise.
15328         * io/open64.c (__libc_open64): Likewise.
15329         * io/open64_2.c (__open64_2): Likewise.
15330         * io/open_2.c (__open_2): Likewise.
15331         * io/openat.c (__openat): Likewise.
15332         * io/openat64.c (__openat64): Likewise.
15333         * io/openat64_2.c (__openat64_2): Likewise.
15334         * io/openat_2.c (__openat_2): Likewise.
15335         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15336         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15337         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15338         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15339         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15340         (__open_nocancel): Likewise.
15341         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15342         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15343         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15345 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347         [BZ #14841]
15348         * resolv/gethnamaddr.c (getanswer): Skip logging if
15349         RES_USE_DNSSEC is set.
15350         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15352 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15354         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15356 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15358         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15359         201304L, for Unicode 7.
15361 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15363         [BZ #17836]
15364         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15365         shared library.  Add gmon-start.os otherwise.
15366         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15367         $(objpfx)gmon-start.os if builing shared library.
15368         ($(objpfx)g$(static-start-installed-name)): Likewise.
15370 2015-02-23  Andreas Schwab  <schwab@suse.de>
15372         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15374 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15376         [BZ #17269]
15377         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15378         (enlarge_userbuf): Likewise.
15380 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15382         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15383         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15384         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15385         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15387 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15389         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15390         expression inside statement expression.
15392 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15394         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15395         <sysdeps/nptl/lowlevellock.h> and remove macros and
15396         functions that are now defined there.
15397         (SYS_futex): Remove.
15398         (lll_compare_and_swap): Remove.
15399         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15401 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15403         [BZ #17999]
15404         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15405         instead of scandirat.
15406         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15407         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15408         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15409         __scandirat.
15410         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15411         (__scandirat): Declare.  Use libc_hidden_proto.
15412         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15413         Remove variable.
15414         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15416 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15418         [BZ #15319]
15419         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15420         (MO): New macro.
15421         (__ieee754_atan2): For results with small absolute value, force
15422         underflow exception and remove excess range and precision from
15423         return value.
15424         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15425         (MO): New macro.
15426         (__ieee754_atan2f): For results with small absolute value, force
15427         underflow exception and remove excess range and precision from
15428         return value.
15429         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15430         (MO): New macro.
15431         (__atan): For results with small absolute value, force underflow
15432         exception and remove excess range and precision from return value.
15433         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15434         (MO): New macro.
15435         (__atanf): For results with small absolute value, force underflow
15436         exception and remove excess range and precision from return value.
15437         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15438         <math.h>.
15439         (__ieee754_atan2): Force underflow exception for results with
15440         small absolute value.
15441         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15442         <math_private.h>.
15443         (atan): Force underflow exception for results with small absolute
15444         value.
15445         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15446         (__atanf): Force underflow exception for results with small
15447         absolute value.
15448         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15449         <math.h>.
15450         (__atanl): Force underflow exception for results with small
15451         absolute value.
15452         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15453         (__atanl): Force underflow exception for results with small
15454         absolute value.
15455         * sysdeps/x86/fpu/bits/mathinline.h
15456         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15457         (__ieee754_atan2): Only define inline for long double.
15458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15459         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15460         * math/auto-libm-test-in: Do not mark underflow exceptions as
15461         possibly missing for bug 15319.  Add more tests of atan2.
15462         * math/auto-libm-test-out: Regenerated.
15463         * math/libm-test.inc (casin_test_data): Do not mark underflow
15464         exceptions as possibly missing for bug 15319.
15465         (casinh_test_data): Likewise.
15466         * sysdeps/i386/fpu/libm-test-ulps: Update.
15468 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15470         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15471         * sysdeps/mips/bits/endian.h: Fix comments.
15473 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #17996]
15476         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15477         (hdestroy_r): Likewise.
15478         (hsearch_r): Likewise.
15479         (__hcreate_r): Declare and use libc_hidden_proto.
15480         (__hdestroy_r): Likewise.
15481         (__hsearch_r): Likewise.
15482         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15483         (hcreate): Call __hcreate_r instead of hcreate_r.
15484         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15485         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15486         as weak alias of __hcreate_r.
15487         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15488         __hdestroy_r.
15489         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15490         __hsearch_r.
15491         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15492         Remove variable.
15493         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15494         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15495         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15496         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15498 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15501         arena_lock into a single arena_get.
15503 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15505         * dl-reloc.c: Inlucde libc-internal.h.
15506         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15507         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15508         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15509         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15510         (grow_heap): Likewise.
15511         * malloc/malloc.c: Include libc-internal.h.
15512         (do_check_malloc): Call powerof2.
15513         (sysmalloc): Use pagesize. Call ALIGN_UP.
15514         (systrim): Use pagesize.
15515         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15516         (__libc_valloc): Use pagesize.
15517         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15519 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15521         [BZ #17991]
15522         * include/sys/resource.h (__getrlimit64): Declare.  Use
15523         libc_hidden_proto.
15524         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15525         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15526         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15527         getrlimit64.
15528         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15529         __getrlimit64.
15530         [!getrlimit64] (getrlimit64): Define as weak alias of
15531         __getrlimit64.  Use libc_hidden_weak.
15532         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15533         using __getrlimit64 not __new_getrlimit64.
15534         (__GI_getrlimit64): Likewise.
15535         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15536         Likewise.
15537         (__GI_getrlimit64): Likewise.
15538         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15540         (getrlimit): Add __getrlimit64 alias.
15541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15542         Likewise.
15543         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15544         Remove variable.
15545         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15546         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15548 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15550         * libio/fileops.c: Add missing sys/mman.h
15551         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15553 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15555         * manual/math.texi (Errors in Math Functions): Clarify goals
15556         regarding inexact and underflow exceptions.
15558 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15560         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15561         * sysdeps/mips/memset.S: Ditto.
15563 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15565         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15567 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15569         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15570         (__v1longjmp): Remove versioned symbol.
15571         (__v1siglongjmp): Remove alias and versioned symbol.
15572         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15573         (__v2siglongjmp): Likewise.
15575 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15577         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15579 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15581         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15583 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15585         [BZ #17987]
15586         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15587         zero result does not depend on the sign resulting from
15588         subtraction.
15589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15590         Likewise.
15591         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15593         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15594         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15595         * math/libm-test.inc (remquo_test_data): Add more tests.
15597 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15599         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15600         Problem reported by J William Piggott.
15602 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15604         [BZ #17978]
15605         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15606         products 4 * y and 2 * y where those would overflow.
15607         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15608         Likewise.
15609         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15610         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15611         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15612         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15613         * math/libm-test.inc (remquo_test_data): Add more tests.
15615         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15617         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15618         [defined _COMPILING_NEWLIB].
15619         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15620         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15622         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15623         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15625 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15627         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15628         acquired.
15630 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15632         [BZ #17792]
15633         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15634         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15635         HOST_STACK_END_ADDR): Likewise.
15637 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15639         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15640         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15641         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15643 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15645         * sysdeps/generic/c++-types.data: New file.
15646         * sysdeps/generic/ld.abilist: New file.
15647         * sysdeps/generic/libBrokenLocale.abilist: New file.
15648         * sysdeps/generic/libanl.abilist: New file.
15649         * sysdeps/generic/libc.abilist: New file.
15650         * sysdeps/generic/libcrypt.abilist: New file.
15651         * sysdeps/generic/libdl.abilist: New file.
15652         * sysdeps/generic/libm.abilist: New file.
15653         * sysdeps/generic/libpthread.abilist: New file.
15654         * sysdeps/generic/libresolv.abilist: New file.
15655         * sysdeps/generic/librt.abilist: New file.
15657 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15659         [BZ #17569]
15660         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15661         Compute absolute value of x as modified by fmod, not original
15662         value of x.
15663         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15664         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15665         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15666         RUN_TEST_ffI_f1_mod8.
15667         (remquo_test_data): Add more tests.
15669 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15671         * sysdeps/init_array/pt-crti.S: New file.
15673 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15675         [BZ #17967]
15676         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15677         __builtin_fmaf instead of relying on contraction of a * b + c.
15679 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15681         [BZ #17969]
15682         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15683         node.
15685 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15687         [BZ #17964]
15688         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15689         __builtin_fma instead of relying on contraction of a * b + c.
15691 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15693         * Makeconfig (ASFLAGS): Add -Werror=undef.
15694         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15695         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15696         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15698         * Makeconfig (after-link): New variable.
15699         (+link-pie, +link-pie-tests): Use it.
15700         (+link-static, +link-static-tests): Likewise.
15701         (+link, +link-tests): Likewise.
15702         * Makerules (build-module, build-module-asneeded): Likewise.
15703         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15704         Likewise.
15705         * elf/Makefile ($(objpfx)ld.so): Likewise.
15707 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15709         [BZ #17965]
15710         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15711         both struct timeval and struct timespec.
15713 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15715         [BZ #16560]
15716         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15717         and redefine.
15718         (__ieee754_exp2l): Do not multiply small fractional parts by
15719         M_LN2l.
15720         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15721         small argument.
15722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15723         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15724         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15725         * math/auto-libm-test-in: Add more tests of exp2.
15726         * math/auto-libm-test-out: Regenerated.
15728 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15730         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15731         unaligned path.
15733 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15735         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15736         little endian.
15738 2015-02-12  Andreas Schwab  <schwab@suse.de>
15740         [BZ #15790]
15741         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15742         Filter out elision flags from value returned in kind.
15743         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15744         * nptl/tst-pthread-mutexattr.c: New file.
15746 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15748         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15749         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15750         into gnu-gnu, and update comment to refer to abi-tags.
15752 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15754         [BZ #15467]
15755         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15756         (__sincos): Set errno to EDOM for infinite argument.
15757         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15758         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15759         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15760         (__sincosl): Set errno to EDOM for infinite argument.
15761         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15762         (__sincosl): Set errno to EDOM for infinite argument.
15763         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15764         (__sincosl): Set errno to EDOM for infinite argument.
15765         * math/libm-test.inc (sincos_test_data): Test errno setting.
15767 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15769         * string/strxfrm_l.c: Remove #define STRCMP.
15770         * string/strcoll_l.c: Remove #define STRLEN.
15771         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15772         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15774 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15776         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15777         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15778         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15779         * sysdeps/mips/mips64/Makefile: ... here.
15780         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15781         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15782         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15783         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15784         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15785         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15786         * sysdeps/mips/mips64/n64/Implies: Likewise.
15788 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15790         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15791         <sys/time.h>, <string.h>, and <errno.h>.
15792         (dest_offset, dest_address, value, zero): Remove unused variables.
15793         (ldouble): Remove typedef.
15794         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15795         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15796         1).  Fix code style.
15797         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15798         (check): Function removed.
15799         (CHECK): New macro.
15800         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15801         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15802         Don't call set_sigaction_FP and remove_sigaction_FP here.
15803         (ldouble_test): Just use 'long double' as macro argument, no need for
15804         the 'ldouble' typedef.
15805         (do_test): Set up SIGFPE handler at start, using plain signal rather
15806         than sigaction.  Fix code style.
15808 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15810         [BZ #17949]
15811         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15812         jump label.
15814 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15816         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15817         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15819         * sysdeps/powerpc/configure.ac: Remove file.
15820         * sysdeps/powerpc/configure: Likewise.
15822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15823         [sysdep_routines]: Remove wordcopy-power6 object.
15824         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15825         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15826         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15827         (__memmove_ppc32): Likewise.
15828         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15829         file.
15830         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15831         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15832         Remove preprocessor.
15834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15835         [sysdep_routines]: Remove wide chars objects.
15836         [wcsmbs]: New rule for wide char objects.
15838         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15839         Remove wordcopy-power6 obejct.
15840         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15841         Use local call for wordcopy and memcpy symbols.
15842         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15844         implementation for loader.
15845         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15848         Remove wordcopy-power7 object.
15849         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15850         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15851         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15852         (_wordcopy_fwd_dest_aligned): Likewise.
15853         (_wordcopy_bwd_aligned): Likewise.
15854         (_wordcopy_bwd_dest_aligned): Likewise.
15856         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15857         Rewrite to call __memmove_ppc instead of include default
15858         implementation.
15860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15861         Remove wide chars objects.
15862         [wcsmbs]: New rule for wide char objects.
15864 2015-02-09  Andreas Schwab  <schwab@suse.de>
15866         [BZ #17912]
15867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15868         in terms of __O_DIRECTORY.
15870 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15872         * time/getdate.c: Include <stdbool.h>.
15873         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15874         call PTR_MANGLE.
15875         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15876         PTR_DEMANGLE.
15878 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15880         Add ersatz _Static_assert on older C hosts
15881         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15882         pre-C11 C platform that is not known to support _Static_assert.
15884 2015-02-07  Richard Braun  <rbraun@sceen.net>
15886         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15887         sigstate.
15888         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15890 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15892         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15893         priority against unexistent AIO_PRIO_DELTA_MAX.
15894         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15895         instead of int.
15896         * misc/fchflags.c (fchflags): Likewise.
15897         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15898         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15899         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15900         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15901         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15902         Declare macros.
15903         [__USE_MISC] (chflags, fchflags): Declare functions.
15904         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15905         EINVAL when nfds is greater than FD_SETSIZE.
15906         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15907         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15908         45.
15909         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15910         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15911         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15912         MACH_RCV_TIMED_OUT.
15913         * hurd/hurd/signal.h (_hurd_self_sigstate,
15914         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15915         Explicit casts from void *.
15916         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15917         * abi-tags: Rename gnu-gnu os into gnu.
15919         [BZ #4719]
15920         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15921         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15922         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15923         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15924         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15925         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15927         [BZ #17944]
15928         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15929         duplicates ADDR->sun_path with sockaddr LEN limitation.
15930         * sysdeps/mach/hurd/connect.c: Include <string.h>
15931         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15932         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15933         * sysdeps/mach/hurd/sendto.c: Likewise.
15934         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15935         implementing it by hand.
15937 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15939         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15940         Use sfi_breg on ldr.
15941         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15942         Likewise.
15944         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15945         it's defined.
15946         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15947         Test SIGSETXID only if it's defined.
15949         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15951         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15952         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15954         * nptl/tst-align2.c: Moved ...
15955         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15956         * nptl/Makefile (tests): Remove tst-align2.
15957         * sysdeps/unix/sysv/linux/Makefile
15958         [$(subdir) = nptl] (tests): Add tst-align-clone.
15959         * nptl/tst-getpid1.c: Moved ...
15960         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15961         * nptl/tst-getpid2.c: Moved ...
15962         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15963         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15964         * sysdeps/unix/sysv/linux/Makefile
15965         [$(subdir) = nptl] (tests): ... here.
15966         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15967         * sysdeps/unix/sysv/linux/Makefile
15968         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15970         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15971         Drop trailing \n from perror argument.  Use return rather than exit.
15973         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15974         on [SA_SIGINFO].
15975         * nptl/tst-cancel21.c (do_test): Likewise.
15976         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15977         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15978         [!SA_SIGINFO]: Make it a stub test.
15980         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15981         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15983         * posix/tst-getlogin.c: Move to ...
15984         * login/tst-getlogin.c: ... here.
15985         * posix/Makefile (tests): Move tst-getlogin to ...
15986         * login/Makefile (tests): ... here.
15988         * libio/tst-atime.c (do_test): Move local variables SV and E
15989         inside [ST_NOATIME] conditional.
15991         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15993         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15995         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15996         (wait_code): New function replaces macro.
15997         Call nanosleep rather than syscall.
15999         * nptl/pt-system.c: Rewritten.  Put everything under
16000         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16001         Use IFUNC to redirect when possible.
16003         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16004         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16005         Use IFUNC to redirect when possible.
16007         * nptl/pt-fork.c: Rewritten.  Put everything under
16008         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16009         Use IFUNC to redirect when possible.
16010         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16012         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16013         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16014         unconditionally nowadays.  This included the only reference to
16015         __vdso_clock_gettime that appears outside libc proper.
16016         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16017         Remove version set (containing only __vdso_clock_gettime).
16018         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16019         Add attribute_hidden.
16020         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16021         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16022         libc_hidden_data_def.
16023         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16024         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16026         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16027         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16028         setrpcent, and getrpcport to ...
16029         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16030         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16031         getrpcbynumber_r, and getrpcent_r to ...
16032         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16033         * inet/getrpcbyname.c: Moved ...
16034         * sunrpc/getrpcbyname.c: ... here.
16035         * inet/getrpcbyname_r.c: Moved ...
16036         * sunrpc/getrpcbyname_r.c: ... here.
16037         * inet/getrpcbynumber.c: Moved ...
16038         * sunrpc/getrpcbynumber.c: ... here.
16039         * inet/getrpcbynumber_r.c: Moved ...
16040         * sunrpc/getrpcbynumber_r.c: ... here.
16041         * inet/getrpcent.c: Moved ...
16042         * sunrpc/getrpcent.c: ... here.
16043         * inet/getrpcent_r.c: Moved ...
16044         * sunrpc/getrpcent_r.c: ... here.
16045         * inet/Makefile (routines): Move those to ...
16046         * sunrpc/Makefile (routines): ... here.
16047         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16048         the $(subdirs) list.
16049         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16050         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16051         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16052         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16054         * elf/Makefile (routines): Include $(all-dl-routines), not just
16055         $(dl-routines).
16056         (rtld-routines): Likewise.  Use = rather than :=.
16057         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16058         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16059         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16060         * sysdeps/arm/Makefile: Likewise.
16061         * sysdeps/i386/Makefile: Likewise.
16062         * sysdeps/x86_64/Makefile: Likewise.
16063         * sysdeps/hppa/Makefile [$(subdir) = elf]
16064         (sysdep_routines, sysdep-rtld-routines): Don't add
16065         $(sysdep-dl-routines) to these.
16066         * sysdeps/ia64/Makefile: Likewise.
16067         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16068         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16069         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16070         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16071         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16072         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16073         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16074         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16075         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16076         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16077         these; sysdep-dl-routines alone is enough.
16079 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16081         [BZ #17932]
16082         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16083         where multiplication results in zero and third argument is finite
16084         and nonzero.
16085         * math/auto-libm-test-in: Add more tests of fma.
16086         * math/auto-libm-test-out: Regenerated.
16088         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16089         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16090         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16091         (_FP_CMP_EQ): Likewise.
16092         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16094         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16095         extra argument CHECK_NAN.  Redefine as wrapper around
16096         _FP_EXTEND_CNAN.
16098 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16100         * version.h (RELEASE): Set to "stable".
16101         (VERSION): Set to "2.21"
16102         * include/features.h (__GLIBC_MINOR__): Set to 21.
16104         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16106 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16107             Paul Eggert  <eggert@cs.ucla.edu>
16109         [BZ #16618]
16110         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16111         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16112         size in bytes. Store needed elements in wpmax. Use needed size
16113         in bytes for extend_alloca.
16115 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16117         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16118         binutls 2.25, and texinfo 5.2.
16119         * INSTALL: Regenerate.
16120         * sysdeps/nios2/configure: Regenerate.
16121         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16122         * manual/contrib.texi: Update.
16123         * po/be.po: Update.
16124         * po/bg.po: Update.
16125         * po/ca.po: Update.
16126         * po/cs.po: Update.
16127         * po/da.po: Update.
16128         * po/de.po: Update.
16129         * po/el.po: Update.
16130         * po/eo.po: Update.
16131         * po/es.po: Update.
16132         * po/fi.po: Update.
16133         * po/fr.po: Update.
16134         * po/gl.po: Update.
16135         * po/hr.po: Update.
16136         * po/hu.po: Update.
16137         * po/ia.po: Update.
16138         * po/id.po: Update.
16139         * po/it.po: Update.
16140         * po/ja.po: Update.
16141         * po/ko.po: Update.
16142         * po/lt.po: Update.
16143         * po/nb.po: Update.
16144         * po/nl.po: Update.
16145         * po/pl.po: Update.
16146         * po/pt_BR.po: Update.
16147         * po/ru.po: Update.
16148         * po/rw.po: Update.
16149         * po/sk.po: Update.
16150         * po/sl.po: Update.
16151         * po/sv.po: Update.
16152         * po/tr.po: Update.
16153         * po/uk.po: Update.
16154         * po/vi.po: Update.
16155         * po/zh_CN.po: Update.
16156         * po/zh_TW.po: Update.
16158         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16159         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16160         * sysdeps/hppa/dl-irel.h: Remove #warning.
16161         * sysdeps/hppa/entry.h: Provide prototype for
16162         __canonicalize_funcptr_for_compare and cast argument.
16163         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16164         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16165         * sysdeps/hppa/sotruss-lib.c: New file.
16166         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16167         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16168         (atomic_compare_and_exchange_bool_acq): Likewise.
16169         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16170         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16172         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16173         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16174         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16176 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16178         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16179         called function in non-PIC case.
16181 2015-01-31  David S. Miller  <davem@davemloft.net>
16183         * sysdeps/sparc/sparc32/bits/atomic.h
16184         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16185         unlock not after it.
16186         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16187         volatile register usage warnings from the compiler.
16189         * sysdeps/sparc/nptl/sem_init.c: Delete.
16190         * sysdeps/sparc/nptl/sem_post.c: Delete.
16191         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16192         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16193         * sysdeps/sparc/sparc32/sem_init.c: New file.
16194         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16195         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16196         padding explicitly initialized.
16197         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16198         padding for in-semaphore spinlock.
16199         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16200         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16201         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16202         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16203         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16204         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16205         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16206         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16207         version.
16208         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16209         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16211 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16213         [BZ #17801]
16214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16215         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16216         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16217         New.
16218         (index_AVX_Fast_Unaligned_Load): Likewise.
16219         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16220         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16221         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16222         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16223         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16224         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16225         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16226         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16227         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16229 2015-01-29  Andreas Schwab  <schwab@suse.de>
16231         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16233 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16235         [BZ #17892]
16236         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16238 2015-01-28  Martin Sebor  <msebor@redhat.com>
16240         * math/README.libm-test: Clarify. Add "How to read the test output."
16242 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16244         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16245         Define to 0.
16247 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16249         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16250         (__HAVE_64B_ATOMICS): Define to 0.
16252 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16254         [BZ #17885]
16255         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16256         value to set as new flag.
16258         [BZ #16576]
16259         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16260         and use _ARCH_PPCSQ instead.
16261         (__ieee754_sqrt): Likewise.
16262         (__ieee754_sqrtf): Likewise.
16263         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16264         _ARCH_PPCSQ is defined.
16265         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16266         fsqrt instruction.
16267         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16268         _ARCH_PPCSQ is defined.
16269         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16270         fsqrts instruction.
16271         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16273 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16275         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16276         bug (GCC BZ #64739).
16278 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16280         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16281         Mark _retval as used.
16282         (lll_futex_wake_unlock): Likewise.
16283         (lll_futex_timed_wait_requeue_pi): Likewise.
16285         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16286         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16287         register variables.
16289         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16290         libm_hidden_def.
16292         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16293         (__bswap_64): Mark as __always_inline.
16295 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16297         [BZ #15378]
16298         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16299         when none of the search directories exist.
16301 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16303         [BZ #17869]
16304         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16305         power8 in .machine directive.
16307         [BZ #17868]
16308         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16309         set dependency from opd value.
16311 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16314         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16315         architecture.
16317 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16319         [BZ #17870]
16320         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16321         with uint64_t.
16322         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16323         (uint64_t) 1.
16324         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16325         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16326         Replace 1UL with (uint64_t) 1.
16327         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16328         int with uint64_t.
16330 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16332         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16333         (if_freenameindex): Likewise.
16335         * resource/getrlimit64.c: Add missing libc_hidden_def.
16337 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16339         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16340         __label__.
16341         (_FP_FMA): Likewise.
16342         (_FP_TO_INT_ROUND): Likewise.
16343         (_FP_FROM_INT): Likewise.
16345 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16347         [BZ #16418]
16348         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16349         Make code racy and cancel safe.
16351 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16353         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16354         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16355         attribution.
16357         * pwd/tst-getpw.c: Rewrite.
16359         [BZ #17702]
16360         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16361         (modules-names): Add moddummy1 and moddummy2.
16362         ($(objpfx)tst-rec-dlopen): Define.
16363         * dlfcn/moddummy1.c: New file.
16364         * dlfcn/moddummy2.c: New file.
16365         * dlfcn/tst-rec-dlopen.c: New file.
16366         * elf/dl-cache.c (_dl_load_cache_lookup):
16367         Return char*. Copy result with alloca/strcpy/strdup.
16368         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16369         returns char*. Free cached. If not saving realname
16370         free cached.
16371         * elf/dl-open.c (dl_open_worker): Do not assert that
16372         _r_debug->r_state is RT_CONSISTENT.
16373         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16374         returns char*.
16376 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16377             Carlos O'Donell  <carlos@redhat.com>
16379         [BZ #12674]
16380         * nptl/sem_waitcommon.c: New file.
16381         * nptl/sem_wait.c: Include sem_waitcommon.c.
16382         (__sem_wait_cleanup, do_futex_wait): Remove.
16383         (__new_sem_wait): Adapt.
16384         (__new_sem_trywait): New function.
16385         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16386         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16387         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16388         (sem_timedwait): Adapt.
16389         * nptl/sem_post.c (__new_sem_post): Adapt.
16390         (futex_wake): New function.
16391         (__old_sem_post): Add release MO fence.
16392         * nptl/sem_open.c (sem_open): Adapt.
16393         * nptl/sem_init.c (__new_sem_init): Adapt.
16394         (futex_private_if_supported): New function.
16395         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16396         (__old_sem_getvalue): Add using previous code.
16397         * sysdeps/nptl/internaltypes.h: Adapt.
16398         * nptl/tst-sem13.c (do_test): Adapt.
16399         * nptl/tst-sem11.c (main): Adapt.
16400         * nptl/sem_trywait.c: Remove.
16401         * nptl/DESIGN-sem.txt: Remove.
16402         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16403         (gen-as-const-headers): Remove structsem.sym.
16404         * nptl/structsem.sym: Remove.
16405         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16406         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16407         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16408         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16409         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16410         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16411         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16412         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16413         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16414         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16415         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16416         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16417         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16418         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16419         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16420         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16421         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16422         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16423         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16424         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16425         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16426         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16428 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16430         * INSTALL: Regenerated.
16432         * po/libc.pot: Regenerated.
16434 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16435             Sandra Loosemore  <sandra@codesourcery.com>
16436             Andrew Jenner  <andrew@codesourcery.com>
16437             Joseph Myers  <joseph@codesourcery.com>
16438             Nathan Sidwell  <nathan@codesourcery.com>
16440         * NEWS: Mention new Nios II port.
16441         * sysdeps/nios2/Implies: New file.
16442         * sysdeps/nios2/Makefile: New file.
16443         * sysdeps/nios2/Subdirs: New file.
16444         * sysdeps/nios2/Versions: New file.
16445         * sysdeps/nios2/__longjmp.S: New file.
16446         * sysdeps/nios2/abort-instr.h: New file.
16447         * sysdeps/nios2/backtrace.c: New file.
16448         * sysdeps/nios2/bits/endian.h: New file.
16449         * sysdeps/nios2/bits/fenv.h: New file.
16450         * sysdeps/nios2/bits/link.h: New file.
16451         * sysdeps/nios2/bits/setjmp.h: New file.
16452         * sysdeps/nios2/bsd-_setjmp.S: New file.
16453         * sysdeps/nios2/bsd-setjmp.S: New file.
16454         * sysdeps/nios2/configure: New generated file.
16455         * sysdeps/nios2/configure.ac: New file.
16456         * sysdeps/nios2/crti.S: New file.
16457         * sysdeps/nios2/crtn.S: New file.
16458         * sysdeps/nios2/dl-init.c: New file.
16459         * sysdeps/nios2/dl-machine.h: New file.
16460         * sysdeps/nios2/dl-sysdep.h: New file.
16461         * sysdeps/nios2/dl-tls.h: New file.
16462         * sysdeps/nios2/dl-trampoline.S: New file.
16463         * sysdeps/nios2/gccframe.h: New file.
16464         * sysdeps/nios2/gmp-mparam.h: New file.
16465         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16466         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16467         * sysdeps/nios2/ldsodefs.h: New file.
16468         * sysdeps/nios2/libc-tls.c: New file.
16469         * sysdeps/nios2/libm-test-ulps: New file.
16470         * sysdeps/nios2/machine-gmon.h: New file.
16471         * sysdeps/nios2/math-tests.h: New file.
16472         * sysdeps/nios2/math_private.h: New file.
16473         * sysdeps/nios2/memusage.h: New file.
16474         * sysdeps/nios2/nptl/Makefile: New file.
16475         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16476         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16477         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16478         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16479         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16480         * sysdeps/nios2/nptl/tls.h: New file.
16481         * sysdeps/nios2/preconfigure: New file.
16482         * sysdeps/nios2/s_fma.c: New file.
16483         * sysdeps/nios2/s_fmaf.c: New file.
16484         * sysdeps/nios2/setjmp.S: New file.
16485         * sysdeps/nios2/sfp-machine.h: New file.
16486         * sysdeps/nios2/sotruss-lib.c: New file.
16487         * sysdeps/nios2/stackguard-macros.h: New file.
16488         * sysdeps/nios2/stackinfo.h: New file.
16489         * sysdeps/nios2/start.S: New file.
16490         * sysdeps/nios2/sysdep.h: New file.
16491         * sysdeps/nios2/tls-macros.h: New file.
16492         * sysdeps/nios2/tst-audit.h: New file.
16493         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16494         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16495         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16496         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16497         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16498         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16499         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16500         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16501         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16502         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16503         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16504         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16505         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16506         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16507         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16508         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16509         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16510         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16511         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16512         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16513         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16514         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16515         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16516         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16517         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16518         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16519         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16520         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16521         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16522         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16523         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16524         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16525         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16526         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16527         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16528         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16529         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16530         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16531         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16532         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16533         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16534         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16535         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16536         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16538 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16540         [BZ #17844]
16541         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16542         (getutent): Use weak_alias in non SHARED case
16543         and default_symbol_version in SHARED case.
16544         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16545         (getutent_r, pututline): Likewise.
16546         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16547         (getutid): Likewise.
16548         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16549         (getutid_r): Likewise.
16550         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16551         (getutline): Likewise.
16552         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16553         (getutline_r): Likewise.
16554         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16555         (updwtmp): Likewise.
16557 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16559         [BZ #17848]
16560         * sysdeps/s390/s390-32/memcmp.S
16561         (memcmp_g5): Rename to __memcmp_g5.
16562         * sysdeps/s390/s390-32/memcpy.S
16563         (memcpy_g5): Rename to __memcpy_g5.
16564         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16565         (memcpy_mvcle) Rename to __memcpy_mvcle.
16566         * sysdeps/s390/s390-32/memset.S
16567         (memset_g5): Rename to __memset_g5.
16568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16569         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16570         and use prefixed functions.
16571         * sysdeps/s390/s390-32/multiarch/memcmp.S
16572         (memcmp_z196): Rename to __memcmp_z196.
16573         (memcmp_z10): Rename to __memcmp_z10.
16574         (memcmp): Set alias to __memcmp_g5.
16575         (bcmp): Set alias to __memcmp_g5.
16576         * sysdeps/s390/s390-32/multiarch/memcpy.S
16577         (memcpy_z196): Rename to __memcpy_z196.
16578         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16579         (memcpy_z10): Rename to __memcpy_z10.
16580         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16581         (memcpy): Set alias to __memcpy_g5.
16582         * sysdeps/s390/s390-32/multiarch/memset.S
16583         (memset_z196): Rename to __memset_z196.
16584         Jump to __memset_mvcle instead of memset_mvcle.
16585         (memset_z10): Rename to __memset_z10.
16586         Jump to __memset_mvcle instead of memset_mvcle.
16587         (memset_mvcle) Rename to __memset_mvcle.
16588         (memset): Set alias to __memset_g5.
16589         * sysdeps/s390/s390-64/memcmp.S
16590         (memcmp_z900): Rename to __memcmp_z900.
16591         * sysdeps/s390/s390-64/memcpy.S
16592         (memcpy_z900): Rename to __memcpy_z900.
16593         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16594         (memcpy_mvcle) Rename to __memcpy_mvcle.
16595         * sysdeps/s390/s390-64/memset.S
16596         (memset_z900): Rename to __memset_z900.
16597         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16598         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16599         and use prefixed functions.
16600         * sysdeps/s390/s390-64/multiarch/memcmp.S
16601         (memcmp_z196): Rename to __memcmp_z196.
16602         (memcmp_z10): Rename to __memcmp_z10.
16603         (memcmp): Set alias to __memcmp_z900.
16604         (bcmp): Set alias to __memcmp_z900.
16605         * sysdeps/s390/s390-64/multiarch/memcpy.S
16606         (memcpy_z196): Rename to __memcpy_z196.
16607         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16608         (memcpy_z10): Rename to __memcpy_z10.
16609         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16610         (memcpy): Set alias to __memcpy_z900.
16611         * sysdeps/s390/s390-64/multiarch/memset.S
16612         (memset_z196): Rename to __memset_z196.
16613         Jump to __memset_mvcle instead of memset_mvcle.
16614         (memset_z10): Rename to __memset_z10.
16615         Jump to __memset_mvcle instead of memset_mvcle.
16616         (memset_mvcle) Rename to __memset_mvcle.
16617         (memset): Set alias to __memset_z900.
16619 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16621         [BZ #17748]
16622         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16623         __fesetenv instead of fesetenv.
16625 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16627         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16628         macro.
16630 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16632         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16633         regression on LE.
16635         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16636         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16637         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16638         strncmp-power8 object.
16639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16640         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16641         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16642         * NEWS: Update.
16644 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16645             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16647         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16648         trailing byte check.
16650 2015-01-13  David S. Miller  <davem@davemloft.net>
16652         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16654 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16656         * login/logout.c (logout): Use memset rather than bzero.
16657         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16658         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16659         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16660         (_gethtbyaddr): Likewise.
16661         * locale/programs/simple-hash.c (bcopy): Macro removed.
16663 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16666         Add strcmp-power8 object.
16667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16668         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16669         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16670         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16671         __strcmp_power8 implementation.
16672         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16673         * NEWS: Update.
16675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16676         Add strncpy-power8 and stpncpy-power8 objects.
16677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16678         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16679         implementations.
16680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16681         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16682         __stpncpy_power8 implementation.
16683         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16684         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16685         __strncpy_power8 implementation.
16686         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16687         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16688         * NEWS: Update.
16690         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16691         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16692         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16695         strncat-power8 object.
16696         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16697         __strcat_power8 implementation.
16698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16699         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16700         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16701         optimized strcat for power8.
16703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16704         strcpy-power8 and stpcpy-power8 objects.
16705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16706         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16707         implementations.
16708         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16709         multiarch stpcpy implementation for POWER8.
16710         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16711         multiarch strcpy implementation for POWER8.
16712         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16713         __strcpy_power8 function.
16714         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16715         stpcpy for POWER8.
16716         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16717         strcpy for POWER8.
16718         * NEWS: Update.
16720 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16722         [BZ #16009]
16723         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16724         weights and rules. Use do_xfrm_cached if data fits in cache,
16725         do_xfrm otherwise.  Moved former main loop to...
16726         * (do_xfrm_cached): New function.
16727         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16728         find_idx, find_position and stack_push.
16729         * (find_idx): New function.
16730         * (find_position): Likewise.
16731         * localedata/sort-test.sh: Added test run for do_xfrm.
16732         * localedata/xfrm-test.c (main): Added command line option
16733         -nocache to run the test with strings that are too large for
16734         the STRXFRM cache.
16736 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16738         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16739         variable to lll_futex_wake call, not the value itself.
16741 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16743         [BZ #17803]
16744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16745         twom64.  Adjust value to 0x1p-64L.
16746         (__scalblnl): Only return standard underflowing result for K <=
16747         -64 not K <= -63; adjust exponent for underflowing result by 64
16748         not 63.
16749         * math/libm-test.inc (scalbn_test_data): Add more tests.
16750         (scalbln_test_data): Likewise.
16752         [BZ #17834]
16753         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16754         0x1p63L.
16755         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16756         not HX.
16757         * math/libm-test.inc (scalbn_test_data): Add more tests.
16758         (scalbln_test_data): Likewise.
16760 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16761             Stefani Seibold  <stefani@seibold.net>
16763         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16764         (sysdep_routines): Add dl-vdso here, ...
16765         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16766         (sysdep_routines): ... not here.
16767         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16768         fallback when vDSO is not presented.
16769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16770         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16771         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16772         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16773         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16774         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16775         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16776         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16777         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16779         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16780         fallback configurable symbol when vDSO is not available.
16781         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16782         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16783         be able to redefine fallback symbol when vDSO is not available.
16784         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16785         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16787 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16789         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16790         (TLS_INIT_TP): Add tm_capable initialization.
16791         (TLS_DEFINE_INIT_TP): Likewise.
16792         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16793         TCB.
16794         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16795         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16796         calculation.
16797         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16798         transactoion is lock elision is built and TCB tm_capable is set.
16799         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16801         (INTERNAL_SYSCALL_NCS): Likewise.
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16803         (INTERNAL_SYSCALL_NCS): Likewise.
16804         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16806         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16807         for powerpc.
16808         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16809         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16810         and remove it for 32 bits case.
16811         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16813         initialization.
16814         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16815         Disable lock elision with rdlocks if elision is not available.
16817         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16818         (sysdep_routines): Add lock elision objects.
16819         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16820         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16821         [pthread_mutex_t] (__elision): Add field.
16822         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16823         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16824         elision definitions for powerpc.
16825         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16826         implementation of lock elision for powerpc.
16827         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16828         implementation of timed lock elision for powerpc.
16829         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16830         implementation of trylock with lock elision for powerpc.
16831         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16832         implementaion of unlock for lock elision for powerpc.
16833         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16834         automatic enable lock elision for mutexes.
16835         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16836         transaction execution definitions for powerpc.
16837         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16838         definitions.
16839         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16840         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16841         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16842         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16843         * NEWS: Update.
16845 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16847         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16848         for #include of <shm-directory.h>.
16850 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16852         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16853         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16855 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16857         [BZ #17791]
16858         * NEWS: Mention bug fix.
16859         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16860         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16861         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16863 2015-01-09  Torvald Riegel <triegel@redhat.com>
16865         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16867 2015-01-09  Torvald Riegel <triegel@redhat.com>
16869         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16871 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16873         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16874         pointer and cast to uintptr_t.
16876 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16878         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16879         removed.
16880         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16882 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16884         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16885         of 0.
16887 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16889         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16890         <nptl/pthreadP.h> instead.
16891         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16893         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16894         already defined.
16895         [__SIGRTMIN] (init): Function removed.
16896         [__SIGRTMIN] (initialized): Variable removed.
16897         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16898         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16899         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16900         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16901         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16902         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16903         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16904         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16905         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16906         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16907         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16908         * sysdeps/nptl/allocrtsig.c: New file.
16909         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16910         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16911         * sysdeps/generic/testrtsig.h: File removed.
16913         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16914         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16916         * nptl/nptl-init.c (pthread_functions): Conditionalize
16917         .ptr__nptl_setxid initialization on [SIGSETXID].
16919         * sysdeps/nptl/sys/procfs.h: New file.
16920         * nptl_db/Makefile (headers): Add it.
16921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16923         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16924         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16925         * nptl/pthread_attr_setaffinity.c: Include it.
16926         * nptl/pthread_setattr_default_np.c: Likewise.
16927         * nptl/check-cpuset.h: New file.
16929 2015-01-08  Richard Henderson  <rth@redhat.com>
16931         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16932         (CFLAGS-tst-execstack-prog.c): Likewise.
16933         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16935 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16936             Sandra Loosemore  <sandra@codesourcery.com>
16937             Andrew Jenner  <andrew@codesourcery.com>
16938             Joseph Myers  <joseph@codesourcery.com>
16939             Nathan Sidwell  <nathan@codesourcery.com>
16941         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16942         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16943         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16944         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16945         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16946         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16947         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16948         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16949         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16950         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16951         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16952         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16953         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16954         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16955         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16956         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16957         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16959 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16961         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16962         timespec struct member in syscall macro.
16963         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16964         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16965         first timeval struct member in syscall macro.
16966         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16968 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16970         [BZ #17748]
16971         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16972         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16973         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16974         __feupdateenv and define as weak alias of __feupdateenv.  Use
16975         libm_hidden_weak.
16976         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16977         libm_hidden_def.
16978         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16979         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16980         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16981         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16982         libm_hidden_def.
16983         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16984         __feupdateenv and define as weak alias of __feupdateenv.  Use
16985         libm_hidden_weak.
16986         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16987         libm_hidden_def.
16988         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16989         __feupdateenv and define as weak alias of __feupdateenv.  Use
16990         libm_hidden_weak.
16991         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16992         libm_hidden_def.
16993         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16994         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16995         (__feupdateenv): Likewise.
16996         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16997         __feupdateenv and define as weak alias of __feupdateenv.  Use
16998         libm_hidden_weak.
16999         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17000         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17001         libm_hidden_def.
17002         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17003         function.
17004         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17005         libm_hidden_def.
17006         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17007         __feupdateenv instead of feupdateenv.
17008         (default_libc_feupdateenv_test): Likewise.
17009         (libc_feresetround_ctx): Likewise.
17011 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17013         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17014         prototype.
17016 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17018         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17019         COLL_SYM in a couple of places to avoid uninitialized variable
17020         wanings on tilegx gcc 4.8.2.
17022 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17024         * sysdeps/aarch64/strcpy.S: New file.
17025         * sysdeps/aarch64/stpcpy.S: New file.
17026         * NEWS: Updated.
17028 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17030         * sysdeps/aarch64/strrchr.S: New file.
17031         * NEWS: Updated.
17033 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17035         [BZ #17658]
17036         * stdlib/setenv.c: Fix memory leak when setting large,
17037         duplicate string.
17039 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17041         [BZ #17273]
17042         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17043         and tabs from buffer before parsing fstab entry.
17044         * misc/tst-mntent.c (main): Add test for mount entry with
17045         trailing spaces and tabs.
17047 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17049         [BZ #17748]
17050         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17051         * math/fesetround.c (fesetround): Rename to __fesetround and
17052         define as weak alias of __fesetround.  Use libm_hidden_weak.
17053         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17054         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17055         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17056         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17057         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17058         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17059         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17060         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17061         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17062         __fesetround_inline.
17063         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17064         __fesetround_inline instead of __fesetround.
17065         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17066         __fesetround and define as weak alias of __fesetround.  Use
17067         libm_hidden_weak.  Call __fesetround_inline instead of
17068         __fesetround.
17069         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17070         __fesetround and define as weak alias of __fesetround.  Use
17071         libm_hidden_weak.
17072         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17073         Likewise.
17074         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17075         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17076         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17077         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17078         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17079         __fesetround and define as weak alias of __fesetround.  Use
17080         libm_hidden_weak.
17081         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17082         __fesetround instead of fesetround.
17083         (default_libc_feholdexcept_setround): Likewise.
17084         (libc_feholdsetround_ctx): Likewise.
17085         (libc_feholdsetround_noex_ctx): Likewise.
17087         [BZ #17748]
17088         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17089         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17090         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17091         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17092         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17093         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17094         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17095         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17096         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17097         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17098         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17099         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17100         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17101         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17102         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17103         libm_hidden_def.
17104         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17105         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17106         Likewise.
17107         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17108         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17109         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17110         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17111         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17112         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17113         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17114         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17115         __fesetenv instead of fesetenv.
17116         (libc_feresetround_noex_ctx): Likewise.
17117         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17118         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17119         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17120         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17121         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17122         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17123         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17124         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17125         (__feupdateenv): Likewise.
17126         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17127         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17128         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17129         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17131 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17133         [BZ #17806]
17134         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17135         addresses have been freed.
17137 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17139         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17140         and nservall.
17142 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17144         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17145         Clean up check_pf allocation pattern. addresses
17147 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17149         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17150         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17151         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17152         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17153         * nptl/pthread_join.c (pthread_join): Likewise.
17154         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17155         * sysdeps/posix/waitid.c (__waitid): Likewise.
17156         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17157         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17158         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17159         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17161         Likewise.
17162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17163         (__libc_pread64): Likewise.
17164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17165         (__libc_pwrite): Likewise.
17166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17167         (__libc_pwrite64): Likewsie.
17168         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17169         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17170         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17171         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17172         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17173         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17174         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17176         Likewise.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17178         (__libc_pread64): Likewise.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17180         Likewise.
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17182         (__libc_pwrite64): Likewise.
17183         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17184         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17185         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17186         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17187         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17188         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17189         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17190         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17191         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17192         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17193         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17194         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17195         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17196         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17197         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17198         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17199         Likewise.
17201 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17203         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17204         (CFLAGS-test-double.c): Likewise.
17205         (CFLAGS-test-ldouble.c): Likewise.
17206         (CPPFLAGS-test-ifloat.c): Likewise.
17207         (CPPFLAGS-test-idouble.c): Likewise.
17208         (CPPFLAGS-test-ildoubl.c): Likewise.
17209         (CFLAGS-test-test-fenv.c): Remove variable.
17210         (CFLAGS-test-misc.c): Likewise.
17212 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17214         [BZ #17797]
17215         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17216         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17217         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17218         CLOCKS_PER_SEC == 1000000.
17219         * time/clocktest.c (main): Replace %ld with %jd and cast to
17220         intmax_t.
17222 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17224         * sysdeps/generic/unwind-resume.h: New file.
17225         * sysdeps/gnu/unwind-resume.c: Include it.
17226         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17227         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17228         argument list.
17229         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17230         global rather than static.
17231         (_Unwind_Resume): Update user.
17232         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17233         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17234         rather than static.  Add __attribute__ ((cold)).
17235         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17236         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17237         * sysdeps/arm/arm-unwind-resume.S: New file.
17238         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17239         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17240         * sysdeps/arm/Makefile [$(subdir) = csu]
17241         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17242         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17243         Add rt-arm-unwind-resume.
17244         [$(subdir) = nptl]
17245         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17246         Add pt-arm-unwind-resume.
17247         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17248         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17250 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17252         [BZ #17748]
17253         * include/fenv.h (__feholdexcept): Declare.  Use
17254         libm_hidden_proto.
17255         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17256         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17257         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17258         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17259         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17260         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17261         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17262         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17263         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17264         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17265         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17266         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17267         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17268         (feholdexcept): Likewise.
17269         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17270         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17271         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17272         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17273         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17274         __feholdexcept instead of feholdexcept.
17275         (default_libc_feholdexcept_setround): Likewise.
17277 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17279         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17280         to avoid using stl/str to align destination.
17282 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17284         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17286 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17288         [BZ #17796]
17289         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17290         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17291         Define as weak alias not strong alias.
17293 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17295         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17296         bltzal with addiupc.
17297         (RTLD_START): Ditto.
17299 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17301         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17302         for __vdso_* functions in declarations.
17303         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17304         definitions.
17305         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17306         INTERNAL_VSYSCALL): Use struct return types to check for error.
17308         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17309         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17310         function with cast from llround().
17311         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17312         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17313         Define.
17315 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17317         [BZ #17793]
17318         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17319         Define as weak alias not strong alias.
17321         [BZ #17635]
17322         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17323         ...
17324         * ctype/ctype-extn.c: ... here.
17325         (__isblank_l): Move to ...
17326         * ctype/ctype-c99_l.c: ... here.  New file.
17327         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17328         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17329         Remove variable.
17330         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17331         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17332         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17333         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17334         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17336         [BZ #17777]
17337         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17338         (posix_fadvise64): Define as weak alias not strong alias.
17339         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17340         (posix_fallocate64): Likewise.
17341         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17342         Remove variable.
17343         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17344         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17345         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17346         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17347         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17349 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17351         [BZ #16191]
17352         * NEWS: Mention bug fix.
17353         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17354         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17355         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17356         (HOST_STACK_END_ADDR): Likewise.
17358 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #17748]
17361         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17362         * math/fegetround.c (fegetround): Rename to __fegetround and
17363         define as weak alias of __fegetround.  Use libm_hidden_weak.
17364         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17365         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17366         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17367         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17368         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17369         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17370         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17371         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17372         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17373         Undefine after rather than before function definition; use
17374         parentheses around function name in definition.
17375         (__fegetround): Also undefine macro after function definition.
17376         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17377         __fegetround and define as weak alias of __fegetround.  Use
17378         libm_hidden_weak.  Do not undefine as macro.
17379         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17380         Likewise.
17381         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17382         __fegetround and define as weak alias of __fegetround.  Use
17383         libm_hidden_weak.
17384         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17385         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17386         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17387         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17388         __fegetround and define as weak alias of __fegetround.  Use
17389         libm_hidden_weak.
17390         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17391         __fegetround instead of fegetround.
17393         [BZ #17782]
17394         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17395         Condition macro definition on [__USE_MISC].
17397         [BZ #17781]
17398         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17399         (struct sigaction): Change type of sa_flags field to int.
17401         [BZ #17780]
17402         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17403         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17404         __glibc_reserved0.
17406         * nptl/version.c (banner): Use single year in copyright notice.
17408         * NEWS: Update copyright dates.
17409         * catgets/gencat.c (print_version): Likewise.
17410         * csu/version.c (banner): Likewise.
17411         * debug/catchsegv.sh: Likewise.
17412         * debug/pcprofiledump.c (print_version): Likewise.
17413         * debug/xtrace.sh (do_version): Likewise.
17414         * elf/ldconfig.c (print_version): Likewise.
17415         * elf/ldd.bash.in: Likewise.
17416         * elf/pldd.c (print_version): Likewise.
17417         * elf/sotruss.sh: Likewise.
17418         * elf/sprof.c (print_version): Likewise.
17419         * iconv/iconv_prog.c (print_version): Likewise.
17420         * iconv/iconvconfig.c (print_version): Likewise.
17421         * locale/programs/locale.c (print_version): Likewise.
17422         * locale/programs/localedef.c (print_version): Likewise.
17423         * login/programs/pt_chown.c (print_version): Likewise.
17424         * malloc/memusage.sh (do_version): Likewise.
17425         * malloc/memusagestat.c (print_version): Likewise.
17426         * malloc/mtrace.pl: Likewise.
17427         * manual/libc.texinfo: Likewise.
17428         * nptl/version.c (banner): Likewise.
17429         * nscd/nscd.c (print_version): Likewise.
17430         * nss/getent.c (print_version): Likewise.
17431         * nss/makedb.c (print_version): Likewise.
17432         * posix/getconf.c (main): Likewise.
17433         * scripts/test-installation.pl: Likewise.
17434         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17436 2015-01-02  Will Newton  <will.newton@linaro.org>
17438         * sysdeps/arm/armv7/configure: Removed.
17439         * sysdeps/arm/armv7/configure.ac: Likewise.
17441 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17443         * All files with FSF copyright notices: Update copyright dates
17444         using scripts/update-copyrights.
17445         * intl/plural.c: Regenerated.
17446         * locale/programs/charmap-kw.h: Likewise.
17447         * locale/programs/locfile-kw.h: Likewise.
17449 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17451         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17453 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17455         [BZ #17748]
17456         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17457         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17458         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17459         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17460         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17461         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17462         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17463         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17464         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17465         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17466         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17467         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17468         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17469         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17470         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17471         libm_hidden_def.
17472         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17474         Likewise.
17475         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17476         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17477         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17478         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17479         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17480         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17481         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17482         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17483         __fegetenv instead of fegetenv.
17484         (libc_feholdsetround_noex_ctx): Likewise.
17486 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17488         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17489         (Elf_MIPS_ABIFlags_v0): New structure.
17490         (EF_MIPS_FP64): Define.
17491         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17492         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17493         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17494         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17495         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17496         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17497         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17498         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17499         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17500         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17501         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17502         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17503         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17504         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17505         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17506         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17507         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17508         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17509         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17510         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17511         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17512         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17513         field.
17514         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17515         EF_MIPS_FP64.
17516         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17517         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17518         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17519         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17520         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17521         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17522         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17523         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17524         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17525         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17526         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17527         record the current FP ABI extension.
17528         (mips-mode-switch): Define to show if kernel headers support mode
17529         switching.
17530         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17531         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17532         supported SYSV ABI version to 3.
17533         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17534         feature.
17536 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17537             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17539         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17540         path.
17541         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17543 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17545         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17546         __fegetround and redefine to call __fegetround.  Remove condition
17547         on [!__NO_MATH_INLINES].
17548         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17549         function.
17550         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17551         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17552         Remove macro.
17553         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17554         instead of <fenv_libc.h>.
17555         (__llrintl): Call fegetround instead of __fegetround.
17556         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17557         instead of <fenv_libc.h>.
17558         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17559         (__lrintl): Call fegetround instead of __fegetround.
17560         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17561         instead of <fenv_libc.h>.
17562         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17563         (__rintl): Call fegetround instead of __fegetround.
17565 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17567         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17568         arrays.
17570 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17572         [BZ #17775]
17573         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17574         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17575         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17577 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17579         * sysdeps/i386/tls-macros.h: Include <features.h>.
17580         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17581         (TLS_IE): Likewise.
17582         (TLS_LD): Likewise.
17583         (TLS_GD): Likewise.
17584         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17585         define for GCC >= 5.0.
17587 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17589         * math/test-fenv.c (test_single_exception, set_single_exc,
17590         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17591         feexcp_mask_test, feenable_test, fe_single_test): Add
17592         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17593         case where they are not used.
17594         * math/libm-test.inc: Likewise.
17595         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17596         unused in the absence of FP rounding/exception support.
17597         * stdio-common/tst-printf-round.c: Likewise.
17598         * stdlib/tst-strtod-round.c: Likewise.
17599         * stdlib/tst-strtod-underflow.c: Likewise.
17601 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17603         [BZ #17723]
17604         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17605         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17606         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17607         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17608         libm_hidden_weak.
17609         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17610         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17611         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17612         libm_hidden_def.
17613         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17614         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17615         libm_hidden_weak.
17616         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17617         Likewise.
17618         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17619         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17620         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17621         libm_hidden_weak.
17622         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17623         libm_hidden_def.
17624         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17625         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17626         (__feraiseexcept): Likewise.
17627         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17628         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17629         libm_hidden_weak.
17630         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17631         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17632         libm_hidden_def.
17633         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17634         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17635         Use libm_hidden_def.
17636         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17637         libm_hidden_def.
17638         (feraiseexcept): Define as weak not strong alias.  Use
17639         libm_hidden_weak.
17640         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17641         New inline function.  Factored out of ...
17642         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17643         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17644         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17645         feraiseexcept.
17646         * math/w_acos.c (__acos): Likewise.
17647         * math/w_asin.c (__asin): Likewise.
17648         * math/w_ilogb.c (__ilogb): Likewise.
17649         * math/w_j0.c (y0): Likewise.
17650         * math/w_j1.c (y1): Likewise.
17651         * math/w_jn.c (yn): Likewise.
17652         * math/w_log.c (__log): Likewise.
17653         * math/w_log10.c (__log10): Likewise.
17654         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17655         * sysdeps/aarch64/fpu/math_private.h
17656         (libc_feupdateenv_test_aarch64): Likewise.
17657         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17658         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17659         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17660         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17661         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17662         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17663         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17664         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17665         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17666         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17668 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17670         [BZ #17732]
17671         * io/test-utime.c (main): Replace %ld with %jd and cast to
17672         intmax_t.
17673         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17674         * nptl/tst-mutex5.c: Include <stdint.h>.
17675         (do_test): Replace %ld with %jd and cast to intmax_t.
17676         * posix/tst-regex.c (run_test): Likewise.
17677         (run_test_backwards): Likewise.
17678         * rt/tst-clock.c: Include <stdint.h>.
17679         (clock_test): Replace %ld with %jd and cast to intmax_t.
17680         * rt/tst-cpuclock1.c: Include <stdint.h>.
17681         (do_test): Replace %lu with %ju and cast to uintmax_t.
17682         * rt/tst-cpuclock2.c: Include <stdint.h>.
17683         (do_test): Replace %lu with %ju and cast to uintmax_t.
17684         * rt/tst-mqueue1.c: Include <stdint.h>.
17685         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17686         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17687         intmax_t.
17688         * rt/tst-mqueue4.c (do_test): Likewise.
17689         * rt/tst-timer4.c: Include <stdint.h>.
17690         (check_ts): Replace %ld with %jd and cast to intmax_t.
17691         (do_test): Likewise.
17692         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17693         and cast to intmax_t.
17694         * sysdeps/pthread/tst-timer.c (main): Likewise.
17695         * time/clocktest.c (main): Likewise.
17696         * time/tst-posixtz.c (do_test): Likewise.
17697         * timezone/tst-timezone.c (main): Likewise.
17699 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17700             H.J. Lu  <hongjiu.lu@intel.com>
17702         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17703         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17704         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17705         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17706         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17707         version if bit_Fast_Unaligned_Load is set.
17708         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17709         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17710         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17711         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17712         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17713         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17715         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17716         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17717         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17718         to 4.
17719         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17720         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17721         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17722         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17724 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17726         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17727         instead of #if to avoid a Wundef warning.
17728         * stdlib/tst-limits.c (do_test): Likewise.
17730         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17731         parallel other exception macros.
17732         (fegetenv): Convert from macro to extern inline so that it applies
17733         retroactively to inline functions already seen by the compiler.
17734         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17736         * posix/Makefile (before-compile): Use $(objpfx) for
17737         posix-conf-vars-def.h.
17739 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17741         * posix/getconf.c (main): Use size_t for type of I.
17742         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17743         NSPEC.
17745         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17746         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17747         * posix/posix-envs.def: Likewise.
17748         * sysdeps/posix/sysconf.c: Likewise.
17749         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17750         (specs): Remove array.
17751         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17752         array.
17754         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17755         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17756         (__sysconf): Use CONF_IS_* macros.
17758         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17759         ($(objpfx)posix-conf-vars-def.h): New target.
17760         * posix/posix-conf-vars.list: New file.
17761         * posix/posix-conf-vars.h: New file.
17762         * posix/confstr.c: Include posix-conf-vars.h.
17763         (confstr): Use CONF_IS_* macros.
17764         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17765         CONF_IS_* macros.
17766         * scripts/gen-posix-conf-vars.awk: New file.
17768 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17770         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17771         fegetround): Add no-op macros to avoid linknamespace issues.
17773         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17774         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17776         * sysdeps/unix/sysv/linux/tile/sysdep.h
17777         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17778         assembly-specific section to avoid a redefinition warning.
17780         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17781         long before casting to pointer to avoid a cast warning.
17783 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17785         * sysdeps/tile/tilegx/Implies: New file.
17787 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17789         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17791 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17793         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17795 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17798         not define.
17799         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17800         <kernel-features.h>.
17801         (__utimes) [__NR_utimes]: Make code unconditional.
17802         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17803         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17804         (__ASSUME_UTIMES): Do not undefine.
17805         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17806         (__ASSUME_UTIMES): Likewise.
17807         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17808         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17809         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17810         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17812 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17814         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17816 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17818         [BZ #17747]
17819         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17820         alias to weak alias for j0l, y0l.
17821         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17822         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17824         [BZ #17746]
17825         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17826         conversion.
17828 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17830         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17831         to zero if not already defined.
17833 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17835         [BZ #17724]
17836         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17837         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17838         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17839         (char *) casts added.
17840         * sysdeps/ieee754/k_standardf.c: New file.
17841         * sysdeps/ieee754/k_standardl.c: Likewise.
17842         * math/Makefile (libm-support): Remove k_standard.
17843         (libm-calls): Add k_standard.
17845 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17847         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17848         Optimize to avoid an unnecessary FPCR read.
17850 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17852         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17853         Optimize to reduce FPCR/FPSR accesses.
17855 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17857         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17858         Call libc_fetestexcept_aarch64.
17860 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17862         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17863         Call libc_fesetround_aarch64.
17865 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #17733]
17868         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17869         (__bind): Do not define as weak alias.
17870         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17871         define.
17872         (__getsockname): Do not define as weak alias.
17874 2014-12-22  Will Newton  <will.newton@linaro.org>
17876         * manual/install.texi: Document that we require bison 2.7
17877         or above.
17878         * INSTALL: Regenerate.
17879         * configure.ac: Use AC_CHECK_PROG_VER instead of
17880         AC_PATH_PROG when checking for bison and check for
17881         version 2.7 or above.
17882         * configure: Regenerate.
17884 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17886         [BZ #17745]
17887         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17888         * sysdeps/tile/ffsll.c (ffsll): To here.
17890         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17892 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17894         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17895         if not defined.
17896         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17897         definition.
17898         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17899         hidden ___tls_get_addr.
17900         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17901         hidden __tls_get_addr.
17902         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17903         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17904         Likewise.
17906 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17908         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17909         _dl_init call.
17911 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17913         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17914         from "call _dl_init@PLT".
17915         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17917 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17919         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17920         guarantees.
17922 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17924         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17926 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17928         [BZ #17744]
17929         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17930         strnlen.
17932 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17934         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17935         of multu on MIPSr6.
17936         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17937         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17938         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17939         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17940         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17942 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17944         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17945         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17946         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17947         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17948         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17949         mips32r6/mips64r6.
17950         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17952 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17954         * string/strncat.c (STRNCAT): Simplify implementation.
17956 2014-12-19  David S. Miller  <davem@davemloft.net>
17958         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17959         access the quad as both a long double and as a series of 4 words.
17961         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17962         link_map->l_info array access.
17964 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17966         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17968         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17969         * math/atest-exp2.c (TIMEOUT): Likewise.
17970         * math/atest-sincos.c (TIMEOUT): Likewise.
17972 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17974         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17975         -Wno-error with -fno-builtin-lround.
17977 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17979         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17980         Contains futex constants and functions moved over from ...
17981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17982         <lowlevellock-futex.h>.
17983         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17984         (lll_timedwait_tid): Add comments and parentheses around macro
17985         arguments.
17987 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17989         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17990         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17991         (__lll_private_flag): Remove.
17992         (lll_futex_wait): Likewise.
17993         (lll_futex_timed_wait): Likewise.
17994         (lll_futex_wake): Likewise.
17995         (lll_futex_requeue): Likewise.
17996         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17997         (__lll_timedwait_tid): Spell out argument names.
17998         (lll_timedwait_tid): Add comments and parentheses around macro
17999         arguments.
18000         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18001         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18003 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18005         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18006         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18007         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18008         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18009         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18010         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18011         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18012         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18013         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18014         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18015         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18016         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18018         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18019         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18020         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18021         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18022         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18023         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18025 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18027         * sysdeps/x86_64/x32/Makefile: New file.
18029 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18031         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18032         1L with (mp_limb_t) 1.
18034 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18036         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18037         * nptl/libc_pthread_init.c: ... here.
18038         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18039         * nptl/register-atfork.c: ... here.
18041         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18042         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18043         Use assert_perror to check its return value.
18044         (__gai_create_helper_thread): Likewise.
18046         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18048         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18050 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18052         [BZ #17725]
18053         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18054         __profil_counter.
18055         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18056         Likewise.
18057         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18058         Likewise.
18059         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18060         Likewise.
18061         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18062         (profil_counter): Likewise.
18063         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18064         (profil_counter): Likewise.
18065         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18066         Likewise.
18067         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18068         Likewise.
18069         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18070         (profil_counter): Likewise.
18071         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18072         Likewise.
18073         [!__profil_counter] (profil_counter): Define as weak alias of
18074         __profil_counter.
18075         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18076         (profil_counter): Rename to __profil_counter.
18077         [!__profil_counter] (profil_counter): Define as weak alias of
18078         __profil_counter.
18079         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18080         (profil_counter): Rename to __profil_counter.
18081         [!__profil_counter] (profil_counter): Define as weak alias of
18082         __profil_counter.
18083         * sysdeps/posix/profil.c: Update comment referring to
18084         profil_counter.
18085         (__profil): Use __profil_counter instead of profil_counter.
18086         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18087         __profil_counter.  Use __profil_counter_ushort and
18088         __profil_counter_uint in definitions.
18089         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18090         instead of profil_counter_uint and profil_counter_ushort.
18092         [BZ #17722]
18093         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18094         define as weak alias of __inet_makeaddr.
18095         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18096         as weak alias of __inet_addr.
18097         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18098         as weak alias of __inet_pton.  Use libc_hidden_weak.
18099         * include/arpa/inet.h (__inet_pton): Declare.  Use
18100         libc_hidden_proto.
18101         (inet_makeaddr): Don't use libc_hidden_proto.
18102         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18103         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18104         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18105         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18106         Remove variable.
18107         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18108         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18110 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18112         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18114 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18116         * stdio-common/bug-vfprintf-nargs.c (do_test):
18117         Cast value to intptr_t to avoid format warning
18118         for usage with PRIdPTR printing macro.
18120 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18122         * libio/tst-widetext.c (do_test):
18123         Use format type %td instead of %Zd for ptrdiff_t
18124         in order to avoid format warning.
18126 2014-12-17  Andreas Schwab  <schwab@suse.de>
18128         * nscd/mem.c (gc): Add size_t cast to match printf format.
18130 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18132         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18133         (init): Apply PTR_MANGLE to pointers before storing them.
18134         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18135         before using them.
18137 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #17719]
18140         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18141         define as weak alias of __memrchr.
18142         (__memrchr): Do not define as strong alias of memrchr.
18143         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18144         Remove variable.
18145         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18146         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18147         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18149         [BZ #17717]
18150         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18151         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18152         (if_indextoname): Rename to __if_indextoname and define as weak
18153         alias of __if_indextoname.  Use libc_hidden_weak.
18154         (if_freenameindex): Rename to __if_freenameindex and define as
18155         weak alias of __if_freenameindex.
18156         (if_nameindex): Rename to __if_nameindex and define as weak alias
18157         of __if_nameindex.
18158         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18159         __if_nametoindex and define as weak alias of __if_nametoindex.
18160         Use libc_hidden_weak.
18161         (if_freenameindex): Rename to __if_freenameindex and define as
18162         weak alias of __if_freenameindex.
18163         (if_nameindex): Rename to __if_nameindex and define as weak alias
18164         of __if_nameindex.
18165         (if_indextoname): Rename to __if_indextoname and define as weak
18166         alias of __if_indextoname.  Use libc_hidden_weak.
18167         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18168         __if_nametoindex and define as weak alias of __if_nametoindex.
18169         Use libc_hidden_weak.
18170         (if_freenameindex): Rename to __if_freenameindex and define as
18171         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18172         (if_nameindex_netlink): Use __if_freenameindex instead of
18173         if_freenameindex.
18174         (if_nameindex): Rename to __if_nameindex and define as weak alias
18175         of __if_nameindex.  Use libc_hidden_weak.
18176         (if_indextoname): Rename to __if_indextoname and define as weak
18177         alias of __if_indextoname.  Use libc_hidden_weak.
18178         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18179         libc_hidden_proto.
18180         [!_ISOMAC] (__if_freenameindex): Likewise.
18181         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18182         if_nametoindex.
18183         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18184         variable.
18185         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18186         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18187         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18188         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18189         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18190         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18191         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18193         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18194         Remove variable.
18195         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18196         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18198 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18200         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18201         subscript above bounds'
18203         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18204         bounds.
18206 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18208         * libio/tst-fopenloc.c: Use test-skeleton.c.
18210         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18211         (entry): Rename to ITEM.
18212         (do_test, comp): Adjust.
18214         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18216 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18218         * string/tester.c: Include <libc-internal.h>.
18219         (test_memset): Ignore -Wmemset-transposed-args.
18221 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18223         * misc/tst-mntent2.c (do_test): Fix warning.
18225 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18227         * elf/tst-unique4lib.cc(a): Mark as used.
18229 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18231         [BZ #17630]
18232         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18233         names.
18235 2014-12-16  Allan McRae  <allan@archlinux.org>
18237         * stdio-common/Makefile (tests): Re-add bug26.
18239 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18241         [BZ #17657]
18242         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18243         static array.
18245 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18247         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18248         (__lll_lock_wait): Likewise.
18249         (__lll_timedlock_wait): Likewise.
18250         (__lll_timedwait_tid): Likewise.
18251         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18252         (__lll_robust_timedlock_wait): Likewise.
18253         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18254         (lll_cond_trylock): Likewise.
18255         (__lll_lock): Likewise.
18256         (__lll_robust_lock): Likewise.
18257         (__lll_cond_lock): Likewise.
18258         (lll_robust_cond_lock): Likewise.
18259         (__lll_timedlock): Likewise.
18260         (__lll_robust_timedlock): Likewise.
18261         (__lll_unlock): Likewise.
18262         (__lll_robust_unlock): Likewise.
18263         (lll_wait_tid): Likewise.
18264         (lll_timedwait_tid): Likewise.
18266 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18268         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18270 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18272         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18274 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18276         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18277         * stdio-common/tst-sprintf.c: Likewise.
18279 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18281         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18283 2014-12-15  Jeff Law  <law@redhat.com>
18285         [BZ #16617]
18286         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18287         on the heap.  (CVE-2012-3406)
18288         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18289         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18290         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18292 2014-12-15  Will Newton  <will.newton@linaro.org>
18294         * manual/install.texi: Bump required version of texinfo
18295         to 4.7 from 4.5.
18296         * INSTALL: Regenerated.
18297         * configure.ac: Check for makeinfo version 4.7 and above.
18298         * configure: Regenerated.
18300 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18302         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18303         PREFIX, string constant to insert between directory and name.
18304         * sysdeps/posix/shm_open.c: Update caller.
18305         * sysdeps/posix/shm_unlink.c: Likewise.
18306         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18307         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18308         (SEM_SHM_PREFIX): New macro.
18309         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18310         [$(have-thread-library) = no].
18311         * nptl/Makefile (libpthread-routines): Add shm-directory.
18312         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18313         * sysdeps/nptl/shm-directory.h: New file.
18314         * sysdeps/posix/shm-directory.c
18315         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18316         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18317         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18318         INTERNAL_SYSCALL.
18319         (__where_is_shmfs): Function removed.
18320         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18321         Variables removed.
18322         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18323         Use SHM_GET_NAME.
18324         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18326         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18327         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18328         unconditional for use inside libpthread.
18329         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18331 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18333         * nptl/pthread_getaffinity.c: New file.
18334         * nptl/pthread_setaffinity.c: New file.
18335         * nptl/pthread_getname.c: New file.
18336         * nptl/pthread_setname.c: New file.
18338         * nptl/pthread_create.c (START_THREAD_DEFN)
18339         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18341 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18342             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18344         * resolv/res_send.c (send_vc): Disable warning resplen may
18345         be used uninitialized.
18347 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18349         * nptl/tst-mutex6.c
18350         (ATTR_NULL): New define checks ATTR against NULL.
18351         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18352         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18354 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18356         [BZ #17581]
18357         * malloc/hooks.c
18358         (mem2mem_check): Revert my previous change.
18359         (malloc_check_get_size): Revert my previous change.
18360         (mem2chunk_check): Revert my previous change.
18362 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18364         * sysdeps/posix/shm-directory.c: New file.
18365         * sysdeps/posix/shm-directory.h: New file.
18366         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18367         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18368         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18369         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18370         Transmute EPERM to EACCES.
18371         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18372         from ...
18373         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18374         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18376 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18378         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18379         pointer and cast to uintptr_t.
18380         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18381         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18382         Add cast to avoid warning.
18383         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18385 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18387         * nptl/semaphore.h: Move to ...
18388         * sysdeps/pthread/semaphore.h: ... here.
18389         * Makefile (installed-headers): Change nptl/semaphore.h to
18390         sysdeps/pthread/semaphore.h.
18392 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18394         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18395         generated error format strings.
18397         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18398         -Wformat-extra-args warnings for scanf formats.
18399         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18400         test of zero-length format (duh).
18401         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18402         corner-case scanf format test.
18403         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18404         generated fprintf format string.
18405         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18406         corner-case sprintf format tests.
18407         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18408         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18409         -Wformat-extra-args warnings throughout.
18410         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18411         (CFLAGS-scanf4.c): Likewise.
18412         (CFLAGS-scanf7.c): Likewise.
18413         (CFLAGS-tst-sprintf.c): Likewise.
18414         (CFLAGS-tst-printf.c): Likewise.
18415         (CFLAGS-tst-printfsz.c): Likewise.
18417 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18419         * include/cpio.h: New file.
18420         * include/fmtmsg.h: Likewise.
18422         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18423         corresponding format argument to size_t.
18424         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18425         arguments.
18426         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18427         corresponding format argument to size_t.
18428         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18429         arguments.
18430         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18431         corresponding format argument to size_t.
18432         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18433         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18434         (CFLAGS-tst-mbswcs2.c): Likewise.
18435         (CFLAGS-tst-mbswcs3.c): Likewise.
18436         (CFLAGS-tst-mbswcs4.c): Likewise.
18437         (CFLAGS-tst-mbswcs5.c): Likewise.
18438         (CFLAGS-tst-trans.c): Likewise.
18440 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18442         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18443         rather than assuming they won't contain any '%'s.
18445 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18447         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18448         inhibit_loop_to_libcall to avoid recursive calls.
18449         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18450         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18452 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18454         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18455         prototype.
18457 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18459         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18460         integer value instead of boolean.
18462 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18464         * malloc/malloc.c: Fix powerof2 check.
18466 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18468         * locale/programs/locfile.h (maybe_swap_uint32):
18469         Remove inline and add unused attribute.
18471 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18473         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18474         Truncating assembler expression to a .long expression.
18476 2014-12-11  Andreas Schwab  <schwab@suse.de>
18478         * elf/rtld.c (struct map_args): Constify str member.
18479         (do_preload): Constify fname argument.
18481 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18484         constants definition.
18486 2014-12-11  Andreas Schwab  <schwab@suse.de>
18488         [BZ #16657]
18489         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18490         FORCE_ELISION instead of DO_ELISION.
18491         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18492         Remove.
18493         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18494         Likewise.
18496         * iconvdata/gconv-modules: Remove duplicate entry.
18498 2014-12-11  Will Newton  <will.newton@linaro.org>
18500         Merge gettext 0.19.3 into intl/.
18502         This involves a number of cosmetic changes to comments
18503         and ANSI function definitions and prototypes throughout
18504         all the files. The gettext copyright header is used but
18505         with the date ranges taken from the glibc copy.
18507         * NEWS: Add gettext merge to 2.21.
18508         * intl/bindtextdom.c: Switch to gettext copyright.
18509         Use ANSI definitions and prototypes.
18510         Use gl_* locking primitives rather than __libc_* ones.
18511         Use __builtin_expect rather than __glibc_likely/unlikely.
18512         * intl/dcgettext.c: Switch to gettext copyright.
18513         Use ANSI definitions and prototypes.
18514         * intl/dcigettext.c: Switch to gettext copyright.
18515         Use ANSI definitions and prototypes.
18516         (INTDIV0_RAISES_SIGFPE): New define.
18517         Use gl_* locking primitives rather than __libc_* ones.
18518         Include eval-plural.h instead of plural-eval.c.
18519         Use __builtin_expect rather than __glibc_likely/unlikely.
18520         * intl/dcngettext.c: Switch to gettext copyright.
18521         Use ANSI definitions and prototypes.
18522         * intl/dgettext.c: Likewise.
18523         * intl/dngettext.c: Likewise.
18524         * intl/plural-eval.c: Renamed to...
18525         * intl/eval-plural.h: ...this.
18526         * intl/explodename.c: Switch to gettext copyright.
18527         Use ANSI definitions and prototypes.
18528         (_nl_explode_name): Use strchr instead of __rawmemchr.
18529         * intl/finddomain.c: Switch to gettext copyright.
18530         Use ANSI definitions and prototypes.
18531         Use gl_* locking primitives rather than __libc_* ones.
18532         (_nl_find_domain): Use malloc rather than alloca for
18533         allocation of temporary locale name.
18534         * intl/gettext.c: Switch to gettext copyright.
18535         Use ANSI definitions and prototypes.
18536         * intl/gettextP.h: Switch to gettext copyright.
18537         Use ANSI definitions and prototypes.
18538         Use gl_* locking primitives rather than __libc_* ones.
18539         * intl/gmo.h: Switch to gettext copyright.
18540         (struct sysdep_string): Move struct segment_pair outside of
18541         struct definition.
18542         * intl/hash-string.c: Use ANSI definitions and prototypes.
18543         * intl/hash-string.h: Switch to gettext copyright.
18544         Use ANSI definitions and prototypes.
18545         * intl/l10nflist.c: Switch to gettext copyright.
18546         Use ANSI definitions and prototypes.
18547         (_nl_normalize_codeset): Avoid integer overflow.
18548         * intl/loadinfo.h: Switch to gettext copyright.
18549         Use ANSI definitions and prototypes.
18550         (LIBINTL_DLL_EXPORTED): New define.
18551         (PATH_SEPARATOR): New define.
18552         * intl/loadmsgcat.c: Switch to gettext copyright.
18553         * intl/localealias.c: Switch to gettext copyright.
18554         Use ANSI definitions and prototypes.
18555         (_nl_expand_alias): Use PATH_SEPARATOR.
18556         * intl/ngettext.c: Switch to gettext copyright.
18557         Use ANSI definitions and prototypes.
18558         * intl/plural-exp.c: Likewise.
18559         * intl/plural-exp.h: Switch to gettext copyright.
18560         Use ANSI definitions and prototypes.
18561         (struct expression): Move definition of enum operator outside
18562         of struct definition.
18563         * intl/plural.c: Regenerate.
18564         * intl/plural.y: Switch to gettext copyright.
18565         Use ANSI definitions and prototypes.
18566         Port to bison 3.0.
18567         * intl/textdomain.c: Switch to gettext copyright.
18568         Use ANSI definitions and prototypes.
18569         Use gl_* locking primitives rather than __libc_* ones.
18571 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18573         * debug/warning-nop.c: Add used atrribute.
18575 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18577         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18579         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18580         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18581         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18583 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18584             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18586         [BZ #17634]
18587         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18588         Undefine after defining function.  Define as weak alias of
18589         __wcschr.  Use libc_hidden_weak.
18590         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18591         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18592         (libc_hidden_def): Also define __GI___wcschr alias.
18593         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18594         __wcschr and define as weak alias of __wcschr.
18595         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18596         __wcschr.
18597         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18598         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18599         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18600         libc_hidden_weak.  Do not use libc_hidden_def.
18601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18602         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18603         __GI___wcschr alias.
18604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18605         [IS_IN (libc)] (wcschr): Define as macro expanding to
18606         __redirect_wcschr.
18607         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18608         [IS_IN (libc)] (__wcschr_power6): Likewise.
18609         [IS_IN (libc)] (__wcschr_power7): Likewise.
18610         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18611         instead of wcschr.
18612         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18613         __libc_wcschr.
18614         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18615         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18616         __wcschr and define as weak alias of __wcschr.  Use
18617         libc_hidden_builtin_def.
18618         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18619         as weak alias of __wcschr.  Use libc_hidden_weak.
18620         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18621         wcschr.
18622         * time/era.c (_nl_init_era_entries): Likewise.
18623         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18624         variable.
18625         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18626         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18628 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18630         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18631         format for long int variable.
18633 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18635         [BZ #10672]
18636         * manual/search.texi: (Array Sort Function): Remove claim how to make
18637         qsort stable.
18639 2014-12-10  Andreas Schwab  <schwab@suse.de>
18641         [BZ #12847]
18642         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18643         user-controlled locks.
18645 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18647         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18648         register.
18650 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18652         * configure.ac (--disable-werror): New configure option.
18653         (enable_werror): New AC_SUBST.
18654         * configure: Regenerated.
18655         * config.make.in (enable-werror): New variable.
18656         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18657         -Wno-error=undef.
18658         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18659         * manual/install.texi (Configuring and compiling): Document
18660         --disable-werror.
18661         * INSTALL: Regenerated.
18662         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18663         (CFLAGS-tst-chk2.c): Likewise.
18664         (CFLAGS-tst-chk3.c): Likewise.
18665         (CFLAGS-tst-chk4.cc): Likewise.
18666         (CFLAGS-tst-chk5.cc): Likewise.
18667         (CFLAGS-tst-chk6.cc): Likewise.
18668         (CFLAGS-tst-lfschk1.c): Likewise.
18669         (CFLAGS-tst-lfschk2.c): Likewise.
18670         (CFLAGS-tst-lfschk3.c): Likewise.
18671         (CFLAGS-tst-lfschk4.cc): Likewise.
18672         (CFLAGS-tst-lfschk5.cc): Likewise.
18673         (CFLAGS-tst-lfschk6.cc): Likewise.
18675         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18676         (main): Disable -Wdeprecated-declarations around calls to
18677         register_printf_function.
18679         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18680         (do_test): Disable -Wdiv-by-zero around some calls to
18681         fwrite_unlocked and fread_unlocked.
18683         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18684         (DIAG_POP_NEEDS_COMMENT): Likewise.
18685         (_DIAG_STR1): Likewise.
18686         (_DIAG_STR): Likewise.
18687         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18688         * stdio-common/bug21.c: Include <libc-internal.h>.
18689         (do_test): Disable -Wformat around call to sscanf.
18690         * stdio-common/scanf14.c: Include <libc-internal.h>.
18691         (main): Disable -Wformat around some calls to scanf functions.
18693 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18695         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18697 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18699         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18700         stack variable alignment.
18702 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18704         [BZ #17682]
18705         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18706         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18707         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18708         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18709         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18710         __getrlimit instead of getrlimit.
18711         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18712         __gettimeofday instead of gettimeofday.
18713         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18714         Likewise.
18715         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18716         Likewise.
18717         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18718         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18719         Remove variable.
18720         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18721         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18723 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18725         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18726         for wide-character tests.
18728 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18730         * io/openat64.c: #include <libc-internal.h>
18731         (__openat64): Prototypify.  Use ignore_value on MODE.
18732         * io/openat.c: Likewise.
18733         * misc/reboot.c: #include <libc-internal.h>
18734         (reboot): Prototypify.  Use ignore_value on HOWTO.
18735         * misc/ptrace.c: #include <libc-internal.h>
18736         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18738 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18740         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18741         XPG4, UNIX98 and XOPEN2K.
18742         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18743         Remove variable.
18744         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18746 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18748         * libio/fileops.c: Use ISO C style for function definitions.
18749         * libio/iofopen.c: Likewise.
18750         * libio/wfileops.c: Likewise.
18752         [BZ #17653]
18753         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18754         offset on EOF.
18755         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18756         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18757         (fgets_func): Function pointer to fgets and fgetws.
18758         (do_ftell_test): Add test to verify ftell value after read
18759         EOF.
18760         (do_test): Set fgets_func.
18762         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18763         O_TRUNC flag for w and w+ modes.
18764         (do_rewind_test): Likewise.
18765         (do_ftell_test): Likewise.
18766         (do_write_test): Likewise.
18768         [BZ #17647]
18769         * libio/fileops.c (do_ftell): Seek only when there are
18770         unflushed writes.
18771         * libio/wfileops.c (do_ftell_wide): Likewise.
18772         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18773         test case.
18774         (do_one_test): Call it.
18776 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18778         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18779         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18780         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18781         Remove variable.
18782         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18783         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18784         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18786 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18788         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18789         Remove variable.
18790         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18792         [BZ #17668]
18793         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18794         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18795         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18796         __freeifaddrs.  Use libc_hidden_weak.
18797         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18798         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18799         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18800         __freeifaddrs.  Use libc_hidden_weak.
18801         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18802         __getifaddrs and define as weak alias of __getifaddrs.  Use
18803         libc_hidden_weak.
18804         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18805         __freeifaddrs.  Use libc_hidden_weak.
18806         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18807         Remove variable.
18808         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18809         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18811 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18813         [BZ #17601]
18814         * sysdeps/mips/start.S (__start): Use indirect jump to call
18815         __libc_start_main.
18817 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18819         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18821         * nptl/tst-mutex1.c: Include <stdbool.h>.
18822         [!ATTR] (ATTR_NULL): New macro.
18823         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18824         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18825         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18827         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18828         to char *.
18830         [BZ #17665]
18831         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18832         Change conditional to [__USE_MISC].
18834         [BZ #17664]
18835         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18836         fgets_unlocked.
18837         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18838         __fgets_unlocked.
18839         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18840         fgets_unlocked.
18841         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18842         Remove variable.
18843         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18844         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18845         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18846         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18847         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18848         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18849         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18850         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18851         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18853         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18855 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18857         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18858         Remove strpbrk objects.
18859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18860         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18861         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18862         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18863         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18864         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18867         Remove strcspn objects.
18868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18869         (__libc_ifunc_impl_list): Remove strcspn implementation.
18870         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18871         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18872         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18873         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18876         Remove strspn objetcs.
18877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18878         (__libc_ifunc_impl_list): Remove strspn implementation.
18879         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18880         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18881         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18882         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18884 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18886         [BZ #17581]
18887         * malloc/hooks.c
18888         (mem2mem_check): Add a terminator to the chain of checking blocks.
18889         (malloc_check_get_size): Use it here.
18890         (mem2chunk_check): Ditto.
18892 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18894         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18895         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18897 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18899         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18901         * nptl/nptl-init.c: Include libc-internal.h.
18902         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18904         * elf/ldconfig.c (search_dir): Expand comment.
18906 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18908         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18909         variable.
18910         (linknamespace-symlist-stdlibs-tests): Likewise.
18911         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18912         instead of $(objpfx)symlist-stdlibs.
18913         (linknamespace-libs-isoc): New variable.
18914         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18915         (linknamespace-libs-ISO): New variable.
18916         (linknamespace-libs-ISO99): Likewise.
18917         (linknamespace-libs-ISO11): Likewise.
18918         (linknamespace-libs-XPG3): Likewise.
18919         (linknamespace-libs-XPG4): Likewise.
18920         (linknamespace-libs-POSIX): Likewise.
18921         (linknamespace-libs-UNIX98): Likewise.
18922         (linknamespace-libs-XOPEN2K): Likewise.
18923         (linknamespace-libs-POSIX2008): Likewise.
18924         (linknamespace-libs-XOPEN2K8): Likewise.
18925         ($(objpfx)symlist-stdlibs): Replace by
18926         $(linknamespace-symlist-stdlibs-tests).  Use
18927         $(linknamespace-libs-$*) as set of libraries.
18928         ($(linknamespace-header-tests)): Update dependencies.  Use
18929         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18930         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18931         * conform/linknamespace.pl: Remove comment about considering
18932         definitions of symbols from irrelevant libraries.
18934 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18936         [BZ #13862]
18937         * elf/dl-tls.c: Include <atomic.h>.
18938         (oom): Remove #ifdef SHARED/#endif.
18939         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18940         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18941         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18942         big enough.
18943         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18944         * nptl/Makefile (tests): Add tst-stack4.
18945         (modules-names): Add tst-stack4mod.
18946         ($(objpfx)tst-stack4): New.
18947         (tst-stack4mod.sos): Likewise.
18948         ($(objpfx)tst-stack4.out): Likewise.
18949         ($(tst-stack4mod.sos)): Likewise.
18950         (clean): Likewise.
18951         * nptl/tst-stack4.c: New file.
18952         * nptl/tst-stack4mod.c: Likewise.
18954 2014-11-27  J. Brown  <jb999@gmx.de>
18956         * sysdeps/x86/bits/string.h: Add recent CPUs.
18958 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18960         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18961         sigblock.
18963         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18964         feof.
18966         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18967         variable.
18969 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18971         * nscd/connections.c: Include libc-internal.h because of macro
18972         usage ignore_value.
18974 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18976         * string/bits/string3.h (__warn_memset_zero_len): Don't
18977         declare for gcc newer than 5.0.
18978         (memset): Don't test for zero-length __LEN for gcc newer than
18979         5.0.
18981 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18983         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18984         size_t for %zu format.
18986         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18987         difference, not %ju.
18989 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18991         * include/libc-internal.h (ignore_value): New macro.
18992         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18993         with ignore_value.
18995         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18996         definition.
18998         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18999         pthread_cleanup_push to void *.
19001         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19002         Undefine.
19004         [BZ #16619]
19005         [BZ #16740]
19006         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19007         instead of 1L << 52.
19009         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19010         * libio/bug-rewind2.c (do_test): Likewise.
19012         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19013         * debug/test-strcpy_chk-ifunc.c: Likewise.
19014         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19015         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19016         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19017         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19018         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19019         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19020         * Rules [$(multi-arch) = no] (tests): Do not filter out
19021         $(tests-ifunc).
19022         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19023         * debug/Makefile (tests-ifunc): Remove variable.
19024         (tests): Do not add $(tests-ifunc).
19025         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19026         (tests): Do not add $(tests-ifunc).
19027         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19028         [TEST_IFUNC]: Remove conditionals.
19029         * string/test-string.h (TEST_IFUNC): Remove macro.
19030         [TEST_IFUNC]: Remove conditionals.
19032         * string/test-strchr.c [!WIDE] (L): New macro.
19033         [WIDE] (L): Likewise.
19034         (check1): Use CHAR instead of char.  Use L on string and character
19035         constants.
19037 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19039         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19040         tests.
19041         * sysdeps/powerpc/bits/atomic.h
19042         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19043         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19044         (atomic_exchange_and_add_acq): Likewise.
19045         (atomic_exchange_and_add_rel): Likewise.
19046         * sysdeps/powerpc/powerpc32/bits/atomic.h
19047         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19048         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19049         * sysdeps/powerpc/powerpc64/bits/atomic.h
19050         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19051         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19053 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19055         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19056         Change synchronization of __sched_fifo_min_prio and
19057         __sched_fifo_max_prio.
19058         * nptl/pthread_mutexattr_getprioceiling.c
19059         (pthread_mutexattr_getprioceiling): Likewise.
19060         * nptl/pthread_mutexattr_setprioceiling.c
19061         (pthread_mutexattr_setprioceiling): Likewise.
19062         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19063         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19064         Likewise.
19066 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19068         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19069         void.
19071 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19073         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19074         third argument const.
19076 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19078         fnmatch: work around GCC compiler warning bug with uninit var
19079         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19080         This works around a bug with x86-64 GCC 4.9.2 and earlier
19081         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19082         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19083         used uninitialized in this function [-Wmaybe-uninitialized]".
19085 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19087         * posix/bug-regex31.c (main): Return RES not 0.
19089 2014-11-25  Anton Blanchard <anton@samba.org>
19091         * sysdeps/powerpc/bits/atomic.h
19092         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19094 2014-11-24  Sterling Augustine  <saugustine@google.com>
19096         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19098 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19100         [BZ #17608]
19101         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19103 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19105         [BZ #17633]
19106         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19107         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19108         variable.
19109         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19110         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19112 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19114         * string/strncpy.c (strncpy): Improve performance by using memset.
19116 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19118         * string/strcpy.c (strcpy):
19119         Improve performance by using strlen and memcpy.
19121 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19123         * string/strcoll_l.c (get_next_seq): __always_inline.
19124         * string/strcoll_l.c (do_compare): __always_inline.
19126 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19128         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19129         defined.
19130         * include/mqueue.h: Likewise.
19131         * include/stdlib.h: Likewise.
19133         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19134         (get_null_defines): Adjust.
19135         * sunrpc/Makefile: Adjust comment.
19136         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19137         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19138         (CFLAGS-interp.c): Likewise.
19139         (CFLAGS-ldconfig.c): Likewise.
19140         (CPPFLAGS-.os): Likewise.
19141         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19142         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19143         * extra-modules.mk (extra-modules.mk): Likewise.
19144         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19145         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19146         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19147         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19148         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19149         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19150         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19151         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19152         * iconvdata/Makefile (CPPFLAGS): Likewise.
19153         (cpp-srcs-left): Add libof for all iconvdata routines.
19154         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19155         * include/assert.h: Likewise.
19156         * include/ctype.h: Likewise.
19157         * include/errno.h: Likewise.
19158         * include/libc-symbols.h: Likewise.
19159         * include/math.h: Likewise.
19160         * include/netdb.h: Likewise.
19161         * include/resolv.h: Likewise.
19162         * include/stdio.h: Likewise.
19163         * include/stdlib.h: Likewise.
19164         * include/string.h: Likewise.
19165         * include/sys/stat.h: Likewise.
19166         * include/wctype.h: Likewise.
19167         * intl/l10nflist.c: Likewise.
19168         * libidn/idn-stub.c: Likewise.
19169         * libio/libioP.h: Likewise.
19170         * nptl/libc_multiple_threads.c: Likewise.
19171         * nptl/pthreadP.h: Likewise.
19172         * posix/regex_internal.h: Likewise.
19173         * resolv/res_hconf.c: Likewise.
19174         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19175         * sysdeps/arm/memmove.S: Likewise.
19176         * sysdeps/arm/sysdep.h: Likewise.
19177         * sysdeps/generic/_itoa.h: Likewise.
19178         * sysdeps/generic/symbol-hacks.h: Likewise.
19179         * sysdeps/gnu/errlist.awk: Likewise.
19180         * sysdeps/gnu/errlist.c: Likewise.
19181         * sysdeps/i386/i586/memcpy.S: Likewise.
19182         * sysdeps/i386/i586/memset.S: Likewise.
19183         * sysdeps/i386/i686/memcpy.S: Likewise.
19184         * sysdeps/i386/i686/memmove.S: Likewise.
19185         * sysdeps/i386/i686/mempcpy.S: Likewise.
19186         * sysdeps/i386/i686/memset.S: Likewise.
19187         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19188         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19189         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19190         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19191         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19192         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19194         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19195         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19204         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19215         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19216         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19217         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19221         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19222         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19223         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19224         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19225         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19226         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19227         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19228         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19229         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19230         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19233         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19234         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19235         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19236         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19237         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19238         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19239         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19240         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19241         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19242         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19243         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19244         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19245         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19246         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19248         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19249         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19250         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19251         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19252         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19253         * sysdeps/posix/closedir.c: Likewise.
19254         * sysdeps/posix/opendir.c: Likewise.
19255         * sysdeps/posix/readdir.c: Likewise.
19256         * sysdeps/posix/rewinddir.c: Likewise.
19257         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19258         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19259         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19260         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19261         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19263         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19268         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19269         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19271         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19272         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19273         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19274         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19275         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19276         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19278         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19279         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19280         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19281         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19283         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19285         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19293         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19294         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19295         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19296         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19297         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19298         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19299         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19301         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19302         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19303         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19305         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19306         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19307         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19308         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19311         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19314         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19315         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19316         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19317         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19318         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19319         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19320         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19321         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19322         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19323         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19324         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19325         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19326         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19327         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19328         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19329         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19330         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19331         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19332         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19333         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19334         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19335         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19336         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19337         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19338         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19339         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19340         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19341         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19342         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19343         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19344         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19345         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19346         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19347         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19348         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19349         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19351         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19352         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19353         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19355         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19356         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19357         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19358         * sysdeps/unix/alpha/sysdep.S: Likewise.
19359         * sysdeps/unix/alpha/sysdep.h: Likewise.
19360         * sysdeps/unix/make-syscalls.sh: Likewise.
19361         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19363         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19364         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19365         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19366         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19367         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19368         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19369         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19370         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19372         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19373         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19374         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19375         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19376         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19377         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19378         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19379         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19381         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19383         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19384         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19385         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19386         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19390         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19392         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19393         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19395         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19399         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19400         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19401         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19402         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19403         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19404         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19408         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19411         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19412         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19413         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19414         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19415         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19416         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19417         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19419         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19420         * sysdeps/x86_64/memcpy.S: Likewise.
19421         * sysdeps/x86_64/memmove.c: Likewise.
19422         * sysdeps/x86_64/memset.S: Likewise.
19423         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19424         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19425         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19426         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19427         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19428         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19429         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19430         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19431         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19432         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19433         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19434         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19435         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19436         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19437         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19438         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19439         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19440         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19441         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19442         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19443         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19444         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19445         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19446         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19447         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19448         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19449         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19450         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19451         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19452         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19453         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19454         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19455         * sysdeps/x86_64/strcmp.S: Likewise.
19457         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19459         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19460         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19461         * elf/rtld-Rules: Likewise.
19462         * elf/setup-vdso.h: Likewise.
19463         * include/assert.h: Likewise.
19464         * include/bits/stdlib-float.h: Likewise.
19465         * include/errno.h: Likewise.
19466         * include/sys/stat.h: Likewise.
19467         * include/unistd.h: Likewise.
19468         * sysdeps/aarch64/setjmp.S: Likewise.
19469         * sysdeps/alpha/setjmp.S: Likewise.
19470         * sysdeps/arm/__longjmp.S: Likewise.
19471         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19472         * sysdeps/arm/setjmp.S: Likewise.
19473         * sysdeps/arm/sysdep.h: Likewise.
19474         * sysdeps/generic/_itoa.h: Likewise.
19475         * sysdeps/generic/dl-sysdep.h: Likewise.
19476         * sysdeps/generic/ldsodefs.h: Likewise.
19477         * sysdeps/i386/dl-tls.h: Likewise.
19478         * sysdeps/i386/setjmp.S: Likewise.
19479         * sysdeps/m68k/setjmp.c: Likewise.
19480         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19481         * sysdeps/mach/hurd/opendir.c: Likewise.
19482         * sysdeps/posix/getcwd.c: Likewise.
19483         * sysdeps/posix/opendir.c: Likewise.
19484         * sysdeps/posix/profil.c: Likewise.
19485         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19486         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19487         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19488         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19489         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19490         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19491         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19492         * sysdeps/s390/dl-tls.h: Likewise.
19493         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19494         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19495         * sysdeps/sh/sh3/setjmp.S: Likewise.
19496         * sysdeps/sh/sh4/setjmp.S: Likewise.
19497         * sysdeps/unix/alpha/sysdep.h: Likewise.
19498         * sysdeps/unix/arm/sysdep.S: Likewise.
19499         * sysdeps/unix/i386/sysdep.S: Likewise.
19500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19501         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19502         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19503         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19505         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19506         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19507         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19508         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19509         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19510         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19511         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19512         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19515         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19519         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19524         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19525         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19527         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19528         * sysdeps/x86_64/setjmp.S: Likewise.
19530         * include/math.h: Use IS_IN instead of IS_IN_libm.
19531         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19532         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19533         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19534         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19535         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19536         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19537         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19538         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19539         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19541         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19542         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19543         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19544         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19545         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19546         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19547         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19548         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19549         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19550         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19551         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19552         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19553         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19554         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19555         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19556         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19557         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19558         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19559         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19560         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19561         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19562         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19563         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19565         Likewise.
19566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19567         Likewise.
19568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19569         Likewise.
19570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19571         Likewise.
19572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19573         Likewise.
19574         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19575         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19576         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19577         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19578         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19579         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19585         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19586         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19587         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19588         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19589         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19590         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19591         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19592         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19593         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19594         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19595         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19597         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19598         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19600         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19602         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19603         * nptl/pthreadP.h: Likewise.
19604         * nptl_db/structs.def: Likewise.
19605         * sysdeps/arm/sysdep.h: Likewise.
19606         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19607         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19608         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19609         * sysdeps/unix/alpha/sysdep.h: Likewise.
19610         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19612         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19613         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19614         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19615         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19616         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19617         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19618         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19619         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19620         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19621         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19622         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19623         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19628         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19631         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19632         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19633         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19634         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19635         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19637         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19638         * nptl/pthreadP.h: Likewise.
19639         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19640         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19641         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19643         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19644         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19645         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19646         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19647         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19648         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19649         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19650         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19652         Likewise.
19653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19654         Likewise.
19655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19657         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19660         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19661         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19662         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19664         * dlfcn/dladdr.c: Use IS_IN.
19665         * dlfcn/dladdr1.c: Likewise.
19666         * dlfcn/dlclose.c: Likewise.
19667         * dlfcn/dlerror.c: Likewise.
19668         * dlfcn/dlinfo.c: Likewise.
19669         * dlfcn/dlmopen.c: Likewise.
19670         * dlfcn/dlopen.c: Likewise.
19671         * dlfcn/dlsym.c: Likewise.
19672         * dlfcn/dlvsym.c: Likewise.
19674         * include/ifaddrs.h: Use IS_IN.
19675         * inet/check_pf.c: Likewise.
19676         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19677         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19679         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19680         IS_IN_ldconfig.
19681         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19682         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19684         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19685         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19686         IS_IN (libc).
19688         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19690         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19691         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19692         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19693         * include/libc-symbols.h (IS_IN_LIB): New macro.
19694         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19695         * include/netdb.h: Likewise.
19696         * include/stap-probe.h: Remove all uses of IN_LIB.
19698         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19699         instead of IN_MODULE.
19700         * include/libc-symbols.h (IN_MODULE): Define using
19701         MODULE_NAME.
19702         (PASTE_NAME, PASTE_NAME1): New macros.
19703         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19704         of IN_LIB.
19705         (STAP_PROBE_ASM): Likewise.
19707 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19709         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19710         __mach_init in dlopened libc.
19712 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19714         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19715         * sysdeps/arm/preconfigure: Regenerate.
19717 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19719         * nptl/pthread_create.c (__pthread_create_2_1): Set
19720         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19721         when copying values from IATTR into PD.
19723 2014-11-21  Will Newton  <will.newton@linaro.org>
19724             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19726         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19727         Refactor inline-asm.  Also add comment.
19729         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19730         ElfW macro instead of hardcoded Elf64 types.
19731         (la_aarch64_gnu_pltenter): Likewise.
19732         * sysdeps/aarch64/dl-machine.h
19733         (elf_machine_runtime_setup): Use ElfW(Addr).
19735         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19736         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19737         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19738         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19739         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19740         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19741         (R_AARCH64_TLS_DTPMOD): This.
19742         (R_AARCH64_TLS_DTPREL64): Rename to ...
19743         (R_AARCH64_TLS_DTPREL): This.
19744         (R_AARCH64_TLS_TPREL64): Rename to ...
19745         (R_AARCH64_TLS_TPREL): This.
19746         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19747         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19748         R_AARCH64_TLS_TPREL64.
19749         (elf_machine_rela): Likewise.
19751 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19753         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19754         by setting it to 0.  64b atomics are not supported currently.
19756 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19758         [BZ #16469]
19759         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19760         search domain names.
19762 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19764         [BZ #16469]
19765         * NEWS: Update.
19766         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19767         trailing dot.
19768         * posix/tst-getaddrinfo5.c: New.
19769         * posix/Makefile (tests): Add it.
19771 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19773         [BZ #14498]
19774         * NEWS: Fixed.
19775         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19776         after parsing line but before break_if_match.
19777         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19778         if there is a protocol mismatch.
19780 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19782         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19783         because the potential race is on the user-supplied stream.
19785 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19787         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19788         string literal if not passed a buffer.
19789         * manual/job.texi (ctermid): Update reasoning, note deviation
19790         from posix, suggest mtasurace when not passed a buffer, for
19791         future non-preliminary safety notes.
19793 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19795         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19796         of not passing it a buffer.
19797         Reported by Peng Haitao.
19799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19801         * manual/Makefile ($(objpfx)stamp-summary): Require
19802         check-safety.sh to pass.
19803         * manual/check-safety.sh: Wish for verification that every
19804         @deftypefn and @deftypefun is followed by a @safety remark.
19806 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19808         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19810         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19811         PTHREAD_CANCEL_ASYNCHRONOUS.
19812         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19813         send SIGCANCEL.
19815         * nptl/default-sched.h: New file.
19816         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19817         * nptl/pthread_create.c: Include it.
19818         (__pthread_create_2_1): Use collect_default_sched instead of making
19819         Linux syscalls here directly.
19821 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19823         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19824         __pthread_once): Use C11 atomics.
19826 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19828         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19830 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19832         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19833         atomic_thread_fence_acquire, atomic_thread_fence_release,
19834         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19835         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19836         atomic_compare_exchange_weak_relaxed,
19837         atomic_compare_exchange_weak_acquire,
19838         atomic_compare_exchange_weak_release,
19839         atomic_exchange_acquire, atomic_exchange_release,
19840         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19841         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19842         atomic_fetch_and_acquire,
19843         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19845 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19847         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19848         USE_ATOMIC_COMPILER_BUILTINS): Define.
19849         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19851         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19853         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19855         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19857         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19859         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19861         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19863         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19865         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19867         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19869         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19871         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19873         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19875         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19877         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19879         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19881         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19883         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19884         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19885         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19887         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19890 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19892         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19893         the sched_priority value here.  It was already checked when the user
19894         called pthread_attr_setschedparam.
19896         * nptl/tst-bad-schedattr.c: New file.
19897         * nptl/Makefile (tests): Add it.
19899 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19900             Florian Weimer  <fweimer@redhat.com>
19901             Joseph Myers  <joseph@codesourcery.com>
19902             Adam Conrad  <adconrad@0c3.net>
19903             Andreas Schwab  <schwab@suse.de>
19904             Brooks  <bmoses@google.com>
19906         [BZ #17625]
19907         * wordexp-test.c (__dso_handle): Add prototype.
19908         (__register_atfork): Likewise.
19909         (__app_register_atfork): New function.
19910         (registered_forks): New global.
19911         (register_fork): New function.
19912         (test_case): Add 3 new tests for WRDE_CMDSUB.
19913         (main): Call __app_register_atfork.
19914         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19915         fork count is non-zero fail the test.
19916         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19917         is set.
19918         (parse_dollars): Remove check for WRDE_NOCMD.
19919         (parse_dquote): Likewise.
19921 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19923         * Makeconfig (built-modules): List non-library modules to be
19924         built.
19925         (module-cppflags): Include libc-modules.h for
19926         everything except shlib-versions.v.i.
19927         (CPPFLAGS): Use it.
19928         (before-compile): Add libc-modules.h.
19929         ($(common-objpfx)libc-modules.h,
19930         $(common-objpfx)libc-modules.stmp): New targets.
19931         (common-generated): Add libc-modules.h and libc-modules.stmp.
19932         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19933         * include/libc-symbols.h: Don't include libc-modules.h.
19934         * include/libc-modules.h: Remove file.
19935         * scripts/gen-libc-modules.awk: New script to generate
19936         libc-modules.h.
19937         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19938         Depend on libc-modules.stmp.
19940         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19942         * Makeconfig (in-module): Get value of libof set for the
19943         translation unit.
19944         (CPPFLAGS): Use $(in-module).
19945         * Makerules: Don't suffix routine names for nonlib.
19946         * include/libc-modules.h: New file.
19947         * include/libc-symbols.h: Include libc-modules.h
19948         (IS_IN): New macro to replace IS_IN_* macros.
19949         * elf/Makefile: Set libof-* for each routine.
19950         * elf/rtld-Rules: Likewise.
19951         * extra-modules.mk: Likewise.
19952         * iconv/Makefile: Likewise.
19953         * iconvdata/Makefile: Likewise.
19954         * locale/Makefile: Likewise.
19955         * malloc/Makefile: Likewise.
19956         * nss/Makefile: Likewise.
19957         * sysdeps/gnu/Makefile: Likewise.
19958         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19959         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19960         * sysdeps/s390/s390-64/Makefile: Likewise.
19961         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19962         CPPFLAGS for nscd instead of nonlib.
19964 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19966         * nptl/createthread.c: New file.
19968         * nptl/createthread.c: Moved ...
19969         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19971         * nptl/createthread.c: Add proper top-line comment.
19972         (do_clone): Folded into ...
19973         (create_thread): ... here.  Take new arguments STOPPED_START and
19974         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19975         increment __nptl_threads, do event-reporting logic, do
19976         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19977         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19978         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19979         just send SIGCANCEL.
19980         * nptl/pthread_create.c: Forward-declare create_thread before
19981         including createthread.c.
19982         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19983         declaration, and new macro START_THREAD_SELF to replace argument.
19984         Remove return statement.
19985         (report_thread_creation): New function.
19986         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19987         synchronization logic, and __nptl_nthreads increment here, around
19988         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19989         PD->parent_cancelhandling here, before create_thread.  When
19990         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19991         __deallocate_stack, and ENOMEM translation here.
19993 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19995         [BZ #17616]
19996         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19997         (mptwo): Rename to __mptwo.
19998         (__inv): Use __mptwo instead of mptwo.
19999         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20000         (mptwo): Rename to __mptwo.
20001         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20002         of mpone and __mptwo instead of mptwo.
20003         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20004         instead of mpone.
20005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20006         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20007         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20008         of mpone and __mptwo instead of mptwo.
20009         (__mpranred): Use __mpone instead of mpone.
20010         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20011         variable.
20012         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20013         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20014         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20015         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20016         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20017         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20018         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20019         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20020         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20021         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20022         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20023         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20024         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20025         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20026         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20027         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20028         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20029         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20030         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20032 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20034         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20035         replace BSD Handler xref with BSD Signal Handling.
20037 2014-11-17  Richard Henderson  <rth@redhat.com>
20039         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20040         (_FP_PACK_RAW_2): Remove.
20041         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20042         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20043         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20044         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20045         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20046         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20047         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20048         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20049         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20050         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20051         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20052         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20053         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20054         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20055         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20056         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20058 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20060         * signal/signal.h [__USE_MISC]
20061         (struct sigvec): Remove type.
20062         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20063         (sigvec): Remove declaration.
20064         * sysdeps/posix/sigvec.c: Moved ...
20065         * signal/sigvec.c: ... here, replacing old file.
20066         (struct sigvec): New type, copied from old signal.h definition.
20067         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20068         (__sigvec): Convert definition to prototype.
20069         (sigvec): Replace weak_alias with compat_symbol.
20070         * signal/Versions (libc: GLIBC_2.21): New version set.
20071         * include/signal.h: Remove __sigvec declaration.
20072         * sysdeps/unix/bsd/sigvec.c: Remove file.
20073         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20074         * manual/signal.texi (BSD Handler): Remove subsection.
20075         Move siginterrupt up to ...
20076         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20077         (Blocking in BSD): Fold subsection into its parent.
20078         * NEWS: Mention sigvec removal.
20080 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20082         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20083         (DLA_FMS): Make definition conditional only on [__FMA4__].
20084         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20085         definition.
20087         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20088         Make definition conditional only on [PROF].
20089         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20090         definition.
20091         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20092         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20094         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20095         !__GNUC__].
20096         * include/signal.h (__sigpause): Move declaration above call to
20097         libc_hidden_proto.
20098         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20099         variable.
20100         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20101         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20103 2014-11-14  David S. Miller  <davem@davemloft.net>
20105         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20106         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20108 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20110         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20111         * configure: Regenerated.
20112         * manual/install.texi (Tools for Compilation): Document a
20113         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20114         compiler verified to work.
20115         * INSTALL: Regenerated.
20117         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20118         redeclare with asm name.
20119         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20120         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20121         including <string.h>.
20122         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20123         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20124         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20125         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20126         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20127         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20128         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20130 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20132         * stdlib/strtol.c (__strtol): Use prototype definition.
20134         [BZ #17594]
20135         * stdlib/strtol.c (SYM__): New macro.
20136         (SYM__1): Likewise.
20137         (__strtol): Likewise.
20138         (strtol): Rename to __strtol and define as weak alias of
20139         __strtol.  Use libc_hidden_weak.
20141 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20143         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20144         Use numbered labels in inline assembly.
20146 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20148         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20149         Add setjmp LIBC_PROBE.
20150         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20151         Likewise.
20152         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20153         Add longjmp, longjmp_target LIBC_PROBE.
20154         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20155         Likewise.
20157 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20159         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20160         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20161         to get rid of unused variable warning.
20163 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20165         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20166         Check for unwind_backtrace ==  NULL only in SHARED case.
20167         (__backchain_backtrace): Compile only in SHARED case.
20168         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20169         Likewise.
20170         (__backchain_backtrace): Declare as static.
20172 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20174         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20175         (__libc_multiple_threads_ptr): Variable moved ...
20176         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20178 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20180         * conform/GlibcConform.pm: New file.
20181         * conform/conformtest.pl: Use GlibcConform module.
20182         * conform/linknamespace.pl: New file.
20183         * conform/list-header-symbols.pl: Likewise.
20184         * conform/Makefile (linknamespace-symlists-base): New variable.
20185         (linknamespace-symlists-tests): Likewise.
20186         (linknamespace-header-base): Likewise.
20187         (linknamespace-header-tests): Likewise.
20188         (tests-special): Add new tests.
20189         ($(linknamespace-symlists-tests)): New rule.
20190         (linknamespace-libs): New variable.
20191         ($(objpfx)symlist-stdlibs): New rule.
20192         ($(linknamespace-header-tests)): Likewise.
20193         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20194         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20195         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20196         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20197         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20198         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20199         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20200         (test-xfail-ISO/math.h/linknamespace): Likewise.
20201         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20202         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20203         (test-xfail-ISO/time.h/linknamespace): Likewise.
20204         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20205         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20206         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20207         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20208         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20209         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20210         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20211         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20212         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20213         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20214         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20215         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20216         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20217         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20218         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20219         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20220         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20221         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20222         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20223         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20224         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20225         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20226         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20227         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20228         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20229         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20230         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20231         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20232         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20233         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20234         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20235         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20236         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20237         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20238         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20239         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20240         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20241         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20242         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20243         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20244         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20245         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20246         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20247         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20248         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20249         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20250         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20251         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20252         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20253         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20254         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20255         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20256         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20257         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20258         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20259         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20260         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20261         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20262         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20263         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20264         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20265         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20266         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20267         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20268         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20269         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20270         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20271         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20272         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20273         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20274         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20275         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20276         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20277         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20278         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20279         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20280         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20281         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20282         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20283         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20284         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20285         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20286         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20287         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20288         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20289         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20290         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20291         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20292         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20293         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20294         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20295         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20296         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20297         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20298         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20299         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20300         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20301         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20302         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20303         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20304         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20305         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20306         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20307         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20308         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20309         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20310         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20311         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20312         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20313         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20314         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20315         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20316         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20317         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20318         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20319         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20320         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20321         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20322         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20323         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20324         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20325         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20326         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20327         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20328         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20329         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20330         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20331         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20332         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20333         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20334         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20335         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20336         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20337         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20338         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20339         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20340         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20341         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20342         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20343         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20344         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20345         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20346         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20347         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20348         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20349         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20350         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20351         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20352         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20353         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20355         [BZ #17589]
20356         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20357         of fgets_unlocked.
20359         [BZ #17585]
20360         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20361         (memmem): Rename to __memmem and define as weak alias of
20362         __memmem.  Use libc_hidden_weak.
20363         (__memmem): Use libc_hidden_def.
20364         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20365         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20366         memmem.
20368         [BZ #17582]
20369         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20370         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20371         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20372         and define as weak alias of __fgets_unlocked.  Use
20373         libc_hidden_weak.
20374         (__fgets_unlocked): Use libc_hidden_def.
20375         * include/stdio.h (__fgets_unlocked): Declare.  Use
20376         libc_hidden_proto.
20377         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20378         __fgets_unlocked instead of fgets_unlocked.
20379         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20380         (GET_NPROCS_CONF_PARSER): Likewise.
20381         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20382         (GET_NPROCS_CONF_PARSER): Likewise.
20384         [BZ #17574]
20385         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20386         weak alias of __wmemset.  Use libc_hidden_weak.
20387         (__wmemset): Use libc_hidden_def.
20388         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20389         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20390         of wmemset.
20392         [BZ #17573]
20393         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20394         with asm name __mempcpy.
20395         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20397         [BZ #17572]
20398         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20399         and define as weak alias of __rawmemchr.
20400         (__rawmemchr): Do not define as strong alias of rawmemchr.
20402         [BZ #17571]
20403         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20404         alias of __qsort_r.
20405         (qsort): Call __qsort_r instead of qsort_r.
20406         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20407         (__qsort_r): Declare.  Call libc_hidden_proto.
20408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20409         instead of qsort_r.
20410         * nscd/gai.c (__qsort_r): Define to qsort_r.
20411         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20412         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20413         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20415         [BZ #17570]
20416         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20417         define as weak alias of __malloc_info.
20419         [BZ #17584]
20420         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20421         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20422         (__rewinddir): Use libc_hidden_def.
20423         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20424         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20425         (__rewinddir): Use libc_hidden_def.
20426         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20427         weak alias of __rewinddir.  Don't use libc_hidden_def.
20428         (__rewinddir): Use libc_hidden_def.
20429         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20430         (__rewinddir): Use libc_hidden_proto.
20431         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20432         rewinddir.
20433         (__getcwd): Use __rewinddir instead of rewinddir.
20435         [BZ #17583]
20436         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20437         alias of __fileno.  Use libc_hidden_weak.
20438         (__fileno): Use libc_hidden_def.
20439         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20440         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20441         alias of __ftello.
20442         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20443         __ftello.
20444         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20445         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20446         libc_hidden_def.
20447         (fread_unlocked): Don't use libc_hidden_ver.
20448         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20449         and define as weak alias of __fread_unlocked.  Don't use
20450         libc_hidden_def.
20451         (__fread_unlocked): Use libc_hidden_def.
20452         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20453         (ftello): Don't use libc_hidden_proto.
20454         (__ftello): Declare.  Use libc_hidden_proto.
20455         (fread_unlocked): Don't use libc_hidden_proto.
20456         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20457         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20458         and __ftello instead of fileno, fread_unlocked and ftello.
20460 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20462         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20463         GOT12.
20464         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20465         Likewise.
20466         (_dl_start_user): Likewise.
20467         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20469 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20470             Siddhesh Poyarekar  <siddhesh@redhat.com>
20472         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20473         Move argv and envp down instead of moving argc up.
20474         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20476 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20478         [BZ #17506]
20479         * test-skeleton.c (main): Return successful if one of
20480         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20481         * string/tst-strcoll-overflow.c: Define expected status.
20483 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20485         [BZ #17475]
20486         * locale/iso-639.def: Define Bhili and Tulu language codes.
20488 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20490         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20492 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20494         [BZ #17555]
20495         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20497 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20499         * configure.ac: Updated check of minimal required version to
20500         2.22.
20501         * manual/install.texi (Tools for Compilation): Updated version
20502         number.
20503         * configure: Regenerated.
20504         * INSTALL: Likewise.
20506 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20508         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20509         __tls_get_addr.
20511 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20513         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20514         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20515         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20516         libc_hidden_weak.
20517         (waitpid): Define as alias of __waitpid.
20518         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20519         __waitpid.
20520         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20521         libc_hidden_weak.
20522         (waitpid): Define as alias of __waitpid.
20523         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20524         __libc_waitpid alias.
20525         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20526         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20527         Likewise.
20528         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20529         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20530         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20531         alias.
20532         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20533         __waitpid.
20534         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20535         libc_hidden_weak.
20536         (waitpid): Define as alias of __waitpid.
20538 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20540         * manual/llio.texi: Add comment that write safety has been
20541         fixed in Linux.
20543         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20544         (localplt-build-dso): Add elf/ld.so.
20545         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20546         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20547         and free for ld.so.
20548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20549         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20551         Likewise.
20552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20553         Likewise.
20554         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20555         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20556         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20557         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20558         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20559         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20560         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20561         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20562         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20563         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20564         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20566 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20568         [BZ #14132]
20569         * include/libc-symbols.h (INTUSE): Remove macro.
20570         (INTDEF): Likewise.
20571         (INTVARDEF): Likewise.
20572         (_INTVARDEF): Likewise.
20573         (INTDEF2): Likewise.
20574         (INTVARDEF2): Likewise.
20575         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20576         rtld_hidden_def instead of INTVARDEF.
20577         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20578         (_dl_starting_up_internal): Remove declaration.
20579         (_dl_starting_up): Use rtld_hidden_proto.
20580         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20581         declaration.
20582         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20583         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20584         _dl_starting_up.
20585         * elf/dl-writev.h (_dl_writev): Likewise.
20586         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20587         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20588         _dl_starting_up_internal.
20590 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20592         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20593         test-skeleton.c.
20595 2014-11-05  Will Newton  <will.newton@linaro.org>
20597         * benchtests/Makefile: (bench-malloc): Add malloc thread
20598         scalability benchmark.
20599         * benchtests/bench-malloc-threads.c: New file.
20601 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20603         * sysdeps/aarch64/strchrnul.S: New file.
20605 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20607         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20608         definition.
20609         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20610         Likwise.
20611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20612         Likewise.
20613         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20614         Likewise.
20615         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20616         Likewise.
20617         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20618         Likewise.
20620 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20622         * catgets/test-gencat.c: Use test-skeleton.c.
20623         * catgets/tst-catgets.c: Likewise.
20624         * csu/tst-empty.c: Likewise.
20625         * elf/tst-audit2.c: Likewise.
20626         * elf/tst-global1.c: Likewise.
20627         * elf/tst-pathopt.c: Likewise.
20628         * elf/tst-piemod1.c: Likewise.
20629         * elf/tst-tls10.c: Likewise.
20630         * elf/tst-tls11.c: Likewise.
20631         * elf/tst-tls12.c: Likewise.
20632         * gnulib/tst-gcc.c: Likewise.
20633         * iconvdata/tst-e2big.c: Likewise.
20634         * iconvdata/tst-loading.c: Likewise.
20635         * iconv/tst-iconv1.c: Likewise.
20636         * iconv/tst-iconv2.c: Likewise.
20637         * inet/test-inet6_opt.c: Likewise.
20638         * inet/tst-gethnm.c: Likewise.
20639         * inet/tst-network.c: Likewise.
20640         * inet/tst-ntoa.c: Likewise.
20641         * intl/tst-codeset.c: Likewise.
20642         * intl/tst-gettext2.c: Likewise.
20643         * intl/tst-gettext3.c: Likewise.
20644         * intl/tst-ngettext.c: Likewise.
20645         * intl/tst-translit.c: Likewise.
20646         * io/test-stat.c: Likewise.
20647         * libio/test-fmemopen.c: Likewise.
20648         * libio/tst-freopen.c: Likewise.
20649         * libio/tst-sscanf.c: Likewise.
20650         * libio/tst-ungetwc1.c: Likewise.
20651         * libio/tst-ungetwc2.c: Likewise.
20652         * libio/tst-widetext.c: Likewise.
20653         * localedata/tst-ctype.c: Likewise.
20654         * localedata/tst-digits.c: Likewise.
20655         * localedata/tst-leaks.c: Likewise.
20656         * localedata/tst-mbswcs1.c: Likewise.
20657         * localedata/tst-mbswcs2.c: Likewise.
20658         * localedata/tst-mbswcs3.c: Likewise.
20659         * localedata/tst-mbswcs4.c: Likewise.
20660         * localedata/tst-mbswcs5.c: Likewise.
20661         * localedata/tst-setlocale.c: Likewise.
20662         * localedata/tst-trans.c: Likewise.
20663         * localedata/tst-wctype.c: Likewise.
20664         * localedata/tst-xlocale1.c: Likewise.
20665         * login/tst-grantpt.c: Likewise.
20666         * malloc/tst-calloc.c: Likewise.
20667         * malloc/tst-malloc.c: Likewise.
20668         * malloc/tst-mallocstate.c: Likewise.
20669         * malloc/tst-mcheck.c: Likewise.
20670         * malloc/tst-mtrace.c: Likewise.
20671         * malloc/tst-obstack.c: Likewise.
20672         * math/atest-exp2.c: Likewise.
20673         * math/atest-exp.c: Likewise.
20674         * math/atest-sincos.c: Likewise.
20675         * math/test-matherr.c: Likewise.
20676         * math/test-misc.c: Likewise.
20677         * math/test-powl.c: Likewise.
20678         * math/tst-definitions.c: Likewise.
20679         * misc/tst-dirname.c: Likewise.
20680         * misc/tst-efgcvt.c: Likewise.
20681         * misc/tst-fdset.c: Likewise.
20682         * misc/tst-hsearch.c: Likewise.
20683         * misc/tst-mntent2.c: Likewise.
20684         * nptl/tst-sem7.c: Likewise.
20685         * nptl/tst-sem8.c: Likewise.
20686         * nptl/tst-sem9.c: Likewise.
20687         * nss/test-netdb.c: Likewise.
20688         * posix/tst-fnmatch.c: Likewise.
20689         * posix/tst-getlogin.c: Likewise.
20690         * posix/tst-gnuglob.c: Likewise.
20691         * posix/tst-mmap.c: Likewise.
20692         * pwd/tst-getpw.c: Likewise.
20693         * resolv/tst-inet_ntop.c: Likewise.
20694         * rt/tst-timer.c: Likewise.
20695         * stdio-common/test-fseek.c: Likewise.
20696         * stdio-common/test-popen.c: Likewise.
20697         * stdio-common/test-vfprintf.c: Likewise.
20698         * stdio-common/tst-cookie.c: Likewise.
20699         * stdio-common/tst-fileno.c: Likewise.
20700         * stdio-common/tst-gets.c: Likewise.
20701         * stdio-common/tst-obprintf.c: Likewise.
20702         * stdio-common/tst-perror.c: Likewise.
20703         * stdio-common/tst-sprintf2.c: Likewise.
20704         * stdio-common/tst-sprintf3.c: Likewise.
20705         * stdio-common/tst-sprintf.c: Likewise.
20706         * stdio-common/tst-swprintf.c: Likewise.
20707         * stdio-common/tst-tmpnam.c: Likewise.
20708         * stdio-common/tst-unbputc.c: Likewise.
20709         * stdio-common/tst-wc-printf.c: Likewise.
20710         * stdlib/tst-environ.c: Likewise.
20711         * stdlib/tst-fmtmsg.c: Likewise.
20712         * stdlib/tst-limits.c: Likewise.
20713         * stdlib/tst-rand48-2.c: Likewise.
20714         * stdlib/tst-rand48.c: Likewise.
20715         * stdlib/tst-random2.c: Likewise.
20716         * stdlib/tst-random.c: Likewise.
20717         * stdlib/tst-strtol.c: Likewise.
20718         * stdlib/tst-strtoll.c: Likewise.
20719         * stdlib/tst-tls-atexit.c: Likewise.
20720         * stdlib/tst-xpg-basename.c: Likewise.
20721         * string/test-ffs.c: Likewise.
20722         * string/tst-bswap.c: Likewise.
20723         * string/tst-inlcall.c: Likewise.
20724         * string/tst-strtok.c: Likewise.
20725         * string/tst-strxfrm.c: Likewise.
20726         * sysdeps/x86_64/tst-audit10.c: Likewise.
20727         * sysdeps/x86_64/tst-audit3.c: Likewise.
20728         * sysdeps/x86_64/tst-audit4.c: Likewise.
20729         * sysdeps/x86_64/tst-audit5.c: Likewise.
20730         * time/tst-ftime_l.c: Likewise.
20731         * time/tst-getdate.c: Likewise.
20732         * time/tst-mktime3.c: Likewise.
20733         * time/tst-mktime.c: Likewise.
20734         * time/tst-posixtz.c: Likewise.
20735         * time/tst-strptime2.c: Likewise.
20736         * time/tst-strptime3.c: Likewise.
20737         * wcsmbs/tst-btowc.c: Likewise.
20738         * wcsmbs/tst-mbrtowc.c: Likewise.
20739         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20740         * wcsmbs/tst-wchar-h.c: Likewise.
20741         * wcsmbs/tst-wcpncpy.c: Likewise.
20742         * wcsmbs/tst-wcrtomb.c: Likewise.
20743         * wcsmbs/tst-wcsnlen.c: Likewise.
20744         * wcsmbs/tst-wcstof.c: Likewise.
20746 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20748         [BZ #14132]
20749         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20750         INTDEF.
20751         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20752         declaration.
20753         (_dl_mcount): Use rtld_hidden_proto.
20754         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20755         _dl_mcount.
20756         * elf/rtld.c (_rtld_global_ro): Likewise.
20758         [BZ #14132]
20759         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20760         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20761         of _dl_init_internal.
20762         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20763         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20764         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20765         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20766         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20767         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20768         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20769         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20770         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20771         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20772         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20773         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20774         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20775         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20776         * sysdeps/tile/dl-start.S (_start): Likewise.
20777         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20778         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20780         [BZ #14132]
20781         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20782         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20783         (rtld_progname): Make macro definition unconditional.
20784         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20785         INTDEF.
20786         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20787         (dl_main): Likewise.
20788         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20789         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20790         instead of _dl_argv_internal.
20791         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20792         __GI__dl_argv instead of INTUSE(_dl_argv).
20793         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20794         __GI__dl_argv instead of _dl_argv_internal.
20796         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20797         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20798         macro.
20799         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20800         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20801         New macro.
20802         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20803         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20804         macro.
20805         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20806         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20808 2014-11-04  Andreas Schwab  <schwab@suse.de>
20810         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20812 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20814         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20815         mtvsrd instruction in binary form.
20817 2014-11-03  Andreas Schwab  <schwab@suse.de>
20819         [BZ #17522]
20820         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20821         for less than MB_LEN_MAX use a local buffer of that size.
20822         * libio/tst-fputws.c: New file.
20823         * libio/Makefile (tests): Add tst-fputws.
20825 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20827         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20828         the size of the fpu_fr.fpu_dregs[] array.
20830 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20832         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20833         (__nanosleep): Do not define as alias.
20834         (nanosleep): Define as alias of __nanosleep.
20835         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20836         __libc_nanosleep name.
20838 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20840         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20841         install.texi in comment.
20843 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20845         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20846         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20847         ... add here and use lwsync or sync ...
20848         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20849         ... and add here using lwsync.
20851 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20853         * elf/dl-machine-reject-phdr.h: New file.
20854         * elf/dl-load.c: #include that.
20855         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20856         if that returned true.
20858 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20860         [BZ #17496]
20861         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20862         gen-as-const-headers chunk.  Add a big scare comment after the last
20863         safe place to touch before-compile.
20865 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20867         * manual/install.texi (Tools for Compilation): Update autoconf
20868         version requirements.
20869         * INSTALL: Regenerated.
20871         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20872         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20873         (__libc_pselect): Likewise.
20875         [BZ #14138]
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20881 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20883         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20884         correct barrier instruction.
20885         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20886         Likewise.
20887         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20888         Likewise.
20890 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20892         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20893         after defining inlines.  Instead, just use parens to defeat macro
20894         expansion of __isctype in its declaration.
20896 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20898         * include/sys/uio.h (__libc_readv): Remove declaration.
20899         (__libc_writev): Likewise.
20900         * misc/readv.c (__libc_readv): Rename to __readv.
20901         (__readv): Do not define as alias.
20902         (readv): Define as alias of __readv.
20903         * misc/writev.c (__libc_writev): Rename to __writev.
20904         (__writev): Do not define as alias.
20905         (writev): Define as alias of __writev.
20906         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20907         (__readv): Do not define as alias.
20908         (readv): Define unconditionally as alias of __readv.
20909         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20910         (__writev): Do not define as alias.
20911         (writev): Define unconditionally as alias of __writev.
20912         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20913         name.
20914         (writev): Do not define __libc_writev name.
20916 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20918         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20919         (convert_charseq): New function, broken out of ...
20920         (use_from_charmap): ... here.  Call it.
20921         (use_to_charmap): Use convert_charseq and free instead of duplicating
20922         its code with a variable-length stack struct.
20924 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20926         * include/fcntl.h (__libc_creat): Remove declaration.
20927         * io/creat.c (__libc_creat): Rename to creat.
20928         (creat): Do not define as alias.
20929         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20930         of creat instead of __libc_creat.
20931         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20932         to creat.
20933         (creat): Do not define as alias.
20934         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20935         __libc_creat.
20936         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20937         __libc_creat name.
20938         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20939         Likewise.
20941 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20943         * manual/llio.texi: Add comments discussing why write() may be
20944         considered MT-unsafe on Linux.
20946 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20948         * dl-load.c (local_strdup): Remove.
20949         (expand_dynamic_string_token): Use __strdup.
20950         (decompose_rpath): Likewise.
20951         (_dl_map_object): Likewise.
20953 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20955         [BZ #14132]
20956         * sysdeps/generic/unwind-dw2-fde.c
20957         (__register_frame_info_bases_internal): Do not declare.
20958         (__register_frame_info_table_bases_internal): Likewise.
20959         (__deregister_frame_info_bases_internal): Likewise.
20960         (__register_frame_info_bases): Declare and use hidden_proto before
20961         definition.  Use hidden_def instead of INTDEF.
20962         (__register_frame_info_table_bases): Likewise.
20963         (__deregister_frame_info_bases): Likewise.
20964         (__register_frame_info): Do not use INTUSE.
20965         (__register_frame): Likewise.
20966         (__register_frame_info_table): Likewise.
20967         (__register_frame_table): Likewise.
20968         (__deregister_frame_info): Likewise.
20969         (__deregister_frame): Likewise.
20971 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20973         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20974         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20975         not undefine.
20976         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20977         Likewise.
20978         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20979         Likewise.
20981 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20983         [BZ #14138]
20984         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20985         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20986         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20987         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20988         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20989         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20990         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20991         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20992         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20993         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20994         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20995         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20996         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20997         syscall.
20998         (setfsuid): Likewise.
20999         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21000         (setfsuid): Likewise.
21001         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21002         (setfsuid): Likewise.
21003         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21004         Likewise.
21005         (setfsuid): Likewise.
21006         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21007         (setfsuid): Likewise.
21008         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21009         Likewise.
21010         (setfsuid): Likewise.
21012 2014-10-27  Andreas Schwab  <schwab@suse.de>
21014         [BZ #17501]
21015         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21016         check for Slow_SSE4_2 feature bit.
21017         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21018         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21019         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21020         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21022 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21024         * configure.ac: Validate compiler version with a empirical test of
21025         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21026         $CC -v output.
21027         * configure: Regenerated.
21029         * inet/htons.c (htons): Prototypify.
21030         * inet/htonl.c (htonl): Likewise.
21032 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21034         * string/strncat.c (strncat): Improve performance by using strlen.
21036 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21038         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21040 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21042         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21043         Call libc_fetestexcept_aarch64.
21045 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21047         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21048         Call libc_feholdexcept_aarch64.
21050 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21052         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21053         Call get_rounding_mode.
21055 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21057         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21058         Simplify logic.
21060 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21062         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21063         Simplify logic.
21065 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21067         [BZ #14138]
21068         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21069         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21070         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21071         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21072         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21073         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21074         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21075         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21076         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21077         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21078         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21079         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21080         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21081         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21082         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21083         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21084         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21085         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21086         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21087         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21088         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21089         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21090         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21091         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21092         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21093         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21094         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21095         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21096         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21097         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21098         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21099         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21100         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21101         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21102         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21103         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21104         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21105         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21106         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21107         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21108         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21109         syscall.
21110         (geteuid): Likewise.
21111         (getgid): Likewise.
21112         (getuid): Likewise.
21113         (getresgid): Likewise.
21114         (getresuid): Likewise.
21115         (getgroups): Likewise.
21116         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21117         (geteuid): Likewise.
21118         (getgid): Likewise.
21119         (getuid): Likewise.
21120         (getresgid): Likewise.
21121         (getresuid): Likewise.
21122         (getgroups): Likewise.
21123         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21124         (geteuid): Likewise.
21125         (getgid): Likewise.
21126         (getuid): Likewise.
21127         (getresgid): Likewise.
21128         (getresuid): Likewise.
21129         (getgroups): Likewise.
21130         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21131         Likewise.
21132         (geteuid): Likewise.
21133         (getgid): Likewise.
21134         (getuid): Likewise.
21135         (getresgid): Likewise.
21136         (getresuid): Likewise.
21137         (getgroups): Likewise.
21138         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21139         (geteuid): Likewise.
21140         (getgid): Likewise.
21141         (getuid): Likewise.
21142         (getresgid): Likewise.
21143         (getresuid): Likewise.
21144         (getgroups): Likewise.
21145         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21146         Likewise.
21147         (geteuid): Likewise.
21148         (getgid): Likewise.
21149         (getuid): Likewise.
21150         (getgroups): Likewise.
21152         [BZ #14138]
21153         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21154         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21155         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21156         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21157         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21158         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21159         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21160         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21161         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21162         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21163         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21164         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21165         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21166         __chown.
21167         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21168         (lchown): Likewise.
21169         (fchown): Likewise.
21170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21171         Likewise.
21172         (lchown): Likewise.
21173         (fchown): Likewise.
21174         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21175         (lchown): Likewise.
21176         (fchown): Likewise.
21177         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21178         Likewise.
21179         (lchown): Likewise.
21180         (fchown): Likewise.
21182 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21184         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21185         Simplify logic.
21187 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21189         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21190         Cleanup logic.
21192 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21194         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21195         Remove unused include.
21197 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21199         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21200         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21201         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21202         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21204 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21205             Helge Deller <deller@gmx.de>
21207         [BZ #17508]
21208         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21209         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21210         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21212 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21214         [BZ #14132]
21215         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21216         Remove macro definition.
21217         (__ashrdi3_v_glibc20): Likewise.
21218         (__lshrdi3_v_glibc20): Likewise.
21219         (__cmpdi2_v_glibc20): Likewise.
21220         (__ucmpdi2_v_glibc20): Likewise.
21221         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21222         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21223         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21224         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21225         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21226         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21228 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21230         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21231         old GNU extension [0] syntax.
21232         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21233         alloca rather than an array member with variable length.
21234         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21235         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21236         (parse_opt): ... here.  Likewise use alloca there.
21237         Validate the -i argument before checking for rootness.
21238         (send_shutdown): New function, broken out of ...
21239         (parse_opt): ... here.
21241 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21243         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21244         macro to get at the _rt_local_ro field.
21245         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21246         ([PIC] case) or _dl_hwcap ([!PIC] case).
21247         * sysdeps/arm/setjmp.S: Likewise.
21249         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21250         * sysdeps/arm/configure.ac: New check to define it.
21251         * sysdeps/arm/configure: Regenerated.
21252         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21253         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21254         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21255         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21256         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21257         Use move/movt pair instead of a load.
21258         (LDST_GLOBAL): Macro removed.
21259         (LDR_GLOBAL): New macro replaces it.
21260         (LDR_HIDDEN): New macro.
21261         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21262         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21264         * setjmp/tst-setjmp-static.c: New file.
21265         * setjmp/Makefile (tests): Add it.
21266         (tests-static): New variable.
21268 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21270         [BZ #17485]
21271         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21273 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21275         [BZ #14132]
21276         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21278 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21280         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21282 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21284         * io/fts.c (dirent_not_directory): New function.
21285         (fts_build): Call it.
21287 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21289         * nptl/version.c (__nptl_main): Use normal __write rather than
21290         INTERNAL_SYSCALL.
21291         (banner): Update copyright years.
21293         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21294         gettimeofday.
21295         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21296         * nptl/pthread_cond_timedwait.c: Likewise.
21297         * nptl/pthread_mutex_timedlock.c: Likewise.
21298         * nptl/sem_timedwait.c: Likewise.
21300         * sysdeps/nptl/bits/libc-lock.h
21301         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21302         (__libc_lock_init_recursive): Return void, not 0.
21303         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21304         (__libc_rwlock_init): Likewise.
21305         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21307 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21309         [BZ #15215]
21310         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21311         (__pthread_once_slow): ... here.
21312         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21313         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21315 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21317         [BZ #15215]
21318         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21319         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21320         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21321         * nptl/pthread_once.c (__pthread_once): Likewise.
21322         Update comments.
21324 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21326         [BZ #14138]
21327         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21328         name.
21329         (writev): Use __libc_writev as strong name.
21330         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21331         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21333 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21335         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21337         * sysdeps/i386/nptl/tls.h
21338         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21339         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21340         New macros.
21341         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21342         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21343         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21344         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21345         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21346         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21348         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21349         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21350         on [__NR_futex].
21351         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21352         broken out of ...
21353         (__pthread_mutex_init): ... here.  Call it.
21354         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21355         Conditionalize PI cases on [__NR_futex].
21356         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21357         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21358         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21360         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21361         conditional on [SIGSETXID].
21362         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21363         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21364         is defined.  Likewise for SIGSETXID.
21365         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21366         Conditionalize definitions on [SIGSETXID].
21367         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21368         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21369         unblocking on [SIGCANCEL].
21371         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21372         [__NR_set_robust_list].
21374 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21376         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21377         (do_compare): Likewise.
21379 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21381         [BZ #15884]
21382         * string/strcoll_l.c: Don't include stdio.h.
21383         (coll_seq): Remove members idxarr and rulearr.
21384         (get_next_seq_cached): Remove function.
21385         (get_next_seq): Likewise.
21386         (get_next_seq_nocache): Rename to get_next_seq.
21387         (do_compare): Remove function.
21388         (do_compare_nocache): Rename to do_compare.
21389         (STRCOLL): Remove weight and rules cache.
21391 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21393         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21394         * sysdeps/arm/sfp-machine.h: ... to here.
21395         * sysdeps/arm/Implies: Remove arm/soft-fp.
21397 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21399         * conform/data/sys/utsname.h-data (*_t): Allow.
21400         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21401         [POSIX] (WEXITED): Do not expect constant.
21402         [POSIX] (WSTOPPED): Likewise.
21403         [POSIX] (WNOHANG): Likewise.
21404         [POSIX] (WNOWAIT): Likewise.
21405         [POSIX] (siginfo_t): Do not expect type or elements.
21406         [POSIX] (pid_t): Do not expect type.
21407         [POSIX] (signal.h): Do not allow header.
21408         [POSIX] (sys/resource.h): Likewise.
21409         [POSIX] (si_*): Do not allow pattern.
21410         [POSIX] (W*): Likewise.
21411         [POSIX] (P_*): Likewise.
21412         [POSIX] (BUS_*): Likewise.
21413         [POSIX] (CLD_*): Likewise.
21414         [POSIX] (FPE_*): Likewise.
21415         [POSIX] (ILL_*): Likewise.
21416         [POSIX] (POLL_*): Likewise.
21417         [POSIX] (SEGV_*): Likewise.
21418         [POSIX] (SI_*): Likewise.
21419         [POSIX] (TRAP_*): Likewise.
21420         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21421         variable.
21423 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21425         [BZ #12926]
21426         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21427         infinite loop when __recvmsg returns 0.
21429 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21431         * CANCEL-FCT-WAIVE: Remove file.
21432         * CANCEL-FILE-WAIVE: Likewise.
21434         [BZ #14132]
21435         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21436         instead of INTVARDEF.
21437         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21438         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21439         rtld_hidden_data_def instead of INTVARDEF.
21440         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21441         * elf/dl-deps.c (expand_dst): Likewise.
21442         * elf/dl-load.c (_dl_dst_count): Likewise.
21443         (_dl_dst_substitute): Likewise.
21444         (decompose_rpath): Likewise.
21445         (_dl_init_paths): Likewise.
21446         (open_path): Likewise.
21447         (_dl_map_object): Likewise.
21448         * elf/rtld.c (dl_main): Likewise.
21449         (process_dl_audit): Likewise.
21450         (process_envvars): Likewise.
21451         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21452         Remove declaration.
21453         (__libc_enable_secure): Use rtld_hidden_proto.
21455 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21457         * elf/dl-load.c
21458         (add_path): New function broken out of _dl_rtld_di_serinfo.
21459         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21461 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21463         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21464         parentheses around macro arguments.
21465         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21466         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21467         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21468         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21472         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21476         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21477         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21478         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21480         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21481         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21484         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21485         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21494         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21495         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21498         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21499         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21500         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21501         Likewise.
21502         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21509         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21510         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21511         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21512         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21513         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21514         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21523         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21526         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21527         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21528         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21529         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21530         (_FP_FRAC_SRS_1): Likewise.
21531         (_FP_FRAC_CLZ_1): Likewise.
21532         (_FP_MUL_MEAT_1_imm): Likewise.
21533         (_FP_MUL_MEAT_1_wide): Likewise.
21534         (_FP_MUL_MEAT_1_hard): Likewise.
21535         (_FP_SQRT_MEAT_1): Likewise.
21536         (_FP_FRAC_ASSEMBLE_1): Likewise.
21537         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21538         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21539         (__FP_CLZ_2): Likewise.
21540         (_FP_MUL_MEAT_2_wide): Likewise.
21541         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21542         (_FP_MUL_MEAT_2_gmp): Likewise.
21543         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21544         (_FP_SQRT_MEAT_2): Likewise.
21545         (_FP_FRAC_ASSEMBLE_2): Likewise.
21546         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21547         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21548         (_FP_FRAC_CLZ_4): Likewise.
21549         (_FP_MUL_MEAT_4_wide): Likewise.
21550         (_FP_MUL_MEAT_4_gmp): Likewise.
21551         (_FP_SQRT_MEAT_4): Likewise.
21552         (_FP_FRAC_ASSEMBLE_4): Likewise.
21553         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21554         * soft-fp/op-common.h (_FP_CMP): Likewise.
21555         (_FP_CMP_EQ): Likewise.
21556         (_FP_CMP_UNORD): Likewise.
21557         (_FP_TO_INT): Likewise.
21558         (_FP_FROM_INT): Likewise.
21559         [!__FP_CLZ] (__FP_CLZ): Likewise.
21560         (_FP_DIV_HELP_imm): Likewise.
21561         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21562         Likewise.
21563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21574         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21577         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21578         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21579         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21592         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21596         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21597         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21598         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21599         (FP_UNPACK_RAW_SP): Likewise.
21600         (FP_PACK_RAW_S): Likewise.
21601         (FP_PACK_RAW_SP): Likewise.
21602         (FP_UNPACK_S): Likewise.
21603         (FP_UNPACK_SP): Likewise.
21604         (FP_UNPACK_SEMIRAW_S): Likewise.
21605         (FP_UNPACK_SEMIRAW_SP): Likewise.
21606         (FP_PACK_S): Likewise.
21607         (FP_PACK_SP): Likewise.
21608         (FP_PACK_SEMIRAW_S): Likewise.
21609         (FP_PACK_SEMIRAW_SP): Likewise.
21610         (_FP_SQRT_MEAT_S): Likewise.
21611         (FP_CMP_S): Likewise.
21612         (FP_CMP_EQ_S): Likewise.
21613         (FP_CMP_UNORD_S): Likewise.
21614         (FP_TO_INT_S): Likewise.
21615         (FP_FROM_INT_S): Likewise.
21617         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21619         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21620         (FP_EX_INVALID_IMZ): Likewise.
21621         (FP_EX_INVALID_IMZ_FMA): Likewise.
21622         (FP_EX_INVALID_ISI): Likewise.
21623         (FP_EX_INVALID_ZDZ): Likewise.
21624         (FP_EX_INVALID_IDI): Likewise.
21625         (FP_EX_INVALID_SQRT): Likewise.
21626         (FP_EX_INVALID_CVI): Likewise.
21627         (FP_EX_INVALID_VC): Likewise.
21628         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21629         "invalid" exceptions.
21630         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21631         (_FP_ADD_INTERNAL): Likewise.
21632         (_FP_MUL): Likewise.
21633         (_FP_FMA): Likewise.
21634         (_FP_DIV): Likewise.
21635         (_FP_CMP_CHECK_NAN): Likewise.
21636         (_FP_SQRT): Likewise.
21637         (_FP_TO_INT): Likewise.
21638         (FP_EXTEND): Likewise.
21640 2014-10-09  Allan McRae  <allan@archlinux.org>
21642         * po/fr.po: Update French translation from translation project.
21644 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21646         [BZ #14132]
21647         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21648         of INTDEF.
21649         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21650         (__cxa_atexit): Use libc_hidden_proto.
21651         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21653         [BZ #14132]
21654         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21655         declaration.
21656         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21657         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21658         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21659         [!_ISOMAC] (__iswctype_internal): Likewise.
21660         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21661         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21662         alias.
21663         (fcntl): Remove __fcntl_internal alias.
21664         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21665         __connect_internal alias.
21666         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21667         Likewise.
21669         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21670         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21671         FP_DENORM_ZERO.
21672         (_FP_CHECK_FLUSH_ZERO): New macro.
21673         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21674         (_FP_CMP): Likewise.
21675         (_FP_CMP_EQ): Likewise.
21676         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21677         FP_DENORM_ZERO.
21678         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21679         (FP_TRUNC): Likewise.
21681         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21682         treated as invalid conversion, not as normal exponent.
21684         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21685         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21686         (_FP_CMP_EQ): Likewise.
21687         (_FP_CMP_UNORD): Likewise.
21688         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21689         (FP_CMP_EQ_D): Likewise.
21690         (FP_CMP_UNORD_D): Likewise.
21691         * soft-fp/extended.h (FP_CMP_E): Likewise.
21692         (FP_CMP_EQ_E): Likewise.
21693         (FP_CMP_UNORD_E): Likewise.
21694         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21695         (FP_CMP_EQ_Q): Likewise.
21696         (FP_CMP_UNORD_Q): Likewise.
21697         * soft-fp/single.h (FP_CMP_S): Likewise.
21698         (FP_CMP_EQ_S): Likewise.
21699         (FP_CMP_UNORD_S): Likewise.
21700         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21701         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21702         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21703         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21704         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21705         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21706         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21707         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21708         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21709         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21710         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21711         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21712         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21713         to FP_CMP_Q.
21714         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21715         FP_CMP_Q.
21716         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21717         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21718         FP_CMP_EQ_Q.
21719         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21720         FP_CMP_Q.
21721         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21722         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21723         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21724         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21725         FP_CMP_EQ_Q.
21726         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21727         FP_CMP_Q.
21728         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21729         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21730         FP_CMP_EQ_Q.
21731         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21732         FP_CMP_Q.
21733         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21734         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21735         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21736         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21737         FP_CMP_EQ_Q.
21739         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21740         a subnormal result, set the underflow exception if trapping on
21741         underflow is enabled.
21742         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21743         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21744         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21745         redefine to 0.
21746         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21747         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21748         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21749         * soft-fp/extendxftf2.c (__extendxftf2): Use
21750         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21752         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21753         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21754         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21755         FP_HANDLE_EXCEPTIONS.
21756         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21757         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21758         FP_HANDLE_EXCEPTIONS.
21759         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21760         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21761         FP_HANDLE_EXCEPTIONS.
21762         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21763         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21764         FP_HANDLE_EXCEPTIONS.
21766 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21768         [BZ #14132]
21769         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21770         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21771         use INTUSE.
21772         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21773         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21774         Remove alias.
21775         (__adjtimex): Define using libc_hidden_ver.
21776         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21777         Remove declaration.
21778         (ntp_gettime): Call __adjtimex directly.
21779         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21780         Remove declaration.
21781         (ntp_gettimex): Call __adjtimex directly.
21782         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21783         __adjtimex_internal alias.
21785 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21787         [BZ #17460]
21788         * nscd/nscd.c (more_help): Rewrite list of tables collection
21789         using xstrdup and asprintf.
21791         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21793 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21794             Roland McGrath  <roland@hack.frob.com>
21796         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21797         (do_lookup_unique): ... local function 'enter' here; update callers.
21799 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21801         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21802         compat_symbol calls on [SHARED].
21803         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21804         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21805         Remove.
21806         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21807         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21808         (oldsetrlimit): Remove.
21809         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21811         (lchown): New syscall entry.
21812         (oldsetrlimit): Remove.
21813         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21814         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21815         (oldsetrlimit): Remove.
21816         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21818         [BZ #14138]
21819         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21820         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21821         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21822         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21823         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21824         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21825         (fchown): Likewise.
21826         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21827         (fchown): Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21829         Likewise.
21831 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21833         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21834         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21835         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21836         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21837         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21838         Likewise.
21839         (__old_sem_post): Likewise.
21841 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21843         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21844         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21845         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21846         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21847         Use INLINE_VSYSCALL macro.
21848         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21849         __vdso_clock_gettime.
21850         * sysdeps/unix/sysv/linux/tile/init-first.c
21851         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21852         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21853         __vdso_clock_gettime.
21855         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21856         to set up frame more cleanly.
21858         * sysdeps/tile/memcmp.c: New file.
21860         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21862         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21863         * sysdeps/tile/tilegx/strcasestr.c: New file.
21864         * sysdeps/tile/tilegx/strnlen.c: New file.
21865         * sysdeps/tile/tilegx/strstr.c: New file.
21867         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21869 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21871         * nptl/tst-setuid3.c: Write errors to stdout.
21873 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21875         * elf/dl-deps.c
21876         (preload): New functions broken out of _dl_map_object_deps.
21877         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21879 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21881         [BZ #14138]
21882         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21883         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21885 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21887         * sysdeps/mips/strcmp.S: New.
21889 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21891         [BZ #14138]
21892         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21893         (linkat): Likewise.
21894         (mkdirat): Likewise.
21895         (readlinkat): Likewise.
21896         (renameat): Likewise.
21897         (symlinkat): Likewise.
21898         (unlinkat): Likewise.
21899         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21900         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21901         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21902         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21903         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21904         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21905         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21907 2014-09-30  Will Newton  <will.newton@linaro.org>
21909         * math/math.h: Define long double math functions if
21910         _LIBC_TEST is defined.
21911         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21913         * localedata/Makefile: Move assignment to tests-special
21914         into an ifdef testing run-built-tests.
21915         * timezone/Makefile: Likewise.
21917 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21919         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21920         with $(BASH) not $(SHELL).
21922 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21923             Matthew LeGendre  <legendre1@llnl.gov>
21925         [BZ #17411]
21926         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21927         l_reloc_result.
21929 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21931         * stdio-common/printf_fp.c
21932         (hack_digit): New function, broken out of ...
21933         (__printf_fp): ... local function here.  Update call sites.
21934         hack_digit now takes an additional parameter that is a pointer
21935         to a struct of the referenced locals.  Those locals moved inside
21936         the struct and references updated.
21938 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21940         * aclocal.m4: Require autoconf 2.69.
21941         * configure: Regenerated.
21942         * sysdeps/aarch64/configure: Likewise.
21943         * sysdeps/alpha/configure: Likewise.
21944         * sysdeps/arm/armv7/configure: Likewise.
21945         * sysdeps/arm/configure: Likewise.
21946         * sysdeps/ia64/configure: Likewise.
21947         * sysdeps/mach/configure: Likewise.
21948         * sysdeps/mips/configure: Likewise.
21949         * sysdeps/s390/configure: Likewise.
21950         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21953         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21954         file.
21955         * sysdeps/ia64/configure.ac: Likewise.
21957 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21960         specify symbol version for ld.so.  Do not include entry for
21961         libpthread.
21962         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21963         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21964         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21966         [BZ #14171]
21967         * Makeconfig [$(build-shared) = yes]
21968         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21969         makefiles.
21970         [$(build-shared) = yes && $(soversions.mk-done) = t]
21971         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21972         [$(build-shared) = yes && $(soversions.mk-done) = t]
21973         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21974         to Makerules.
21975         [$(build-shared) = yes && $(soversions.mk-done) = t]
21976         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21977         here.
21978         [$(build-shared) = yes && $(soversions.mk-done) = t]
21979         (common-generated): Don't append gnu/lib-names.h and
21980         gnu/lib-names.stmp here.
21981         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21982         (lib-names-h-abi): New variable.
21983         [$(build-shared) = yes && $(soversions.mk-done) = t]
21984         (lib-names-stmp-abi): Likewise.
21985         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21986         abi-variants] (before-compile): Append
21987         $(common-objpfx)$(lib-names-h-abi).
21988         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21989         abi-variants] (common-generated): Append gnu/lib-names.h.
21990         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21991         abi-variants] (install-others-nosubdir): Depend on
21992         $(inst_includedir)/$(lib-names-h-abi).
21993         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21994         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21995         [$(build-shared) = yes && $(soversions.mk-done) = t]
21996         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21997         [$(build-shared) = yes && $(soversions.mk-done) = t]
21998         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21999         [$(build-shared) = yes && $(soversions.mk-done) = t]
22000         (common-generated): Append $(lib-names-h-abi) and
22001         $(lib-names-stmp-abi).
22002         * scripts/lib-names.awk: Do not handle multi being set.
22003         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22004         Remove variable.
22005         (abi-lp64_be-ld-soname): Likewise.
22006         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22007         Likewise.
22008         (abi-hard-ld-soname): Likewise.
22009         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22010         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22011         Remove variable.
22012         (abi-o32_hard-ld-soname): Likewise.
22013         (abi-o32_soft_2008-ld-soname): Likewise.
22014         (abi-o32_hard_2008-ld-soname): Likewise.
22015         (abi-n32_soft-ld-soname): Likewise.
22016         (abi-n32_hard-ld-soname): Likewise.
22017         (abi-n32_soft_2008-ld-soname): Likewise.
22018         (abi-n32_hard_2008-ld-soname): Likewise.
22019         (abi-n64_soft-ld-soname): Likewise.
22020         (abi-n64_hard-ld-soname): Likewise.
22021         (abi-n64_soft_2008-ld-soname): Likewise.
22022         (abi-n64_hard_2008-ld-soname): Likewise.
22023         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22024         Likewise.
22025         (abi-64-v2-ld-soname): Likewise.
22026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22027         ld.so entries.
22028         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22029         variable.
22030         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22031         entry.
22032         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22033         variable.
22034         (abi-64-ld-soname): Likewise.
22035         (abi-x32-ld-soname): Likewise.
22036         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22037         entry.
22038         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22040 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22042         [BZ #14138]
22043         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22044         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22045         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22046         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22048         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22049         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22050         syscall entry for GLIBC_2.2 symbol version.
22051         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22052         Likewise.
22053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22054         (setrlimit): Likewise.
22055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22056         Likewise.
22058 2014-09-23  Will Newton  <will.newton@linaro.org>
22060         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22061         _LINUX_ARM_SYSDEP_H include guard too.
22062         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22063         define.
22065 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22067         * sysdeps/unix/sysv/linux/eventfd.c:
22068         Make first argument unsigned.
22069         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22070         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22072 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22074         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22075         * socket/sys/socket.h: Likewise.
22076         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22078 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22080         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22082 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22084         * time/tst-ftime.c: New test.
22085         * time/Makefile (tests): Add tst-ftime.
22087 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22089         * soft-fp/extended.h: Fix comment formatting.
22090         * soft-fp/op-1.h: Likewise.
22091         * soft-fp/op-2.h: Likewise.
22092         * soft-fp/op-4.h: Likewise.
22093         * soft-fp/op-8.h: Likewise.
22094         * soft-fp/op-common.h: Likewise.
22095         * soft-fp/soft-fp.h: Likewise.
22097         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22099 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22101         [BZ #6652]
22102         * Makeconfig (soversions-default-setname): Remove variable.
22103         ($(common-objpfx)soversions.i): Don't pass default_setname to
22104         soversions.awk.
22105         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22106         oldest_abi to abi-versions.awk.
22107         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22108         * config.make.in (oldest-abi): Remove variable.
22109         * configure.ac (--enable-oldest-abi): Remove configure option.
22110         * configure: Regenerated.
22111         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22112         text.
22113         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22114         * scripts/soversions.awk: Do not handle default_setname variable.
22115         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22116         variable.
22117         * sysdeps/mach/hurd/configure: Regenerated.
22118         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22119         variable.
22120         * sysdeps/unix/sysv/linux/configure: Regenerated.
22122 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22124         * elf/Makefile (CFLAGS-interp.c): Remove.
22125         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22126         path string.
22127         * elf/interp.c: Include generated runtime-linker.h
22129         * Makerules (lib%.so): Don't include $(+interp) in
22130         prerequisites.
22131         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22132         * dlfcn/eval.c: Remove file.
22134         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22135         macros.
22137         [BZ #17266]
22138         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22139         4.2 and newer.
22141         [BZ #17370]
22142         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22144 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22145             Jakub Jelinek  <jakub@redhat.com>
22147         [BZ #17266]
22148         * libio/stdio.h: Check definition of __fortify_function
22149         instead of __extern_always_inline to include bits/stdio2.h.
22150         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22151         check if __extern_always_inline is defined.
22152         [__USE_MISC || __USE_XOPEN]: Likewise.
22153         [__USE_ISOC99] Likewise.
22154         * misc/sys/cdefs.h (__fortify_function): Define only if
22155         __extern_always_inline is defined.
22156         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22157         __extern_always_inline and __extern_inline only for g++-4.3
22158         and newer or a compatible gcc.
22160 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22162         [BZ #17371]
22163         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22164         last change to handle zero prefix length.
22166 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22168         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22169         _SC_REGEX_VERSION.
22171         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22172         _POSIX_RAW_SOCKETS.
22174 2014-09-13  Allan McRae  <allan@archlinux.org>
22176         * po/ru.po: Update Russian translation from translation project.
22178 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22180         * locale/programs/locale.c (show_locale_vars): Inline local function
22181         into its sole call site.  Clean up some style nits.
22182         (print_item): New function, broken out of ...
22183         (show_info): ... local function here.  Clean up style nits.
22185         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22186         out of ...
22187         (set_class_defaults): ... local function set_default here.
22188         Define set_default as a macro locally to pass constant parameters.
22189         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22190         rather than a shared local.
22192         * stdlib/rpmatch.c (try): New function, broken out of ...
22193         (rpmatch): ... local function here.  Also, prototypify definition.
22195 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22197         * scripts/soversions.awk: Do not handle configuration names.
22198         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22199         vendor and os variables to soversions.awk.
22200         * configure.ac: Do not modify gnu-* host_os.
22201         * configure: Regenerated
22202         * shlib-versions: Remove first column with configuration names.
22203         * nptl/shlib-versions: Likewise.
22204         * nptl_db/shlib-versions: Likewise.
22205         * sysdeps/hppa/shlib-versions: Likewise.
22206         * sysdeps/m68k/shlib-versions: Likewise.
22207         * sysdeps/mach/hurd/shlib-versions: Likewise.
22208         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22209         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22210         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22211         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22212         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22213         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22214         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22215         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22217         Likewise.
22218         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22219         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22220         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22221         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22222         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22223         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22225         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22228         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22230         Regenerated.
22231         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22233         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22235         * shlib-versions: Remove OS-specific entries.  Moved to files in
22236         sysdeps.
22237         * sysdeps/mach/hurd/shlib-versions: New file.
22238         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22240         * nptl/shlib-versions: Remove architecture-specific entries.
22241         Moved to files in sysdeps.
22242         * shlib-versions: Likewise.
22243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22244         file.
22245         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22246         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22247         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22248         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22250         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22251         (UDP_NO_CHECK6_RX): Likewise.
22253 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22255         * sysdeps/posix/sysconf.c (__sysconf): Spell
22256         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22258 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22260         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22261         loading.
22262         * iconv/Versions (__gconv_transliterate): Export for use from
22263         gconv modules.
22264         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22265         (struct __gconv_trans_data, __gconv_trans_fct,
22266         __gconv_trans_context_fct, __gconv_trans_query_fct,
22267         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22268         definitions.
22269         (struct __gconv_step_data): Remove __trans member.
22270         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22271         longer hidden.  Remove unused trans_data argument.
22272         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22273         (__gconv_translit_find): Remove declaration.
22274         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22275         prototype.
22276         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22277         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22278         trans_data argument.  Add hidden definition.
22279         (__gconv_translit_find): Remove.
22280         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22281         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22282         * iconv/skeleton.c: Remove transliteration initialization.
22283         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22284         __gconv_step_data initialization.
22285         * libio/iofwide.c (__libio_translit_): Remove.
22286         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22287         * wcsmbs/btowc.c (__btowc): Likewise.
22288         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22289         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22290         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22291         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22292         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22293         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22294         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22295         * wcsmbs/wctob.c (wctob): Likewise.
22297 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22299         [BZ #16194]
22300         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22301         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22302         register usage.
22303         * sysdeps/x86/Makefile: Adjust.
22305 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22306             Roland McGrath  <roland@hack.frob.com>
22308         * locale/weight.h: Add include guard.
22309         (findidx): Make static rather than auto; take new parameters
22310         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22311         * locale/weightwc.h: Likewise.
22312         * posix/fnmatch_loop.c
22313         (FCT): Change type of EXTRA from int32_t to wint_t.
22314         Don't include either header inside the function.
22315         Call FINDIDX rather than findidx, and pass new arguments.
22316         #undef FINDIDX at the end of the file.
22317         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22318         FINDIDX before including fnmatch_loop.c for the non-wide version.
22319         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22320         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22321         for the wide version.
22322         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22323         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22324         Pass new arguments to findidx.
22325         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22326         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22327         Don't #include it inside the function.  Pass new arguments to findidx.
22328         * posix/regex_internal.h
22329         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22330         (re_string_elem_size_at): Don't #include it inside the function.
22331         Pass new arguments to findidx.
22332         * string/strcoll_l.c: #include WEIGHT_H at top level.
22333         (get_next_seq): Don't #include it inside the function.
22334         Pass new arguments to findidx.
22335         (get_next_seq_nocache): Likewise.
22336         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22337         (STRXFRM): Don't #include it inside the function.
22338         Pass new arguments to findidx.
22340 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22342         [BZ #17344]
22343         * malloc/malloc.c (unlink): Turn asserts into a call to
22344         malloc_printerr.
22346 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22348         [BZ #17370]
22349         * libio/wfileops (do_ftell_wide): Free OUT.
22351 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22353         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22355 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22357         [BZ #17363]
22358         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22359         group if the current group is empty.
22361 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22363         * benchtests/bench-memset.c (test_main): Add more test from size
22364         from 32 to 512 bytes.
22365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22366         Add POWER8 memset object.
22367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22368         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22369         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22370         implementation.
22371         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22372         Likewise.
22373         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22374         multiarch POWER8 memset optimization.
22375         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22376         POWER8 memset optimization.
22378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22379         Remove bzero multiarch objects.
22380         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22381         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22382         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22383         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22384         Remove define.
22385         [__bzero]: Redefine to specific name.
22386         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22387         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22388         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22389         define.
22390         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22391         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22393 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22395         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22396         warnings into errors.
22398         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22399         __cxa_thread_atexit_impl prototype.
22401 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22403         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22404         Fix capitalization of error message.
22406 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22408         * sysdeps/mips/preconfigure: Modify ABI tests.
22410 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22412         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22414 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22415             Carlos O'Donell  <carlos@systemhalted.org>
22417         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22419         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22420         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22421         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22422         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22423         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22424         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22425         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22427         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22429         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22438         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22439         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22440         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22441         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22442         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22443         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22444         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22445         Deconditionalize the code that was previously under [RESET_PID].
22446         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22447         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22448         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22449         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22450         include sysdep.h.
22452 2014-09-08  Allan McRae  <allan@archlinux.org>
22454         * version.h (RELEASE): Set to "development".
22455         (VERSION): Set to "2.20.90"
22457 2014-09-07  Allan McRae  <allan@archlinux.org
22459         * version.h (RELEASE): Set to "stable".
22460         (VERSION): Set to "2.20"
22461         * include/features.h (__GLIBC_MINOR__): Set to 20.
22463         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22464         Liebler.
22466         * po/ko.po: Update Korean translation from translation project.
22468 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22470         [BZ #17354]
22471         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22472         macro for handling signed relocations.
22474 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22476         [BZ #17325]
22477         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22478         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22479         assert.
22480         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22481         * iconvdata/ibm935.c (BODY): Likewise.
22482         * iconvdata/ibm937.c (BODY): Likewise.
22483         * iconvdata/ibm939.c (BODY): Likewise.
22484         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22485         assert.
22486         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22487         script.
22488         * iconvdata/run-iconv-test.sh: New test loop for checking for
22489         decoder crashers.
22491 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22493         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22494         libm_hidden_ver.
22496 2014-09-01  Allan McRae  <allan@archlinux.org>
22498         * po/eo.po: Update Esperanto translation from translation project.
22500         * po/ca.po: Update Catalan translation from translation project.
22502 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22504         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22505         __proc_dostop call.
22507 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22509         [BZ #17319]
22510         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22511         to call set_thread_area instead of hand written asm.
22512         (__NR_set_thread_area): Removed define.
22513         (TLS_FLAG_WRITABLE): Likewise.
22514         (__ASSUME_SET_THREAD_AREA): Remove check.
22515         (TLS_EBX_ARG): Remove define.
22516         (TLS_LOAD_EBX): Likewise.
22518 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22520         Simplify atomicity of socket creation in bind.
22522         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22523         looking up the name after linking the file.
22525 2014-08-27  Allan McRae  <allan@archlinux.org>
22527         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22529 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22531         [BZ #17187]
22532         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22533         trans_compare, open_translit, __gconv_translit_find):
22534         Remove module loading code.
22536 2014-08-26  Allan McRae  <allan@archlinux.org>
22538         * po/vi.po: Update Vietnamese translation from translation project.
22540         * po/uk.po: Update Ukrainian translation from translation project.
22542         * po/fr.po: Update French translation from translation project.
22544         * po/ru.po: Update Russian translation from translation project.
22546         * po/pl.po: Update Polish translation from translation project.
22548         * po/cs.po: Update Czech translation from translation project.
22550         * po/de.po: Update German translation from translation project.
22552         * po/bg.po: Update Bulgarian translation from translation project.
22554         * po/sv.po: Update Sweedish translation from translation project.
22556         * po/nl.po: Update Dutch translation from translation project.
22558         * po/es.po: Update Spanish translation from translation project.
22560 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22562         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22564         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22565         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22566         (CPPFLAGS-iconvconfig): Likewise.
22567         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22569         * include/libc-symbols.h: Remove unnecessary check for
22570         NOT_IN_libc.
22571         * nptl/pthreadP.h: Likewise.
22572         * sysdeps/aarch64/setjmp.S: Likewise.
22573         * sysdeps/alpha/setjmp.S: Likewise.
22574         * sysdeps/arm/sysdep.h: Likewise.
22575         * sysdeps/i386/setjmp.S: Likewise.
22576         * sysdeps/m68k/setjmp.c: Likewise.
22577         * sysdeps/posix/getcwd.c: Likewise.
22578         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22579         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22580         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22581         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22582         * sysdeps/sh/sh3/setjmp.S: Likewise.
22583         * sysdeps/sh/sh4/setjmp.S: Likewise.
22584         * sysdeps/unix/alpha/sysdep.h: Likewise.
22585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22586         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22587         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22588         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22593         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22595         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22596         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22598         * sysdeps/x86_64/setjmp.S: Likewise.
22600 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #17263]
22603         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22604         <stdint.h>.
22605         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22606         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22608 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22610         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22612         [BZ #17262]
22613         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22614         and __x86_64__ when disabling x87 inline functions.
22616 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22618         [BZ #17259]
22619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22620         asm statement with __cpuid_count.
22622 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22624         * configure.ac: Change __ehdr_start code to dereference the struct.
22625         Run readelf on the output to look for relocations.
22626         * configure: Regenerated.
22628 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22630         [BZ #17261]
22631         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22632         value to 0.
22633         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22635 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22637         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22639 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22641         [BZ #16892]
22642         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22643         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22645 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22647         * malloc/malloc.c: Fix typo in comment.
22649 2014-08-09  Allan McRae  <allan@archlinux.org>
22651         * Regenerate libc.po.
22653 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22655         * intl/tst-gettext2.sh: Check every lang file for creation.
22657 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22659         * sysdeps/aarch64/fpu/math_private.h
22660         (libc_feholdsetround_noex_aarch64_ctx): New function.
22662 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22664         * sysdeps/arm/armv6/strcpy.S (strcpy):
22665         Fix performance issue in misaligned cases.
22667 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22669         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22670         Move definition from termios.h.
22671         (struct termio): Likewise.
22672         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22673         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22674         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22675         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22676         Likewise.
22677         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22678         Move definition to ioctl-types.h
22679         (struct termio): Likewise.
22680         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22681         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22682         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22683         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22684         Likewise.
22686 2014-08-05  Richard Henderson  <rth@redhat.com>
22688         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22689         exceptions.
22690         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22691         Add fraiseexcpt.
22692         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22693         Use __feraiseexcept.
22694         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22695         Protect libm symbols with IS_IN_libm.
22697         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22699 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22701         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22703 2014-08-04  Will Newton  <will.newton@linaro.org>
22705         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22706         file.
22708 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22711         variants for each function.
22713 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22715         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22716         appended ...
22717         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22718         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22719         appended ...
22720         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22721         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22722         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22723         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22724         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22725         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22726         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22727         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22728         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22729         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22730         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22731         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22732         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22733         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22734         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22735         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22736         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22737         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22738         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22739         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22740         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22741         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22742         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22743         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22744         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22745         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22746         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22747         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22748         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22749         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22750         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22751         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22752         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22753         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22754         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22755         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22756         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22757         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22758         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22759         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22760         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22762         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22764         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22766         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22768         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22770         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22771         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22772         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22773         Update #include.
22774         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22775         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22777 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22779         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22780         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22781         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22782         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22784         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22786 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22788         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22789         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22790         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22791         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22793 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22795         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22796         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22797         (__libc_vfork): Define function under this name.
22798         (__vfork): Define as an alias.
22799         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22800         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22802 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22804         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22805         that was previously under [RESET_PID].
22806         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22808 2014-08-04  Andreas Schwab  <schwab@suse.de>
22810         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22812 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22814         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22815         (main): Likewise.
22817 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22819         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22821 2014-08-01  Richard Henderon  <rth@redhat.com>
22823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22824         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22825         typo in exact zero test.
22826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22830 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22832         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22833         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22834         * sysdeps/arm/sysdep.h: ... here.
22835         [!__ASSEMBLER__]: Include <stdint.h>.
22837 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22839         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22840         (HAVE_WCTYPE_H): Likewise.
22841         (HAVE_ISWCTYPE): Likewise.
22842         (ENABLE_NLS): Likewise.
22843         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22844         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22846         * posix/regex_internal.c: Check if DEBUG is defined and is
22847         set.
22849         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22850         (HAVE_MBSRTOWCS): Likewise.
22851         * posix/fnmatch.c: Include string.h unconditionally.
22853 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22855         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22856         reversal.
22858 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22860         * sysdeps/generic/safe-fatal.h: New file.
22861         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22862         * nptl/forward.c: Include it.
22863         (__pthread_unwind): Use __safe_fatal as default action, rather
22864         than a bogus use of INTERNAL_SYSCALL that could never work.
22866         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22867         * configure.ac (libc_cv_builtin_trap): New test.
22868         * configure: Regenerated.
22869         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22870         (ABORT_INSTRUCTION): Define using __builtin_trap.
22872         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22873         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22874         * sysdeps/nptl/nptl-signals.h: New file.
22875         * nptl/pthreadP.h: Include <nptl-signals.h>.
22877 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22879         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22880         (ONE_DIRECTION): Define.
22881         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22882         (ONE_DIRECTION): Define.
22883         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22884         (ONE_DIRECTION): Define.
22886 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22888         * sysdeps/s390/Makefile: Delete file.
22889         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22890         * sysdeps/s390/__longjmp.c: Delete file.
22891         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22892         Remove fields __flags and __reserved.
22893         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22894         and add versioning.
22895         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22896         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22897         * sysdeps/s390/rtld-setjmp.S: Likewise.
22898         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22899         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22900         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22901         * sysdeps/s390/s390-32/setjmp.S: ... here.
22902         Add versioning.
22903         (__sigsetjmp): Remove setting __flags field.
22904         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22905         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22906         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22907         * sysdeps/s390/s390-64/setjmp.S: ... here.
22908         Add versioning.
22909         (__sigsetjmp): Remove setting __flags field.
22910         * sysdeps/s390/setjmp.S: Delete file.
22911         * sysdeps/s390/sigjmp.c: Likewise.
22912         * sysdeps/s390/v1-longjmp.c: Likewise.
22913         * sysdeps/s390/v1-setjmp.h: Likewise.
22914         * sysdeps/s390/v1-sigjmp.c: Likewise.
22915         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22916         Remove v1-longjmp_chk.
22917         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22918         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22919         Include debug/longjmp_chk.c and add versioning.
22920         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22921         Include nptl/pt-longjmp.c and add versioning.
22922         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22923         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22924         Include __longjmp.c.
22925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22926         Move to ...
22927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22928         (__getcontext): Remove setting __flags field.
22929         Add versioning.
22930         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22931         Don't restore upper high grps.
22932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22933         Likewise.
22934         (__swapcontext): Remove setting uc_flags field.
22935         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22936         Delete file.
22937         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22938         Include __longjmp.c.
22939         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22940         Move to ...
22941         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22942         (__getcontext): Remove setting __flags field.
22943         Add versioning.
22944         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22945         (__swapcontext): Remove setting uc_flags field.
22946         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22947         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22948         Remove fields uc_high_gprs and __reserved.
22949         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22950         New file with reverted content.
22951         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22952         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22953         Regenerated.
22954         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22955         Regenerated.
22957 2014-07-31  Andreas Schwab  <schwab@suse.de>
22959         * config.h.in (HAVE_IFUNC): Define to 0.
22960         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22961         definedness.
22963 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22966         memmove-avx-unaligned, memcpy-avx-unaligned and
22967         mempcpy-avx-unaligned.
22968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22969         Add tests for AVX memcpy functions.
22970         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22971         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22972         memcpy_chk.
22973         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22974         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22975         memmove_chk.
22976         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22977         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22978         mempcpy_chk.
22979         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22980         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22981         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22983 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22985         [BZ #17213]
22986         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22987         powerpc64le.
22989 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22991         [BZ #16839]
22992         * manual/llio.texi: Add section about open file description locks.
22993         * manual/examples/ofdlocks.c: Example of open file description
22994         lock usage.
22995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22996         F_OFD_SETLK, and F_OFD_SETLKW.
22998 2014-07-23  Allan McRae  <allan@archlinux.org>
23000         * po/es.po: Update Spanish translation from translation project.
23002 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23004         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23006 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23008         [BZ #17078]
23009         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23010         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23011         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23013 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23015         [BZ #17088]
23016         * math/fesetenv.c (__fesetenv)
23017         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23018         * math/feupdateenv.c (__feupdateenv)
23019         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23021         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23022         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23023         (__ASSUME_SOCKETCALL): Do not define.
23025         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23026         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23027         (__ASSUME_SOCKETCALL): Do not define.
23028         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23029         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23030         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23031         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23032         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23033         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23035         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23037         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23038         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23039         (__ASSUME_SOCKETCALL): Do not define.
23040         (__ASSUME_IPC64): Define unconditionally.
23041         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23042         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23043         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23044         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23045         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23047         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23048         Likewise.
23050         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23051         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23052         (__ASSUME_SOCKETCALL): Do not define.
23053         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23054         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23055         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23056         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23057         (__ASSUME_REQUEUE_PI): Define unconditionally.
23058         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23059         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23060         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23061         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23063         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23065         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23066         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23067         (__ASSUME_SOCKETCALL): Do not define.
23068         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23069         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23070         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23071         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23072         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23073         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23075         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23076         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23077         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23078         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23079         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23080         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23082         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23083         (__ASSUME_GETCPU_SYSCALL): Likewise.
23085         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23086         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23087         cases for individual architectures.
23088         * sysdeps/gnu/configure: Regenerated.
23089         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23090         LIBC_SLIBDIR_RTLDDIR.
23091         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23092         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23093         LIBC_SLIBDIR_RTLDDIR.
23094         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23096         LIBC_SLIBDIR_RTLDDIR.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23098         Regenerated.
23099         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23100         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23101         file.
23102         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23103         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23104         file.
23105         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23106         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23107         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23108         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23110         * sysdeps/aarch64/shlib-versions: Move to ...
23111         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23112         * sysdeps/alpha/shlib-versions: Move to ...
23113         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23114         * sysdeps/arm/shlib-versions: Move to ...
23115         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23116         * sysdeps/hppa/shlib-versions: Move all contents except for
23117         libgcc_s entry to ...
23118         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23119         entry from ...
23120         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23121         * sysdeps/ia64/shlib-versions: Move to ...
23122         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23123         entry from ...
23124         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23125         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23126         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23127         * sysdeps/microblaze/shlib-versions: Move to ...
23128         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23129         * sysdeps/mips/shlib-versions: Move to ...
23130         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23131         entry from ...
23132         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23133         * sysdeps/tile/shlib-versions: Move to ...
23134         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23136         from ...
23137         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23138         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23139         entry from ...
23140         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23142 2014-07-17  Will Newton  <will.newton@linaro.org>
23144         * sysdeps/arm/bits/atomic.h
23145         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23146         (__arch_compare_and_exchange_bool_16_int): Likewise.
23147         (__arch_compare_and_exchange_bool_64_int): Likewise.
23149         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23150         into an #else block.
23152 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23155         just Linux configurations.  Test empirically that the compiler sets
23156         __ARM_EABI__, rather than using the tuple to decide.
23157         * sysdeps/arm/preconfigure: Regenerated.
23158         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23159         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23160         contents appended ...
23161         * sysdeps/arm/configure.ac: ... here.
23162         * sysdeps/arm/configure: Regenerated.
23164 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23166         * nptl/pthread_kill.c: New file.
23167         * nptl/pthread_sigmask.c: New file.
23168         * nptl/pthread_sigqueue.c: New file.
23170         * sysdeps/nptl/lowlevellock.h: New file.
23171         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23172         * sysdeps/nptl/lowlevellock-futex.h: New file.
23174         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23175         Remove dead declarations.
23177 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23179         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23180         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23181         config-cflags-avx2.
23182         * sysdeps/x86_64/configure.ac: Likewise.
23183         * sysdeps/i386/configure: Regenerated.
23184         * sysdeps/x86_64/configure: Likewise.
23185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23186         memset-avx2 only if config-cflags-avx2 is yes.
23187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23188         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23189         defined.
23190         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23191         only if HAVE_AVX2_SUPPORT is defined.
23192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23194 2014-07-14  Alan Modra  <amodra@gmail.com>
23196         [BZ #17153]
23197         * elf/elf.h (DT_PPC64_NUM): Correct value.
23198         * NEWS: Add to fixed bug list.
23200 2014-07-13  Jim Meyering  <meyering@fb.com>
23202         [BZ 17150]
23203         regex: don't deref NULL upon heap allocation failure
23204         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23205         failure in one more place.
23206         To trigger the segfault, configure grep -with-included-regex,
23207         build it, and run these commands:
23208         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23210 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23212         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23214 2014-07-11  Richard Henderson  <rth@redhat.com>
23216         * sysdeps/aarch64/libm-test-ulps: Update.
23218 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23220         [BZ #17135]
23221         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23222         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23223         (__nptl_setxid): Initialize error member.  Call
23224         __nptl_setxid_error.
23225         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23226         * nptl/descr.h (struct xid_command): Add error member.
23227         * nptl/tst-setuid3.c: New file.
23228         * nptl/Makefile (tests): Add it.
23230 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23232         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23233         New define.
23234         (__lll_trylock): Use __lll_base_trylock.
23235         (__lll_cond_trylock): Likewise.
23237 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23239         * nptl/pthread_create.c (start_thread): Use atomic_or and
23240         lll_futex_wake directly rather than lll_robust_dead.
23241         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23242         (lll_robust_dead): Macro removed.
23243         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23244         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23245         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23246         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23247         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23248         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23249         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23251         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23255         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23259         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23260         Use atomic_compare_and_exchange_val_acq directly rather than
23261         lll_robust_trylock.
23262         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23263         (__lll_robust_trylock, lll_robust_trylock): Removed.
23264         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23265         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23266         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23268         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23269         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23270         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23271         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23273         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23274         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23276         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23279 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23281         * manual/locale.texi (Locale Names): New section documenting
23282         locale name syntax.  Adjust menu and node chaining accordingly.
23283         (Choosing Locale): Reference Locale Names, Locale Categories.
23284         Mention setting LC_ALL=C.  Reflect that name syntax is now
23285         documented.
23286         (Locale Categories): New section title.  Reference Locale Names.
23287         LC_ALL is an environment variable, but not a category.
23288         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23289         description, now in Locale Name.  Reference that section.  Locale
23290         name syntax is now documented.
23292 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23294         [BZ #17137]
23295         * locale/findlocale.c (name_present, valid_locale_name): New
23296         functions.
23297         (_nl_find_locale): Use the loc_name variable to store name
23298         candidates.  Call name_present and valid_locale_name to check and
23299         validate locale names.  Return an error if the locale is invalid.
23301 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23303         * locale/setlocale.c (setlocale): Use strdup for allocating
23304         composite name copy.
23306 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23308         Sync up with gnulib.
23309         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23310         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23311         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23312         and _GL_ARG_NONNULL.
23313         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23314         [!_LIBC]: Include code for Windows and Cygwin.
23315         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23316         Include prototype for int strerror_r.
23317         [!_LIBC] (is_open): New function.
23318         (flush_stdout): New function.
23319         (print_errno_message): Use it.
23320         (error): Likewise.
23321         (error_at_line): Likewise.
23322         (error_tail) Add function attribute macros.  Use
23323         __builtin_expect.
23325         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23327         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23329         * io/ftw.c: Include sys/param.h unconditionally.
23331         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23333         [BZ #17125]
23334         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23335         libc_freeres_ptr.
23336         (freecache): New function to free CACHE on exit.
23338         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23339         initialization.
23341 2014-07-09  David S. Miller  <davem@davemloft.net>
23343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23345         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23346         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23347         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23348         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23349         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23350         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23351         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23352         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23353         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23354         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23355         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23356         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23357         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23359 2014-07-09  Andreas Schwab  <schwab@suse.de>
23361         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23362         output.
23363         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23364         (do_test): Likewise.
23366         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23368 2014-07-09  Will Newton  <will.newton@linaro.org>
23370         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23371         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23372         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23373         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23374         * sysdeps/hppa/start.S (_start): Likewise.
23376 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23378         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23380         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23381         defined.
23383 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23385         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23386         after checking that it is non-NULL.
23388         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23390 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23392         * sysdeps/powerpc/memmove.c: Remove file.
23393         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23394         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23396         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23398         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23399         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23400         string memmove instead of removed powerpc one.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23403         [weak_alias]: Fix compiler warning due trailing data.
23404         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23405         [weak_alias]: Likewise.
23406         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23407         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23410         (__libc_ifunc_impl_list): Add memmove functions.
23412 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23414         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23415         Remove code.
23416         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23417         Likewise.
23418         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23419         Likewise.
23420         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23421         Likewise.
23422         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23423         Likewise.
23424         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23425         Likewise.
23426         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23427         Likewise.
23428         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23429         Likewise.
23430         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23431         Likewise.
23432         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23433         Likewise.
23434         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23435         Likewise.
23436         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23437         Likewise.
23438         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23439         Likewise.
23440         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23441         Likewise.
23442         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23443         Likewise.
23444         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23445         Likewise.
23446         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23447         Likewise.
23449 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23451         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23452         to avoid alignment traps in non-cacheable memory.
23453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23456         multiarch objects.
23457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23458         file: multiarch power7 memmove.
23459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23460         multiarch default memmove.
23461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23462         multiarch memove for powerpc32/power4.
23464         * string/bcopy.c: Use full path to include memmove.c.
23465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23466         multiarch objects.
23467         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23468         bcopy for powerpc64.
23469         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23470         bcopy for powerpc64.
23471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23472         and memmove implementations.
23473         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23474         optimized multiarch memmove for POWER7/powerpc64.
23475         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23476         default multiarch memmove for powerpc64.
23477         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23478         multiarch for powerpc64.
23479         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23480         for POWER7/powerpc64.
23481         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23482         memmove for POWER7/powerpc64.
23484         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23485         glibc default one.
23487         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23488         __ELF_NATIVE_CLASS equal to 64.
23490 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23492         * sysdeps/nptl/lowlevellock.h: File removed.
23494         * NEWS: NPTL is no longer an add-on!
23495         * nptl/internaltypes.h: Moved ...
23496         * sysdeps/nptl/internaltypes.h: ... here.
23497         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23498         * sysdeps/nptl/fork.c: Likewise.
23499         * sysdeps/nptl/gai_misc.h: Likewise.
23500         * sysdeps/nptl/librt-cancellation.c: Likewise.
23501         * sysdeps/nptl/jmp-unwind.c: Likewise.
23502         * sysdeps/nptl/setxid.h: Likewise.
23503         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23504         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23505         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23506         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23507         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23508         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23509         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23510         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23511         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23512         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23513         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23514         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23515         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23516         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23517         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23518         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23519         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23520         * nptl/Makeconfig: Moved ...
23521         * sysdeps/nptl/Makeconfig: ... here.
23522         * nptl/configure: File removed.
23523         * nptl/ANNOUNCE: File removed.
23524         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23525         * sysdeps/unix/sysv/linux/configure: Regenerated.
23527         * nptl/Makefile (routines): Add libc_pthread_init,
23528         libc_multiple_threads, register-atfork and unregister-atfork.
23529         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23530         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23531         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23532         pthread-pi-defines.sym, structsem.sym.
23533         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23534         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23535         [$(subdir) = nptl] (tests): Add tst-setgetname.
23536         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23537         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23538         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23539         [!LIBC_SIGACTION]: Remove aliases.
23540         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23541         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23542         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23543         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23544         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23545         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23546         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23548         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23549         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23550         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23551         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23552         __libc_allocate_rtsig_private.
23553         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23554         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23555         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23556         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23557         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23558         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23559         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23560         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23561         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23562         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23563         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23564         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23565         * nptl/internaltypes.h: ... here.
23566         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23567         * sysdeps/nptl/jmp-unwind.c: ... here.
23568         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23569         * nptl/libc-lowlevellock.c: ... here.
23570         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23571         * nptl/libc_multiple_threads.c: ... here.
23572         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23573         * nptl/libc_pthread_init.c: ... here.
23574         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23575         * nptl/lowlevelbarrier.sym: ... here.
23576         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23577         * nptl/lowlevelcond.sym: ... here.
23578         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23579         * nptl/lowlevellock.c: ... here.
23580         * nptl/lowlevellock.h: Moved ...
23581         * sysdeps/nptl/lowlevellock.h: ... here.
23582         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23583         * nptl/lowlevelrobustlock.c: ... here.
23584         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23585         * nptl/lowlevelrobustlock.sym: ... here.
23586         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23587         * nptl/lowlevelrwlock.sym: ... here.
23588         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23589         * nptl/pt-fork.c: ... here.
23590         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23591         * nptl/pthread-pi-defines.sym: ... here.
23592         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23593         * nptl/pthread_attr_getaffinity.c: ... here.
23594         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23595         * nptl/pthread_attr_setaffinity.c: ... here.
23596         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23597         * nptl/pthread_mutex_cond_lock.c: ... here.
23598         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23599         Update #include.
23600         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23601         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23602         * nptl/pthread_once.c: ... here, replacing old file.
23603         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23604         * nptl/pthread_yield.c: ... here.
23605         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23606         * nptl/register-atfork.c: ... here.
23607         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23608         * nptl/sem_post.c: ... here.
23609         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23610         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23611         * nptl/sem_timedwait.c: ... here.
23612         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23613         * nptl/sem_trywait.c: ... here.
23614         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23615         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23616         * nptl/sem_wait.c: ... here.
23617         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23618         * nptl/structsem.sym: ... here.
23619         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23620         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23621         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23622         * nptl/unregister-atfork.c: ... here.
23623         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23624         * nptl/unwindbuf.sym: ... here.
23625         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23626         * sysdeps/nptl/fork.c: ... here.
23627         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23628         * sysdeps/nptl/fork.h: ... here.
23629         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23630         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23631         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23632         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23633         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23634         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23635         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23636         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23637         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23638         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23639         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23640         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23641         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23642         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23643         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23644         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23645         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23646         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23647         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23648         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23649         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23650         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23651         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23652         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23653         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23654         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23655         * sysdeps/unix/sysv/linux/raise.c: ... here.
23656         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23657         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23658         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23659         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23660         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23661         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23662         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23663         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23664         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23665         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23666         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23667         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23668         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23669         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23670         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23672 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23674         * sysdeps/generic/memcopy.h: Add comment for
23675         MEMCPY_OK_FOR_FWD_MEMMOVE.
23677 2014-07-04  Will Newton  <will.newton@linaro.org>
23679         * string/memchr.c: Merge from gnulib.
23680         [_LIBC]: Remove conditionals.
23681         (__ptr_t): Remove define.
23682         (LONG_MAX_32_BITS): Likewise.
23683         (LONG_MAX): Likewise.
23684         (MEMCHR): Use ANSI prototype and optimize algorithm.
23686         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23688 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23690         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23691         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23693         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23694         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23695         in a bare environment with no <stdlib.h> installed.
23696         * sysdeps/nptl/configure: Regenerated.
23698         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23700         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23701         AC_EGREP_CPP for kernel header checks, so they only succeed if
23702         including <linux/version.h> actually works right.
23703         * sysdeps/unix/sysv/linux/configure: Regenerated.
23705         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23706         value so it's not diagnosed as unused.
23708         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23709         thing) with "ifeq ($(subdir),rt)".
23711 2014-07-03  Richard Henderson  <rth@redhat.com>
23713         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23714         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23715         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23717         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23718         (math_force_eval): New.
23720         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23721         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23723         * sysdeps/alpha/fpu/s_round.c: Remove file.
23724         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23726         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23727         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23728         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23729         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23730         (_dl_start, print_statistics): Likewise.
23731         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23732         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23734         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23735         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23736         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23737         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23739         (HP_SMALL_TIMING_AVAIL): Define.
23740         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23741         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23742         (HP_SMALL_TIMING_AVAIL): Define.
23743         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23744         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23746         * sysdeps/aarch64/hp-timing.h: New file.
23748         * sysdeps/generic/hp-timing.h: Remove dead comment.
23749         * sysdeps/generic/hp-timing-common.h: New file.
23750         * sysdeps/alpha/hp-timing.h: Include it.
23751         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23752         * sysdeps/i386/i686/hp-timing.h: Likewise.
23753         * sysdeps/ia64/hp-timing.h: Likewise.
23754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23755         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23756         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23757         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23758         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23759         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23760         (hp_timing_t): New.
23762         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23763         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23764         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23765         * elf/rtld.c (_dl_start_final): Likewise.
23766         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23767         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23768         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23769         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23770         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23772         (HP_TIMING_DIFF_INIT): Remove.
23773         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23774         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23775         (HP_TIMING_DIFF_INIT): Remove.
23776         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23777         * sysdeps/i386/i686/hp-timing.c: Remove file.
23778         * sysdeps/x86_64/hp-timing.c: Remove file.
23779         * sysdeps/ia64/hp-timing.c: Remove file.
23780         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23781         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23782         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23783         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23785         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23786         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23787         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23788         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23789         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23790         (HP_TIMING_ACCUM): Remove.
23791         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23793         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23795         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23796         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23797         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23798         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23799         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23800         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23801         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23802         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23804         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23806 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23808         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23810 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23812         Sync up with gettext.
23813         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23814         [_MSC_VER]: Include malloc.h
23815         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23816         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23817         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23818         TEMP_FAILURE_RETRY.  Cast return of alloca.
23819         [!_LIBC] Call gl_rwlock_init.
23820         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23822 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23824         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23825         before checking its value.
23827 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23829         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23831         * debug/memcpy_chk.c: Don't include pagecopy.h.
23832         * debug/mempcpy_chk.c: Likewise.
23833         * string/memcpy.c: Likewise.
23834         * string/memmove.c: Likewise.
23835         * sysdeps/powerpc/memmove.c: Likewise.
23836         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23837         definition of PAGE_COPY_FWD_MAYBE here...
23838         * sysdeps/generic/pagecopy.h: ... from here.
23839         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23841 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23842             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23844         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23846         optimizations.
23847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23848         (__libc_ifunc_impl_list): Likewise.
23849         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23850         multiarch strcat for PPC64.
23851         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23852         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23854 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23856         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23858 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23860         * intl/loadmsgcat.c: Remove declaration of
23861         get_sysdep_segment_value.
23862         (get_sysdep_segment_value): Use ISO C style.
23863         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23864         semicolon.  Fix typo and formatting in comment.
23865         (_nl_unload_domain): Use ISO C style.
23867         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23869 2014-07-02  Will Newton  <will.newton@linaro.org>
23871         * malloc/obstack.c: Merge from gnulib master.
23872         [HAVE_CONFIG_H]: Remove conditional code.
23873         [!_LIBC]: Include config.h.
23874         [!ELIDE_CODE]: Don't include inttypes.h, include
23875         stdint.h unconditionally.
23876         (print_and_abort): Mark as _Noreturn.
23877         (_obstack_allocated_p): Mark as __attribute_pure__.
23878         (obstack_free): Rename to __obstack_free.
23879         [!__attribute__]: Remove conditional code.
23880         * malloc/obstack.h: Merge from gnulib master.
23881         [__cplusplus]: Move conditional down.
23882         [!__attribute_pure__]: Define __attribute_pure__ here
23883         if it is not already defined.
23884         (_obstack_memory_used): Mark as __attribute_pure__.
23885         [!__obstack_free]: Define as obstack_free.
23886         [__GNUC__]: Remove check for ancient NeXT gcc.
23888 2014-07-02  Will Newton  <will.newton@linaro.org>
23889             Paul Eggert  <eggert@cs.ucla.edu>
23891         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23893 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23895         * resolv/gethnamaddr.c: Add comment warning that the file is
23896         not maintained.
23898 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23900         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23901         entries.
23903         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23904         entry for aio_cancel and aio_cancel64.
23905         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23906         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23907         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23908         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23909         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23910         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23911         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23912         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23913         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23914         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23915         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23916         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23917         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23919 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23921         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23922         * nptl/pthread_mutex_lock.c: Likewise.
23923         * nptl/pthread_mutex_timedlock.c: Likewise.
23924         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23926 2014-07-01  Richard henderson  <rth@redhat.com>
23928         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23929         (__isnan, __isnanl): Remove.
23930         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23932         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23934 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23936         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23938 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23940         * resolv/nss_dns/dns-host.c (getanswer_r)
23941         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23943 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23946         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23947         undefine.
23948         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23949         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23951 2014-07-01  Roland McGrath <roland@hack.frob.com>
23953         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23954         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23956         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23957         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23959         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23960         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23961         ... here.
23962         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23963         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23965         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23966         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23967         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23968         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23970         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23971         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23972         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23973         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23974         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23975         Moved ...
23976         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23977         ... here.
23978         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23979         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23980         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23981         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23982         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23983         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23984         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23985         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23987         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23988         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23989         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23990         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23991         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23992         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23993         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23994         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23995         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23996         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23997         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23998         ... here.
23999         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24000         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24001         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24002         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24004         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24005         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24006         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24008 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24010         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24011         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24012         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24013         Add sysdep.
24015 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24019 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24021         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24022         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24026         * sysdeps/arm/libm-test-ulps: Regenerated.
24028 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24029             Roland McGrath <roland@hack.frob.com>
24031         * test-skeleton.c (signal_handler): Kill the whole process group
24032         before killing the child individually.
24033         (main): Report any failure on `setpgid'.
24035 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24037         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24038         from _TLS_H to _ARM_NPTL_TLS_H.
24039         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24040         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24042 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24044         [BZ #16539]
24045         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24046         (__expm1l): Return argument unchanged when small but not
24047         subnormal.
24049         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24050         include macro name.
24051         (_FP_UNPACK_RAW_1_P): Likewise.
24052         (_FP_PACK_RAW_1): Likewise.
24053         (_FP_PACK_RAW_1_P): Likewise.
24054         (_FP_MUL_MEAT_1_wide): Likewise.
24055         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24056         (_FP_MUL_MEAT_1_hard): Likewise.
24057         (_FP_DIV_MEAT_1_imm): Likewise.
24058         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24059         (_FP_DIV_MEAT_1_udiv): Likewise.
24060         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24061         (_FP_UNPACK_RAW_2): Likewise.
24062         (_FP_UNPACK_RAW_2_P): Likewise.
24063         (_FP_PACK_RAW_2): Likewise.
24064         (_FP_PACK_RAW_2_P): Likewise.
24065         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24066         (_FP_MUL_MEAT_2_wide): Likewise.
24067         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24068         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24069         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24070         (_FP_MUL_MEAT_2_gmp): Likewise.
24071         (_FP_DIV_MEAT_2_udiv): Likewise.
24072         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24073         (_FP_FRAC_SRL_4): Likewise.
24074         (_FP_FRAC_SRST_4): Likewise.
24075         (_FP_FRAC_SRS_4): Likewise.
24076         (_FP_UNPACK_RAW_4): Likewise.
24077         (_FP_UNPACK_RAW_4_P): Likewise.
24078         (_FP_PACK_RAW_4): Likewise.
24079         (_FP_PACK_RAW_4_P): Likewise.
24080         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24081         (_FP_MUL_MEAT_4_wide): Likewise.
24082         (_FP_MUL_MEAT_4_gmp): Likewise.
24083         (umul_ppppmnnn): Likewise.
24084         (_FP_DIV_MEAT_4_udiv): Likewise.
24085         (__FP_FRAC_ADD_4): Likewise.
24086         (__FP_FRAC_SUB_3): Likewise.
24087         (__FP_FRAC_SUB_4): Likewise.
24088         (__FP_FRAC_DEC_3): Likewise.
24089         (__FP_FRAC_DEC_4): Likewise.
24090         (__FP_FRAC_ADDI_4): Likewise.
24091         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24092         (_FP_FRAC_SRL_8): Likewise.
24093         (_FP_FRAC_SRS_8): Likewise.
24095         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24096         include macro name.
24097         (FP_UNPACK_RAW_EP): Likewise.
24098         (FP_PACK_RAW_E): Likewise.
24099         (FP_PACK_RAW_EP): Likewise.
24100         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24101         (_FP_ISSIGNAN): Likewise.
24102         (_FP_ADD_INTERNAL): Likewise.
24103         (_FP_FMA): Likewise.
24104         (_FP_CMP): Likewise.
24105         (_FP_SQRT): Likewise.
24106         (_FP_TO_INT): Likewise.
24107         (_FP_FROM_INT): Likewise.
24108         (FP_EXTEND): Likewise.
24109         (_FP_DIV_MEAT_N_loop): Likewise.
24111 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24113         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24114         throughout.
24116 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24118         [BZ #17097]
24119         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24120         result with correct sign in case of exponents that produce
24121         overflow except for X very close to 1.
24123 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24125         mktime: merge #if/#ifdef usage from glibc
24126         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24127         as that works with both Glibc's and Gnulib's style.
24128         See thread starting at Siddhesh Poyarekar's bug report at:
24129         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24131 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24133         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24134         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24135         * sysdeps/tile/tilegx/memmove.c: Remove file.
24137 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24139         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24140         abi-name definition.
24141         * scripts/soversions.awk: Do not handle or generate ABI lines.
24142         * shlib-versions: Remove ABI entries.
24143         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24144         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24146 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24149         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24150         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24151         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24153         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24155         Moved ...
24156         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24157         ... here.
24158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24159         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24161         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24163         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24165         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24167         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24169         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24171         Moved ...
24172         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24176         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24178         Moved ...
24179         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24181         Moved ...
24182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24186         Moved ...
24187         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24189         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24191         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24193         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24195         Moved ...
24196         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24198         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24199         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24200         Moved ...
24201         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24203         Moved ...
24204         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24205         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24206         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24207         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24208         Moved ...
24209         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24210         ... here.
24211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24212         Identical file removed.
24213         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24214         Moved ...
24215         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24217         Identical file removed.
24218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24221         Moved ...
24222         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24224         Identical file removed.
24225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24226         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24227         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24228         Identical file removed.
24229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24232         Identical file removed.
24233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24236         Identical file removed.
24237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24238         Moved ...
24239         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24241         Identical file removed.
24242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24243         Moved ...
24244         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24246         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24248         Identical file removed.
24249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24250         Moved ...
24251         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24252         ... here.
24253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24254         Identical file removed.
24255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24256         Moved ...
24257         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24259         Identical file removed.
24260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24261         Moved ...
24262         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24264         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24266         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24268         Moved ...
24269         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24270         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24273         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24274         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24275         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24276         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24277         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24279 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24281         [BZ #17092]
24282         * nscd/nscd.c (monitor_child): Return exit status of child
24283         instead of return value from wait syscall.
24285 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24287         * configure.ac (libc_commonpagesize): Remove variable.
24288         (libc_relro_required): Likewise.
24289         (libc_cv_z_relro): Remove configure test.
24290         * configure: Regenerated.
24291         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24292         variable.
24293         (libc_relro_required): Likewise.
24294         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24295         (libc_relro_required): Likewise.
24296         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24297         (libc_relro_required): Likewise.
24298         * sysdeps/arm/preconfigure: Regenerated.
24299         * sysdeps/ia64/preconfigure: Remove file.
24300         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24301         variable.
24302         (libc_relro_required): Likewise.
24304         [BZ #16561]
24305         [BZ #16562]
24306         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24307         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24308         recompute overflowing results in original rounding mode.
24309         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24310         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24311         recompute overflowing results in original rounding mode.
24312         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24313         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24314         recompute overflowing results in original rounding mode.
24315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24316         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24317         recompute overflowing results in original rounding mode.
24318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24319         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24320         recompute overflowing results in original rounding mode.
24321         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24322         (libc_feholdsetround_ctx): New macro.
24323         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24324         * sysdeps/i386/fpu/libm-test-ulps: Update.
24325         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24327 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24329         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24330         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24331         corresponding .cpsetup call.
24333 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24335         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24336         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24337         * sysdeps/arm/Makefile [$(subdir) = csu]
24338         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24339         (static-only-routines): Add aeabi_read_tp here.
24340         (shared-only-routines): Add libc-aeabi_read_tp here.
24341         (CFLAGS-libc-start.c): Add -fexceptions here.
24342         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24343         (sysdep_routines, static-only-routines, shared-only-routines):
24344         Don't add to these here.
24345         (CFLAGS-libc-start.c): Likewise.
24347         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24348         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24349         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24350         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24351         * sysdeps/arm/Makefile [$(subdir) = rt]
24352         (librt-sysdep_routines, librt-shared-only-routines):
24353         Append rt-aeabi_unwind_cpp_pr1 here.
24354         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24355         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24356         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24357         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24358         Append nptl-aeabi_unwind_cpp_pr1 here.
24359         (tests): Filter out tst-cleanupx4 here.
24360         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24361         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24362         Don't do those here.
24364 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24366         * scripts/list-sources.sh: Do not handle ports specially.
24368 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24370         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24371         * sysdeps/arm/feupdateenv.c: Likewise.
24373         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24375 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24377         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24378         trailing whitespace removed.
24379         * scripts/config.guess: Update to version 2014-03-23.
24380         * scripts/config.sub: Update to version 2014-05-01
24381         * scripts/install-sh: Update to version 2013-12-25.23.
24382         * scripts/move-if-change: Update from gnulib.
24384 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24386         * debug/memmove_chk.c: Remove pagecopy.h include.
24388 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24390         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24391         identical to gnulib mktime.
24393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24395         * configure.ac: Do not test for machine being rs6000.  Do not test
24396         for powerpc*-*soft.
24397         * configure: Regenerated.
24399         [BZ #11505]
24400         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24401         test.
24402         * configure: Regenerated.
24403         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24404         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24405         Remove configure test.
24406         * sysdeps/arm/configure: Regenerated.
24407         * sysdeps/nptl/configure.ac: Do not check
24408         libc_cv_asm_cfi_directives.
24409         * sysdeps/nptl/configure: Regenerated.
24410         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24411         * sysdeps/x86_64/nptl/configure: Remove generated file.
24412         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24413         unconditional.
24414         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24416 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24418         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24419         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24420         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24421         it is defined.
24423         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24424         instead of whether it is defined.
24425         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24426         * sysdeps/hppa/dl-machine.h: Likewise.
24427         * sysdeps/ia64/dl-machine.h: Likewise.
24428         * sysdeps/m68k/dl-machine.h: Likewise.
24429         * sysdeps/microblaze/dl-machine.h: Likewise.
24430         * sysdeps/mips/dl-machine.: Likewise.
24431         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24432         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24433         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24434         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24435         * sysdeps/sh/dl-machine.h: Likewise.
24436         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24437         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24438         * sysdeps/tile/dl-machine.h: Likewise.
24439         * sysdeps/x86_64/dl-machine.h: Likewise.
24441         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24442         code.
24443         (verify_persistent_db): Likewise.
24445 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24448         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24450         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24452         Moved ...
24453         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24454         ... here.
24455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24456         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24458         Identical file removed.
24459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24462         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24464         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24466         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24468         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24473         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24475         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24477         Moved ...
24478         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24480         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24482         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24484         Identical file removed.
24485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24486         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24488         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24490         Moved ...
24491         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24492         ... here.
24493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24494         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24496         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24498         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24500         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24502         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24504         Moved ...
24505         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24507         Moved ...
24508         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24510         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24512         Moved ...
24513         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24515         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24518         folded into ...
24519         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24520         * sysdeps/unix/sysv/linux/s390/Versions
24521         (libpthread: GLIBC_2.19): New version set.
24522         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24523         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24524         (librt: GLIBC_2.3.3): New version set.
24525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24526         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24527         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24528         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24529         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24530         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24531         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24532         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24533         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24534         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24535         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24536         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24537         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24538         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24539         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24540         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24541         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24542         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24543         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24544         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24545         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24547         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24549         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24551         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24555         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24556         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24561         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24563         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24565         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24567         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24571         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24572         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24573         (__libc_vfork): Define the function under this name.
24574         [!NOT_IN_libc] (__vfork): Make this an alias.
24575         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24577         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24578         (__libc_vfork): Define the function under this name.
24579         [!NOT_IN_libc] (__vfork): Make this an alias.
24580         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24581         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24582         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24584         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24585         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24587         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24588         code that was previously under [RESET_PID].
24589         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24590         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24593         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24594         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24596         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24597         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24598         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24599         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24600         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24601         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24602         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24603         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24604         Moved ...
24605         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24606         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24607         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24608         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24609         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24610         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24611         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24613         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24614         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24615         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24616         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24617         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24618         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24619         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24620         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24621         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24622         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24623         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24624         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24625         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24626         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24627         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24628         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24629         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24630         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24633         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24635 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24637         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24638         that was previously under [RESET_PID].
24639         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24641 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24643         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24644         not undefine and redefine.
24645         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24646         [O_CLOEXEC]: Make code unconditional.
24647         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24648         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24649         <kernel-features.h>.
24650         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24651         conditional variable definition.
24652         (shm_open) [O_CLOEXEC]: Make code unconditional.
24653         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24654         code.
24656         * configure.ac (USE_REGPARMS): Don't define here.
24657         * configure: Regenerated.
24658         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24659         * sysdeps/i386/configure: Regenerated.
24661         * nptl/createthread.c: Don't include kernel-features.h.
24662         * nptl/pthread_cancel.c: Likewise.
24663         * nptl/pthread_condattr_setclock.c: Likewise.
24664         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24665         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24666         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24667         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24668         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24670         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24673         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24674         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24675         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24676         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24677         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24678         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24679         * nscd/gai.c: Likewise.
24680         * nss/nss_db/db-open.c: Likewise.
24681         * sysdeps/generic/ldsodefs.h: Likewise.
24682         * sysdeps/sh/nptl/tls.h: Likewise.
24683         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24684         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24685         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24686         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24687         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24688         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24689         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24690         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24692         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24693         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24694         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24695         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24696         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24697         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24698         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24699         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24700         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24701         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24702         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24705         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24706         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24708         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24711         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24712         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24713         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24714         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24715         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24716         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24717         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24718         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24719         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24720         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24721         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24722         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24723         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24724         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24725         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24726         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24727         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24728         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24729         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24730         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24731         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24732         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24733         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24734         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24735         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24736         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24737         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24738         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24763         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24764         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24765         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24766         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24767         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24768         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24769         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24770         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24771         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24772         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24773         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24774         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24775         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24776         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24777         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24778         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24779         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24780         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24781         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24782         * sysdeps/unix/sysv/linux/system.c: Likewise.
24783         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24784         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24785         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24786         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24787         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24788         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24789         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24791         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24792         * configure: Regenerated.
24793         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24795         * configure.ac (base_machine): Do not set specially for particular
24796         machines here.
24797         * configure: Regenerated.
24798         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24799         settings from configure.ac.
24800         * sysdeps/i386/preconfigure: New file.
24801         * sysdeps/s390/preconfigure: Likewise.
24802         * sysdeps/sh/preconfigure: Likewise.
24803         * sysdeps/sparc/preconfigure: Likewise.
24805 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24807         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24808         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24809         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24810         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24811         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24812         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24813         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24814         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24815         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24816         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24817         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24818         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24819         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24820         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24821         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24822         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24824         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24825         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24827         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24828         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24829         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24830         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24831         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24832         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24833         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24834         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24835         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24836         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24837         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24838         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24839         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24840         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24841         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24842         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24844         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24845         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24846         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24848         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24854         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24856         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24858         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24860         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24862         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24864         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24867         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24869         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24871         Moved ...
24872         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24873         ... here.
24874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24875         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24877         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24882         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24884         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24886         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24888         Moved ...
24889         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24891         Moved ...
24892         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24894         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24896         Moved ...
24897         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24899         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24901         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24903         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24905         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24907         Moved ...
24908         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24909         ... here.
24910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24911         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24913         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24915         Moved ...
24916         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24918         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24920         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24924         Moved ...
24925         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24927         Moved ...
24928         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24930         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24932         Moved ...
24933         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24935         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24937         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24939 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24941         * timezone/checktab.awk: Update from tzcode 2014e.
24942         * timezone/private.h: Likewise.
24943         * timezone/tzfile.h: Likewise.
24944         * timezone/zdump.c: Likewise.
24945         * timezone/zic.c: Likewise.
24947         * sysdeps/unix/sysv/linux/kernel-features.h
24948         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24949         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24950         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24951         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24952         Remove conditional code.
24954 2014-06-25  Will Newton  <will.newton@linaro.org>
24956         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24957         (_dl_arm_cap_flags): Add HWCAP2 values.
24958         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24959         (_DL_HWCAP_COUNT): Increase to 37.
24960         (_DL_HWCAP_LAST): New define.
24961         (_DL_HWCAP2_LAST): New define.
24962         (_dl_procinfo): Add support for printing
24963         AT_HWCAP2 entries.
24964         (_dl_string_hwcap): Use _dl_hwcap_string.
24966 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24970 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24972         * README: Do not mention ports directory.
24974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24975         Remove macro.
24976         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24977         <kernel-features.h>.
24978         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24979         conditional variable definition.
24980         (__futimes): Update comment.
24981         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24982         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24984         [BZ #16560]
24985         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24986         arguments close to 0.
24987         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24988         Likewise.
24989         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24990         Likewise.
24991         * math/auto-libm-test-in: Add more tests of exp10.
24992         * math/auto-libm-test-out: Regenerated.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24995         * sysdeps/unix/sysv/linux/kernel-features.h
24996         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24997         * sysdeps/unix/sysv/linux/readv.c: Do not include
24998         <kernel-features.h>.
24999         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25000         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25001         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25002         unconditional.
25003         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25004         conditional code.
25005         * sysdeps/unix/sysv/linux/writev.c: Do not include
25006         <kernel-features.h>.
25007         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25008         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25009         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25010         unconditional.
25011         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25012         conditional code.
25014 2014-06-25  Will Newton  <will.newton@linaro.org>
25016         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25017         comment changes throughout the file.  Remove checks
25018         for HAVE_*_H definitions that are not required.
25019         (__gen_tempname): Call abort if an unknown kind value is
25020         passed.
25022 2014-06-25  Andreas Schwab  <schwab@suse.de>
25024         [BZ #17086]
25025         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25026         scalbln, scalblnf, scalblnl in libc.
25028 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25030         [BZ #17086]
25031         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25032         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25033         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25035 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25037         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25038         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25039         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25040         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25041         Update #include.
25042         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25043         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25044         Update #include.
25045         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25046         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25047         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25048         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25049         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25050         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25051         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25052         * sysdeps/x86/bits/semaphore.h: ... here.
25053         * sysdeps/x86/nptl/elide.h: Moved ...
25054         * sysdeps/x86/elide.h: ... here.
25055         * sysdeps/x86_64/nptl/Implies: File removed.
25056         * sysdeps/i386/nptl/Implies: File removed.
25058 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25060         [BZ #16539]
25061         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25062         return the argument for normal arguments with exponent below -64.
25063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25064         Likewise.
25065         * math/auto-libm-test-in: Add another test of expm1.
25066         * math/auto-libm-test-out: Regenerated.
25068         [BZ #16287]
25069         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25070         calling __erfcl for arguments at least 16.
25071         * math/auto-libm-test-in: Add more tests of erf.
25072         * math/auto-libm-test-out: Regenerated.
25074         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25075         individual architectures.
25076         * sysdeps/unix/sysv/linux/configure: Regenerated.
25077         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25078         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25079         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25080         (ldd_rewrite_script): Define variable.
25081         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25083         file.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25085         generated file.
25086         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25087         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25088         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25089         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25090         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25091         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25092         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25093         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25095 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25097         [BZ #17084]
25098         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25099         Rename member __data.d to __data.__elision_data.
25101 2014-06-24  Wilco  <wdijkstr@arm.com>
25103         * NEWS: Add 16918 to fixed bug list.
25105 2014-06-24  Wilco  <wdijkstr@arm.com>
25107         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25109 2014-06-24  Wilco  <wdijkstr@arm.com>
25111         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25112         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25113         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25114         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25115         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25116         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25117         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25118         Use _FPU_MASK_RM.
25120 2014-06-24  Wilco  <wdijkstr@arm.com>
25122         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25124 2014-06-24  Wilco  <wdijkstr@arm.com>
25126         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25127         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25128         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25129         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25131 2014-06-24  Wilco  <wdijkstr@arm.com>
25133         [BZ #16918]
25134         * sysdeps/arm/feupdateenv.c (feupdateenv):
25135         Rewrite to reduce FPSCR accesses and fix return value.
25137 2014-06-24  Wilco  <wdijkstr@arm.com>
25139         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25140         Optimize to avoid unnecessary FPSCR writes.
25141         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25142         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25143         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25144         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25146 2014-06-24  Wilco  <wdijkstr@arm.com>
25148         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25149         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25150         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25151         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25152         Call libc_fetestexcept_vfp.
25153         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25154         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25155         __SOFTFP__ ifdef so that they can be built for softfp.
25157 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25159         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25160         argument type signed char.
25162         * Makerules (check-abi): Dump diff of symlist if the test
25163         fails.
25165 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25167         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25168         using abort.
25170         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25171         Remove unused variable ST.
25173 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25175         [BZ #16354]
25176         [BZ #17061]
25177         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25178         small arguments before calling __expm1.
25179         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25180         small arguments before calling __expm1f.
25181         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25182         small arguments before calling __expm1l.
25183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25184         Likewise.
25185         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25186         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25187         spurious underflow for some cosh tests.
25188         * math/auto-libm-test-out: Regenerated.
25189         * sysdeps/i386/fpu/libm-test-ulps: Update.
25191         [BZ #17050]
25192         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25193         (__ieee754_y1): Set errno if return value overflows.
25194         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25195         (__ieee754_y1f): Set errno if return value overflows.
25196         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25197         (__ieee754_y1l): Set errno if return value overflows.
25198         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25199         (__ieee754_y1l): Set errno if return value overflows.
25200         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25201         * math/auto-libm-test-out: Regenerated.
25203         * math/gen-auto-libm-tests.c: Document use of
25204         ignore-zero-inf-sign.
25205         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25206         (input_flags): Add ignore-zero-inf-sign.
25207         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25208         * math/gen-libm-test.pl (generate_testfile): Handle
25209         ignore-zero-inf-sign.
25210         * math/auto-libm-test-in: Mark some cpow tests with
25211         ignore-zero-inf-sign and some with xfail-rounding.
25212         * math/auto-libm-test-out: Regenerated.
25213         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25214         * sysdeps/i386/fpu/libm-test-ulps: Update.
25215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25217         [BZ #16315]
25218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25219         overflowing or underflowing operations take place with sign of
25220         result.
25221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25223         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25224         (__ieee754_pow): Recompute overflowing and underflowing results in
25225         original rounding mode.
25226         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25227         (__powl_helper): Allow negative argument X and scale negated value
25228         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25230         overflowing or underflowing operations take place with sign of
25231         result.
25232         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25233         Include <math.h>.
25234         * math/auto-libm-test-in: Add more tests of pow.
25235         * math/auto-libm-test-out: Regenerated.
25236         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25237         (pow_tonearest_test_data): Remove.
25238         (pow_test_tonearest): Likewise.
25239         (pow_towardzero_test_data): Likewise.
25240         (pow_test_towardzero): Likewise.
25241         (pow_downward_test_data): Likewise.
25242         (pow_test_downward): Likewise.
25243         (pow_upward_test_data): Likewise.
25244         (pow_test_upward): Likewise.
25245         (main): Don't call removed functions.
25246         * sysdeps/i386/fpu/libm-test-ulps: Update.
25247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25249 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25252         Moved ...
25253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25255         Moved ...
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25258         Moved ...
25259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25261         Moved ...
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25264         File removed.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25266         File removed.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25268         File removed.
25269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25270         File removed.
25271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25272         File removed.
25273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25274         File removed.
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25276         File removed.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25278         File removed.
25279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25280         File removed.
25281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25282         File removed.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25284         File removed.
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25286         File removed.
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25288         Moved ...
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25291         Moved ...
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25293         ... here.
25294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25295         Moved ...
25296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25298         Moved ...
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25301         Moved ...
25302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25304         Moved ...
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25307         Moved ...
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25310         Moved ...
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25313         Moved ...
25314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25317         ... here.
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25319         Moved ...
25320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25322         Moved ...
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25324         ... here.
25325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25326         Moved ...
25327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25328         ... here.
25329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25330         Moved ...
25331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25332         ... here.
25333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25334         Moved ...
25335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25337         Moved ...
25338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25342         Moved ...
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25344         ... here.
25345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25346         Moved ...
25347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25348         ... here.
25349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25350         Moved ...
25351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25353         Moved ...
25354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25356         Moved ...
25357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25359         Moved ...
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25362         Moved ...
25363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25364         ... here.
25365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25366         Moved ...
25367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25369         Moved ...
25370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25372         Moved ...
25373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25375         Moved ...
25376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25380         Moved ...
25381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25383         Moved ...
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25386         Moved ...
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25388         ... here.
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25390         Moved ...
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25392         ... here.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25394         Moved ...
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25396         ... here.
25397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25398         Moved ...
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25401         Moved ...
25402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25404         Moved ...
25405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25407         Moved ...
25408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25409         ... here.
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25411         Moved ...
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25413         ... here.
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25415         Moved ...
25416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25417         ... here.
25418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25419         Moved ...
25420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25422         Moved ...
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25425 2014-06-23  Will Newton  <will.newton@linaro.org>
25426             Wilco  <wdijkstr@arm.com>
25428         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25429         implementation.  Include get-rounding-mode.h.
25430         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25431         [!libc_feholdsetround_noex_ctx]: Define
25432         libc_feholdsetround_noex_ctx.
25433         [!libc_feholdsetround_noexf_ctx]: Define
25434         libc_feholdsetround_noexf_ctx.
25435         [!libc_feholdsetround_noexl_ctx]: Define
25436         libc_feholdsetround_noexl_ctx.
25437         (libc_feholdsetround_ctx): New function.
25438         (libc_feresetround_ctx): New function.
25439         (libc_feholdsetround_noex_ctx): New function.
25440         (libc_feresetround_noex_ctx): New function.
25442 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25444         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25445         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25446         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25447         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25448         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25449         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25451         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25452         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25453         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25454         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25455         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25456         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25458         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25460         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25462         Moved ...
25463         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25464         ... here.
25465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25466         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25468         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25470         Moved ...
25471         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25473         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25475         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25477         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25479         Moved ...
25480         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25482         Moved ...
25483         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25487         Moved ...
25488         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25490         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25491         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25492         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25493         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25494         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25496         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25498         Moved ...
25499         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25500         ... here.
25501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25502         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25504         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25506         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25508         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25510         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25512         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25514         Moved ...
25515         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25517         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25519         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25521         Moved ...
25522         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25524         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25525         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25526         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25528         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25529         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25530         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25531         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25532         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25533         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25534         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25535         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25537         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25538         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25539         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25540         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25541         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25542         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25543         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25545         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25546         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25547         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25548         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25549         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25550         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25551         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25552         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25553         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25554         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25555         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25557 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25560         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25561         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25562         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25563         (IPV6_PMTUDISC_INTERFACE): Likewise.
25564         (IPV6_PMTUDISC_OMIT): Likewise.
25566 2014-06-23  Andreas Schwab  <schwab@suse.de>
25568         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25569         Remove unused errout label.
25571 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25573         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25574         macro: hardware supports Vector Crypto instructions.
25576 2014-06-23  Will Newton  <will.newton@linaro.org>
25578         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25579         rather than __builtin_expect.
25581         * elf/dl-lookup.c (undefined_msg): Remove variable.
25582         (_dl_lookup_symbol_x): Replace undefined_msg with string
25583         literal.
25585         * elf/dl-lookup.c (do_lookup_unique): New function.
25586         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25587         to a separate function.
25589 2014-06-23  Andreas Schwab  <schwab@suse.de>
25591         [BZ #17079]
25592         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25593         before reading the next line.
25595 2014-06-23  Will Newton  <will.newton@linaro.org>
25597         * test-skeleton.c (signal_handler): Use printf and %m
25598         rather than perror.  Use printf rather than fprintf to
25599         stderr.  Use puts rather than fputs to stderr.
25600         (main): Likewise.
25602 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25604         * nscd/nscd.c (thread_info_t): Remove typedef.
25605         (thread_info): Remove variable.
25607 2014-06-21  Allan McRae  <allan@archlinux.org>
25609         * NEWS: Mention CVE-2014-4043.
25611 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25613         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25614         * nptl/smp.h: ... here.
25616         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25618         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25619         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25620         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25621         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25623         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25624         * nptl/stack-aliasing.h: New file.
25625         * sysdeps/i386/i686/stack-aliasing.h: New file.
25626         * sysdeps/i386/i686/nptl/Makefile: File removed.
25627         * sysdeps/x86_64/stack-aliasing.h: New file.
25628         * sysdeps/x86_64/nptl/Makefile
25629         (CFLAGS-pthread_create.c): Variable removed.
25631         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25632         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25633         old file.
25634         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25635         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25636         old file.
25638 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25641         (__ASSUME_SIGFRAME_V2): Remove macro.
25642         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25643         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25644         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25645         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25646         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25647         Declare as function.  Remove conditional macro definitions.
25648         (__default_rt_sa_restorer): Likewise.
25649         (__default_sa_restorer_v1): Remove declaration.
25650         (__default_sa_restorer_v2): Likewise.
25651         (__default_rt_sa_restorer_v1): Likewise.
25652         (__default_rt_sa_restorer_v2): Likewise.
25653         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25654         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25655         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25657 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25659         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25660         (libpthread-routines): Add sysdep.
25661         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25662         * sysdeps/unix/sysv/linux/sparc/Versions
25663         (libpthread: GLIBC_2.3.3): New version set.
25664         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25665         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25666         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25667         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25668         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25669         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25670         Moved ...
25671         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25672         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25673         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25674         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25675         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25676         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25677         * sysdeps/sparc/nptl/sem_init.c: ... here.
25678         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25679         * sysdeps/sparc/nptl/sem_post.c: ... here.
25680         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25681         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25682         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25683         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25684         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25685         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25686         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25687         (libpthread-routines): Add cpu_relax.
25688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25689         File removed.
25690         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25691         (librt: GLIBC_2.3.3): New version set.
25692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25693         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25694         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25695         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25698         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25700         Moved ...
25701         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25703         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25705         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25707         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25709         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25711         Moved ...
25712         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25713         Update #include.
25714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25715         Moved ...
25716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25717         Update #include.
25718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25719         Moved ...
25720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25721         Update #include.
25722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25723         Moved ...
25724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25725         Update #include.
25726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25727         Moved ...
25728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25729         Update #include.
25730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25731         Moved ...
25732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25733         Update #include.
25734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25735         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25741         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25743         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25745         Moved ...
25746         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25748         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25750         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25752 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25754         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25755         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25756         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25757         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25758         * nscd/nscd.c: Likewise.
25759         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25760         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25761         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25762         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25764         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25765         <kernel-features.h>.
25766         (init_mq_netlink): Remove conditional have_sock_cloexec
25767         definitions.  Remove code conditional on have_sock_cloexec < 0.
25768         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25769         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25770         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25771         <kernel-features.h>.
25772         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25773         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25775 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25778         Add tests for memset_chk and memset.
25780         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25781         with AVX2_Usable.
25783 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25785         [BZ #16046]
25786         * elf/tst-dl-iter-static.c: New file.
25787         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25789         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25790         error.
25792 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25794         * sysdeps/unix/sysv/linux/kernel-features.h
25795         (__ASSUME_F_GETOWN_EX): Remove macro.
25796         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25797         <kernel-features.h>.
25798         (miss_F_GETOWN_EX): Remove variable or macro.
25799         (do_fcntl): Do not check miss_F_GETOWN_EX.
25800         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25803         Remove macro.
25804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25805         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25806         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25808         * sysdeps/unix/sysv/linux/kernel-features.h
25809         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25810         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25811         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25812         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25814 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25816         [BZ #17075]
25817         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25818         Fix calculation of the symbol's value.
25819         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25820         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25821         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25822         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25823         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25824         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25825         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25826         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25827         (modules-names): Add `tst-armtlsdescmod',
25828         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25829         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25830         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25831         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25832         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25833         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25834         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25835         ($(objpfx)tst-armtlsdescloc): New dependency.
25836         ($(objpfx)tst-armtlsdescextnow): Likewise.
25837         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25838         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25839         TLS scheme support.
25840         * sysdeps/arm/configure: Regenerate.
25842 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25844         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25845         (__atfct_seterrno_2): Likewise.
25846         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25847         <kernel-features.h>.
25848         (__ASSUME_ATFCTS): Do not undefine and redefine.
25849         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25850         (__have_atfcts): Remove conditional definition.
25851         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25852         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25853         unreachable if [__ASSUME_ATFCTS].
25854         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25855         not undefine and redefine.
25856         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25857         <kernel-features.h>.
25858         (faccessat) [__NR_faccessat]: Make code unconditional.
25859         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25860         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25861         <kernel-features.h>.
25862         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25863         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25864         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25865         <kernel-features.h>.
25866         (fchownat) [__NR_fchownat]: Make code unconditional.
25867         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25868         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25869         <kernel-features.h>.
25870         (futimesat) [__NR_futimesat]: Make code unconditional.
25871         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25872         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25873         <kernel-features.h>.
25874         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25875         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25876         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25877         <kernel-features.h>.
25878         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25879         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25880         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25881         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25882         <kernel-features.h>.
25883         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25884         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25885         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25886         <kernel-features.h>.
25887         (linkat) [__NR_linkat]: Make code unconditional.
25888         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25889         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25890         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25891         <kernel-features.h>.
25892         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25893         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25894         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25895         <kernel-features.h>.
25896         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25897         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25898         * sysdeps/unix/sysv/linux/openat.c: Do not include
25899         <kernel-features.h>.
25900         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25901         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25902         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25903         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25904         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25905         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25906         <kernel-features.h>.
25907         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25908         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25909         result of INLINE_SYSCALL directly, not via int variable.
25910         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25911         <kernel-features.h>.
25912         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25913         (renameat) [__NR_renameat]: Make code unconditional.
25914         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25915         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25916         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25917         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25918         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25919         (__ASSUME_ATFCTS): Do not undefine and redefine.
25920         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25921         <kernel-features.h>.
25922         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25923         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25924         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25925         <kernel-features.h>.
25926         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25927         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25928         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25929         (__ASSUME_ATFCTS): Do not undefine and redefine.
25930         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25931         <kernel-features.h>.
25932         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25933         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25934         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25935         <kernel-features.h>.
25936         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25937         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25939 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25941         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25943 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25945         [BZ #17069]
25946         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25947         constructed tree before returning error.
25948         * posix/bug-regexp36.c: Expand test case.
25950 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25952         [BZ #6803]
25953         * math/libm-test.inc (scalbln_test_date):
25954         Add errno expectations.
25955         * math/w_scalblnf.c: New File.
25956         Add wrapper which checks for setting errno to ERANGE.
25957         Add weak_alias for corresponding scalbln function.
25958         * math/w_scalbln.c: Likewise.
25959         * math/w_scalblnl.c: Likewise.
25960         * math/Makefile (libm-calls): Add w_scalbln.
25961         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25962         Remove weak_alias for corresponding scalbln function.
25963         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25966         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25967         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25968         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25969         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25970         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25971         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25972         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25973         Remove long_double_symbol for scalblnl function in libm, libc.
25974         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25975         Add wrapper which checks for setting errno to ERANGE.
25976         Add long_double_symbol for scalblnl function in libm, libc.
25977         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25978         Remove long_double_symbol for scalblnl in libm.
25979         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25980         Add wrapper which checks for setting errno to ERANGE.
25981         Add long_double_symbol for scalblnl function in libm.
25982         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25983         Do not use wrapper because of own implementation.
25985 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25987         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25988         3 bytes for __pad1 for x32.
25989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25991 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25992             H.J. Lu  <hongjiu.lu@intel.com>
25994         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25995         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25998         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26000 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26002         [BZ #17069]
26003         * posix/regcomp.c (parse_expression): Deallocate partially
26004         constructed tree before returning error.
26005         * posix/Makefile.c (tests): Add bug-regex36.
26006         (generated): Add bug-regex36.mtrace.
26007         (tests-special): Add $(objpfx)bug-regex36-mem.out
26008         (bug-regex36-ENV): New variable.
26009         ($(objpfx)bug-regex36-mem.out): New rule.
26010         * posix/bug-regex36.c: New file.
26012 2014-06-19  Will Newton  <will.newton@linaro.org>
26014         * malloc/malloc.c (systrim): If extra is zero then return
26015         early.
26017 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26019         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26021 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26023         * sysdeps/aarch64/strchr.S: New file.
26025 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26027         [BZ #17022]
26028         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26029         from arguments -2 or below.
26030         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26031         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26033 2014-06-18  Andreas Schwab  <schwab@suse.de>
26035         [BZ #17062]
26036         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26037         of a bracket expr not to run off the end of the string.
26038         * posix/Makefile (tests): Add tst-fnmatch3.
26039         * posix/tst-fnmatch3.c: New file.
26041 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26043         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26044         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26045         [$(cross-compiling) = no]: Likewise.
26046         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26047         [$(cross-compiling) = no]: Likewise.
26049 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26051         [BZ #17031]
26052         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26053         double, adjusted for any remainder from the high double.
26054         * math/libm-test.inc (nearbyint): Add tests.
26055         (rint): Likewise.
26057 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26059         * nptl/sysdeps/powerpc/Makefile: Moved ...
26060         * sysdeps/powerpc/nptl/Makefile: ... here.
26061         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26062         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26063         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26064         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26065         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26066         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26067         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26068         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26069         * nptl/sysdeps/powerpc/tls.h: Moved ...
26070         * sysdeps/powerpc/nptl/tls.h: ... here.
26072 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26074         [BZ #16681]
26075         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26076         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26077         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26078         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26079         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26080         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26081         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26082         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26083         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26085 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26087         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26089 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26091         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26092         defined operator.
26094         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26095         $TIMEOUTFACTOR.
26097 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26099         [BZ #17058]
26100         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26101         non-executed part of the test.
26103 2014-06-16  Andreas Schwab  <schwab@suse.de>
26105         * string/bits/string2.h (strdup, strndup): Update feature guard.
26107 2014-06-14  David S. Miller  <davem@davemloft.net>
26109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26111 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26113         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26114         that was previously under [RESET_PID].
26115         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26117         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26118         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26119         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26120         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26121         (__libc_vfork): New strong alias.
26122         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26124 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26126         * sysdeps/generic/elide.h: New file.
26128 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26130         * Makefile (installed-headers): Adjust path of pthread.h header.
26132 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26134         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26135         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26136         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26137         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26139         * nptl/sysdeps/s390/Makefile: Moved ...
26140         * sysdeps/s390/nptl/Makefile: ... here.
26141         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26142         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26143         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26144         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26145         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26146         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26147         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26148         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26149         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26150         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26151         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26152         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26153         * nptl/sysdeps/s390/tls.h: Moved ...
26154         * sysdeps/s390/nptl/tls.h: ... here.
26156         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26157         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26159 2014-06-13  David S. Miller  <davem@davemloft.net>
26161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26164         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26168         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26169         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26170         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26171         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26172         Remove RESET_PID cpp guards.
26173         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26174         Remove RESET_PID cpp guards.
26175         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26177 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26179         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26180         __sp to uintptr_t.
26182 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26186         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26189         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26190         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26191         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26202         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26205         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26206         (pthread_rwlock_rdlock): Add elision.
26207         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26208         (pthread_rwlock_wrlock): Add elision.
26209         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26210         (pthread_rwlock_trywrlock): Add elision.
26211         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26212         (pthread_rwlock_tryrdlock): Add elision.
26213         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26214         (pthread_rwlock_tryrdlock): Add elision unlock.
26215         * nptl/sysdeps/pthread/pthread.h:
26216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26217         (PTHREAD_RWLOCK_INITIALIZER,
26218         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26219         Handle new elision field.
26220         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26221         * sysdeps/arm/nptl/bits/pthreadtypes.h
26222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26223         * sysdeps/sh/nptl/bits/pthreadtypes.h
26224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26225         * sysdeps/tile/nptl/bits/pthreadtypes.h
26226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26227         * sysdeps/a/nptl/bits/pthreadtypes.h
26228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26231         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26233         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26235         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26237         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26239         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26241         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26243         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26245         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26246         (elision_init): Set try_xbegin to zero when no RTM.
26247         * sysdeps/x86/nptl/bits/pthreadtypes.h
26248         (pthread_rwlock_t): Change __pad1 to __rwelision.
26249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26251 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26253         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26254         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26255         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26256         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26258 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26260         [BZ #16996]
26261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26262         that the cached result has been set before returning it.
26264 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26266         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26267         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26268         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26269         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26270         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26271         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26273         * nptl/sysdeps/sparc/Makefile: Moved ...
26274         * sysdeps/sparc/nptl/Makefile: ... here.
26275         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26276         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26277         * nptl/sysdeps/sparc/tls.h: Moved ...
26278         * sysdeps/sparc/nptl/tls.h: ... here.
26279         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26280         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26281         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26282         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26283         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26284         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26285         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26286         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26287         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26288         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26289         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26290         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26291         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26292         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26293         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26294         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26295         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26296         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26297         Update #include.
26298         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26300         Update #include.
26301         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26303         Update #include.
26304         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26305         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26306         Update #include.
26308         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26310         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26311         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26313         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26314         (struct list_links): Type removed.
26315         (struct thread_node, struct timer_node): Replace struct list_links
26316         with struct list_head.
26317         (list_unlink_ip): Likewise.
26318         * sysdeps/pthread/timer_routines.c
26319         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26320         (list_append, list_insbefore): Likewise.
26321         (list_init): Function removed.
26322         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26323         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26324         * sysdeps/pthread/Makefile: ... here, new file.
26326         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26327         * sysdeps/nptl/Implies: ... here.
26328         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26329         * nptl/sysdeps/pthread/list.h: Moved ...
26330         * include/list.h: ... here.
26331         * nptl/sysdeps/pthread/createthread.c: Moved ...
26332         * nptl/createthread.c: ... here.
26333         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26334         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26335         * nptl/pt-longjmp.c: ... here.
26336         * nptl/sysdeps/pthread/Makefile: Moved ...
26337         * sysdeps/nptl/Makefile: ... here.
26338         * nptl/sysdeps/pthread/Subdirs: Moved ...
26339         * sysdeps/nptl/Subdirs: ... here.
26340         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26341         * sysdeps/nptl/aio_misc.h: ... here.
26342         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26343         * sysdeps/nptl/bits/libc-lock.h: ... here.
26344         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26345         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26346         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26347         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26348         * nptl/sysdeps/pthread/configure: Moved ...
26349         * sysdeps/nptl/configure: ... here.
26350         * nptl/sysdeps/pthread/configure.ac: Moved ...
26351         * sysdeps/nptl/configure.ac: ... here.
26352         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26353         * sysdeps/nptl/gai_misc.h: ... here.
26354         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26355         * sysdeps/nptl/librt-cancellation.c: ... here.
26356         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26357         * sysdeps/nptl/malloc-machine.h: ... here.
26358         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26359         * sysdeps/nptl/pthread-functions.h: ... here.
26360         * nptl/sysdeps/pthread/pthread.h: Moved ...
26361         * sysdeps/nptl/pthread.h: ... here.
26362         * nptl/sysdeps/pthread/setxid.h: Moved ...
26363         * sysdeps/nptl/setxid.h: ... here.
26364         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26365         * sysdeps/nptl/sigfillset.c: ... here.
26366         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26367         * sysdeps/nptl/tcb-offsets.h: ... here.
26368         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26369         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26370         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26371         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26372         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26373         * sysdeps/pthread/allocalim.h: ... here.
26374         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26375         * sysdeps/pthread/bits/sigthread.h: ... here.
26376         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26377         * sysdeps/pthread/flockfile.c: ... here.
26378         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26379         * sysdeps/pthread/ftrylockfile.c: ... here.
26380         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26381         * sysdeps/pthread/funlockfile.c: ... here.
26382         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26383         * sysdeps/pthread/posix-timer.h: ... here.
26384         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26385         * sysdeps/pthread/timer_create.c: ... here.
26386         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26387         * sysdeps/pthread/timer_delete.c: ... here.
26388         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26389         * sysdeps/pthread/timer_getoverr.c: ... here.
26390         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26391         * sysdeps/pthread/timer_gettime.c: ... here.
26392         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26393         * sysdeps/pthread/timer_routines.c: ... here.
26394         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26395         * sysdeps/pthread/timer_settime.c: ... here.
26396         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26397         * sysdeps/pthread/tst-timer.c: ... here.
26398         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26399         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26401         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26402         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26404         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26405         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26406         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26407         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26408         Update #include target.
26409         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26410         * sysdeps/i386/i686/nptl/Makefile: ... here.
26411         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26412         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26413         Update #include target.
26414         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26415         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26416         * nptl/sysdeps/i386/Makefile: Moved ...
26417         * sysdeps/i386/nptl/Makefile: ... here.
26418         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26419         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26420         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26421         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26422         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26423         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26424         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26425         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26426         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26427         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26428         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26429         * nptl/sysdeps/i386/tls.h: Moved ...
26430         * sysdeps/i386/nptl/tls.h: ... here.
26432         * sysdeps/sh/Makefile [$(subdir) = csu]
26433         (gen-as-const-headers): Add tcb-offsets.sym.
26434         * nptl/sysdeps/sh/Makefile: File removed.
26435         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26436         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26437         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26438         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26439         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26440         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26441         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26442         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26443         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26444         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26445         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26446         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26447         * nptl/sysdeps/sh/tls.h: Moved ...
26448         * sysdeps/sh/nptl/tls.h: ... here.
26449         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26450         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26451         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26452         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26453         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26454         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26455         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26456         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26457         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26458         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26460         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26462         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26464         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26466         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26468         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26470         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26474         Moved ...
26475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26477         Moved ...
26478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26482         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26483         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26484         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26485         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26486         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26487         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26488         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26489         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26490         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26491         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26492         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26493         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26494         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26495         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26496         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26498 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26500         * posix/spawn_faction_addopen.c: Include string.h.
26502 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26504         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26505         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26506         * nptl/sysdeps/x86_64/Makefile: Moved ...
26507         * sysdeps/x86_64/nptl/Makefile: ... here.
26508         * nptl/sysdeps/x86_64/configure: Moved ...
26509         * sysdeps/x86_64/nptl/configure: ... here.
26510         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26511         * sysdeps/x86_64/nptl/configure.ac: ... here.
26512         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26513         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26514         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26515         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26516         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26517         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26518         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26519         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26520         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26521         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26522         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26523         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26524         * nptl/sysdeps/x86_64/tls.h: Moved ...
26525         * sysdeps/x86_64/nptl/tls.h: ... here.
26526         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26527         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26528         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26529         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26531         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26533 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26537 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26539         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26540         type.
26541         [POSIX] (off_t): Likewise.
26542         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26543         [POSIX] (S_ISBLK): Require macro.
26544         [POSIX] (S_ISCHR): Likewise.
26545         [POSIX] (S_ISDIR): Likewise.
26546         [POSIX] (S_ISFIFO): Likewise.
26547         [POSIX] (S_ISREG): Likewise.
26548         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26549         optional-macro.
26550         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26551         type.
26552         [POSIX] (time_t): Likewise.
26553         [POSIX] (timer_t): Likewise.
26555 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26557         [BZ #17048]
26558         * posix/spawn_int.h (struct __spawn_action): Make the path string
26559         non-const to support deallocation.
26560         * posix/spawn_faction_addopen.c
26561         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26562         * posix/spawn_faction_destroy.c
26563         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26564         path in all spawn_do_open actions.
26565         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26566         posix_spawn_file_actions_addopen.
26568 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26570         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26571         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26572         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26573         conditional code always true.
26574         (__libc_vfork): New alias.
26576 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26578         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26579         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26581         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26583         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26584         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26586         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26587         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26589         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26590         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26592 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26594         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26595         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26596         multiarch strcmp for PPC64.
26597         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26598         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26600         multiarch optimizations.
26601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26602         (__libc_ifunc_impl_list): Likewise.
26604 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26606         * benchtests/scripts/validate_benchout.py: New script.
26607         * benchtests/Makefile (bench-func): Call it.
26608         * benchtests/scripts/benchout.schema.json: New file.
26610 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26612         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26613         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26614         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26615         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26616         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26617         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26618         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26619         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26620         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26621         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26622         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26623         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26624         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26625         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26626         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26627         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26629         Moved ...
26630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26631         ... here.
26632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26633         Moved ...
26634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26636         Moved ...
26637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26638         ... here.
26639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26640         Moved ...
26641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26642         ... here.
26643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26644         Moved ...
26645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26647         Moved ...
26648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26649         ... here.
26650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26651         Moved ...
26652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26653         ... here.
26654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26655         Moved ...
26656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26658         Moved ...
26659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26660         ... here.
26661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26662         Moved ...
26663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26664         ... here.
26665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26666         Moved ...
26667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26668         ... here.
26669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26670         Moved ...
26671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26673         Moved ...
26674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26675         ... here.
26676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26677         Moved ...
26678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26679         ... here.
26680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26681         Moved ...
26682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26683         ... here.
26684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26685         Moved ...
26686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26688         Moved ...
26689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26690         ... here.
26691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26692         Moved ...
26693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26694         ... here.
26695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26696         Moved ...
26697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26699         Moved ...
26700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26701         ... here.
26702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26703         Moved ...
26704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26706         Moved ...
26707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26709         Moved ...
26710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26711         ... here.
26712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26713         Moved ...
26714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26715         ... here.
26716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26717         Moved ...
26718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26719         ... here.
26720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26721         Moved ...
26722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26724         Moved ...
26725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26726         ... here.
26727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26728         Moved ...
26729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26730         ... here.
26731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26732         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26734         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26736         Moved ...
26737         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26738         ... here.
26739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26740         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26742         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26752         Moved ...
26753         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26755         Moved ...
26756         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26758         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26760         Moved ...
26761         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26763         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26764         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26765         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26766         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26767         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26769 2014-06-10  Wilco  <wdijkstr@arm.com>
26771         * math/test-fenv-return.c: New file.
26772         * math/Makefile: Add new test test-fenv-return.
26774 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26776         [BZ #17042]
26777         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26778         when x - 1 is zero.
26779         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26780         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26781         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26782         0.0L for an argument of 1.0L.
26783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26784         Likewise.
26785         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26786         value when x - 1 is zero.
26787         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26788         * sysdeps/i386/fpu/libm-test-ulps: Update.
26789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26791 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26793         [BZ #15119]
26794         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26796 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26798         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26799         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26801 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26803         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26804         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26806         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26807         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26809         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26810         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26812         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26813         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26815         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26816         if not already defined.
26817         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26818         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26819         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26820         (TLS_INIT_TP): Use it.
26821         (TLS_DEFINE_INIT_TP): New macro.
26822         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26824 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26826         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26827         constant.
26828         [POSIX] (IXANY): Likewise.
26829         [POSIX] (OLCUC): Likewise.
26830         [POSIX || POSIX2008] (CBAUD): Do not allow.
26831         [POSIX || POSIX2008] (DEFECHO): Likewise.
26832         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26833         [POSIX || POSIX2008] (ECHOKE): Likewise.
26834         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26835         [POSIX || POSIX2008] (EXTA): Likewise.
26836         [POSIX || POSIX2008] (EXTB): Likewise.
26837         [POSIX || POSIX2008] (FLUSHO): Likewise.
26838         [POSIX || POSIX2008] (LOBLK): Likewise.
26839         [POSIX || POSIX2008] (PENDIN): Likewise.
26840         [POSIX || POSIX2008] (SWTCH): Likewise.
26841         [POSIX || POSIX2008] (VDISCARD): Likewise.
26842         [POSIX || POSIX2008] (VDSUSP): Likewise.
26843         [POSIX || POSIX2008] (VLNEXT): Likewise.
26844         [POSIX || POSIX2008] (VREPRINT): Likewise.
26845         [POSIX || POSIX2008] (VSTATUS): Likewise.
26846         [POSIX || POSIX2008] (VWERASE): Likewise.
26847         (B*): Change to B[0123456789]*.
26848         * conform/data/time.h-data [POSIX || UNIX98]
26849         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26850         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26851         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26852         [POSIX] (tm_*): Do not allow.
26854 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26856         * Makefile (install): Don't set LANGUAGE.
26857         * Makefile.in (install): Likewise.
26858         * assert/Makefile (test-assert-ENV): Remove variable.
26859         (test-assert-perr-ENV): Likewise.
26860         * elf/Makefile (neededtest4-ENV): Likewise.
26861         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26862         [$(cross-compiling) = no]: Don't set LANGUAGE.
26863         * io/ftwtest-sh (LANG): Remove variable.
26864         * libio/Makefile (tst-widetext-ENV): Likewise.
26865         * manual/install.texi (Running make install): Don't refer to
26866         environment settings for make install.
26867         * INSTALL: Regenerated.
26868         * nptl/tst-tls6.sh: Don't set LANG.
26869         * posix/globtest.sh (LANG): Remove variable.
26870         * string/Makefile (tester-ENV): Likewise.
26871         (inl-tester-ENV): Likewise.
26872         (noinl-tester-ENV): Likewise.
26873         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26874         [$(cross-compiling) = no]: Don't set LANGUAGE.
26875         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26876         without explicit environment settings.
26878 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26880         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26881         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26882         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26883         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26885 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26887         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26888         other files in the crypt directory.
26889         * crypt/crypt.c: Remove duplicate includes.
26890         * crypt/crypt-entry.c: Likewise.
26891         * crypt/crypt_util.c: Likewise.
26893 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26895         * Makeconfig (run-program-env): New variable.
26896         (run-program-prefix-before-env): Likewise.
26897         (run-program-prefix-after-env): Likewise.
26898         (run-program-prefix): Define in terms of new variables.
26899         (built-program-cmd-before-env): New variable.
26900         (built-program-cmd-after-env): Likewise.
26901         (built-program-cmd): Define in terms of new variables.
26902         (test-program-prefix-before-env): New variable.
26903         (test-program-prefix-after-env): Likewise.
26904         (test-program-prefix): Define in terms of new variables.
26905         (test-program-cmd-before-env): New variable.
26906         (test-program-cmd-after-env): Likewise.
26907         (test-program-cmd): Define in terms of new variables.
26908         * Rules (make-test-out): Use $(run-program-env).
26909         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26910         (help): Do not mention environment variables.  Mention
26911         --timeoutfactor option.
26912         (timeoutfactor): New variable.
26913         (blacklist_exports): Remove function.
26914         (exports): Remove variable.
26915         (command): Do not include ${exports}.
26916         * manual/install.texi (Configuring and compiling): Do not mention
26917         test wrappers preserving environment variables.  Mention that last
26918         assignment to a variable must take precedence.
26919         * INSTALL: Regenerated.
26920         * benchtests/Makefile (run-bench): Use $(run-program-env).
26921         * catgets/Makefile ($(objpfx)test1.cat): Use
26922         $(built-program-cmd-before-env), $(run-program-env) and
26923         $(built-program-cmd-after-env).
26924         ($(objpfx)test2.cat): Do not specify environment variables
26925         explicitly.
26926         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26927         $(run-program-env) and $(built-program-cmd-after-env).
26928         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26929         $(run-program-env) and $(test-program-cmd-after-env).
26930         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26931         explicitly.
26932         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26933         run_program_env and test_program_cmd_after_env arguments.
26934         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26935         * elf/tst-pathopt.sh: Use run_program_env argument.
26936         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26937         $(test-wrapper-env) and $(run-program-env).
26938         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26939         run_program_env arguments.
26940         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26941         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26942         $(test-program-prefix-before-env), $(run-program-env) and
26943         $(test-program-prefix-after-env).
26944         ($(objpfx)tst-gettext2.out): Likewise.
26945         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26946         run_program_env and test_program_prefix_after_env arguments.
26947         * intl/tst-gettext2.sh: Likewise.
26948         * intl/tst-gettext4.sh: Do not set environment variables
26949         explicitly.
26950         * intl/tst-gettext6.sh: Likewise.
26951         * intl/tst-translit.sh: Likewise.
26952         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26953         $(test-program-prefix-before-env), $(run-program-env) and
26954         $(test-program-prefix-after-env).
26955         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26956         run_program_env and test_program_prefix_after_env arguments.
26957         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26958         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26959         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26960         explicitly with each use of ${test_wrapper_env}.
26961         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26962         $(test-program-prefix-before-env), $(run-program-env) and
26963         $(test-program-prefix-after-env).
26964         * posix/tst-getconf.sh: Do not set environment variables
26965         explicitly.
26966         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26967         run_program_env and test_program_prefix_after_env arguments.
26968         * stdio-common/tst-printf.sh: Do not set environment variables
26969         explicitly.
26970         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26971         $(test-program-prefix-before-env), $(run-program-env) and
26972         $(test-program-prefix-after-env).
26973         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26974         run_program_env and test_program_prefix_after_env arguments.
26975         Split $test calls into $test_pre and $test.
26976         * timezone/Makefile (build-testdata): Use
26977         $(built-program-cmd-before-env), $(run-program-env) and
26978         $(built-program-cmd-after-env).
26980 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26982         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26983         strlen for non SHARED builds.
26985 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26987         * nptl/allocatestack.c (check_list): Inlined function...
26988         (__reclaim_stacks): ... here.
26990 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26992         [BZ #15698]
26993         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26994         memory overrun.
26996 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26998         * Rules (make-test-out): Include
26999         LOCPATH=$(common-objpfx)localedata in default environment.
27000         * debug/Makefile (tst-chk1-ENV): Remove variable.
27001         (tst-chk2-ENV): Likewise.
27002         (tst-chk3-ENV): Likewise.
27003         (tst-chk4-ENV): Likewise.
27004         (tst-chk5-ENV): Likewise.
27005         (tst-chk6-ENV): Likewise.
27006         (tst-lfschk1-ENV): Likewise.
27007         (tst-lfschk2-ENV): Likewise.
27008         (tst-lfschk3-ENV): Likewise.
27009         (tst-lfschk4-ENV): Likewise.
27010         (tst-lfschk5-ENV): Likewise.
27011         (tst-lfschk6-ENV): Likewise.
27012         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27013         (tst-iconv7-ENV): Likewise.
27014         * intl/Makefile (LOCPATH-ENV): Likewise.
27015         (tst-codeset-ENV): Likewise.
27016         (tst-gettext3-ENV): Likewise.
27017         (tst-gettext5-ENV): Likewise.
27018         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27019         (tst-fopenloc-ENV): Likewise.
27020         (tst-fgetws-ENV): Remove variable.
27021         (tst-ungetwc1-ENV): Likewise.
27022         (tst-ungetwc2-ENV): Likewise.
27023         (bug-ungetwc2-ENV): Likewise.
27024         (tst-swscanf-ENV): Likewise.
27025         (bug-ftell-ENV): Likewise.
27026         (tst-fgetwc-ENV): Likewise.
27027         (tst-fseek-ENV): Likewise.
27028         (tst-ftell-partial-wide-ENV): Likewise.
27029         (tst-ftell-active-handler-ENV): Likewise.
27030         (tst-ftell-append-ENV): Likewise.
27031         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27032         (tst-regexloc-ENV): Likewise.
27033         (bug-regex1-ENV): Likewise.
27034         (tst-regex-ENV): Likewise.
27035         (tst-regex2-ENV): Likewise.
27036         (bug-regex5-ENV): Likewise.
27037         (bug-regex6-ENV): Likewise.
27038         (bug-regex17-ENV): Likewise.
27039         (bug-regex18-ENV): Likewise.
27040         (bug-regex19-ENV): Likewise.
27041         (bug-regex20-ENV): Likewise.
27042         (bug-regex22-ENV): Likewise.
27043         (bug-regex23-ENV): Likewise.
27044         (bug-regex25-ENV): Likewise.
27045         (bug-regex26-ENV): Likewise.
27046         (bug-regex30-ENV): Likewise.
27047         (bug-regex32-ENV): Likewise.
27048         (bug-regex33-ENV): Likewise.
27049         (bug-regex34-ENV): Likewise.
27050         (bug-regex35-ENV): Likewise.
27051         (tst-rxspencer-ENV): Likewise.
27052         (tst-rxspencer-no-utf8-ENV): Likewise.
27053         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27054         (tst-sscanf-ENV): Likewise.
27055         (tst-swprintf-ENV): Likewise.
27056         (tst-swscanf-ENV): Likewise.
27057         (test-vfprintf-ENV): Likewise.
27058         (scanf13-ENV): Likewise.
27059         (bug14-ENV): Likewise.
27060         (tst-grouping-ENV): Likewise.
27061         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27062         (tst-strtod3-ENV): Likewise.
27063         (tst-strtod4-ENV): Likewise.
27064         (tst-strtod5-ENV): Likewise.
27065         (testmb2-ENV): Likewise./
27066         * string/Makefile (tst-strxfrm-ENV): Likewise.
27067         (tst-strxfrm2-ENV): Likewise.
27068         (bug-strcoll1-ENV): Likewise.
27069         (test-strcasecmp-ENV): Likewise.
27070         (test-strncasecmp-ENV): Likewise.
27071         * time/Makefile (tst-strptime-ENV): Likewise.
27072         (tst-ftime_l-ENV): Likewise.
27073         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27074         (tst-mbrtowc-ENV): Likewise.
27075         (tst-wcrtomb-ENV): Likewise.
27076         (tst-mbrtowc2-ENV): Likewise.
27077         (tst-c16c32-1-ENV): Likewise.
27078         (tst-mbsnrtowcs-ENV): Likewise.
27080 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27082         * manual/resource.texi (How to get information about the memory
27083         subsystem?): Fix typo.
27084         Reported by Peon de la Parra Ivan <peon@keba.com>
27086 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27088         [BZ #16882]
27089         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27090         (pthread_spin_lock): Branch out of spin loop to proper location.
27091         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27092         (pthread_spin_lock): Likewise.
27094         * nptl/tst-spin4.c: New test.
27095         * nptl/Makefile (tests): Add tst-spin4.
27097 2014-06-03  Andreas Schwab  <schwab@suse.de>
27099         [BZ #15946]
27100         * resolv/res_send.c (send_dg): Reload file descriptor after
27101         calling reopen.
27103 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27107 2014-06-03  Richard Henderson  <rth@redhat.com>
27109         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27110         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27111         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27112         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27113         in the SAVE_PID block.
27114         (__libc_vfork): New alias.
27115         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27117         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27118         child in registers, not on the stack.  Remove RESET_PID conditionals.
27119         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27121 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27123         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27125 2014-06-03  Wilco  <wdijkstr@arm.com>
27127         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27128         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27129         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27130         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27131         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27132         Likewise.
27134 2014-06-03  Wilco  <wdijkstr@arm.com>
27136         * sysdeps/aarch64/fpu/math_private.h
27137         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27138         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27139         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27140         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27141         Fix declarations.
27143 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27145         * crypt/crypt-private.h: Include ufc-crypt.h.
27146         (__b64_from_24bit): Declare extern.
27147         * crypt/crypt_util.c(__b64_from_24bit): New function.
27148         (b64t): New static const variable.
27149         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27150         (b64t): Remove variable.
27151         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27152         * crypt/sha256-crypt.c: Include crypt-private.h.
27153         (b64t): Remove variable.
27154         (__sha256_crypt_r): Remove b64_from_24bit and replace
27155         with __b64_from_24bit.
27156         * crypt/sha512-crypt.c: Likewise.
27158 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27160         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27161         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27162         Label the code __libc_vfork rather than __vfork.
27163         [!NOT_IN_libc] (vfork): Define as weak alias.
27164         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27165         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27166         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27168 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27170         * malloc/malloc.c (malloc_info): Fix format specifier for
27171         n_mmaps.
27173 2014-06-02  Wilco  <wdijkstr@arm.com>
27175         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27176         FPCR write.
27178 2014-06-02  Wilco  <wdijkstr@arm.com>
27180         [BZ #17009]
27181         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27182         Rewrite to reduce FPCR/FPSR accesses.
27184 2014-06-01  David S. Miller  <davem@davemloft.net>
27186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27188 2014-05-31  David S. Miller  <davem@davemloft.net>
27190         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27191         to occur in round to nearest mode when |x| >= 2.0
27193 2014-05-30  Richard Henderson  <rth@twiddle.net>
27195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27196         (PSEUDO_RET_NOERRNO): Remove.
27197         (ret): Don't redefine.
27198         (ret_NOERRNO): Define in terms of ret.
27199         (ret_ERRVAL): Likewise.
27201         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27202         use of PSEUDO_RET; perform the error check directly.
27204 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27206         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27207         with __int128_t.
27209 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211         * malloc/malloc (malloc_info): Fix formatting.
27213 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27214             Roland McGrath  <roland@hack.frob.com>
27216         * malloc/malloc (malloc_info): Also print mmapped statistics.
27218 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27220         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27221         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27223 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27225         * malloc/malloc.c (malloc_info): Inline mi_arena.
27227 2014-05-29  Richard Henderson  <rth@twiddle.net>
27229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27230         Remove comma before expanding ASM_ARGS_##nr.
27231         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27232         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27233         of ASM_ARGS_##nr.
27234         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27235         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27236         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27237         (ASM_ARGS_1): Add leading comma.
27239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27240         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27241         to __errno_location.
27242         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27243         Remove the expected plt for __errno_location.
27245         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27246         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27247         call to __read_tp.
27249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27250         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27251         it and break it down.
27252         (DOCARGS_0, DOCARGS_1): Do nothing.
27253         (DOCARGS_2): Update to store into the new stack frame.
27254         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27255         (UNDOCARGS_1): Update to restore from the new stack frame.
27256         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27257         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27259         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27260         (SINGLE_THREAD_P): New parameter for result regno.
27261         (PSEUDO): Update to match; use cbz instead of beq.
27263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27264         Use ENTRY to define the _nocancel entry point.  Share the syscall
27265         and syscall error check paths with the cancel path.
27266         (PSEUDO_END): New.
27268         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27269         whitespace; tabs before and after asm mnemonics.
27271 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27273         [BZ #15132]
27274         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27275         Call fstat64 or stat64 internally, depending on arguments passed.
27276         Replace stat buffer argument with file descriptor argument.
27277         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27278         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27279         Pass fd to __internal_statvfs instead of calling fstat64.
27280         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27281         Pass fd to __internal_statvfs64 instead of calling fstat64.
27282         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27283         Pass -1 to __internal_statvfs instead of calling stat64.
27284         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27285         Pass -1 to __internal_statvfs64 instead of calling stat64.
27287 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27289         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27290         that was previously under [RESET_PID].
27291         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27293         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27294         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27296 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27298         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27300         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27301         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27303 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27305         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27307 2014-05-27  Andreas Schwab  <schwab@suse.de>
27309         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27310         TLS_INIT_TP macro.
27311         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27312         * elf/rtld.c (init_tls, dl_main): Likewise.
27313         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27314         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27315         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27316         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27317         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27318         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27319         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27320         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27321         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27322         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27323         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27324         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27325         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27326         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27327         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27328         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27329         * sysdeps/generic/tls.h: Update description.
27331 2014-05-27  Will Newton  <will.newton@linaro.org>
27333         [BZ #16990]
27334         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27335         and restore r2 rather than just restoring.
27337 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27339         [BZ #16724]
27340         * libio/tst-ftell-append.c: New test case.
27341         * libio/Makefile (tests): Add test case.
27342         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27343         append mode.
27344         * libio/wfileops.c (do_ftell_wide): Likewise.
27346 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27350         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27351         ...
27352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27354         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27355         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27356         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27357         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27358         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27359         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27361         Moved ...
27362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27364         Moved ...
27365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27366         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27367         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27368         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27369         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27371         ...
27372         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27373         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27374         Moved ...
27375         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27376         here.
27377         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27378         ...
27379         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27381         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27383         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27384         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27386         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27389         merge into ...
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27392         ...
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27395         ...
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27398         Moved ...
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27400         here.
27401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27402         Moved ...
27403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27405         Moved ...
27406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27409         conditional [RESET_PID].
27410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27412         removed.
27413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27414         removed.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27417         <tcb-offsets.h>.
27418         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27419         (__libc_vfork): New strong alias.
27420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27421         removed.
27422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27423         Removed.
27425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27426         <tcb-offsets.h>.
27427         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27428         (__libc_vfork): New strong alias.
27429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27430         removed.
27431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27432         removed.
27434 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27436         * malloc/malloc.c (mi_arena): New function.
27437         (malloc_info): Remove nested function mi_arena. Call non-nosted
27438         function mi_arena.
27440 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27442         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27443         by insrwi.
27444         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27445         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27446         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27447         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27448         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27449         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27450         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27452 2014-05-26  Andreas Schwab  <schwab@suse.de>
27454         [BZ #16984]
27455         * locale/programs/repertoire.c (repertoire_read): Add slash
27456         between I18NPATH element and file name.
27457         * locale/programs/locfile.c (locfile_read): Likewise.
27459 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27461         * nptl/pthread_mutexattr_settype.c
27462         (__pthread_mutexattr_settype):
27463         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27465 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27467         * nptl/tst-mutex5 (do_test):
27468         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27470 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27472         * benchtests/README: Document 'init' directive.
27473         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27474         BENCH_INIT.
27475         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27476         (parse_file): Recognize 'init' directive.
27478 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27480         [BZ #16796]
27481         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27482         alignment of struct pthread.
27484 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27486         [BZ #16878]
27487         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27488         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27489         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27490         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27492 2014-05-25  Richard Henderson  <rth@twiddle.net>
27494         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27495         (SINGLE_THREAD_P_PIC): Remove.
27496         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27497         (SINGLE_THREAD_P_PIC): Remove.
27499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27500         branch to syscall error ...
27501         (PSEUDO): ... here.
27502         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27503         from __local_syscall_error to .Lsyscall_error.
27504         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27505         (SYSCALL_ERROR): Update label name.
27507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27508         Do not use DOARGS/UNDOARGS.
27509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27510         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27511         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27512         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27513         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27516         block comment.
27518         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27519         define if !NOT_IN_libc.
27520         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27521         define with non-default symbol versions.
27523 2014-05-23  Richard Henderson  <rth@twiddle.net>
27525         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27526         (vfork, __vfork): Define via compat_symbol.
27528         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27529         [!HAVE_IFUNC] (vfork_compat): Remove.
27530         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27532 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27534         [BZ #16978]
27535         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27536         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27537         variable.
27539 2014-05-23  Richard Henderson  <rth@twiddle.net>
27541         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27542         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27543         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27544         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27546         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27547         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27548         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27549         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27550         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27551         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27552         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27553         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27554         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27555         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27556         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27557         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27558         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27559         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27560         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27561         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27562         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27563         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27564         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27565         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27566         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27567         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27568         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27569         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27570         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27571         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27572         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27573         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27574         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27575         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27576         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27577         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27578         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27579         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27580         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27581         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27582         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27583         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27584         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27585         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27586         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27587         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27588         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27589         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27590         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27591         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27593         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27595         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27597         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27599         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27601         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27603         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27604         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27605         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27606         before exiting on error.
27607         (__libc_vfork): New strong alias.
27608         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27609         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27611         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27612         that was previously under [RESET_PID].
27613         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27615         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27617 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27619         [BZ #16977]
27620         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27621         value when x - 1 is zero.
27622         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27623         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27624         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27625         0.0L for an argument of 1.0L.
27626         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27627         Likewise.
27628         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27629         value when x - 1 is zero.
27630         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27631         * sysdeps/i386/fpu/libm-test-ulps: Update.
27632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27634 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27636         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27637         alphasort and versionsort.
27639 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27641         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27642         macro.
27643         [copysignf]: Likewise.
27645 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27647         * crypt/md5-crypt.c: Fix formatting.
27649 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27651         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27652         (b64_from_24bit): New function.
27654 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27656         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27657         libc_hidden_builtin_def to ifunc.
27658         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27659         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27661 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27663         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27664         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27666 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27668         * nscd/Depend (linuxthreads): Remove.
27669         (nptl): Add.
27670         * resolv/Depend (linuxthreads): Remove.
27671         * rt/Depend (linuxthreads): Remove.
27673         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27674         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27675         $(common-objpfx)elf/.
27676         (link-libc-before-gnulib): Likewise.
27677         (elfobjdir): Remove variable.
27678         * Makefile (install): Use $(elf-objpfx) instead of
27679         $(common-objpfx)elf/.
27680         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27681         $(elfobjdir)/.
27682         (link-libc-deps): Likewise.
27683         ($(common-objpfx)libc.so): Likewise.
27684         ($(common-objpfx)linkobj/libc.so): Likewise.
27685         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27686         instead of $(common-objpfx)elf/.
27687         (symbolic-link-list): Likewise.
27688         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27689         [$(cross-compiling) = no]: Likewise.
27690         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27691         $(elfobjdir)/.
27692         (static-gnulib-arch): Likewise.
27693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27694         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27695         $(common-objpfx)elf/.
27697 2014-05-21  Richard Henderson  <rth@redhat.com>
27699         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27700         (SINGLE_THREAD_P): Use the correct width load.  Fold
27701         into the ldr offset.
27703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27704         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27706 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27708         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27709         (libgcc_s_resume): Use __attribute_used__.
27710         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27711         Likewise.
27713 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27715         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27716         optimization when used with float constants.
27718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27720 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27722         [BZ #16915]
27723         * locale/nl_langinfo_l.c: Make direct reference to every
27724         _nl_current_CATEGORY symbol.
27725         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27726         (tests-static): Add tst-langinfo-static.
27727         (tests-special): Add tst-langinfo-static.out.
27728         ($(objpfx)tst-langinfo.out): Redirect output.
27729         ($(objpfx)tst-langinfo-static.out): New.
27730         * localedata/tst-langinfo.sh: Send output to stdout.
27731         * localedata/tst-langinfo-static.c: New file.
27733         [BZ #16965]
27734         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27735         when the shift amount is modulo the limb size.
27737 2014-05-20  Richard Henderson  <rth@redhat.com>
27739         [BZ #16967]
27740         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27741         Change type of sa_flags from unsigned int to int.
27743         [BZ #16966]
27744         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27746         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27748 2014-05-20  Will Newton  <will.newton@linaro.org>
27750         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27751         Test the return value of the system call in the nocancel case.
27753 2014-05-20  Will Newton  <will.newton@linaro.org>
27754             Yvan Roux  <yvan.roux@linaro.org>
27756         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27757         #include of asm/ptrace.h.
27758         (PTRACE_GET_THREAD_AREA): Remove #undef.
27759         (PTRACE_GETHBPREGS): Likewise.
27760         (PTRACE_SETHBPREGS): Likewise.
27761         (struct user_regs_struct): New structure.
27762         (struct user_fpsimd_struct): New structure.
27763         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27764         #include of asm/ptrace.h and second #include of sys/user.h.
27765         (PTRACE_GET_THREAD_AREA): Remove #undef.
27766         (PTRACE_GETHBPREGS): Likewise.
27767         (PTRACE_SETHBPREGS): Likewise.
27768         (ELF_NGREG): Use new struct user_regs_struct.
27769         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27771 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27773         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27774         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27776 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27778         [BZ #16958]
27779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27780         membar to avoid block loads/stores to overlap previous stores.
27782 2014-05-17  Richard Henderson  <rth@redhat.com>
27784         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27785         Create the __##syscall_name##_nocancel entry point.
27786         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27787         Remove; let the sysdep-cancel.h code create it.
27789 2014-05-17  David S. Miller  <davem@davemloft.net>
27791         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27792         Protect with __USE_GNU.
27793         (TIOCSET_TEMPT): Likewise.
27794         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27795         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27796         these are already provided in bits/ioctl-types.h
27798 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27800         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27801         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27803         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27804         Use wait4 regardless of [__NR_waitpid].
27806 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27808         PR libgcc/60166
27809         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27810         (_FP_NANSIGN_Q): Set the quiet bit.
27812 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27814         * benchtests/Makefile
27815         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27816         not $(common-objpfx)math/libm.so.
27817         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27818         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27819         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27820         $(common-objpfx)dlfcn/libdl.so.
27821         ($(objpfx)tst-audit8): Depend on $(libm), not
27822         $(common-objpfx)math/libm.so.
27823         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27824         not $(common-objpfx)dlfcn/libdl.so.
27825         * math/Makefile
27826         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27827         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27828         [$(build-shared) = yes].
27829         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27830         $(common-objpfx)nptl/libpthread.so.
27831         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27832         $(common-objpfx)math/libm.so$(libm.so-version) or
27833         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27834         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27835         $(common-objpfx)dlfcn/libdl.so.
27836         * setjmp/Makefile (link-libm): Remove variable.
27837         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27838         * stdio-common/Makefile (link-libm): Remove variable.
27839         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27840         * stdlib/Makefile (link-libm): Remove variable.
27841         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27842         ($(objpfx)tst-strtod-round): Likewise.
27843         ($(objpfx)tst-tininess): Likewise.
27844         ($(objpfx)tst-strtod-underflow): Likewise.
27845         ($(objpfx)tst-strtod6): Likewise.
27846         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27847         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27848         $(common-objpfx)dlfcn/libdl.so.
27850 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27852         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27853         BSD terminal modes definitions.
27855 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27857         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27858         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27860         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27861         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27862         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27863         Don't do #include_next.
27864         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27865         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27866         Don't do #include_next.
27867         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27868         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27869         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27870         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27872 2014-05-16  Allan McRae  <allan@archlinux.org>
27874         * po/sv.po: Update Swedish translation from translation project.
27876         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27877         in sed expression.
27879 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27881         [BZ #16917]
27882         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27883         errno if the TIOCGPTN ioctl fails with an error different than
27884         EINVAL.
27885         * login/tst-ptsname.c: New file.
27886         * login/Makefile (tests): Add tst-ptsname.
27888         [BZ #16943]
27889         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27890         and prlimit64.
27892 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27894         [BZ #16849]
27895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27896         herrno to return EAI_AGAIN.
27898 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27900         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27901         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27902         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27903         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27904         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27905         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27906         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27907         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27909         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27910         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27911         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27912         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27913         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27914         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27915         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27916         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27917         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27918         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27919         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27920         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27921         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27922         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27923         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27924         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27925         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27926         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27927         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27928         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27929         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27931         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27933         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27935         Moved ...
27936         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27938         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27940         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27942         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27944         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27946         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27948         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27950         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27952         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27954         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27956         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27958         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27960         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27962         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27964         Moved ...
27965         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27967         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27969         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27971         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27973         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27975         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27979         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27981         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27985         Moved ...
27986         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27988         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27990         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27991         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27992         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27993         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27994         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27995         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27996         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27997         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27998         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27999         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28000         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28001         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28002         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28004         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28005         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28006         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28007         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28008         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28009         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28010         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28012         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28013         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28014         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28015         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28016         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28018         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28020         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28022         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28023         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28025         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28026         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28027         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28029         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28031         Moved ...
28032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28034         Moved ...
28035         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28037         Moved ...
28038         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28042         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28043         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28045         Moved ...
28046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28047         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28048         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28050         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28051         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28052         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28054         Moved ...
28055         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28056         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28059         ... here.
28060         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28061         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28062         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28063         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28065         Moved ...
28066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28067         ... here.
28068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28069         Moved ...
28070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28071         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28072         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28074         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28076         Moved ...
28077         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28079         Moved ...
28080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28082         Moved ...
28083         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28085         Moved ...
28086         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28087         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28088         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28090         Moved ...
28091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28092         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28093         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28095         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28096         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28097         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28099         Moved ...
28100         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28101         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28102         Moved ...
28103         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28104         ... here.
28105         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28106         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28107         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28108         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28110         Moved ...
28111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28112         ... here.
28113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28114         Moved ...
28115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28116         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28117         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28118         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28119         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28120         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28122         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28123         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28125         Moved ...
28126         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28127         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28128         Moved ...
28129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28131         Moved ...
28132         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28133         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28134         Moved ...
28135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28136         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28137         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28138         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28139         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28143         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28144         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28146         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28147         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28148         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28150         Moved ...
28151         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28152         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28153         Moved ...
28154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28155         ... here.
28156         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28157         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28158         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28159         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28161         Moved ...
28162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28163         ... here.
28164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28165         Moved ...
28166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28167         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28168         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28169         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28170         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28171         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28172         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28173         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28174         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28175         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28176         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28178         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28179         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28181         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28182         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28184         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28185         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28186         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28187         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28188         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28189         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28190         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28191         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28192         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28193         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28195         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28196         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28197         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28198         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28200         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28202         Moved ...
28203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28207         Moved ...
28208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28212         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28216         Moved ...
28217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28218         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28219         Moved ...
28220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28226         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28227         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28228         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28229         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28230         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28231         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28232         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28233         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28234         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28235         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28236         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28238         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28239         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28240         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28241         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28242         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28244         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28245         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28246         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28247         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28248         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28249         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28250         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28251         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28252         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28253         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28258         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28259         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28260         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28261         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28262         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28263         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28264         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28265         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28266         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28267         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28268         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28269         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28271         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28273         Update #include.
28274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28275         Likewise.
28276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28277         Likewise.
28278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28279         Likewise.
28280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28281         Likewise.
28282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28283         Likewise.
28284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28285         Likewise.
28286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28287         Likewise.
28288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28289         Likewise.
28290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28291         Likewise.
28292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28300         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28302         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28303         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28304         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28305         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28306         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28309         that was previously under [RESET_PID].
28310         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28311         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28312         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28314         * sysdeps/i386/nptl/Implies: New file.
28315         * sysdeps/x86_64/nptl/Implies: New file.
28316         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28317         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28319         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28321         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28322         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28323         (__libc_vfork): New strong alias.
28324         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28325         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28327         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28328         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28329         (__libc_vfork): New strong alias.
28330         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28331         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28333         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28334         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28335         (__libc_vfork): New strong alias.
28336         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28337         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28338         * nptl/pt-vfork.c: New file.
28339         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28340         (libpthread: GLIBC_2.20): New version set (empty).
28342 2014-05-14  Will Newton  <will.newton@linaro.org>
28344         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28345         rather than #if.
28347 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28349         [BZ #16564]
28350         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28351         arguments with exponent 65 or above.
28352         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28353         arguments 0x1p113L or above.
28354         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28355         to arguments 0x1p107L or above.
28356         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28357         positive arguments with exponent 65 or above.
28358         * math/auto-libm-test-in: Add more tests of log1p.
28359         * math/auto-libm-test-out: Regenerated.
28361         [BZ #16928]
28362         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28363         non-finite arguments is +0.
28364         * math/s_cacosf.c (__cacosf): Likewise.
28365         * math/s_cacosl.c (__cacosl): Likewise.
28366         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28367         * sysdeps/i386/fpu/libm-test-ulps: Update.
28368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28370         [BZ #16927]
28371         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28372         value.
28373         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28374         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28375         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28376         for explicit high bit of mantissa when testing for argument equal
28377         to 1.
28378         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28379         * sysdeps/i386/fpu/libm-test-ulps: Update.
28380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28382         [BZ #16516]
28383         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28384         (__erf): Scale by 16 instead of 8 in potentially underflowing
28385         case.  Ensure exception if result actually underflows.
28386         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28387         (__erff): Scale by 16 instead of 8 in potentially underflowing
28388         case.  Ensure exception if result actually underflows.
28389         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28390         (efx8): Remove variable.
28391         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28392         case.  Ensure exception if result actually underflows.
28393         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28394         (efx8): Remove variable.
28395         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28396         case.  Ensure exception if result actually underflows.
28397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28398         (efx8): Remove variable.
28399         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28400         case.  Ensure exception if result actually underflows.
28401         * math/auto-libm-test-in: Add more tests of erf.
28402         * math/auto-libm-test-out: Regenerated.
28404 2014-05-14  Andreas Schwab  <schwab@suse.de>
28406         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28407         Remove code conditionalized on USE___THREAD.
28409         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28410         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28411         not definedness.
28413 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28416         Define unconditionally.
28417         (__ASSUME_O_CLOEXEC): Likewise.
28418         (__ASSUME_SOCK_CLOEXEC): Likewise.
28419         (__ASSUME_IN_NONBLOCK): Likewise.
28420         (__ASSUME_PIPE2): Likewise.
28421         (__ASSUME_EVENTFD2): Likewise.
28422         (__ASSUME_SIGNALFD4): Likewise.
28423         (__ASSUME_DUP3): Likewise.
28424         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28425         (__ASSUME_DUP3): Do not define.
28426         (__ASSUME_EVENTFD2): Likewise.
28427         (__ASSUME_IN_NONBLOCK): Likewise.
28428         (__ASSUME_O_CLOEXEC): Likewise.
28429         (__ASSUME_PIPE2): Likewise.
28430         (__ASSUME_SIGNALFD4): Likewise.
28431         (__ASSUME_SOCK_CLOEXEC): Likewise.
28432         (__ASSUME_UTIMES): Undefine.
28433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28434         (__ASSUME_UTIMES): Do not define.
28435         (__ASSUME_O_CLOEXEC): Likewise.
28436         (__ASSUME_SOCK_CLOEXEC): Likewise.
28437         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28438         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28439         0x020621].
28440         (__ASSUME_PIPE2): Likewise.
28441         (__ASSUME_EVENTFD2): Likewise.
28442         (__ASSUME_SIGNALFD4): Likewise.
28443         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28444         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28445         Do not define.
28446         (__ASSUME_EVENTFD2): Likewise.
28447         (__ASSUME_SIGNALFD4): Likewise.
28448         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28449         (__ASSUME_32BITUIDS): Likewise.
28450         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28451         (__ASSUME_IPC64): Likewise.
28452         (__ASSUME_ST_INO_64_BIT): Likewise.
28453         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28454         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28456         (__ASSUME_UTIMES): Do not define.
28457         (__ASSUME_PSELECT): Likewise.
28458         (__ASSUME_PPOLL): Likewise.
28459         (__ASSUME_O_CLOEXEC): Likewise.
28460         (__ASSUME_SOCK_CLOEXEC): Likewise.
28461         (__ASSUME_IN_NONBLOCK): Likewise.
28462         (__ASSUME_PIPE2): Likewise.
28463         (__ASSUME_EVENTFD2): Likewise.
28464         (__ASSUME_SIGNALFD4): Likewise.
28465         (__ASSUME_DUP3): Likewise.
28466         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28467         (__ASSUME_UTIMES): Likewise.
28468         (__ASSUME_O_CLOEXEC): Likewise.
28469         (__ASSUME_SOCK_CLOEXEC): Likewise.
28470         (__ASSUME_IN_NONBLOCK): Likewise.
28471         (__ASSUME_PIPE2): Likewise.
28472         (__ASSUME_EVENTFD2): Likewise.
28473         (__ASSUME_SIGNALFD4): Likewise.
28474         (__ASSUME_DUP3): Likewise.
28475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28476         (__ASSUME_UTIMES): Likewise.
28477         (__ASSUME_O_CLOEXEC): Likewise.
28478         (__ASSUME_SOCK_CLOEXEC): Likewise.
28479         (__ASSUME_IN_NONBLOCK): Likewise.
28480         (__ASSUME_PIPE2): Likewise.
28481         (__ASSUME_EVENTFD2): Likewise.
28482         (__ASSUME_SIGNALFD4): Likewise.
28483         (__ASSUME_DUP3): Likewise.
28484         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28485         Likewise.
28486         (__ASSUME_UTIMES): Likewise.
28487         (__ASSUME_EVENTFD2): Likewise.
28488         (__ASSUME_SIGNALFD4): Likewise.
28489         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28490         (__ASSUME_O_CLOEXEC): Likewise.
28491         (__ASSUME_SOCK_CLOEXEC): Likewise.
28492         (__ASSUME_IN_NONBLOCK): Likewise.
28493         (__ASSUME_PIPE2): Likewise.
28494         (__ASSUME_EVENTFD2): Likewise.
28495         (__ASSUME_SIGNALFD4): Likewise.
28496         (__ASSUME_DUP3): Likewise.
28497         (__ASSUME_UTIMES): Undefine.
28499         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28500         feclearexcept.  Remove symbol versioning code.
28501         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28502         symbol versioning code.
28503         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28504         symbol versioning code.
28505         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28506         feupdateenv.  Remove symbol versioning code.
28507         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28508         fegetexceptflag.  Remove symbol versioning code.
28509         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28510         fesetexceptflag.  Remove symbol versioning code.
28511         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28512         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28513         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28514         (__posix_fadvise64_l32): Remove prototype.
28515         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28516         code.
28518 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28520         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28521         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28522         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28523         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28525 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28527         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28528         current working directory
28530 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28532         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28533         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28534         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28535         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28536         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28537         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28538         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28539         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28540         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28541         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28542         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28543         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28544         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28545         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28546         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28547         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28548         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28549         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28550         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28551         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28552         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28553         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28554         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28555         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28556         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28557         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28558         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28559         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28560         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28561         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28562         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28563         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28564         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28565         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28566         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28568         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28569         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28570         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28571         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28572         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28573         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28575         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28576         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28578         * sysdeps/unix/sysv/linux/arm/Makefile
28579         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28580         Add rt-aeabi_unwind_cpp_pr1.
28581         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28582         Add nptl-aeabi_unwind_cpp_pr1.
28583         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28584         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28585         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28586         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28587         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28588         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28590         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28591         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28592         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28593         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28595         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28596         Deconditionalize the code that was previously under [RESET_PID].
28597         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28599         * sysdeps/generic/exit-thread.h: New file.
28600         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28601         * include/unistd.h (__exit_thread): Remove declaration.
28602         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28603         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28604         * csu/libc-start.c: Include <exit-thread.h>.
28605         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28606         * nptl/pthread_create.c: Include <exit-thread.h>.
28607         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28608         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28609         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28610         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28611         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28612         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28613         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28614         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28615         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28616         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28617         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28618         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28619         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28620         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28621         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28622         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28623         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28625 2014-05-13  Andreas Schwab  <schwab@suse.de>
28627         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28629 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28631         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28632         (__ASSUME_UTIMES): Do not condition on kernel version.
28633         (__ASSUME_PSELECT): Define unconditionally.
28634         (__ASSUME_PPOLL): Likewise.
28635         (__ASSUME_ATFCTS): Likewise.
28636         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28637         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28638         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28639         (__ASSUME_UTIMENSAT): Define unconditionally.
28640         (__ASSUME_PRIVATE_FUTEX): Likewise.
28641         (__ASSUME_FALLOCATE): Likewise.
28642         (__ASSUME_O_CLOEXEC): Likewise.
28643         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28644         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28645         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28646         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28647         (__ASSUME_IN_NONBLOCK): Likewise.
28648         (__ASSUME_PIPE2): Likewise.
28649         (__ASSUME_EVENTFD2): Likewise.
28650         (__ASSUME_SIGNALFD4): Likewise.
28651         (__ASSUME_DUP3): Likewise.
28652         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28653         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28654         (__ASSUME_AT_RANDOM): Likewise.
28655         (__ASSUME_PREADV): Likewise.
28656         (__ASSUME_PWRITEV): Likewise.
28657         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28658         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28659         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28660         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28661         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28663         (__ASSUME_O_CLOEXEC): Define unconditionally.
28664         (__ASSUME_PSELECT): Do not undefine conditionally.
28665         (__ASSUME_PPOLL): Likewise.
28666         (__ASSUME_ATFCTS): Likewise.
28667         (__ASSUME_SET_ROBUST_LIST): Likewise.
28668         (__ASSUME_UTIMENSAT): Likewise.
28669         (__ASSUME_FDATASYNC): Define unconditionally.
28670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28671         (__ASSUME_SIGFRAME_V2): Likewise.
28672         )__ASSUME_EVENTFD2): Likewise.
28673         (__ASSUME_SIGNALFD4): Likewise.
28674         (__ASSUME_PSELECT): Do not undefine conditionally.
28675         (__ASSUME_PPOLL): Likewise.
28676         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28677         (__ASSUME_PSELECT): Define unconditionally.
28678         (__ASSUME_PPOLL): Likewise.
28679         (__ASSUME_O_CLOEXEC): Likewise.
28680         (__ASSUME_SOCK_CLOEXEC): Likewise.
28681         (__ASSUME_IN_NONBLOCK): Likewise.
28682         (__ASSUME_PIPE2): Likewise.
28683         (__ASSUME_EVENTFD2): Likewise.
28684         (__ASSUME_SIGNALFD4): Likewise.
28685         (__ASSUME_DUP3): Likewise.
28686         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28687         (__ASSUME_O_CLOEXEC): Likewise.
28688         (__ASSUME_SOCK_CLOEXEC): Likewise.
28689         (__ASSUME_IN_NONBLOCK): Likewise.
28690         (__ASSUME_PIPE2): Likewise.
28691         (__ASSUME_EVENTFD2): Likewise.
28692         (__ASSUME_SIGNALFD4): Likewise.
28693         (__ASSUME_DUP3): Likewise.
28694         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28695         (__ASSUME_EVENTFD2): Likewise.
28696         (__ASSUME_SIGNALFD4): Likewise.
28697         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28699 2014-05-12  Andreas Schwab  <schwab@suse.de>
28701         [BZ #16932]
28702         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28703         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28704         than maximum RPC packet size.
28705         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28706         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28707         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28708         (_nss_nis_getservbyport_r): Likewise.
28710 2014-05-12  Will Newton  <will.newton@linaro.org>
28712         * malloc/Makefile (tests): Add tst-mallopt.
28713         * malloc/tst-mallopt.c: New file.
28715 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28717         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28718         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28720 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28722         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28723         (tst-tlsmod6.so): Likewise.
28725 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28727         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28729 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28731         [BZ #16064]
28732         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28733         and <dl-procinfo.h>.
28734         (__fegetenv): Save SSE state in envp->__eip if supported.
28735         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28736         envp->__eip if supported.
28737         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28738         and <dl-procinfo.h>.
28739         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28740         __data_offset and __data_selector in environment to 0.  Set SSE
28741         state if supported.
28742         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28743         test-fenv-sse.
28744         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28745         -mfpmath=sse.
28746         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28748 2014-05-09  Will Newton  <will.newton@linaro.org>
28750         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28751         and libc_relro_required for ARM.
28752         * sysdeps/arm/preconfigure: Regenerate.
28754 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28755             Stefan Liebler  <stli@linux.vnet.ibm.com>
28757         * config.make.in (enable-lock-elision): New Makefile variable.
28758         * configure.ac: Likewise.
28759         * configure: Regenerate.
28760         * sysdeps/s390/configure.ac:
28761         Add check for gcc transactions support.
28762         * sysdeps/s390/configure: Regenerate.
28763         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28764         Build elision files if enabled.
28765         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28766         Add lock elision support for s390.
28767         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28768         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28769         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28770         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28771         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28772         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28773         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28774         Likewise.
28775         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28776         Likewise.
28777         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28778         Likewise.
28779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28780         Likewise.
28781         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28782         (__lll_timedlock_elision, __lll_lock_elision)
28783         (__lll_unlock_elision, __lll_trylock_elision)
28784         (lll_timedlock_elision, lll_lock_elision)
28785         (lll_unlock_elision, lll_trylock_elision): Add.
28786         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28787         (pthread_mutex_t): Add lock elision support for s390.
28789 2014-05-14  Wilco  <wdijkstr@arm.com>
28791         * sysdeps/arm/fclrexcpt.c: Cleanup.
28792         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28793         * sysdeps/arm/feenablxcpt.c: Cleanup.
28794         * sysdeps/arm/fegetenv.c: Cleanup.
28795         * sysdeps/arm/fegetexcept.c: Cleanup.
28796         * sysdeps/arm/fegetround.c: Cleanup.
28797         * sysdeps/arm/feholdexcpt.c: Cleanup.
28798         * sysdeps/arm/fesetenv.c: Cleanup.
28799         * sysdeps/arm/fesetround.c: Cleanup.
28800         * sysdeps/arm/feupdateenv.c: Cleanup.
28801         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28802         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28803         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28804         * sysdeps/arm/ftestexcept.c: Cleanup.
28805         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28806         * sysdeps/arm/setfpucw.c: Cleanup.
28808 2014-05-09  Will Newton  <will.newton@linaro.org>
28810         * sysdeps/arm/armv7/strcmp.S: New file.
28811         * NEWS: Mention addition of ARMv7 optimized strcmp.
28813 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28815         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28816         look for %.ac rather than %.in.
28818         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28819         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28820         * sysdeps/mach/hurd/configure: Regenerated.
28821         * sysdeps/unix/sysv/linux/configure: Regenerated.
28823         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28825 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28827         [BZ# 16922]
28828         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28829         (LONG_SUB): Ditto.
28830         (PTR_SUB): Ditto.
28832 2014-05-07  Andreas Schwab  <schwab@suse.de>
28834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28835         when skipping over non-matching result from nscd.
28837 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28839         [BZ #16876]
28840         * nptl/sockperf.c (client): Check socket return value.
28842         [BZ #16877]
28843         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28844         nscd security class.
28846 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28848         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28849         * sysdeps/arm/unwind.h: ... here.
28851 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28853         [BZ# 16916]
28854         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28855         Define.
28857 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28859         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28860         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28861         multiarch strncpy for PPC64.
28862         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28863         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28865         multiarch optimizations.
28866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28867         (__libc_ifunc_impl_list): Likewise.
28868         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28869         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28870         multiarch stpncpy for PPC64.
28871         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28872         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28874 2014-05-06  Andreas Schwab  <schwab@suse.de>
28876         [BZ #16912]
28877         * gmon/mcount.c (_MCOUNT_DECL): Use
28878         atomic_compare_and_exchange_bool_acq instead of
28879         catomic_compare_and_exchange_bool_acq.
28881 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28883         * elf/Makefile (others, install-bin): Remove pldd.
28884         (pldd-modules): Variable removed.
28885         ($(objpfx)pldd): Target removed.
28886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28887         (others, install-bin): Append pldd here.
28888         ($(objpfx)pldd): New target.
28890         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28891         to 0, so the first #if test emitted later doesn't see it undefined.
28892         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28893         * sysdeps/gnu/errlist.c: Regenerated.
28895 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28897         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28898         [libc_hidden_builtin_def]: Define to empty value.
28899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28900         [libc_hidden_builtin_def]: Likewise.
28901         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28902         [libc_hidden_builtin_def]: Likewise.
28903         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28904         [libc_hidden_builtin_def]: Likewise.
28905         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28906         __redirect_memcpy and define ifunc as default hidden symbol.
28907         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28908         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28910 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28912         * locale/iso-4217.def: Reintroduce XDR currency.
28914 2014-05-04  Allan McRae  <allan@archlinux.org>
28916         * po/eo.po: Update Esperanto translation from translation project.
28918 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28920         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28921         and FEATURE_INDEX_MAX to 1.
28922         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28924 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28926         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28927         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28928         * iconvdata/big5.c (ONE_DIRECTION): Define.
28929         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28930         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28931         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28932         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28933         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28934         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28935         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28936         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28937         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28938         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28939         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28940         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28941         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28942         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28943         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28944         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28945         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28946         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28947         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28948         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28949         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28950         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28951         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28952         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28953         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28954         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28955         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28956         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28957         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28958         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28959         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28960         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28961         * iconvdata/johab.c (ONE_DIRECTION): Define.
28962         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28963         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28964         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28965         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28966         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28967         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28968         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28969         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28970         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28971         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28973 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28975         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28976         (_IO_JUMPS_OFFSET): Define to 0.
28978         * nptl/sysdeps/pthread/bits/libc-lock.h
28979         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28980         (__libc_lock_define_initialized_recursive): Always define using
28981         initializer.  Modern compilers treat uninitialized (implicit zero) and
28982         explicit zero initializers the same (i.e. put the datum in bss).
28984 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28986         * nscd/nscd-client.h: Include <string.h>.
28988 2014-05-01  David S. Miller  <davem@davemloft.net>
28990         [BZ #16885]
28991         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28992         multiple zero bytes exist at the end of a string.
28993         Reported by Aurelien Jarno <aurelien@aurel32.net>
28995         * string/test-strcmp.c (check): Add explicit test for situations where
28996         there are multiple zero bytes after the first.
28998 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29000         [BZ #16890]
29001         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29002         when compiling wprintf.
29003         * stdio-common/tstdiomisc.c (t3): New function.
29004         (main): Call it.
29006 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29008         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29009         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29010         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29011         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29013 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29015         * stdlib/longlong.h: Updated from GCC.
29017 2014-05-01  Will Newton  <will.newton@linaro.org>
29018             Bernard Ogden  <bernie.ogden@linaro.org>
29020         * NEWS: Update fixed bug list.
29022         [BZ #15119]
29023         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29025 2014-04-30  David S. Miller  <davem@davemloft.net>
29027         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29028         (libc_feholdexcept_setround_sparc_ctx): New function.
29029         (libc_fesetenv_sparc_ctx): Likewise.
29030         (libc_feupdateenv_sparc_ctx): Likewise.
29031         (libc_feholdsetround_sparc_ctx): Likewise.
29032         (libc_feholdexcept_setround_ctx): Define.
29033         (libc_feholdexcept_setroundf_ctx): Likewise.
29034         (libc_feholdexcept_setroundl_ctx): Likewise.
29035         (libc_fesetenv_ctx): Likewise.
29036         (libc_fesetenvf_ctx): Likewise.
29037         (libc_fesetenvl_ctx): Likewise.
29038         (libc_feupdateenv_ctx): Likewise.
29039         (libc_feupdateenvf_ctx): Likewise.
29040         (libc_feupdateenvl_ctx): Likewise.
29041         (libc_feresetround_ctx): Likewise.
29042         (libc_feresetroundf_ctx): Likewise.
29043         (libc_feresetroundl_ctx): Likewise.
29044         (libc_feholdsetround_ctx): Likewise.
29045         (libc_feholdsetroundf_ctx): Likewise.
29046         (libc_feholdsetroundl_ctx): Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29049         with __USE_GNU instead of XOPEN cpp guards.
29051         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29052         0.
29054         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29055         with XOPEN cpp guards.
29057 2014-04-30  Julian Brown  <julian@codesourcery.com>
29059         [BZ #16888]
29060         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29061         handling.
29063 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29065         [BZ #9894]
29066         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29067         Change to 2.6.32.
29068         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29069         * sysdeps/unix/sysv/linux/configure: Regenerated.
29070         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29071         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29072         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29073         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29074         * README: Update reference to required Linux kernel version.
29075         * manual/install.texi (Linux): Update reference to required Linux
29076         kernel headers version.
29077         * INSTALL: Regenerated.
29079         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29080         header inclusion.
29081         [POSIX] (limits.h): Likewise.
29082         [POSIX] (math.h): Likewise.
29083         [POSIX] (sys/wait.h): Likewise.
29084         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29085         function.
29086         [POSIX] (stddef.h): Do not allow header inclusion.
29088 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29090         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29092 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29094         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29095         Return immediately after lll_futex_wake.
29097 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29099         [BZ #16791]
29100         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29101         structure.
29102         (datahead_init_pos): Call datahead_init_common early.
29103         (datahead_init_neg): Likewise.
29105         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29106         datahead_init_neg): New functions.
29107         * nscd/aicache.c (addhstaiX): Use them.
29108         * nscd/grpcache.c (cache_addgr): Likewise.
29109         * nscd/hstcache.c (cache_addhst): Likewise.
29110         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29111         * nscd/netgroupcache.c (do_notfound): Likewise.
29112         (addgetnetgrentX): Likewise.
29113         (addinnetgrX): Likewise.
29114         * nscd/pwdcache.c (cache_addpw): Likewise.
29115         * nscd/servicescache.c (cache_addserv): Likewise.
29117 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29118             Atsushi Onoe  <atsushi@onoe.org>
29120         [BZ #14308]
29121         [BZ #12994]
29122         [BZ #13651]
29123         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29124         one response is valid.
29125         * resolv/res_send.c (send_dg): Check for validity of other
29126         response if the current response is a referral.
29128 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29130         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29132 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29134         [BZ #16823]
29135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29136         Always divide by positive zero when computing -Inf result.
29137         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29138         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29140 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29142         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29143         FPSCR if value do not change.
29144         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29146         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29148         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29149         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29150         function.
29152 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29154         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29155         * sysdeps/unix/sysv/linux/hppa: Move directory from
29156         ports/systeps/unix/sysv/linux/hppa.
29157         * README: Update listing for hppa-*-linux-gnu.
29159 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29161         [BZ #16754]
29162         * manual/stdio.texi (Hook functions): Fix types of stream hook
29163         functions.
29164         [BZ #16854]
29165         * socket/sys/socket.h: Fix typo in comment.
29167 2014-04-28  Wilco  <wdijkstr@arm.com>
29169         * sysdeps/arm/fenv_private.h: New file.
29170         * sysdeps/arm/math_private.h: New file.
29171         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29173 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29175         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29176         with __int128_t.
29177         (La_x86_64_retval): Likewise.
29179 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29181         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29182         fpsr if value didn't change.
29183         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29184         to fpcr if value didn't change.
29185         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29186         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29187         fpsr or fpcr if value didn't change.
29188         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29189         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29190         fpcr if value didn't change.
29191         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29192         to fpsr if value didn't change.
29194 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29196         * nptl/tst-sem3.c: Use test-skeleton.c
29197         (main): Rename to do_test.  Use return instead of
29198         exit.
29199         * nptl/tst-sem4.c: Use test-skeleton.c
29200         (main): Rename to do_test.
29202 2014-04-22  David S. Miller  <davem@davemloft.net>
29204         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29205         (struct sigaction): New struct member __glibc_reserved0, change
29206         type of sa_flags to int.
29208 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29210         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29211         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29213 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29216         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29218 2014-04-22  Will Newton  <will.newton@linaro.org>
29219             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29221         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29222         (__longjmp): Add longjmp and longjmp_target SystemTap
29223         probes.
29224         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29225         (__sigsetjmp): Add setjmp SystemTap probe.
29227 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29229         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29230         match manual order.
29232 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29234         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29236         * sysdeps/powerpc/fpu/fenv_private.h
29237         (libc_feholdexcept_setroundl_ctx): Define to
29238         libc_feholdexcept_setround_ppc_ctx.
29239         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29240         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29241         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29242         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29244 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29246         * sysdeps/aarch64/math-tests.h: New file.
29248 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29250         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29251         New.
29252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29253         Check and set bit_AVX2_Usable.
29254         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29255         macro.
29256         (bit_AVX2): Likewise.
29257         (index_AVX2_Usable): Likewise.
29258         (CPUID_AVX2): Likewise.
29259         (HAS_AVX2): Likewise.
29261 2014-04-17  Will Newton  <will.newton@linaro.org>
29263         * manual/setjmp.texi (System V contexts): Add note that
29264         calling setcontext on a context created by a call to a
29265         signal handler is undefined.  Update text to note that
29266         setcontext from a signal handler is possible but not
29267         recommended.
29269         [BZ #16629]
29270         * stdlib/tst-setcontext.c: Include signal.h.
29271         (main): Check that the signal stack before and
29272         after swapcontext is the same.
29274         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29275         Re-implement to restore registers in user code and avoid
29276         rt_sigreturn system call.
29278 2014-04-17  Wilco  <wdijkstr@arm.com>
29280         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29281         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29282         * math/test-fenv.c: Skip exception trap tests on targets which only
29283         support non-stop mode.
29285 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29286             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29288         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29289         (libc_feholdsetround_aarch64_ctx)
29290         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29291         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29292         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29293         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29294         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29295         (libc_feresetround_noexl_ctx): Define.
29297 2014-04-16  Richard Henderson  <rth@redhat.com>
29299         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29301         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29302         unwind tables.
29304         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29305         const from the non-libc, non-ldso copy.
29307         * sysdeps/alpha/libm-test-ulps: Regenerate.
29309 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29310             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29312         * sysdeps/aarch64/fpu/math_private.h: New file.
29314 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29316         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29318 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29320         [BZ #16275]
29321         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29322         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29324         Intel MPX bound registers before _dl_profile_fixup.
29325         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29326         registers after _dl_profile_fixup.  Save and restore bound
29327         registers bnd0/bnd1 when calling _dl_call_pltexit.
29328         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29329         (LR_BND_OFFSET): Likewise.
29330         (LRV_BND0_OFFSET): Likewise.
29331         (LRV_BND1_OFFSET): Likewise.
29333 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29335         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29336         to...
29337         * sysdeps/mach/hurd/i386/tls.h: ... here.
29338         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29339         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29340         fields.
29342 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29344         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29346 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29348         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29350 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29352         [BZ #14770]
29353         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29354         * sysdeps/s390/configure: Regenerate.
29356         [BZ #16824]
29357         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29358         Set round-to-nearest internally to reduce error accumulation.
29360 2014-04-16  Alan Modra  <amodra@gmail.com>
29362         [BZ #16740]
29363         [BZ #16619]
29364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29365         * math/libm-test.inc (frexp_test_data): Add tests.
29366         * NEWS: Update fixed bug list.
29368 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29370         * benchtests/Makefile: Depend on libraries in build directory.
29371         (bench-math): Separate out math tests.
29372         (bench-pthread): Separate out pthread tests.
29373         (bench): Include math and pthread tests.
29375 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29377         [BZ #16831]
29378         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29379         _dl_debug_initialize.
29381         * configure.ac: Remove SELinux header check.
29382         * configure: Regenerate.
29383         * nscd/selinux.c (perms): Array of const char* to permission names.
29384         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29385         default policy. Call string_to_security_class and string_to_av_perm to
29386         translate strings. Enforce default policy and call avs_has_perm with
29387         results of translated strings.
29389 2014-04-13  David S. Miller  <davem@davemloft.net>
29391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29393 2014-04-12  Allan McRae  <allan@archlinux.org>
29395         [BZ #16838]
29396         * manual/string.texi (Collation Functions): Fix qsort argument
29397         order in example.
29398         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29400 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29402         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29403         Make the test a no-op if there are no exceptions defined.
29405 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29407         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29408         enable-hardcoded-path-in-tests
29410 2014-04-11  Will Newton  <will.newton@linaro.org>
29412         * benchtests/Makefile (extra-objs): Add json-lib.o.
29413         (bench-func): Tidy up JSON output.
29414         * benchtests/bench-skeleton.c: Include json-lib.h.
29415         (main): Use JSON library functions to do output of
29416         benchmark results.
29417         * benchtests/bench-timing-type.c (main): Output the
29418         timing type simply, leaving formatting to the user.
29419         * benchtests/json-lib.c: New file.
29420         * benchtests/json-lib.h: Likewise.
29422 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29424         [BZ #15215]
29425         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29426         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29427         memory barriers.  Add comments.
29428         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29429         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29430         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29431         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29432         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29433         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29435 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29437         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29438         * sysdeps/s390/s390-64/configure.ac: ... this ...
29439         * sysdeps/s390/configure.ac: ... to here.
29440         * sysdeps/s390/s390-32/configure: Delete file.
29441         * sysdeps/s390/s390-64/configure: Delete file.
29442         * sysdeps/s390/configure: Regenerate.
29444 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29446         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29448 2014-04-11  Will Newton  <will.newton@linaro.org>
29450         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29451         to zero if it is not defined elsewhere.  (mtrim): Test
29452         the value of MALLOC_DEBUG with #if rather than #ifdef.
29454 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29456         * benchtests/pthread_once-inputs: New file.
29457         * benchtests/pthread_once-source.c: New file.
29458         * benchtests/README: Update documentation.
29460 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29461             H.J. Lu  <hongjiu.lu@intel.com>
29463         [BZ #16275]
29464         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29465         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29466         * sysdeps/x86_64/configure: Regenerated.
29467         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29468         macro.
29469         (REGISTER_SAVE_RAX): Likewise.
29470         (REGISTER_SAVE_RCX): Likewise.
29471         (REGISTER_SAVE_RDX): Likewise.
29472         (REGISTER_SAVE_RSI): Likewise.
29473         (REGISTER_SAVE_RDI): Likewise.
29474         (REGISTER_SAVE_R8): Likewise.
29475         (REGISTER_SAVE_R9): Likewise.
29476         (REGISTER_SAVE_BND0): Likewise.
29477         (REGISTER_SAVE_BND1): Likewise.
29478         (REGISTER_SAVE_BND2): Likewise.
29479         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29480         bound registers when calling _dl_fixup.
29482 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29484         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29485         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29486         of its definition.
29487         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29488         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29489         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29490         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29491         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29492         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29493         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29495 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29497         [BZ #15514]
29498         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29499         pathconf(_PC_NAME_MAX).
29501 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29503         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29504         Remove macro usage.
29505         (__PTHREAD_SPINS): Move definition to ...
29506         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29507         (__PTHREAD_SPINS): ... here.
29508         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29509         (__PTHREAD_SPIN): Likewise.
29510         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29511         (__PTHREAD_SPIN): Likewise.
29512         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29513         (__PTHREAD_SPIN): Likewise.
29514         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29515         (__PTHREAD_SPIN): Likewise.
29516         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29517         (__PTHREAD_SPIN): Likewise.
29518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29519         (__PTHREAD_SPIN): Likewise.
29520         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29521         (__PTHREAD_SPIN): Likewise.
29522         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29523         (__PTHREAD_SPIN): Likewise.
29524         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29525         (__PTHREAD_SPIN): Likewise.
29526         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29527         (__PTHREAD_SPIN): Likewise.
29528         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29529         (__PTHREAD_SPIN): Likewise.
29530         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29531         (__PTHREAD_SPIN): Likewise.
29533         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29534         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29535         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29536         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29537         imply folder.
29538         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29539         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29540         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29541         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29542         correct imply path.
29543         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29544         strlen symbol for non multi-arch builds.
29545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29546         missing hidden_def and weak_alias.
29548 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29550         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29552 2014-04-07  Will Newton  <will.newton@linaro.org>
29554         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29555         and contents.  [!_LIBC] Remove #ifndef and contents.
29556         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29557         * string/memccpy.c (__memccpy): Use ANSI prototype.
29558         * string/memfrob.c (memfrob): Likewise.
29559         * string/strcoll.c (STRCOLL): Likewise.
29560         * string/strlen.c (strlen): Likewise.
29561         * string/strtok.c (STRTOK): Likewise.
29562         * string/strcat.c: Remove unused #include of memcopy.h.
29563         (strcat): Use ANSI prototype.
29564         * string/strchr.c: Remove unused #include of memcopy.h.
29565         (strchr): Use ANSI prototype.
29566         * string/strcmp.c: Remove unused #include of memcopy.h.
29567         (strcmp): Use ANSI prototype.
29568         * string/strcpy.c: Remove unused #include of memcopy.h.
29569         (strcpy): Use ANSI prototype.
29571 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29573         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29574         * config.make.in (config-extra-cppflags): Set it from
29575         libc_extra_cppflags.
29576         * configure.ac (libc_extra_cflags): Make it accumulate over
29577         configure fragments.
29578         (libc_extra_cppflags): New flag.
29579         * configure. Regenerate.
29580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29581         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29582         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29585         [BZ #16815]
29586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29587         result for FE_DOWNWARD rounding mode.
29588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29589         Likewise.
29590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29592 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29594         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29595         in function argument name.
29597 2014-04-03  David Svoboda  <svoboda@cert.org>
29599         [BZ #5666]
29600         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29601         explicitly.
29603 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29605         * elf/dl-unmap-segments.h: New file.
29606         * sysdeps/generic/ldsodefs.h
29607         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29608         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29609         * elf/dl-fptr.c: Likewise.
29610         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29611         * sysdeps/aarch64/tlsdesc.c: Likewise.
29612         * sysdeps/arm/tlsdesc.c: Likewise.
29613         * sysdeps/i386/tlsdesc.c: Likewise.
29614         * sysdeps/tile/dl-runtime.c: Likewise.
29615         * sysdeps/x86_64/tlsdesc.c: Likewise.
29616         * elf/dl-load.h: New file.
29617         * elf/dl-load.c: Include it.
29618         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29619         Macros moved to dl-load.h.
29620         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29621         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29622         Use _dl_unmap_segments in place of __munmap.
29623         Break out segment-mapping loop into ...
29624         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29626 2014-04-03  Will Newton  <will.newton@linaro.org>
29628         * elf/dl-lookup.c (do_lookup_x): Remove comment
29629         referring to nested function and move variable
29630         declarations down to before first use.
29632 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29634         [BZ #16799]
29635         [BZ #16800]
29636         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29637         with 0 numerator.
29638         * math/s_catanf.c (__catanf): Likewise.
29639         * math/s_catanh.c (__catanh): Likewise.
29640         * math/s_catanhf.c (__catanhf): Likewise.
29641         * math/s_catanhl.c (__catanhl): Likewise.
29642         * math/s_catanl.c (__catanl): Likewise.
29643         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29644         by positive zero when computing -Inf result.
29645         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29646         (catanh_test): Likewise.
29647         * sysdeps/i386/fpu/libm-test-ulps: Update.
29648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29650         [BZ #16789]
29651         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29652         instead of using underflowing value in computing result.
29653         * math/s_clog10.c (__clog10): Likewise.
29654         * math/s_clog10f.c (__clog10f): Likewise.
29655         * math/s_clog10l.c (__clog10l): Likewise.
29656         * math/s_clogf.c (__clogf): Likewise.
29657         * math/s_clogl.c (__clogl): Likewise.
29658         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29659         (clog10_test): Likewise.
29660         * sysdeps/i386/fpu/libm-test-ulps: Update.
29661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29663 2014-04-02  Alan Modra  <amodra@gmail.com>
29665         [BZ #16739]
29666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29667         output when value is near a power of two.  Use int64_t for lx and
29668         remove casts.  Use decimal rather than hex exponent constants.
29669         Don't use long double multiplication when double will suffice.
29670         * math/libm-test.inc (nextafter_test_data): Add tests.
29671         * NEWS: Add 16739 and 16786 to bug list.
29673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29675         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29677 2014-04-01  Will Newton  <will.newton@linaro.org>
29679         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29680         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29682 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29684         [BZ #13347]
29685         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29686         * nptl/tst-setuid2.c: New file.
29687         * nptl/Makefile (xtests): Add tst-setuid2.
29689 2014-04-01  Alan Modra  <amodra@gmail.com>
29691         [BZ #16786]
29692         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29694 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29696         [BZ #6803]
29697         [BZ #6804]
29698         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29699         set errno as appropriate.
29700         * math/w_scalbf.c (__scalbf): Likewise.
29701         * math/w_scalbl.c (__scalbl): Likewise.
29702         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29703         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29704         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29705         Add more NaN tests.
29707         [BZ #16349]
29708         * math/w_atan2.c: Include <errno.h>.
29709         (__atan2): Set errno for result underflowing to zero.
29710         * math/w_atan2f.c: Include <errno.h>.
29711         (__atan2f): Set errno for result underflowing to zero.
29712         * math/w_atan2l.c: Include <errno.h>.
29713         (__atan2l): Set errno for result underflowing to zero.
29714         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29715         tests.
29716         * math/auto-libm-test-out: Regenerated.
29718 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29720         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29721         Encode instruction correctly in little endian.
29722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29723         Likewise.
29724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29725         Likewise.
29726         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29727         Likewise.
29728         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29729         Likewise.
29731 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29733         [BZ #9894]
29734         * sysdeps/unix/sysv/linux/kernel-features.h
29735         [__sparc__ && !__arch64__ && !__sparc_v9__]
29736         (__ASSUME_SET_ROBUST_LIST): Do not define.
29737         [__sparc__ && !__arch64__ && !__sparc_v9__]
29738         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29739         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29740         Likewise.
29741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29742         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29743         (__ASSUME_REQUEUE_PI): Likewise.
29744         (__ASSUME_SET_ROBUST_LIST): Likewise.
29745         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29746         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29747         Undefine.
29748         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29749         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29750         Likewise.
29751         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29752         Likewise.
29753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29754         Likewise.
29755         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29756         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29757         Undefine.
29758         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29759         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29760         Likewise.
29762         [BZ #16648]
29763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29765         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29767 2014-03-31  Will Newton  <will.newton@linaro.org>
29769         * benchtests/Makefile (bench): Add ffs and ffsll to list
29770         of tests.
29771         * benchtests/ffs-inputs: New file.
29772         * benchtests/ffsll-inputs: Likewise.
29774 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29776         [BZ #16770]
29777         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29778         too large before casting to int.
29779         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29780         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29781         * math/libm-test.inc (scalb_test_data): Add more tests.
29783 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29785         * benchtests/Makefile (DETAILED_OPT): New make option.
29786         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29787         set.
29788         * benchtests/bench-skeleton.c: Include stdbool.h.
29789         (main): Store and print timings per input.
29790         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29791         member to each argument value.
29792         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29793         (_print_arg_data): Initialize per-input timing to 0.
29795         * benchtests/Makefile (timing-type): New binary.
29796         (bench-clean): Also remove bench-timing-type.
29797         (bench): New target for timing-type.
29798         (bench-func): Print output in JSON format.
29799         * benchtests/bench-skeleton.c (main): Print output in JSON
29800         format.
29801         * benchtests/bench-timing-type.c: New file.
29802         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29803         (TIMING_PRINT_STATS): Remove.
29804         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29805         name separately.
29807         * benchtests/bench-modf.c: Remove.
29808         * benchtests/modf-inputs: New inputs file.
29810 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29812         [BZ #16362]
29813         * math/s_clog10.c (M_PI_LOG10E): New macro.
29814         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29815         imaginary parts are 0.
29816         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29817         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29818         imaginary parts are 0.
29819         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29820         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29821         imaginary parts are 0.
29822         * math/libm-test.inc (clog10_test_data): Update expected results
29823         for when real and imaginary parts are 0.
29825 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29827         * elf/dl-load.c: Finish conversion of __builtin_expect into
29828         __glibc_{un}likely.
29830 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29832         [BZ #16348]
29833         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29834         1+x for argument with exponent below -67.
29835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29836         Likewise.
29837         * math/auto-libm-test-in: Add more tests of exp.
29838         * math/auto-libm-test-out: Regenerated.
29840 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29842         [BZ #16759]
29843         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29844         (nscd_getnetgrent): Use it.
29846         [BZ #16760]
29847         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29848         of stpcpy.
29850 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29852         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29853         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29854         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29855         (lll_robust_unlock): Remove out of line section. Use cfi
29856         intrinsics.
29857         (LLL_STUB_UNWIND_INFO*): Remove.
29858         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29859         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29860         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29861         (lll_robust_unlock): Remove out of line section. Use cfi
29862         intrinsics.
29863         (LLL_STUB_UNWIND_INFO*): Remove.
29865 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29867         [BZ #16758]
29868         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29869         blank values.
29871 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29873         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29875 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29877         [BZ #16198]
29878         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29879         fnstenv.
29880         * math/test-fenv-preserve.c: New file.
29881         * math/Makefile (tests): Add test-fenv-preserve.
29883 2014-03-26  Will Newton <will.newton@linaro.org>
29885         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29887 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29889         * scripts/versionlist.awk: Partition the version sets and emit all
29890         GLIBC_* (sorted) before all others (sorted).
29892 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29894         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29895         GLIBC_2.2.5 version.
29897 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29899         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29900         calls.
29902         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29903         previous change.
29905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29907 2014-03-25  Andreas Schwab  <schwab@suse.de>
29909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29910         label to be used after in6ailist is initialized.
29912 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29914         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29915         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29917 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29919         [BZ #16357]
29920         [BZ #16599]
29921         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29922         min_plus_half.
29923         (fp_formats): Update initializers.
29924         (init_fp_formats): Initialize new field.
29925         (output_for_one_input_case): Allow underflow for results up to
29926         min_plus_half.
29927         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29928         * math/auto-libm-test-in: Don't mark some underflows from asin and
29929         atanh as spurious.
29930         * math/auto-libm-test-out: Regenerated.
29931         * sysdeps/i386/fpu/libm-test-ulps: Update.
29932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29934 2014-03-25  Andreas Schwab  <schwab@suse.de>
29936         * libio/Makefile (tst-ftell-partial-wide-ENV)
29937         (tst-ftell-active-handler-ENV): Define.
29939 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29941         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29943 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29945         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29947 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29949         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29950         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29951         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29953 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29955         [BZ #16634]
29956         * elf/dl-load.c (open_verify): Add mode parameter.
29957         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29958         (open_path): Change from boolean 'secure' to complete flag 'mode'
29959         (_dl_map_object): Adjust.
29960         * elf/Makefile (tests): Add tst-dlopen-aout.
29961         * elf/tst-dlopen-aout.c: New test.
29963 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29965         [BZ #16714]
29966         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29967         (struct stat): Rename member pad0 to __glibc_reserved0.
29969         [BZ #16712]
29970         * sysdeps/s390/s390-32/bits/wordsize.h
29971         (__WORDSIZE32_SIZE_ULONG): New define.
29972         * sysdeps/s390/s390-64/bits/wordsize.h
29973         (__WORDSIZE32_SIZE_ULONG): Likewise.
29974         * sysdeps/generic/stdint.h (SIZE_MAX):
29975         Define as UL if __WORDSIZE32_SIZE_ULONG.
29977         [BZ #16713]
29978         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29979         (__glibc_reserved0): New variable.
29980         (sa_flags): Change type to int.
29982         * posix/Makefile (before-compile): Use += before-compile instead
29983         of a :=.
29985         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29986         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29988 2014-03-20  Andreas Schwab  <schwab@suse.de>
29990         [BZ #16743]
29991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29992         non-matching result from nscd.
29994 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29996         * scripts/bench.py: Moved to ...
29997         * benchtests/scripts/bench.py: ... here.
29998         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30000 2014-03-24  Andreas Schwab  <schwab@suse.de>
30002         [BZ #16002]
30003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30004         alloca_account and account alloca use for struct in6ailist.
30006 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30008         [BZ #16284]
30009         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30010         rounding mode to recompute results that overflow to infinity or
30011         underflow to zero.
30012         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30013         bug 16284.
30014         * math/auto-libm-test-out: Regenerated.
30015         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30016         (ccosh_test): Likewise.
30017         (csin_test_data): Use plus_oflow.
30018         (csin_test): Use ALL_RM_TEST.
30019         (csinh_test_data): Use plus_oflow.
30020         (csinh_test): Use ALL_RM_TEST.
30021         * sysdeps/i386/fpu/libm-test-ulps: Update.
30022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30024 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30026         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30027         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30028         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30030         [BZ #16731]
30031         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30032         when x - 1 is zero.
30033         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30034         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30035         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30036         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30037         argument is 1.
30038         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30039         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30040         zero.
30041         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30042         * sysdeps/i386/fpu/libm-test-ulps: Update.
30043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30045 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30047         * scripts/bench.pl: Remove file.
30048         * scripts/bench.py: New benchmark script.
30049         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30050         * benchtests/README: Mention python dependency.
30051         * scripts/pylintrc: New file.
30052         * scripts/pylint: New file.
30054         * bits/mathdef.h: Use #ifdef instead of #if.
30055         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30056         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30057         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30058         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30059         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30060         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30062 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30063             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30065         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30067         and strpbrk-ppc64 objects.
30068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30069         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30070         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30071         multiarch strpbrk for POWER7.
30072         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30073         multiarch strpbrk for PPC64.
30074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30075         ifunc selector.
30076         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30077         strpbrk for POWER7.
30079 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30081         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30082         (atan_test): Likewise.
30083         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30084         (atanh_test): Use ALL_RM_TEST.
30085         (atan2_test_data): Likewise.
30086         (cabs_test): Likewise.
30087         (cacosh_test): Likewise.
30088         (carg_test): Likewise.
30089         (casin_test): Likewise.
30090         (casinh_test): Likewise.
30091         (cbrt_test): Likewise.
30092         (csqrt_test): Likewise.
30093         (erf_test): Likewise.
30094         (erfc_test): Likewise.
30095         (pow10_test): Likewise.
30096         (exp2_test): Likewise.
30097         (hypot_test): Likewise.
30098         (j0_test): Likewise.
30099         (j1_test): Likewise.
30100         (lgamma_test): Likewise.
30101         (gamma_test): Likewise.
30102         (sincos_test): Likewise.
30103         (tanh_test): Likewise.
30104         (y0_test): Likewise.
30105         (y1_test): Likewise.
30106         * sysdeps/i386/fpu/libm-test-ulps: Update.
30107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30109 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30111         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30113         and strcspn-ppc64 objects.
30114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30115         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30116         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30117         multiarch strcspn for POWER7.
30118         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30119         multiarch strcspn for PPC64.
30120         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30121         ifunc selector.
30122         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30123         strcspn for POWER7.
30125 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30127         * math/gen-libm-test.pl (generate_testfile): Expect only function
30128         name as argument to AUTO_TESTS_* and pass results for all rounding
30129         modes to parse_args.
30130         (parse_auto_input): Separate inputs of automatic tests from
30131         outputs before storing in %auto_tests.
30132         * math/libm-test.inc (acos_test_data): Update call to
30133         AUTO_TESTS_f_f.
30134         (acos_test): Use ALL_RM_TEST.
30135         (acos_tonearest_test_data): Remove.
30136         (acos_test_tonearest): Likewise.
30137         (acos_towardzero_test_data): Likewise.
30138         (acos_test_towardzero): Likewise.
30139         (acos_downward_test_data): Likewise.
30140         (acos_test_downward): Likewise.
30141         (acos_upward_test_data): Likewise.
30142         (acos_test_upward): Likewise.
30143         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30144         (asin_test_data): Likewise.
30145         (asin_test): Use ALL_RM_TEST.
30146         (asin_tonearest_test_data): Remove.
30147         (asin_test_tonearest): Likewise.
30148         (asin_towardzero_test_data): Likewise.
30149         (asin_test_towardzero): Likewise.
30150         (asin_downward_test_data): Likewise.
30151         (asin_test_downward): Likewise.
30152         (asin_upward_test_data): Likewise.
30153         (asin_test_upward): Likewise.
30154         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30155         (atan_test_data): Likewise.
30156         (atanh_test_data): Likewise.
30157         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30158         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30159         (carg_test_data): Likewise.
30160         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30161         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30162         (ccosh_test_data): Likewise.
30163         (cexp_test_data): Likewise.
30164         (clog_test_data): Likewise.
30165         (clog10_test_data): Likewise.
30166         (cos_test_data): Update call to AUTO_TESTS_f_f.
30167         (cos_test): Use ALL_RM_TEST.
30168         (cos_tonearest_test_data): Remove.
30169         (cos_test_tonearest): Likewise.
30170         (cos_towardzero_test_data): Likewise.
30171         (cos_test_towardzero): Likewise.
30172         (cos_downward_test_data): Likewise.
30173         (cos_test_downward): Likewise.
30174         (cos_upward_test_data): Likewise.
30175         (cos_test_upward): Likewise.
30176         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30177         (cosh_test): Use ALL_RM_TEST.
30178         (cosh_tonearest_test_data): Remove.
30179         (cosh_test_tonearest): Likewise.
30180         (cosh_towardzero_test_data): Likewise.
30181         (cosh_test_towardzero): Likewise.
30182         (cosh_downward_test_data): Likewise.
30183         (cosh_test_downward): Likewise.
30184         (cosh_upward_test_data): Likewise.
30185         (cosh_test_upward): Likewise.
30186         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30187         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30188         (ctan_test_data): Likewise.
30189         (ctan_test): Use ALL_RM_TEST.
30190         (ctan_tonearest_test_data): Remove.
30191         (ctan_test_tonearest): Likewise.
30192         (ctan_towardzero_test_data): Likewise.
30193         (ctan_test_towardzero): Likewise.
30194         (ctan_downward_test_data): Likewise.
30195         (ctan_test_downward): Likewise.
30196         (ctan_upward_test_data): Likewise.
30197         (ctan_test_upward): Likewise.
30198         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30199         (ctanh_test): Use ALL_RM_TEST.
30200         (ctanh_tonearest_test_data): Remove.
30201         (ctanh_test_tonearest): Likewise.
30202         (ctanh_towardzero_test_data): Likewise.
30203         (ctanh_test_towardzero): Likewise.
30204         (ctanh_downward_test_data): Likewise.
30205         (ctanh_test_downward): Likewise.
30206         (ctanh_upward_test_data): Likewise.
30207         (ctanh_test_upward): Likewise.
30208         (erf_test_data): Update call to AUTO_TESTS_f_f.
30209         (erfc_test_data): Likewise.
30210         (exp_test_data): Likewise.
30211         (exp_test): Use ALL_RM_TEST.
30212         (exp_tonearest_test_data): Remove.
30213         (exp_test_tonearest): Likewise.
30214         (exp_towardzero_test_data): Likewise.
30215         (exp_test_towardzero): Likewise.
30216         (exp_downward_test_data): Likewise.
30217         (exp_test_downward): Likewise.
30218         (exp_upward_test_data): Likewise.
30219         (exp_test_upward): Likewise.
30220         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30221         (exp10_test): Use ALL_RM_TEST.
30222         (exp10_tonearest_test_data): Remove.
30223         (exp10_test_tonearest): Likewise.
30224         (exp10_towardzero_test_data): Likewise.
30225         (exp10_test_towardzero): Likewise.
30226         (exp10_downward_test_data): Likewise.
30227         (exp10_test_downward): Likewise.
30228         (exp10_upward_test_data): Likewise.
30229         (exp10_test_upward): Likewise.
30230         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30231         (expm1_test_data): Likewise.
30232         (expm1_test): Use ALL_RM_TEST.
30233         (expm1_tonearest_test_data): Remove.
30234         (expm1_test_tonearest): Likewise.
30235         (expm1_towardzero_test_data): Likewise.
30236         (expm1_test_towardzero): Likewise.
30237         (expm1_downward_test_data): Likewise.
30238         (expm1_test_downward): Likewise.
30239         (expm1_upward_test_data): Likewise.
30240         (expm1_test_upward): Likewise.
30241         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30242         (fma_test): Use ALL_RM_TEST.
30243         (fma_towardzero_test_data): Remove.
30244         (fma_test_towardzero): Likewise.
30245         (fma_downward_test_data): Likewise.
30246         (fma_test_downward): Likewise.
30247         (fma_upward_test_data): Likewise.
30248         (fma_test_upward): Likewise.
30249         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30250         (j0_test_data): Update call to AUTO_TESTS_f_f.
30251         (j1_test_data): Likewise.
30252         (jn_test_data): Update call to AUTO_TESTS_if_f.
30253         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30254         (log_test_data): Update call to AUTO_TESTS_f_f.
30255         (log10_test_data): Likewise.
30256         (log1p_test_data): Likewise.
30257         (log2_test_data): Likewise.
30258         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30259         (pow_tonearest_test_data): Likewise.
30260         (sin_test_data): Update call to AUTO_TESTS_f_f.
30261         (sin_test): Use ALL_RM_TEST.
30262         (sin_tonearest_test_data): Remove.
30263         (sin_test_tonearest): Likewise.
30264         (sin_towardzero_test_data): Likewise.
30265         (sin_test_towardzero): Likewise.
30266         (sin_downward_test_data): Likewise.
30267         (sin_test_downward): Likewise.
30268         (sin_upward_test_data): Likewise.
30269         (sin_test_upward): Likewise.
30270         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30271         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30272         (sinh_test): Use ALL_RM_TEST.
30273         (sinh_tonearest_test_data): Remove.
30274         (sinh_test_tonearest): Likewise.
30275         (sinh_towardzero_test_data): Likewise.
30276         (sinh_test_towardzero): Likewise.
30277         (sinh_downward_test_data): Likewise.
30278         (sinh_test_downward): Likewise.
30279         (sinh_upward_test_data): Likewise.
30280         (sinh_test_upward): Likewise.
30281         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30282         (sqrt_test): Use ALL_RM_TEST.
30283         (sqrt_tonearest_test_data): Remove.
30284         (sqrt_test_tonearest): Likewise.
30285         (sqrt_towardzero_test_data): Likewise.
30286         (sqrt_test_towardzero): Likewise.
30287         (sqrt_downward_test_data): Likewise.
30288         (sqrt_test_downward): Likewise.
30289         (sqrt_upward_test_data): Likewise.
30290         (sqrt_test_upward): Likewise.
30291         (tan_test_data): Update call to AUTO_TESTS_f_f.
30292         (tan_test): Use ALL_RM_TEST.
30293         (tan_tonearest_test_data): Remove.
30294         (tan_test_tonearest): Likewise.
30295         (tan_towardzero_test_data): Likewise.
30296         (tan_test_towardzero): Likewise.
30297         (tan_downward_test_data): Likewise.
30298         (tan_test_downward): Likewise.
30299         (tan_upward_test_data): Likewise.
30300         (tan_test_upward): Likewise.
30301         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30302         (tgamma_test_data): Likewise.
30303         (y0_test_data): Likewise.
30304         (y1_test_data): Likewise.
30305         (yn_test_data): Update call to AUTO_TESTS_if_f.
30306         (main): Do not call removed functions.
30308 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30310         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30311         (ldexp_test_data): Remove.
30312         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30313         scalbn_test_data.
30314         (scalb_test): Use ALL_RM_TEST.
30316 2014-03-19  Andreas Schwab  <schwab@suse.de>
30318         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30320 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30322         [BZ #16649]
30323         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30324         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30325         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30327         (__ASSUME_PREADV): Undefine.
30328         (__ASSUME_PWRITEV): Likewise.
30330 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30332         * bits/mman-linux.h: Add comment about non-Linux use.
30333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30334         bits/mman-linux.h resting place.
30336         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30337         * bits/mman-linux.h: ... here.
30339 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30341         * conform/conformtest.pl: Add standard definition when calling C
30342         preprocessor on data files.
30343         (checknamespace): Remove unused variable.
30345 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30347         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30348         minus_oflow, plus_uflow and minus_uflow in expected results.
30349         * math/libm-test.inc (scalbn_test_data): Add more tests of
30350         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30351         minus_uflow.
30352         (scalbn_test): Use ALL_RM_TEST.
30353         (scalbln_test_data): Add more tests of negative arguments.  Use
30354         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30355         (scalbln_test): Use ALL_RM_TEST.
30357 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30359         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30361 2014-03-18  Will Newton  <will.newton@linaro.org>
30363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30364         inaccurate comment.
30366 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30368         * Makerules [!subdir] (check-abi): Exit with error status if a
30369         test failed.
30371 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30373         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30374         for rint.  Include results for all rounding modes.
30375         (nearbyint_test): Use ALL_RM_TEST.
30376         (rint_test_data): Include all tests used for nearbyint.
30378 2014-03-17  Will Newton  <will.newton@linaro.org>
30380         * nptl/sysdeps/pthread/pthread.h: Revert previous
30381         change.
30383         * sysdeps/generic/ldsodefs.h: Revert previous
30384         change.
30386         * libio/genops.c: Revert previous change.
30387         * libio/libioP.h: Likewise.
30388         * stdio-common/vfprintf.c: Likewise.
30390         * sysdeps/generic/math_private.h: Revert previous
30391         change.
30393         * sysdeps/generic/math_private.h: Check whether
30394         HAVE_RM_CTX is defined with #ifdef rather
30395         than #if.
30397         * argp/argp-fmtstream.h: Check whether
30398         __STRICT_ANSI__ is defined with #ifdef rather
30399         than #if.
30400         * argp/argp.h: Likewise.
30402         * libio/genops.c: Check whether
30403         _IO_JUMPS_OFFSET is defined with #ifdef rather
30404         than #if.
30405         * libio/libioP.h: Likewise.
30406         * stdio-common/vfprintf.c: Likewise.
30408         * sysdeps/generic/ldsodefs.h: Check whether
30409         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30410         than #if.
30412         * nptl/sysdeps/pthread/pthread.h: Check
30413         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30414         its value.
30416 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30418         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30419         setting O_APPEND.
30420         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30421         test case.
30423         [BZ #16680]
30424         * libio/fileops.c (_IO_file_open): Seek to end of file but
30425         don't cache the offset.
30426         (get_file_offset): Remove function.
30427         (do_ftell): Use cached offset when available.
30428         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30429         don't cache the offset.
30430         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30431         case.
30432         (do_one_test): Call it.
30433         (do_ftell_test): Fix up expected old offset for a+ mode.
30434         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30435         available.
30437         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30438         up test status with function return status.
30439         (do_write_test): Likewise.
30440         (do_append_test): Likewise.
30442         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30443         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30444         Remove.
30446 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30448         * math/gen-libm-test.pl (parse_args): Handle results specified for
30449         each rounding mode separately.
30450         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30451         tests and results from lrint_tonearest_test_data,
30452         lrint_towardzero_test_data, lrint_downward_test_data and
30453         lrint_upward_test_data.
30454         (lrint_test): Use ALL_RM_TEST.
30455         (lrint_tonearest_test_data): Remove.
30456         (lrint_test_tonearest): Likewise.
30457         (lrint_towardzero_test_data): Likewise.
30458         (lrint_test_towardzero): Likewise.
30459         (lrint_downward_test_data): Likewise.
30460         (lrint_test_downward): Likewise.
30461         (lrint_upward_test_data): Likewise.
30462         (lrint_test_upward): Likewise.
30463         (llrint_test_data): Merge in per-rounding-mode tests and results
30464         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30465         llrint_downward_test_data and llrint_upward_test_data.
30466         (llrint_test): Use ALL_RM_TEST.
30467         (llrint_tonearest_test_data): Remove.
30468         (llrint_test_tonearest): Likewise.
30469         (llrint_towardzero_test_data): Likewise.
30470         (llrint_test_towardzero): Likewise.
30471         (llrint_downward_test_data): Likewise.
30472         (llrint_test_downward): Likewise.
30473         (llrint_upward_test_data): Likewise.
30474         (llrint_test_upward): Likewise.
30475         (rint_test_data): Merge in per-rounding-mode tests and results
30476         from rint_tonearest_test_data, rint_towardzero_test_data,
30477         rint_downward_test_data and rint_upward_test_data.  Add
30478         per-rounding-mode results for tests not in those arrays.
30479         (rint_test): Use ALL_RM_TEST.
30480         (rint_tonearest_test_data): Remove.
30481         (rint_test_tonearest): Likewise.
30482         (rint_towardzero_test_data): Likewise.
30483         (rint_test_towardzero): Likewise.
30484         (rint_downward_test_data): Likewise.
30485         (rint_test_downward): Likewise.
30486         (rint_upward_test_data): Likewise.
30487         (rint_test_upward): Likewise.
30488         (main): Don't call removed functions.
30490 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30492         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30493         "Compiled on ..." crapola.  It is anti-useful.
30495 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30497         * scripts/evaluate-test.sh: Handle fourth argument to determine
30498         whether test run should stop on failure.
30499         * Makeconfig (stop-on-test-failure): New variable.
30500         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30501         $(stop-on-test-failure).
30502         * Makefile (tests): Give a summary of results from testing and
30503         exit with failure status if they include an ERROR or FAIL.
30504         (xtests): Likewise.
30505         * manual/install.texi (Configuring and compiling): Mention
30506         stop-on-test-failure=y.
30507         * INSTALL: Regenerated.
30509 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30511         * scripts/versionlist.awk: New file.
30512         * Makerules [$(build-shared) = yes]
30513         (postclean-generated): Add Versions.def, not Versions.def.v and
30514         Versions.def.v.i.
30515         ($(common-objpfx)Versions.def.v.i): Target removed.
30516         ($(common-objpfx)Versions.def): New target.
30517         ($(common-objpfx)Versions.all): Depend on that rather that
30518         $(common-objpfx)Versions.def.v.
30519         * Versions.def: File removed.
30521         * Makeconfig (+gccwarn): Add -Wundef.
30522         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30523         a dl-sysdep.h breaking its contract.
30524         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30525         * include/stackinfo.h: New file.
30526         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30527         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30528         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30529         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30530         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30531         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30532         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30533         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30534         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30535         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30536         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30537         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30538         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30539         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30540         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30542 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30544         [BZ #16707]
30545         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30546         implementation.
30547         * math/libm-test.inc (round_test_data): Add more tests.
30549         [BZ #16706]
30550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30551         implementation.
30552         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30554         [BZ #16701]
30555         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30556         implementation.
30557         * math/libm-test.inc (ceil_test_data): Add more tests.
30559         * math/libm-test.inc (trunc_test_data): Add more tests related to
30560         BZ#16414.
30562 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30564         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30565         with #if rather than #ifdef.
30566         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30568 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30570         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30571         first.  Disable AVX-512 GCC support if assembler doesn't support
30572         it.
30573         * sysdeps/x86_64/configure: Regenerated.
30575 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30577         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30578         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30579         (__old_pthread_attr_setstack): Likewise.
30580         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30581         [!_STACK_GROWS_DOWN]: Likewise.
30583 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30585         * config.make.in (have-bash2): Delete.
30586         * configure.ac (libc_cv_have_bash2): Delete.
30587         * configure: Regenerate.
30588         * elf/Makefile (common-ldd-rewrite): Rename to ...
30589         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30590         (sh-ldd-rewrite): Delete.
30591         (bash-ldd-rewrite): Delete.
30592         (have-bash2): Delete checks.
30593         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30594         ldd-rewrite.
30596         * config.make.in (have-ksh): Delete.
30597         (KSH): Delete.
30598         * configure.ac (libc_cv_have_ksh): Delete.
30599         * configure: Regenerate.
30601         * elf/Makefile: Delete $(have-ksh) check.
30602         ($(objpfx)sotruss): Change KSH to BASH.
30603         * elf/sotruss.ksh: Rename to ...
30604         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30605         function style to match POSIX.  Drop ksh vim mode setting.
30607         * manual/time.texi (Specifying the Time Zone with TZ): Change
30608         Tuesday to Thursday.
30610         * debug/tst-longjmp_chk2.c: Update header comment.
30611         (stackoverflow_handler): Add comment.  Call assert on pass value.
30613 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30615         [BZ #16194]
30616         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30617         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30618         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30619         (La_x86_64_vector): Add zmm.
30620         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30621         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30622         ($(objpfx)tst-audit10): New target.
30623         ($(objpfx)tst-audit10.out): Likewise.
30624         (tst-audit10-ENV): New.
30625         (AVX512-CFLAGS): Likewise.
30626         (CFLAGS-tst-audit10.c): Likewise.
30627         (CFLAGS-tst-auditmod10a.c): Likewise.
30628         (CFLAGS-tst-auditmod10b.c): Likewise.
30629         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30630         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30631         * sysdeps/x86_64/configure: Regenerated.
30632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30633         AVX-512 zmm register support.
30634         (_dl_x86_64_save_sse): Likewise.
30635         (_dl_x86_64_restore_sse): Likewise.
30636         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30637         size vector registers.
30638         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30639         (ZMM_SIZE): Likewise.
30640         * sysdeps/x86_64/tst-audit10.c: New file.
30641         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30642         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30644 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30646         * configure.ac (HAVE_EHDR_START): New check.
30647         * configure: Regenerated.
30648         * config.h.in (HAVE_EHDR_START): New #undef.
30649         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30650         assuming the lowest-addressed segment maps the start of the file.
30652 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30654         * INSTALL: Regenerated.
30656 2014-03-13  Will Newton  <will.newton@linaro.org>
30658         * manual/setjmp.texi (System V contexts): Improve
30659         clarity and grammar of documentation.
30661 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30663         [BZ #16381]
30664         * elf/Makefile (tests): Add tst-pie2.
30665         (tests-pie): Add tst-pie2.
30666         * elf/tst-pie2.c: New file.
30667         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30668         for ET_EXEC.
30669         * elf/rtld.c (map_doit): Load executable as lt_executable.
30670         (dl_main): Likewise.
30672 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #16642]
30675         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30676         (__ASSUME_PSELECT): Undefine.
30678 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30680         [BZ #16689]
30681         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30682         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30683         static build.
30684         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30685         selector for static builds.
30687 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30689         [BZ #16695]
30690         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30691         key in the buffer.
30693 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30695         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30696         IFUNC selector for static builds.
30698 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30700         * sysdeps/mips/math_private.h [__mips_hard_float]
30701         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30702         libc_feresetround_mips_ctx.
30703         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30704         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30705         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30707         [BZ #16677]
30708         * math/s_nextafter.c (__nextafter): Do not return value from
30709         overflowing computation.
30710         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30711         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30712         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30713         Likewise.
30714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30715         Likewise.
30716         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30717         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30719 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30721         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30722         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30723         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30724         the new mov targetting sp.
30726 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30728         [BZ #16683]
30729         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30730         Define it for static builds as well.
30731         (NO_BZERO_IMPL): Likewise.
30733 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30735         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30736         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30737         multiarch strspn for PPC64.
30738         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30739         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30741         (__libc_ifunc_impl_list): Likewise.
30742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30743         multiarch optimizations
30744         * string/strspn.c (strspn): Using macro to redefine symbol name.
30746 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30747             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30749         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30750         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30751         multiarch strncat for PPC64.
30752         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30753         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30755         (__libc_ifunc_impl_list): Likewise.
30756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30757         multiarch optimizations
30759 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         [BZ #16639]
30762         * nscd/nscd.service: Make service type forking.
30764 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30766         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30767         sign in non default rounding modes.
30768         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30770 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30772         * math/libm-test.inc (ALL_RM_TEST): New macro.
30773         (ceil_test): Use ALL_RM_TEST.
30774         (cimag_test): Likewise.
30775         (conj_test): Likewise.
30776         (copysign_test): Likewise.
30777         (cproj_test): Likewise.
30778         (creal_test): Likewise.
30779         (fabs_test): Likewise.
30780         (floor_test): Likewise.
30781         (fmax_test): Likewise.
30782         (fmin_test): Likewise.
30783         (fmod_test): Likewise.
30784         (fpclassify_test): Likewise.
30785         (frexp_test): Likewise.
30786         (ilogb_test): Likewise.
30787         (isfinite_test): Likewise.
30788         (finite_test): Likewise.
30789         (isgreater_test): Likewise.
30790         (isgreaterequal_test): Likewise.
30791         (isinf_test): Likewise.
30792         (isless_test): Likewise.
30793         (islessequal_test): Likewise.
30794         (islessgreater_test): Likewise.
30795         (isnan_test): Likewise.
30796         (isnormal_test): Likewise.
30797         (issignaling_test): Likewise.
30798         (isunordered_test): Likewise.
30799         (logb_test): Likewise.
30800         (logb_downward_test_data): Remove.
30801         (logb_test_downward): Likewise.
30802         (lround_test): Use ALL_RM_TEST.
30803         (llround_test): Likewise.
30804         (modf_test): Likewise.
30805         (nexttoward_test): Likewise.
30806         (remainder_test): Likewise.
30807         (drem_test): Likewise.
30808         (remainder_tonearest_test_data): Likewise.
30809         (remainder_test_tonearest): Likewise.
30810         (drem_test_tonearest): Likewise.
30811         (remainder_towardzero_test_data): Likewise.
30812         (remainder_test_towardzero): Likewise.
30813         (drem_test_towardzero): Likewise.
30814         (remainder_downward_test_data): Likewise.
30815         (remainder_test_downward): Likewise.
30816         (drem_test_downward): Likewise.
30817         (remainder_upward_test_data): Likewise.
30818         (remainder_test_upward): Likewise.
30819         (drem_test_upward): Likewise.
30820         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30821         (round_test): Use ALL_RM_TEST.
30822         (signbit_test): Likewise.
30823         (trunc_test): Likewise.
30824         (significand_test): Likewise.
30825         (main): Don't call removed functions.
30827 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30829         [BZ #16674]
30830         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30831         || __USE_XOPEN2K8].
30832         (ILL_ILLOPN): Likewise.
30833         (ILL_ILLADR): Likewise.
30834         (ILL_ILLTRP): Likewise.
30835         (ILL_PRVOPC): Likewise.
30836         (ILL_PRVREG): Likewise.
30837         (ILL_COPROC): Likewise.
30838         (ILL_BADSTK): Likewise.
30839         (FPE_INTDIV): Likewise.
30840         (FPE_INTOVF): Likewise.
30841         (FPE_FLTDIV): Likewise.
30842         (FPE_FLTOVF): Likewise.
30843         (FPE_FLTUND): Likewise.
30844         (FPE_FLTRES): Likewise.
30845         (FPE_FLTINV): Likewise.
30846         (FPE_FLTSUB): Likewise.
30847         (SEGV_MAPERR): Likewise.
30848         (SEGV_ACCERR): Likewise.
30849         (BUS_ADRALN): Likewise.
30850         (BUS_ADRERR): Likewise.
30851         (BUS_OBJERR): Likewise.
30852         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30853         (TRAP_TRACE): Likewise.
30854         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30855         __USE_XOPEN2K8].
30856         (CLD_KILLED): Likewise.
30857         (CLD_DUMPED): Likewise.
30858         (CLD_TRAPPED): Likewise.
30859         (CLD_STOPPED): Likewise.
30860         (CLD_CONTINUED): Likewise.
30861         (POLL_IN): Likewise.
30862         (POLL_OUT): Likewise.
30863         (POLL_MSG): Likewise.
30864         (POLL_ERR): Likewise.
30865         (POLL_PRI): Likewise.
30866         (POLL_HUP): Likewise.
30867         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30868         Likewise.
30869         (ILL_ILLOPN): Likewise.
30870         (ILL_ILLADR): Likewise.
30871         (ILL_ILLTRP): Likewise.
30872         (ILL_PRVOPC): Likewise.
30873         (ILL_PRVREG): Likewise.
30874         (ILL_COPROC): Likewise.
30875         (ILL_BADSTK): Likewise.
30876         (FPE_INTDIV): Likewise.
30877         (FPE_INTOVF): Likewise.
30878         (FPE_FLTDIV): Likewise.
30879         (FPE_FLTOVF): Likewise.
30880         (FPE_FLTUND): Likewise.
30881         (FPE_FLTRES): Likewise.
30882         (FPE_FLTINV): Likewise.
30883         (FPE_FLTSUB): Likewise.
30884         (SEGV_MAPERR): Likewise.
30885         (SEGV_ACCERR): Likewise.
30886         (BUS_ADRALN): Likewise.
30887         (BUS_ADRERR): Likewise.
30888         (BUS_OBJERR): Likewise.
30889         (BUS_MCEERR_AR): Likewise.
30890         (BUS_MCEERR_AO): Likewise.
30891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30892         (TRAP_TRACE): Likewise.
30893         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30894         __USE_XOPEN2K8].
30895         (CLD_KILLED): Likewise.
30896         (CLD_DUMPED): Likewise.
30897         (CLD_TRAPPED): Likewise.
30898         (CLD_STOPPED): Likewise.
30899         (CLD_CONTINUED): Likewise.
30900         (POLL_IN): Likewise.
30901         (POLL_OUT): Likewise.
30902         (POLL_MSG): Likewise.
30903         (POLL_ERR): Likewise.
30904         (POLL_PRI): Likewise.
30905         (POLL_HUP): Likewise.
30906         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30907         (ILL_ILLOPN): Likewise.
30908         (ILL_ILLADR): Likewise.
30909         (ILL_ILLTRP): Likewise.
30910         (ILL_PRVOPC): Likewise.
30911         (ILL_PRVREG): Likewise.
30912         (ILL_COPROC): Likewise.
30913         (ILL_BADSTK): Likewise.
30914         (FPE_INTDIV): Likewise.
30915         (FPE_INTOVF): Likewise.
30916         (FPE_FLTDIV): Likewise.
30917         (FPE_FLTOVF): Likewise.
30918         (FPE_FLTUND): Likewise.
30919         (FPE_FLTRES): Likewise.
30920         (FPE_FLTINV): Likewise.
30921         (FPE_FLTSUB): Likewise.
30922         (SEGV_MAPERR): Likewise.
30923         (SEGV_ACCERR): Likewise.
30924         (BUS_ADRALN): Likewise.
30925         (BUS_ADRERR): Likewise.
30926         (BUS_OBJERR): Likewise.
30927         (BUS_MCEERR_AR): Likewise.
30928         (BUS_MCEERR_AO): Likewise.
30929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30930         (TRAP_TRACE): Likewise.
30931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30932         __USE_XOPEN2K8].
30933         (CLD_KILLED): Likewise.
30934         (CLD_DUMPED): Likewise.
30935         (CLD_TRAPPED): Likewise.
30936         (CLD_STOPPED): Likewise.
30937         (CLD_CONTINUED): Likewise.
30938         (POLL_IN): Likewise.
30939         (POLL_OUT): Likewise.
30940         (POLL_MSG): Likewise.
30941         (POLL_ERR): Likewise.
30942         (POLL_PRI): Likewise.
30943         (POLL_HUP): Likewise.
30944         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30945         Likewise.
30946         (ILL_ILLOPN): Likewise.
30947         (ILL_ILLADR): Likewise.
30948         (ILL_ILLTRP): Likewise.
30949         (ILL_PRVOPC): Likewise.
30950         (ILL_PRVREG): Likewise.
30951         (ILL_COPROC): Likewise.
30952         (ILL_BADSTK): Likewise.
30953         (ILL_BADIADDR): Likewise.
30954         (ILL_BREAK): Likewise.
30955         (FPE_INTDIV): Likewise.
30956         (FPE_INTOVF): Likewise.
30957         (FPE_FLTDIV): Likewise.
30958         (FPE_FLTOVF): Likewise.
30959         (FPE_FLTUND): Likewise.
30960         (FPE_FLTRES): Likewise.
30961         (FPE_FLTINV): Likewise.
30962         (FPE_FLTSUB): Likewise.
30963         (FPE_DECOVF): Likewise.
30964         (FPE_DECDIV): Likewise.
30965         (FPE_DECERR): Likewise.
30966         (FPE_INVASC): Likewise.
30967         (FPE_INVDEC): Likewise.
30968         (SEGV_MAPERR): Likewise.
30969         (SEGV_ACCERR): Likewise.
30970         (SEGV_PSTKOVF): Likewise.
30971         (BUS_ADRALN): Likewise.
30972         (BUS_ADRERR): Likewise.
30973         (BUS_OBJERR): Likewise.
30974         (BUS_MCEERR_AR): Likewise.
30975         (BUS_MCEERR_AO): Likewise.
30976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30977         (TRAP_TRACE): Likewise.
30978         (TRAP_BRANCH): Likewise.
30979         (TRAP_HWBKPT): Likewise.
30980         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30981         __USE_XOPEN2K8].
30982         (CLD_KILLED): Likewise.
30983         (CLD_DUMPED): Likewise.
30984         (CLD_TRAPPED): Likewise.
30985         (CLD_STOPPED): Likewise.
30986         (CLD_CONTINUED): Likewise.
30987         (POLL_IN): Likewise.
30988         (POLL_OUT): Likewise.
30989         (POLL_MSG): Likewise.
30990         (POLL_ERR): Likewise.
30991         (POLL_PRI): Likewise.
30992         (POLL_HUP): Likewise.
30993         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30994         (ILL_ILLOPN): Likewise.
30995         (ILL_ILLADR): Likewise.
30996         (ILL_ILLTRP): Likewise.
30997         (ILL_PRVOPC): Likewise.
30998         (ILL_PRVREG): Likewise.
30999         (ILL_COPROC): Likewise.
31000         (ILL_BADSTK): Likewise.
31001         (FPE_INTDIV): Likewise.
31002         (FPE_INTOVF): Likewise.
31003         (FPE_FLTDIV): Likewise.
31004         (FPE_FLTOVF): Likewise.
31005         (FPE_FLTUND): Likewise.
31006         (FPE_FLTRES): Likewise.
31007         (FPE_FLTINV): Likewise.
31008         (FPE_FLTSUB): Likewise.
31009         (SEGV_MAPERR): Likewise.
31010         (SEGV_ACCERR): Likewise.
31011         (BUS_ADRALN): Likewise.
31012         (BUS_ADRERR): Likewise.
31013         (BUS_OBJERR): Likewise.
31014         (BUS_MCEERR_AR): Likewise.
31015         (BUS_MCEERR_AO): Likewise.
31016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31017         (TRAP_TRACE): Likewise.
31018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31019         __USE_XOPEN2K8].
31020         (CLD_KILLED): Likewise.
31021         (CLD_DUMPED): Likewise.
31022         (CLD_TRAPPED): Likewise.
31023         (CLD_STOPPED): Likewise.
31024         (CLD_CONTINUED): Likewise.
31025         (POLL_IN): Likewise.
31026         (POLL_OUT): Likewise.
31027         (POLL_MSG): Likewise.
31028         (POLL_ERR): Likewise.
31029         (POLL_PRI): Likewise.
31030         (POLL_HUP): Likewise.
31031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31032         (ILL_ILLOPN): Likewise.
31033         (ILL_ILLADR): Likewise.
31034         (ILL_ILLTRP): Likewise.
31035         (ILL_PRVOPC): Likewise.
31036         (ILL_PRVREG): Likewise.
31037         (ILL_COPROC): Likewise.
31038         (ILL_BADSTK): Likewise.
31039         (FPE_INTDIV): Likewise.
31040         (FPE_INTOVF): Likewise.
31041         (FPE_FLTDIV): Likewise.
31042         (FPE_FLTOVF): Likewise.
31043         (FPE_FLTUND): Likewise.
31044         (FPE_FLTRES): Likewise.
31045         (FPE_FLTINV): Likewise.
31046         (FPE_FLTSUB): Likewise.
31047         (SEGV_MAPERR): Likewise.
31048         (SEGV_ACCERR): Likewise.
31049         (BUS_ADRALN): Likewise.
31050         (BUS_ADRERR): Likewise.
31051         (BUS_OBJERR): Likewise.
31052         (BUS_MCEERR_AR): Likewise.
31053         (BUS_MCEERR_AO): Likewise.
31054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31055         (TRAP_TRACE): Likewise.
31056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31057         __USE_XOPEN2K8].
31058         (CLD_KILLED): Likewise.
31059         (CLD_DUMPED): Likewise.
31060         (CLD_TRAPPED): Likewise.
31061         (CLD_STOPPED): Likewise.
31062         (CLD_CONTINUED): Likewise.
31063         (POLL_IN): Likewise.
31064         (POLL_OUT): Likewise.
31065         (POLL_MSG): Likewise.
31066         (POLL_ERR): Likewise.
31067         (POLL_PRI): Likewise.
31068         (POLL_HUP): Likewise.
31069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31070         (ILL_ILLOPN): Likewise.
31071         (ILL_ILLADR): Likewise.
31072         (ILL_ILLTRP): Likewise.
31073         (ILL_PRVOPC): Likewise.
31074         (ILL_PRVREG): Likewise.
31075         (ILL_COPROC): Likewise.
31076         (ILL_BADSTK): Likewise.
31077         (FPE_INTDIV): Likewise.
31078         (FPE_INTOVF): Likewise.
31079         (FPE_FLTDIV): Likewise.
31080         (FPE_FLTOVF): Likewise.
31081         (FPE_FLTUND): Likewise.
31082         (FPE_FLTRES): Likewise.
31083         (FPE_FLTINV): Likewise.
31084         (FPE_FLTSUB): Likewise.
31085         (SEGV_MAPERR): Likewise.
31086         (SEGV_ACCERR): Likewise.
31087         (BUS_ADRALN): Likewise.
31088         (BUS_ADRERR): Likewise.
31089         (BUS_OBJERR): Likewise.
31090         (BUS_MCEERR_AR): Likewise.
31091         (BUS_MCEERR_AO): Likewise.
31092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31093         (TRAP_TRACE): Likewise.
31094         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31095         __USE_XOPEN2K8].
31096         (CLD_KILLED): Likewise.
31097         (CLD_DUMPED): Likewise.
31098         (CLD_TRAPPED): Likewise.
31099         (CLD_STOPPED): Likewise.
31100         (CLD_CONTINUED): Likewise.
31101         (POLL_IN): Likewise.
31102         (POLL_OUT): Likewise.
31103         (POLL_MSG): Likewise.
31104         (POLL_ERR): Likewise.
31105         (POLL_PRI): Likewise.
31106         (POLL_HUP): Likewise.
31107         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31108         (ILL_ILLOPN): Likewise.
31109         (ILL_ILLADR): Likewise.
31110         (ILL_ILLTRP): Likewise.
31111         (ILL_PRVOPC): Likewise.
31112         (ILL_PRVREG): Likewise.
31113         (ILL_COPROC): Likewise.
31114         (ILL_BADSTK): Likewise.
31115         (ILL_DBLFLT): Likewise.
31116         (ILL_HARDWALL): Likewise.
31117         (FPE_INTDIV): Likewise.
31118         (FPE_INTOVF): Likewise.
31119         (FPE_FLTDIV): Likewise.
31120         (FPE_FLTOVF): Likewise.
31121         (FPE_FLTUND): Likewise.
31122         (FPE_FLTRES): Likewise.
31123         (FPE_FLTINV): Likewise.
31124         (FPE_FLTSUB): Likewise.
31125         (SEGV_MAPERR): Likewise.
31126         (SEGV_ACCERR): Likewise.
31127         (BUS_ADRALN): Likewise.
31128         (BUS_ADRERR): Likewise.
31129         (BUS_OBJERR): Likewise.
31130         (BUS_MCEERR_AR): Likewise.
31131         (BUS_MCEERR_AO): Likewise.
31132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31133         (TRAP_TRACE): Likewise.
31134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31135         __USE_XOPEN2K8].
31136         (CLD_KILLED): Likewise.
31137         (CLD_DUMPED): Likewise.
31138         (CLD_TRAPPED): Likewise.
31139         (CLD_STOPPED): Likewise.
31140         (CLD_CONTINUED): Likewise.
31141         (POLL_IN): Likewise.
31142         (POLL_OUT): Likewise.
31143         (POLL_MSG): Likewise.
31144         (POLL_ERR): Likewise.
31145         (POLL_PRI): Likewise.
31146         (POLL_HUP): Likewise.
31147         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31148         (ILL_ILLOPN): Likewise.
31149         (ILL_ILLADR): Likewise.
31150         (ILL_ILLTRP): Likewise.
31151         (ILL_PRVOPC): Likewise.
31152         (ILL_PRVREG): Likewise.
31153         (ILL_COPROC): Likewise.
31154         (ILL_BADSTK): Likewise.
31155         (FPE_INTDIV): Likewise.
31156         (FPE_INTOVF): Likewise.
31157         (FPE_FLTDIV): Likewise.
31158         (FPE_FLTOVF): Likewise.
31159         (FPE_FLTUND): Likewise.
31160         (FPE_FLTRES): Likewise.
31161         (FPE_FLTINV): Likewise.
31162         (FPE_FLTSUB): Likewise.
31163         (SEGV_MAPERR): Likewise.
31164         (SEGV_ACCERR): Likewise.
31165         (BUS_ADRALN): Likewise.
31166         (BUS_ADRERR): Likewise.
31167         (BUS_OBJERR): Likewise.
31168         (BUS_MCEERR_AR): Likewise.
31169         (BUS_MCEERR_AO): Likewise.
31170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31171         (TRAP_TRACE): Likewise.
31172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31173         __USE_XOPEN2K8].
31174         (CLD_KILLED): Likewise.
31175         (CLD_DUMPED): Likewise.
31176         (CLD_TRAPPED): Likewise.
31177         (CLD_STOPPED): Likewise.
31178         (CLD_CONTINUED): Likewise.
31179         (POLL_IN): Likewise.
31180         (POLL_OUT): Likewise.
31181         (POLL_MSG): Likewise.
31182         (POLL_ERR): Likewise.
31183         (POLL_PRI): Likewise.
31184         (POLL_HUP): Likewise.
31185         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31186         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31188         [BZ #16670]
31189         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31190         before #include of <time.h>.
31191         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31192         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31193         (test-xfail-UNIX98/sched.h/conform): Likewise.
31195 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31197         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31198         error absence of trapping exception support.
31199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31201 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31203         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31204         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31205         * timezone/Makefile (testdata): Move definition above include of
31206         Rules.
31207         (test-zones): New variable.
31208         (tests-special): Add zone files.
31209         (build-testdata): Use $(evaluate-test).
31211         * elf/Makefile (tests-special): Rename tests to end with .out.
31212         ($(objpfx)noload-mem): Likewise.
31213         ($(objpfx)tst-leaks1-mem): Likewise.
31214         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31215         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31216         $(objpfx)test-iconvconfig.out.
31217         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31218         set -e inside subshell and redirect output to file.
31219         * iconvdata/Makefile (generated): Rename tests to end with .out.
31220         Correct type.
31221         (tests-special): Rename tests to end with .out.
31222         ($(objpfx)mtrace-tst-loading): Likewise.
31223         * intl/Makefile (generated): Likewise.
31224         (tests-special): Likewise.
31225         ($(objpfx)mtrace-tst-gettext): Likewise.
31226         * misc/Makefile (generated): Likewise.
31227         (tests-special): Likewise.
31228         ($(objpfx)tst-error1-mem): Likewise.
31229         * nptl/Makefile (tests-special): Likewise.
31230         ($(objpfx)tst-stack3-mem): Likewise.
31231         (generated): Likewise.
31232         * posix/Makefile (generated): Likewise.
31233         (tests-special): Likewise.
31234         (xtests-special): Likewise.
31235         ($(objpfx)tst-fnmatch-mem): Likewise.
31236         ($(objpfx)bug-regex2-mem): Likewise.
31237         ($(objpfx)bug-regex14-mem): Likewise.
31238         ($(objpfx)bug-regex21-mem): Likewise.
31239         ($(objpfx)bug-regex31-mem): Likewise.
31240         ($(objpfx)tst-vfork3-mem): Likewise.
31241         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31242         ($(objpfx)tst-pcre-mem): Likewise.
31243         ($(objpfx)tst-boost-mem): Likewise.
31244         ($(objpfx)bug-ga2-mem): Likewise.
31245         ($(objpfx)bug-glob2-mem): Likewise.
31246         * resolv/Makefile (generate): Likewise.
31247         (tests-special): Likewise.
31248         (xtests-special): Likewise.
31249         (generated): Likewise.
31250         ($(objpfx)mtrace-tst-leaks): Likewise.
31251         ($(objpfx)mtrace-tst-leaks2): Likewise.
31253         * scripts/merge-test-results.sh: New file.
31254         * Makefile (tests-special-notdir): New variable.
31255         (tests): Run merge-test-results.sh.
31256         (xtests): Likewise.
31257         * Rules (tests-special-notdir): New variable.
31258         (xtests-special-notdir): Likewise.
31259         (tests): Run merge-test-results.sh
31260         (xtests): Likewise.
31262         * Makeconfig (test-xfail-name): New variable.
31263         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31264         compute variable name for expected failures.
31265         * conform/Makefile (conformtest-headers-data): New variable.
31266         (conformtest-standards): Likewise.
31267         (conformtest-headers-ISO): Likewise.
31268         (conformtest-headers-ISO99): Likewise.
31269         (conformtest-headers-ISO11): Likewise.
31270         (conformtest-headers-POSIX): Likewise.
31271         (conformtest-headers-XPG3): Likewise.
31272         (conformtest-headers-XPG4): Likewise.
31273         (conformtest-headers-UNIX98): Likewise.
31274         (conformtest-headers-XOPEN2K): Likewise.
31275         (conformtest-headers-POSIX2008): Likewise.
31276         (conformtest-headers-XOPEN2K8): Likewise.
31277         (conformtest-header-list-base): Likewise.
31278         (conformtest-header-list-tests): Likewise.
31279         (conformtest-header-base): Likewise.
31280         (conformtest-header-tests): Likewise.
31281         (tests-special): Add $(conformtest-header-list-tests).  If
31282         [$(fast-check) && !$(cross-compiling)], add
31283         $(conformtest-header-tests) instead of
31284         $(objpfx)run-conformtest.out.
31285         (generated): Add $(conformtest-header-list-base).  If
31286         [$(fast-check) && !$(cross-compiling)], add
31287         $(conformtest-header-base).  Remove previous setting.
31288         ($(conformtest-header-list-tests)): New target.
31289         (test-xfail-run-conformtest): Remove variable.
31290         ($(objpfx)run-conformtest.out): Remove target.
31291         (test-xfail-ISO11/complex.h/conform): New variable.
31292         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31293         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31294         (test-xfail-XPG3/varargs.h/conform): Likewise.
31295         (test-xfail-XPG4/varargs.h/conform): Likewise.
31296         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31297         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31298         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31299         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31300         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31301         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31302         (test-xfail-XPG3/ftw.h/conform): Likewise.
31303         (test-xfail-XPG3/grp.h/conform): Likewise.
31304         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31305         (test-xfail-XPG3/limits.h/conform): Likewise.
31306         (test-xfail-XPG3/pwd.h/conform): Likewise.
31307         (test-xfail-XPG3/search.h/conform): Likewise.
31308         (test-xfail-XPG3/signal.h/conform): Likewise.
31309         (test-xfail-XPG3/stdio.h/conform): Likewise.
31310         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31311         (test-xfail-XPG3/string.h/conform): Likewise.
31312         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31313         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31314         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31315         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31316         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31317         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31318         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31319         (test-xfail-XPG3/termios.h/conform): Likewise.
31320         (test-xfail-XPG3/time.h/conform): Likewise.
31321         (test-xfail-XPG3/unistd.h/conform): Likewise.
31322         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31323         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31324         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31325         (test-xfail-XPG4/netdb.h/conform): Likewise.
31326         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31327         (test-xfail-XPG4/signal.h/conform): Likewise.
31328         (test-xfail-XPG4/stdio.h/conform): Likewise.
31329         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31330         (test-xfail-XPG4/stropts.h/conform): Likewise.
31331         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31332         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31333         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31334         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31335         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31336         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31337         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31338         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31339         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31340         (test-xfail-XPG4/termios.h/conform): Likewise.
31341         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31342         (test-xfail-XPG4/unistd.h/conform): Likewise.
31343         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31344         (test-xfail-POSIX/sched.h/conform): Likewise.
31345         (test-xfail-POSIX/signal.h/conform): Likewise.
31346         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31347         (test-xfail-POSIX/tar.h/conform): Likewise.
31348         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31349         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31350         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31351         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31352         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31353         (test-xfail-UNIX98/sched.h/conform): Likewise.
31354         (test-xfail-UNIX98/signal.h/conform): Likewise.
31355         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31356         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31357         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31358         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31359         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31360         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31361         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31362         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31363         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31364         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31365         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31366         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31367         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31368         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31369         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31370         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31371         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31372         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31373         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31374         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31375         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31376         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31377         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31378         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31379         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31380         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31381         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31382         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31383         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31384         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31385         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31386         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31387         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31388         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31389         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31390         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31391         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31392         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31393         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31394         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31395         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31396         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31397         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31398         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31399         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31400         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31401         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31402         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31403         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31404         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31405         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31406         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31407         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31408         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31409         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31410         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31411         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31412         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31413         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31414         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31415         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31416         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31417         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31418         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31419         (conformtest-cc-flags): Likewise.
31420         ($(conformtest-header-tests): New target.
31421         * conform/check-header-lists.sh: New file.
31422         * conform/run-conformtest.sh: Remove.
31424         * conform/conformtest.pl: Allow ' and \ in values given for
31425         constants.
31426         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31427         inclusion.
31428         [POSIX] (sys/types.h): Likewise.
31429         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31430         inclusion.
31431         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31432         inclusion.
31433         * conform/data/signal.h-data (SIGIO): Remove expectation.
31434         [XPG3] (SIGBUS): Do not expect.
31435         [POSIX || XPG3] (SIGPOLL): Likewise.
31436         [POSIX || XPG3] (SIGPROF): Likewise.
31437         [POSIX || XPG3] (SIGSYS): Likewise.
31438         [XPG3] (SIGTRAP): Likewise.
31439         [POSIX || XPG3] (SIGURG): Likewise.
31440         [POSIX || XPG3] (SIGVTALRM): Likewise.
31441         [POSIX || XPG3] (SIGXCPU): Likewise.
31442         [POSIX || XPG3] (SIGXFSZ): Likewise.
31443         [POSIX] (SA_SIGINFO): Expect.
31444         [XPG3] (siginfo_t): Do not expect type or contents.
31445         [POSIX] (si_pid): Do not expect element.
31446         [POSIX] (si_uid): Likewise.
31447         [POSIX] (si_addr): Likewise.
31448         [POSIX] (si_status): Likewise.
31449         [POSIX] (si_band): Likewise.
31450         [XPG4] (si_value): Likewise.
31451         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31452         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31453         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31454         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31455         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31456         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31457         [POSIX || XPG3] (ILL_COPROC): Likewise.
31458         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31459         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31460         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31461         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31462         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31463         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31464         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31465         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31466         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31467         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31468         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31469         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31470         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31471         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31472         [POSIX || XPG3] (CLD_EXITED): Likewise.
31473         [POSIX || XPG3] (CLD_KILLED): Likewise.
31474         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31475         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31476         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31477         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31478         [POSIX || XPG3] (POLL_IN): Likewise.
31479         [POSIX || XPG3] (POLL_OUT): Likewise.
31480         [POSIX || XPG3] (POLL_MSG): Likewise.
31481         [POSIX || XPG3] (POLL_ERR): Likewise.
31482         [POSIX || XPG3] (POLL_PRI): Likewise.
31483         [POSIX || XPG3] (POLL_HUP): Likewise.
31484         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31485         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31486         (SIG*): Do not allow.
31487         [XPG3] (si_*): Likewise.
31488         [XPG3] (SI_*): Likewise.
31489         [XPG3 || XPG4] (sigev_*): Likewise.
31490         [XPG3 || XPG4] (SIGEV_*): Likewise.
31491         [XPG3 || XPG4] (sival_*): Likewise.
31492         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31493         [POSIX || XPG3] (BUS_*): Likewise.
31494         [POSIX || XPG3] (CLD_*): Likewise.
31495         [POSIX || XPG3] (FPE_*): Likewise.
31496         [POSIX || XPG3] (ILL_*): Likewise.
31497         [POSIX || XPG3] (POLL_*): Likewise.
31498         [POSIX || XPG3] (SEGV_*): Likewise.
31499         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31500         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31501         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31502         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31503         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31504         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31505         Specify type and value.
31506         (TVERSLEN): Likewise.
31507         (REGTYPE): Likewise.
31508         (AREGTYPE): Likewise.
31509         (LNKTYPE): Likewise.
31510         (SYMTYPE): Likewise.
31511         (CHRTYPE): Likewise.
31512         (BLKTYPE): Likewise.
31513         (DIRTYPE): Likewise.
31514         (FIFOTYPE): Likewise.
31515         (CONTTYPE): Likewise.
31516         (TSUID): Likewise.
31517         (TSGID): Likewise.
31518         (TSVTX): Likewise.
31519         (TUREAD): Likewise.
31520         (TUWRITE): Likewise.
31521         (TUEXEC): Likewise.
31522         (TGREAD): Likewise.
31523         (TGWRITE): Likewise.
31524         (TGEXEC): Likewise.
31525         (TOREAD): Likewise.
31526         (TOWRITE): Likewise.
31527         (TOEXEC): Likewise.
31528         [POSIX] (TSVTX): Expect constant.
31530 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31532         * Makefile (tests): Change dependencies to ....
31533         (tests-special): ... additions to this variable.
31534         (tests): Depend on $(tests-special).
31535         * Makerules (check-abi-list): New variable.
31536         (check-abi): Depend on $(check-abi-list).
31537         [$(subdir) = elf] (tests-special): Add
31538         $(objpfx)check-abi-libc.out.
31539         [$(build-shared) = yes && subdir] (tests-special): Add
31540         $(check-abi-list).
31541         [$(build-shared) = yes && subdir] (tests): Do not depend on
31542         check-abi.
31543         * Rules (tests): Depend on $(tests-special).
31544         (xtests): Depend on $(xtests-special).
31545         * catgets/Makefile (tests): Change dependencies to ....
31546         (tests-special): ... additions to this variable.
31547         * conform/Makefile (tests): Change dependencies to ....
31548         (tests-special): ... additions to this variable.
31549         * elf/Makefile (tests): Change dependencies to ....
31550         (tests-special): ... additions to this variable.
31551         * grp/Makefile (tests): Change dependencies to ....
31552         (tests-special): ... additions to this variable.
31553         * iconv/Makefile (xtests): Change dependencies to ....
31554         (xtests-special): ... additions to this variable.
31555         * iconvdata/Makefile (tests): Change dependencies to ....
31556         (tests-special): ... additions to this variable.
31557         * intl/Makefile (tests): Change dependencies to ....
31558         (tests-special): ... additions to this variable.  Also add
31559         $(objpfx)tst-gettext.out.
31560         * io/Makefile (tests): Change dependencies to ....
31561         (tests-special): ... additions to this variable.
31562         * libio/Makefile (tests): Change dependencies to ....
31563         (tests-special): ... additions to this variable.
31564         * malloc/Makefile (tests): Change dependencies to ....
31565         (tests-special): ... additions to this variable.
31566         * misc/Makefile (tests): Change dependencies to ....
31567         (tests-special): ... additions to this variable.
31568         * nptl/Makefile (tests): Change dependencies to ....
31569         (tests-special): ... additions to this variable.
31570         * nptl_db/Makefile (tests): Change dependencies to ....
31571         (tests-special): ... additions to this variable.
31572         * posix/Makefile (tests): Change dependencies to ....
31573         (tests-special): ... additions to this variable.
31574         (xtests): Change dependencies to ....
31575         (xtests-special): ... additions to this variable.
31576         * resolv/Makefile (tests): Change dependencies to ....
31577         (tests-special): ... additions to this variable.
31578         (xtests): Change dependencies to ....
31579         (xtests-special): ... additions to this variable.
31580         * stdio-common/Makefile (tests): Change dependencies to ....
31581         (tests-special): ... additions to this variable.
31582         (do-tst-unbputc): Remove target.
31583         (do-tst-printf): Likewise.
31584         * stdlib/Makefile (tests): Change dependencies to ....
31585         (tests-special): ... additions to this variable.
31586         * string/Makefile (tests): Change dependencies to ....
31587         (tests-special): ... additions to this variable.
31588         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31589         (tests-special): ... additions to this variable.
31591         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31592         whole file.
31593         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31594         whole file.
31595         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31596         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31598         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31599         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31600         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31601         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31602         * conform/data/libgen.h-data [XPG3]: Likewise.
31603         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31604         * conform/data/ndbm.h-data [XPG3]: Likewise.
31605         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31606         * conform/data/netdb.h-data [XPG3]: Likewise.
31607         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31608         * conform/data/poll.h-data [XPG3]: Likewise.
31609         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31610         * conform/data/strings.h-data [XPG3]: Likewise.
31611         * conform/data/stropts.h-data [XPG3]: Likewise.
31612         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31613         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31614         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31615         Likewise.
31616         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31617         * conform/data/sys/time.h-data [XPG3]: Likewise.
31618         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31619         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31620         * conform/data/sys/un.h-data [XPG3]: Likewise.
31621         * conform/data/syslog.h-data [XPG3]: Likewise.
31622         * conform/data/ucontext.h-data [XPG3]: Likewise.
31623         * conform/data/utmpx.h-data [XPG3]: Likewise.
31624         * conform/data/varargs.h-data [UNIX98]: Enable file.
31626         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31628         * math/libm-test.inc (struct test_f_f_data): Move expected results
31629         into structure for each rounding mode.
31630         (struct test_ff_f_data): Likewise.
31631         (struct test_ff_f_data_nexttoward): Likewise.
31632         (struct test_fi_f_data): Likewise.
31633         (struct test_fl_f_data): Likewise.
31634         (struct test_if_f_data): Likewise.
31635         (struct test_fff_f_data): Likewise.
31636         (struct test_c_f_data): Likewise.
31637         (struct test_f_f1_data): Likewise.
31638         (struct test_fF_f1_data): Likewise.
31639         (struct test_ffI_f1_data): Likewise.
31640         (struct test_c_c_data): Likewise.
31641         (struct test_cc_c_data): Likewise.
31642         (struct test_f_i_data): Likewise.
31643         (struct test_ff_i_data): Likewise.
31644         (struct test_f_l_data): Likewise.
31645         (struct test_f_L_data): Likewise.
31646         (struct test_fFF_11_data): Likewise.
31647         (RM_): New macro.
31648         (RM_FE_DOWNWARD): Likewise.
31649         (RM_FE_TONEAREST): Likewise.
31650         (RM_FE_TOWARDZERO): Likewise.
31651         (RM_FE_UPWARD): Likewise.
31652         (RUN_TEST_LOOP_f_f): Update references to expected results.
31653         (RUN_TEST_LOOP_2_f): Likewise.
31654         (RUN_TEST_LOOP_fff_f): Likewise.
31655         (RUN_TEST_LOOP_c_f): Likewise.
31656         (RUN_TEST_LOOP_f_f1): Likewise.
31657         (RUN_TEST_LOOP_fF_f1): Likewise.
31658         (RUN_TEST_LOOP_fI_f1): Likewise.
31659         (RUN_TEST_LOOP_ffI_f1): Likewise.
31660         (RUN_TEST_LOOP_c_c): Likewise.
31661         (RUN_TEST_LOOP_cc_c): Likewise.
31662         (RUN_TEST_LOOP_f_i): Likewise.
31663         (RUN_TEST_LOOP_f_i_tg): Likewise.
31664         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31665         (RUN_TEST_LOOP_f_b): Likewise.
31666         (RUN_TEST_LOOP_f_b_tg): Likewise.
31667         (RUN_TEST_LOOP_f_l): Likewise.
31668         (RUN_TEST_LOOP_f_L): Likewise.
31669         (RUN_TEST_LOOP_fFF_11): Likewise.
31670         * math/gen-libm-test.pl (parse_args): Output four copies of
31671         expected results for each test.
31673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31674         (__ASSUME_UTIMES): Remove.
31675         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31676         (__ASSUME_UTIMES): Likewise.
31678         * math/gen-auto-libm-tests.c: Update comment on output format.
31679         (output_for_one_input_case): Generate before-rounding and
31680         after-rounding information as conditions on output flags not
31681         floating-point format.
31682         * math/auto-libm-test-out: Regenerated.
31683         * math/gen-libm-test.pl (cond_value): New function.
31684         (or_cond_value): Use cond_value.
31685         (generate_testfile): Handle conditional exceptions.
31687 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31689         * math/libm-test.inc (max_valid_error): New variable.
31690         (init_max_error): Take new argument specifying whether function
31691         results are exactly determined.  Set max_valid_error and bound
31692         other variables for errors based on this argument.
31693         (set_max_error): Do not record results above max_valid_error.
31694         (check_float_internal): Only accept errors of up to 0.5ulps if
31695         also at most max_valid_error.
31696         (START): Take new argument EXACT and pass it to init_max_error.
31697         (acos_test): Update call to START.
31698         (acos_test_tonearest): Likewise.
31699         (acos_test_towardzero): Likewise.
31700         (acos_test_downward): Likewise.
31701         (acos_test_upward): Likewise.
31702         (acosh_test): Likewise.
31703         (asin_test): Likewise.
31704         (asin_test_tonearest): Likewise.
31705         (asin_test_towardzero): Likewise.
31706         (asin_test_downward): Likewise.
31707         (asin_test_upward): Likewise.
31708         (asinh_test): Likewise.
31709         (atan_test): Likewise.
31710         (atanh_test): Likewise.
31711         (atan2_test): Likewise.
31712         (cabs_test): Likewise.
31713         (cacos_test): Likewise.
31714         (cacosh_test): Likewise.
31715         (carg_test): Likewise.
31716         (casin_test): Likewise.
31717         (casinh_test): Likewise.
31718         (catan_test): Likewise.
31719         (catanh_test): Likewise.
31720         (cbrt_test): Likewise.
31721         (ccos_test): Likewise.
31722         (ccosh_test): Likewise.
31723         (ceil_test): Likewise.
31724         (cexp_test): Likewise.
31725         (cimag_test): Likewise.
31726         (clog_test): Likewise.
31727         (clog10_test): Likewise.
31728         (conj_test): Likewise.
31729         (copysign_test): Likewise.
31730         (cos_test): Likewise.
31731         (cos_test_tonearest): Likewise.
31732         (cos_test_towardzero): Likewise.
31733         (cos_test_downward): Likewise.
31734         (cos_test_upward): Likewise.
31735         (cosh_test): Likewise.
31736         (cosh_test_tonearest): Likewise.
31737         (cosh_test_towardzero): Likewise.
31738         (cosh_test_downward): Likewise.
31739         (cosh_test_upward): Likewise.
31740         (cpow_test): Likewise.
31741         (cproj_test): Likewise.
31742         (creal_test): Likewise.
31743         (csin_test): Likewise.
31744         (csinh_test): Likewise.
31745         (csqrt_test): Likewise.
31746         (ctan_test): Likewise.
31747         (ctan_test_tonearest): Likewise.
31748         (ctan_test_towardzero): Likewise.
31749         (ctan_test_downward): Likewise.
31750         (ctan_test_upward): Likewise.
31751         (ctanh_test): Likewise.
31752         (ctanh_test_tonearest): Likewise.
31753         (ctanh_test_towardzero): Likewise.
31754         (ctanh_test_downward): Likewise.
31755         (ctanh_test_upward): Likewise.
31756         (erf_test): Likewise.
31757         (erfc_test): Likewise.
31758         (exp_test): Likewise.
31759         (exp_test_tonearest): Likewise.
31760         (exp_test_towardzero): Likewise.
31761         (exp_test_downward): Likewise.
31762         (exp_test_upward): Likewise.
31763         (exp10_test): Likewise.
31764         (exp10_test_tonearest): Likewise.
31765         (exp10_test_towardzero): Likewise.
31766         (exp10_test_downward): Likewise.
31767         (exp10_test_upward): Likewise.
31768         (pow10_test): Likewise.
31769         (exp2_test): Likewise.
31770         (expm1_test): Likewise.
31771         (expm1_test_tonearest): Likewise.
31772         (expm1_test_towardzero): Likewise.
31773         (expm1_test_downward): Likewise.
31774         (expm1_test_upward): Likewise.
31775         (fabs_test): Likewise.
31776         (fdim_test): Likewise.
31777         (floor_test): Likewise.
31778         (fma_test): Likewise.
31779         (fma_test_towardzero): Likewise.
31780         (fma_test_downward): Likewise.
31781         (fma_test_upward): Likewise.
31782         (fmax_test): Likewise.
31783         (fmin_test): Likewise.
31784         (fmod_test): Likewise.
31785         (fpclassify_test): Likewise.
31786         (frexp_test): Likewise.
31787         (hypot_test): Likewise.
31788         (ilogb_test): Likewise.
31789         (isfinite_test): Likewise.
31790         (finite_test): Likewise.
31791         (isgreater_test): Likewise.
31792         (isgreaterequal_test): Likewise.
31793         (isinf_test): Likewise.
31794         (isless_test): Likewise.
31795         (islessequal_test): Likewise.
31796         (islessgreater_test): Likewise.
31797         (isnan_test): Likewise.
31798         (isnormal_test): Likewise.
31799         (issignaling_test): Likewise.
31800         (isunordered_test): Likewise.
31801         (j0_test): Likewise.
31802         (j1_test): Likewise.
31803         (jn_test): Likewise.
31804         (ldexp_test): Likewise.
31805         (lgamma_test): Likewise.
31806         (gamma_test): Likewise.
31807         (lrint_test): Likewise.
31808         (lrint_test_tonearest): Likewise.
31809         (lrint_test_towardzero): Likewise.
31810         (lrint_test_downward): Likewise.
31811         (lrint_test_upward): Likewise.
31812         (llrint_test): Likewise.
31813         (llrint_test_tonearest): Likewise.
31814         (llrint_test_towardzero): Likewise.
31815         (llrint_test_downward): Likewise.
31816         (llrint_test_upward): Likewise.
31817         (log_test): Likewise.
31818         (log10_test): Likewise.
31819         (log1p_test): Likewise.
31820         (log2_test): Likewise.
31821         (logb_test): Likewise.
31822         (logb_test_downward): Likewise.
31823         (lround_test): Likewise.
31824         (llround_test): Likewise.
31825         (modf_test): Likewise.
31826         (nearbyint_test): Likewise.
31827         (nextafter_test): Likewise.
31828         (nexttoward_test): Likewise.
31829         (pow_test): Likewise.
31830         (pow_test_tonearest): Likewise.
31831         (pow_test_towardzero): Likewise.
31832         (pow_test_downward): Likewise.
31833         (pow_test_upward): Likewise.
31834         (remainder_test): Likewise.
31835         (drem_test): Likewise.
31836         (remainder_test_tonearest): Likewise.
31837         (drem_test_tonearest): Likewise.
31838         (remainder_test_towardzero): Likewise.
31839         (drem_test_towardzero): Likewise.
31840         (remainder_test_downward): Likewise.
31841         (drem_test_downward): Likewise.
31842         (remainder_test_upward): Likewise.
31843         (drem_test_upward): Likewise.
31844         (remquo_test): Likewise.
31845         (rint_test): Likewise.
31846         (rint_test_tonearest): Likewise.
31847         (rint_test_towardzero): Likewise.
31848         (rint_test_downward): Likewise.
31849         (rint_test_upward): Likewise.
31850         (round_test): Likewise.
31851         (scalb_test): Likewise.
31852         (scalbn_test): Likewise.
31853         (scalbln_test): Likewise.
31854         (signbit_test): Likewise.
31855         (sin_test): Likewise.
31856         (sin_test_tonearest): Likewise.
31857         (sin_test_towardzero): Likewise.
31858         (sin_test_downward): Likewise.
31859         (sin_test_upward): Likewise.
31860         (sincos_test): Likewise.
31861         (sinh_test): Likewise.
31862         (sinh_test_tonearest): Likewise.
31863         (sinh_test_towardzero): Likewise.
31864         (sinh_test_downward): Likewise.
31865         (sinh_test_upward): Likewise.
31866         (sqrt_test): Likewise.
31867         (sqrt_test_tonearest): Likewise.
31868         (sqrt_test_towardzero): Likewise.
31869         (sqrt_test_downward): Likewise.
31870         (sqrt_test_upward): Likewise.
31871         (tan_test): Likewise.
31872         (tan_test_tonearest): Likewise.
31873         (tan_test_towardzero): Likewise.
31874         (tan_test_downward): Likewise.
31875         (tan_test_upward): Likewise.
31876         (tanh_test): Likewise.
31877         (tgamma_test): Likewise.
31878         (trunc_test): Likewise.
31879         (y0_test): Likewise.
31880         (y1_test): Likewise.
31881         (yn_test): Likewise.
31882         (significand_test): Likewise.
31884         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31885         individual tests in comment.
31886         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31887         (prev_max_error): New variable.
31888         (prev_real_max_error): Likewise.
31889         (prev_imag_max_error): Likewise.
31890         (compare_ulp_data): Don't refer to test names in comment.
31891         (find_test_ulps): Remove function.
31892         (find_function_ulps): Likewise.
31893         (find_complex_function_ulps): Likewise.
31894         (init_max_error): Take function name as argument.  Look up ulps
31895         for that function.
31896         (print_ulps): Remove function.
31897         (print_max_error): Use prev_max_error instead of calling
31898         find_function_ulps.
31899         (print_complex_max_error): Use prev_real_max_error and
31900         prev_imag_max_error instead of calling find_complex_function_ulps.
31901         (check_float_internal): Take max_ulp parameter instead of calling
31902         find_test_ulps.  Don't call print_ulps.
31903         (check_float): Update call to check_float_internal.
31904         (check_complex): Update calls to check_float_internal.
31905         (START): Pass argument to init_max_error.
31906         * math/gen-libm-test.pl (%results): Don't include "kind"
31907         information.
31908         (parse_ulps): Don't handle ulps of individual tests.
31909         (print_ulps_file): Likewise.
31910         (output_ulps): Likewise.
31911         * math/README.libm-test: Update.
31912         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31913         individual tests.
31914         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31915         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31916         * sysdeps/arm/libm-test-ulps: Likewise.
31917         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31918         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31919         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31920         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31921         * sysdeps/microblaze/libm-test-ulps: Likewise.
31922         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31923         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31924         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31925         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31926         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31927         * sysdeps/sh/libm-test-ulps: Likewise.
31928         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31929         * sysdeps/tile/libm-test-ulps: Likewise.
31930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31932 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31934         * math/libm-test.inc (print_complex_max_error): Check separately
31935         whether real and imaginary errors are within allowed range and
31936         pass 0 to print_complex_function_ulps instead of value within
31937         allowed range.
31939 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31941         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31942         formatting.
31943         (get_handles_fopen): Likewise.
31944         (do_write_test): Likewise.
31946         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31948         * libio/fileops.c (do_ftell): Use cached offset when
31949         available.
31950         * libio/iofwide.c (do_ftell_wide): Likewise.
31951         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31952         _IO_file_attach.
31953         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31955         [BZ #16532]
31956         * libio/libioP.h (get_file_offset): New function.
31957         * libio/fileops.c (get_file_offset): Likewise.
31958         (do_ftell): Likewise.
31959         (_IO_new_file_seekoff): Split out ftell logic.
31960         * libio/wfileops.c (do_ftell_wide): Likewise.
31961         (_IO_wfile_seekoff): Split out ftell logic.
31962         * libio/tst-ftell-active-handler.c: New test case.
31963         * libio/Makefile (tests): Add it.
31965 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31967         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31968         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31970 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31972         [BZ #16639]
31973         * nscd/connections.c (nscd_init): Call do_exit.
31974         (start_threads): Call do_exit and notify_parent.
31975         (begin_drop_privileges): Call do_exit.
31976         (finish_drop_privileges): Likewise.
31977         * nscd/selinux.c (preserve_capabilities): Likewise.
31978         (install_real_capabilities): Likewise.
31979         (nscd_selinux_enabled): Likewise.
31980         (avc_create_thread): Likewise.
31981         (avc_alloc_lock): Likewise.
31982         (nscd_avc_init): Likewise.
31983         * nscd/nscd.c (parent_fd): New static variable.
31984         (main): Create a pipe between parent and child processes.
31985         Skip closing parent_fd.
31986         (monitor_child): New function.
31987         (do_exit): Likewise.
31988         (notify_parent): Likewise.
31989         * nscd/nscd.h (notify_parent): Likewise.
31990         (do_exit): Likewise.
31992 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31994         * malloc/malloc.c (__libc_calloc): Revert last change.
31996 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32000 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32002         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32004         implementation.
32005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32006         (__libc_ifunc_impl_list): Likewise.
32007         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32008         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32009         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32010         * string/strrchr.c: Define STRRCHR.
32012 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32014         * benchtest/bench-strtok.c (simple_strtok): Delete.
32015         (strtok_string): Use as benchmark.
32016         * string/strtok (STRTOK): New macro.
32018 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32020         * manual/threads.texi: Add header and standard comments to all
32021         functions.
32023         * elf/dl-lookup.c (check_match): New function.
32024         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32025         (do_lookup_x): Remove nested function check_match. Use non-nested
32026         function check_match.
32028 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32030         * csu/Makefile (generated, before-compile): Use += rather than =.
32031         * catgets/Makefile (generated, generated-dirs): Likewise.
32032         * debug/Makefile (generated): Likewise.
32033         * dlfcn/Makefile (generated): Likewise.
32034         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32035         * iconvdata/Makefile (before-compile, generated): Likewise.
32036         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32037         * libio/Makefile (generated): Likewise.
32038         * malloc/Makefile (generated): Likewise.
32039         * manual/Makefile (generated, generated-dirs): Likewise.
32040         * misc/Makefile (generated): Likewise.
32041         * posix/Makefile (generated): Likewise.
32042         * resolv/Makefile (generated): Likewise.
32043         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32044         * timezone/Makefile (generated, generated-dirs): Likewise.
32046         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32048 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32051         power8 implementation.
32052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32053         file: POWER8 llround ifunc implementation.
32054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32055         (__lllround): Add POWER8 implementation.
32056         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32057         POWER8 llround implementation.
32059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32060         power8 implementation.
32061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32062         file: POWER8 llrint ifunc implementation.
32063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32064         Add POWER8 implementation.
32065         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32066         POWER8 llrint implementation.
32068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32069         power8 implementation.
32070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32071         file: POWER8 finite ifunc implementation.
32072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32073         Add POWER8 implementation.
32074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32075         Likewise.
32076         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32077         POWER8 finite implementation.
32078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32081         power8 implementation.
32082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32083         file: POWER8 isinf ifunc implementation.
32084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32085         POWER8 implementation.
32086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32087         Likewise.
32088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32089         isinf implementation.
32090         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32092         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32093         (INIT_ARCH): Add hwcap2 initialization.
32094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32095         power8 implementation.
32096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32097         file: POWER8 isnan ifunc implementation.
32098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32099         POWER8 implementation.
32100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32101         Likewise.
32102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32103         isnan implementation.
32104         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32106 2014-02-27  Joey Ye  <joey.ye@arm.com>
32108         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32109         (_FP_NANFRAC_Q): Set to zero.
32111 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         [BZ #16623]
32114         * math/auto-libm-test-in: New test inputs.
32115         * math/auto-libm-test-out: Regenerate.
32116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32117         and DA.
32118         (__cos): Likewise.
32119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32121 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32123         * scripts/evaluate-test.sh: Take new argument indicating whether
32124         failure is expected.
32125         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32126         indicating whether failure is expected.
32127         * conform/Makefile (test-xfail-run-conformtest): New variable.
32128         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32129         level.
32130         * posix/Makefile (test-xfail-annexc): New variable.
32131         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32133 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32135         * argp/Makefile: Include Makeconfig immediately after defining
32136         subdir.
32137         * assert/Makefile: Likewise.
32138         * benchtests/Makefile: Likewise.
32139         * catgets/Makefile: Likewise.
32140         * conform/Makefile: Likewise.
32141         * crypt/Makefile: Likewise.
32142         * csu/Makefile: Likewise.
32143         (all): Remove target.
32144         * ctype/Makefile: Include Makeconfig immediately after defining
32145         subdir.
32146         * debug/Makefile: Likewise.
32147         * dirent/Makefile: Likewise.
32148         * dlfcn/Makefile: Likewise.
32149         * gmon/Makefile: Likewise.
32150         * gnulib/Makefile: Likewise.
32151         * grp/Makefile: Likewise.
32152         * gshadow/Makefile: Likewise.
32153         * hesiod/Makefile: Likewise.
32154         * hurd/Makefile: Likewise.
32155         (all): Remove target.
32156         * iconvdata/Makefile: Include Makeconfig immediately after
32157         defining subdir.
32158         * inet/Makefile: Likewise.
32159         * intl/Makefile: Likewise.
32160         * io/Makefile: Likewise.
32161         * libio/Makefile: Likewise.
32162         (all): Remove target.
32163         * locale/Makefile: Include Makeconfig immediately after defining
32164         subdir.
32165         * login/Makefile: Likewise.
32166         * mach/Makefile: Likewise.
32167         (all): Remove target.
32168         * malloc/Makefile: Include Makeconfig immediately after defining
32169         subdir.
32170         (all): Remove target.
32171         * manual/Makefile: Include Makeconfig immediately after defining
32172         subdir.
32173         * math/Makefile: Likewise.
32174         * misc/Makefile: Likewise.
32175         * nis/Makefile: Likewise.
32176         * nss/Makefile: Likewise.
32177         * po/Makefile: Likewise.
32178         (all): Remove target.
32179         * posix/Makefile: Include Makeconfig immediately after defining
32180         subdir.
32181         * pwd/Makefile: Likewise.
32182         * resolv/Makefile: Likewise.
32183         * resource/Makefile: Likewise.
32184         * rt/Makefile: Likewise.
32185         * setjmp/Makefile: Likewise.
32186         * shadow/Makefile: Likewise.
32187         * signal/Makefile: Likewise.
32188         * socket/Makefile: Likewise.
32189         * soft-fp/Makefile: Likewise.
32190         * stdio-common/Makefile: Likewise.
32191         * stdlib/Makefile: Likewise.
32192         * streams/Makefile: Likewise.
32193         * string/Makefile: Likewise.
32194         * sunrpc/Makefile: Likewise.
32195         (all): Remove target.
32196         * sysvipc/Makefile: Include Makeconfig immediately after defining
32197         subdir.
32198         * termios/Makefile: Likewise.
32199         * time/Makefile: Likewise.
32200         * timezone/Makefile: Likewise.
32201         (all): Remove target.
32202         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32203         subdir.
32204         * wctype/Makefile: Likewise.
32206 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32208         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32209         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32210         (libc_feholdexcept_setround_mips): Ditto.
32211         (libc_feholdsetround): New.
32212         (libc_feholdsetroundf): New.
32213         (libc_feholdsetroundl): New.
32214         (libc_feupdateenv_test_mips): New.
32215         (libc_feupdateenv_test): New.
32216         (libc_feupdateenv_testf): New.
32217         (libc_feupdateenv_testl): New.
32218         (libc_feresetround): New.
32219         (libc_feresetroundf): New.
32220         (libc_feresetroundl): New.
32221         (libc_fetestexcept_mips): New.
32222         (libc_fetestexcept): New.
32223         (libc_fetestexceptf): New.
32224         (libc_fetestexceptl): New.
32225         (HAVE_RM_CTX): New.
32226         (libc_feholdexcept_setround_mips_ctx): New.
32227         (libc_feholdexcept_setround_ctx): New.
32228         (libc_feholdexcept_setroundf_ctx): New.
32229         (libc_feholdexcept_setroundl_ctx): New.
32230         (libc_fesetenv_mips_ctx): New.
32231         (libc_fesetenv_ctx): New.
32232         (libc_fesetenv_ctxf): New.
32233         (libc_fesetenv_ctxl): New.
32234         (libc_feupdateenv_mips_ctx): New.
32235         (libc_feupdateenv_ctx): New.
32236         (libc_feupdateenvf_ctx): New.
32237         (libc_feupdateenvl_ctx): New.
32238         (libc_feholdsetround_mips_ctx): New.
32239         (libc_feholdsetround_ctx): New.
32240         (libc_feholdsetroundf_ctx): New.
32241         (libc_feholdsetroundl_ctx): New.
32242         (libc_feresetround_mips_ctx): New.
32243         (libc_feresetround_ctx): New.
32244         (libc_feresetroundf_ctx): New.
32245         (libc_feresetroundl_ctx): New.
32247 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32249         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32251         * manual/ipc.texi: New file.
32252         * manual/Makefile (chapters): Add ipc.
32253         * manual/job.texi: Add "Inter-Process Communication" to next.
32254         * manual/process.texi: Add "Inter-Process Communication" to prev.
32256 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32260 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32262         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32264         * manual/arith.texi: Fix spaces after sentences.
32265         * manual/charset.texi: Likewise.
32266         * manual/errno.texi: Likewise.
32267         * manual/install.texi: Likewise.
32268         * manual/llio.texi: Likewise.
32269         * manual/locale.texi: Likewise.
32270         * manual/maint.texi: Likewise.
32271         * manual/math.texi: Likewise.
32272         * manual/memory.texi: Likewise.
32273         * manual/message.texi: Likewise.
32274         * manual/probes.texi: Likewise.
32275         * manual/resource.texi: Likewise.
32276         * manual/signal.texi: Likewise.
32277         * manual/socket.texi: Likewise.
32278         * manual/stdio.texi: Likewise.
32279         * manual/string.texi: Likewise.
32280         * manual/time.texi: Likewise.
32281         * manual/users.texi: Likewise.
32283 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32285         [BZ #16632]
32286         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32287         _DEFAULT_SOURCE is defined.
32289 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32290             Carlos O'Donell  <carlos@redhat.com>
32292         [BZ #16613]
32293         * elf/dl-tls.c (_dl_count_modids): New function.
32294         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32295         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32296         audit library and increment generation counter.
32297         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32298         * elf/tst-audit9.c: New file.
32299         * elf/tst-auditmod9a.c: New file.
32300         * elf/tst-auditmod9b.c: New file.
32301         * elf/Makefile: Add rules to build and run tst-audit9.
32303 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32305         [BZ #15347]
32306         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32308 2014-02-25  Will Newton  <will.newton@linaro.org>
32310         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32311         (__longjmp): Restore sp and lr before restoring callee
32312         saved registers.  Add longjmp and longjmp_target
32313         SystemTap probe point.
32314         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32315         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32316         Define to zero to match jmpbuf layout.
32317         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32318         (__sigsetjmp): Save sp and lr before saving callee
32319         saved registers.  Add setjmp SystemTap probe point.
32321 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32323         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32325 2014-02-24  Andreas Schwab  <schwab@suse.de>
32327         [BZ #15804]
32328         * elf/pldd.c (wait_for_ptrace_stop): New function.
32329         (main): Call it after attaching.
32331 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32333         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32334         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32335         Versions files is now verboten.
32336         * hurd/Versions (libc: GLIBC_2.0):
32337         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32338         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32339         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32340         * mach/Versions: Likewise.
32342         * csu/Versions: Remove unused %include.
32343         * resolv/Versions: Likewise.
32345 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32347         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32348         ($(objpfx)check-local-headers.out): Likewise.
32349         ($(objpfx)begin-end-check.out): Likewise.
32350         * Makerules (check-abi-%.out): Likewise.
32351         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32352         ($(objpfx)test2.cat): Likewise.
32353         ($(objpfx)de/libc.cat): Likewise.
32354         ($(objpfx)test-gencat.out): Likewise.
32355         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32356         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32357         ($(objpfx)noload-mem): Likewise.
32358         ($(objpfx)tst-pathopt.out): Likewise.
32359         ($(objpfx)tst-rtld-load-self.out): Likewise.
32360         ($(objpfx)tst-array1-cmp.out): Likewise.
32361         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32362         ($(objpfx)tst-array2-cmp.out): Likewise.
32363         ($(objpfx)tst-array3-cmp.out): Likewise.
32364         ($(objpfx)tst-array4-cmp.out): Likewise.
32365         ($(objpfx)tst-array5-cmp.out): Likewise.
32366         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32367         ($(objpfx)check-textrel.out): Likewise.
32368         ($(objpfx)check-execstack.out): Likewise.
32369         ($(objpfx)check-localplt.out): Likewise.
32370         ($(objpfx)order2-cmp.out): Likewise.
32371         ($(objpfx)tst-leaks1-mem): Likewise.
32372         ($(objpfx)tst-leaks1-static-mem): Likewise.
32373         ($(objpfx)tst-initorder-cmp.out): Likewise.
32374         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32375         ($(objpfx)tst-unused-dep.out): Likewise.
32376         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32377         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32378         * iconv/Makefile (test-iconvconfig): Likewise.
32379         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32380         ($(objpfx)iconv-test.out): Likewise.
32381         ($(objpfx)tst-tables.out): Likewise.
32382         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32383         ($(objpfx)tst-gettext.out): Likewise.
32384         ($(objpfx)tst-translit.out): Likewise.
32385         ($(objpfx)tst-gettext2.out): Likewise.
32386         ($(objpfx)tst-gettext4.out): Likewise.
32387         ($(objpfx)tst-gettext6.out): Likewise.
32388         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32389         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32390         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32391         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32392         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32393         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32394         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32395         ($(objpfx)wordexp-tst.out): Likewise.
32396         ($(objpfx)annexc.out): Likewise.
32397         ($(objpfx)tst-fnmatch-mem): Likewise.
32398         ($(objpfx)bug-regex2-mem): Likewise.
32399         ($(objpfx)bug-regex14-mem): Likewise.
32400         ($(objpfx)bug-regex21-mem): Likewise.
32401         ($(objpfx)bug-regex31-mem): Likewise.
32402         ($(objpfx)tst-vfork3-mem): Likewise.
32403         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32404         ($(objpfx)tst-pcre-mem): Likewise.
32405         ($(objpfx)tst-boost-mem): Likewise.
32406         ($(objpfx)tst-getconf.out): Likewise.
32407         ($(objpfx)bug-ga2-mem): Likewise.
32408         ($(objpfx)bug-glob2-mem): Likewise.
32409         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32410         ($(objpfx)mtrace-tst-leaks2): Likewise.
32411         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32412         ($(objpfx)tst-printf.out): Likewise.
32413         ($(objpfx)tst-setvbuf1.out): Likewise.
32414         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32415         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32416         ($(objpfx)tst-fmtmsg.out): Likewise.
32417         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32418         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32420         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32421         * bits/sigaction.h [__USE_MISC]: Likewise.
32422         * bits/waitstatus.h: Update #endif comments.
32423         * ctype/ctype.h: Likewise.
32424         * dirent/dirent.h: Likewise.
32425         [__USE_MISC]: Remove redundant conditionals.
32426         * grp/grp.h: Update #endif comments.
32427         [__USE_GNU]: Remove redundant conditionals.
32428         [__USE_MISC]: Likewise.
32429         * inet/netinet/in.h [__USE_GNU]: Likewise.
32430         * io/sys/stat.h [__USE_MISC]: Likewise.
32431         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32432         * libio/bits/stdio.h: Update #endif comments.
32433         [__USE_MISC]: Remove redundant conditionals.
32434         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32435         * libio/stdio.h: Update #endif comments.
32436         [__USE_MISC]: Remove redundant conditionals.
32437         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32438         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32439         * math/math.h: Update #else and #endif comments.
32440         [__USE_MISC]: Remove redundant conditionals.
32441         * misc/sys/uio.h: Update #endif comments.
32442         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32443         * posix/glob.h [__USE_MISC]: Likewise.
32444         * posix/sys/types.h: Update #endif comments.
32445         [__USE_MISC]: Remove redundant conditionals.
32446         * posix/sys/wait.h: Update #endif comments.
32447         [__USE_MISC]: Remove redundant conditionals.
32448         * posix/unistd.h: Update #endif comments.
32449         [__USE_MISC]: Remove redundant conditionals.
32450         * pwd/pwd.h [__USE_GNU]: Likewise.
32451         [__USE_MISC]: Likewise.
32452         * resolv/netdb.h [__USE_GNU]: Likewise.
32453         * signal/signal.h: Update #endif comments.
32454         [__USE_MISC]: Remove redundant conditionals.
32455         * stdlib/stdlib.h: Update #else and #endif comments.
32456         [__USE_MISC]: Remove redundant conditionals.
32457         [__USE_GNU]: Likewise.
32458         * string/bits/string2.h [__USE_MISC]: Likewise.
32459         * string/string.h: Update #endif comments.
32460         [__USE_MISC]: Remove redundant conditionals.
32461         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32462         Likewise.
32463         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32464         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32465         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32466         Likewise.
32467         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32468         Likewise.
32469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32470         comments.
32471         [__USE_MISC]: Remove redundant conditionals.
32472         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32473         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32474         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32475         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32476         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32477         Likewise.
32478         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32479         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32480         Likewise.
32481         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32482         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32483         Likewise.
32484         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32485         Likewise.
32486         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32487         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32488         Likewise.
32489         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32490         Likewise.
32491         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32492         * sysdeps/x86/bits/string.h: Update #endif comments.
32493         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32494         conditionals.
32495         * time/sys/time.h: Update #endif comments.
32496         * time/time.h: Likewise.
32497         [__USE_MISC]: Remove redundant conditionals.
32499 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32501         [BZ #16600]
32502         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32504 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32506         * Versions.def (librt): Add GLIBC_2.17.
32508 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32510         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32511         synonym for _SYS_AUXV_H to allow direct inclusion.
32512         * sysdeps/sparc/bits/hwcap.h: Likewise.
32513         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32514         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32515         * sysdeps/sparc/sysdep.h: Likewise.
32517 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32519         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32521 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32523         * benchtests/bench-strrchr.c: Print length instead of position.
32525 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32527         [BZ #16611]
32528         * sysdeps/unix/sysv/linux/kernel-features.h
32529         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32530         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32531         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32532         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32533         Likewise.
32534         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32535         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32536         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32537         (__ASSUME_SENDMMSG): Define instead of using previous
32538         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32539         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32540         (__ASSUME_SENDMMSG_SYSCALL): Define.
32541         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32542         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32543         Likewise.
32544         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32545         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32546         Likewise.
32547         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32548         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32549         Likewise.
32550         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32551         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32552         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32553         [__ASSUME_SENDMMSG]: Change conditionals to
32554         [__ASSUME_SENDMMSG_SOCKETCALL].
32555         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32556         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32557         Define.
32558         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32559         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32560         Likewise.
32561         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32562         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32563         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32564         [!__ASSUME_SENDMMSG]: Change conditional to
32565         [!__ASSUME_SENDMMSG_SOCKETCALL].
32566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32567         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32568         Define.
32570         [BZ #16610]
32571         * sysdeps/unix/sysv/linux/kernel-features.h
32572         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32573         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32574         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32575         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32576         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32577         [__i386__ || __sparc__]
32578         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32579         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32580         (__ASSUME_RECVMMSG): Define instead of using previous
32581         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32583         (__ASSUME_RECVMMSG_SYSCALL): Define.
32584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32586         Likewise.
32587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32588         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32589         Likewise.
32590         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32591         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32592         Likewise.
32593         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32594         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32595         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32596         [__ASSUME_RECVMMSG]: Change condition to
32597         [__ASSUME_RECVMMSG_SOCKETCALL].
32598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32600         Define.
32601         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32604         Likewise.
32605         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32606         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32607         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32608         [!__ASSUME_RECVMMSG]: Change condition to
32609         [!__ASSUME_RECVMMSG_SOCKETCALL].
32610         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32611         (__ASSUME_RECVMMSG_SYSCALL): Define.
32613         [BZ #16609]
32614         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32615         __powerpc__ || __s390__ || __sh__ || __sparc__]
32616         (__ASSUME_SOCKETCALL): Define.
32617         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32618         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32619         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32620         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32621         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32622         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32623         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32624         (__ASSUME_ACCEPT4): Define instead of using previous
32625         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32626         __powerpc__ || __sparc__ || __s390__)] condition.
32627         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32628         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32629         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32630         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32631         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32632         [!__ASSUME_ACCEPT4]: Change condition to
32633         [!__ASSUME_ACCEPT4_SOCKETCALL].
32634         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32635         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32636         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32638         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32639         __ASSUME_ACCEPT4_SYSCALL.
32640         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32641         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32642         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32643         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32644         __ASSUME_ACCEPT4_SYSCALL.
32645         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32646         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32647         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32648         [__ASSUME_ACCEPT4]: Change condition to
32649         [__ASSUME_ACCEPT4_SOCKETCALL].
32650         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32651         (__ASSUME_SOCKETCALL): Define.
32652         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32654         (__ASSUME_SOCKETCALL): Define.
32655         (__ASSUME_ACCEPT4): Remove.
32656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32657         Define.
32658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32659         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32660         Likewise.
32661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32662         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32664         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32665         macro.
32666         (HWCAP_ARM_LPAE): Likewise.
32667         (HWCAP_ARM_EVTSTRM): Likewise.
32668         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32669         Add vpfd32, lpae and evtstrm.
32670         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32671         Increase to 22.
32673 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32675         * math/auto-libm-test-in: Add tests of clog10.
32676         * math/auto-libm-test-out: Regenerated.
32677         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32678         * sysdeps/i386/fpu/libm-test-ulps: Update.
32679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32681 2014-02-18  Andreas Schwab  <schwab@suse.de>
32683         [BZ #16574]
32684         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32685         Store non-zero if the second buffer was newly allocated.
32686         (send_dg): Likewise.
32687         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32688         to send_vc and send_dg.
32689         (res_nsend): Pass NULL for ansp2_malloced.
32690         * resolv/res_query.c (__libc_res_nquery): Add parameter
32691         answerp2_malloced and pass it down to __libc_res_nsend.
32692         (res_nquery): Pass additional NULL to __libc_res_nquery.
32693         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32694         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32695         second answer buffer if answerp2_malloced was set.
32696         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32697         (__libc_res_nquerydomain): Add parameter
32698         answerp2_malloced and pass it down to __libc_res_nquery.
32699         (res_nquerydomain): Pass additional NULL to
32700         __libc_res_nquerydomain.
32701         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32702         additional NULL to __libc_res_nsend and __libc_res_nquery.
32703         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32704         additional NULL to __libc_res_nsearch.
32705         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32706         parameter of __libc_res_nsearch to check for separately allocated
32707         second buffer.
32708         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32709         __libc_res_nquery.
32710         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32711         additional NULL to __libc_res_nquery.
32712         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32713         __libc_res_nsearch.
32714         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32715         * include/resolv.h: Update prototypes of __libc_res_nquery,
32716         __libc_res_nsearch, __libc_res_nsend.
32718 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32720         * math/auto-libm-test-in: Add tests of fma.
32721         * math/auto-libm-test-out: Regenerated.
32722         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32723         (fma_towardzero_test_data): Likewise.
32724         (fma_downward_test_data): Likewise.
32725         (fma_upward_test_data): Likewise.
32726         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32727         mpc_mode.
32728         (rounding_modes): Add values for new field.
32729         (func_calc_method): Add value mpfr_fff_f.
32730         (func_calc_desc): Add mpfr_fff_f union field.
32731         (test_function): Add field exact_args.
32732         (FUNC): Add macro argument EXACT_ARGS.
32733         (FUNC_mpfr_f_f): Update call to FUNC.
32734         (FUNC_mpfr_f_f): Likewise.
32735         (FUNC_mpfr_ff_f): Likewise.
32736         (FUNC_mpfr_if_f): Likewise.
32737         (FUNC_mpc_c_f): Likewise.
32738         (FUNC_mpc_c_c): Likewise.
32739         (test_functions): Add fma.  Update calls to FUNC.
32740         (handle_input_arg): Add argument exact_args.
32741         (add_test): Update call to handle_input_arg.
32742         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32743         (output_for_one_input_case): Update call to calc_generic_results.
32744         Recalculate exact zero results in each rounding mode.
32746         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32747         non-negative before setting low bit.
32748         * math/auto-libm-test-in: Mark one asin test possibly having
32749         spurious underflow.
32750         * math/auto-libm-test-out: Regenerated.
32751         * sysdeps/i386/fpu/libm-test-ulps: Update.
32752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32754 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32756         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32757         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32758         ports/sysdeps/unix/sysv/linux/microblaze.
32759         * README: Add missing listing for microblaze*-*-linux-gnu.
32761 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32763         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32764         duplicate code
32766 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32768         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32769         * sysdeps/unix/sysv/linux/ia64: Move directory from
32770         ports/sysdeps/unix/sysv/linux/ia64.
32771         * README: Update listing for ia64-*-linux-gnu.
32773 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32774             Joseph Myers  <joseph@codesourcery.com>
32776         * Makeconfig (test-name): New variable.
32777         (evaluate-test): Likewise.
32778         * Makerules (do-test-clean): Remove .test-result files.
32779         (common-mostlyclean): Likewise.
32780         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32781         * scripts/evaluate-test.sh: New file.
32783 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32785         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32786         separate $(objpfx)tst-fopenloc-cmp.out and
32787         $(objpfx)tst-fopenloc-mem.out targets.
32788         (tests): Update dependencies.
32789         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32790         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32791         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32792         (tst-rxspencer-no-utf8-ARGS): New variable.
32793         (tst-rxspencer-no-utf8-ENV): Likewise.
32794         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32795         instead of $(objpfx)tst-rxspencer-mem.
32796         ($(objpfx)tst-rxspencer-mem): Change target to
32797         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32798         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32799         * posix/tst-rxspencer-no-utf8.c: New file.
32801         * elf/Makefile ($(objpfx)order.out): Remove rule.
32802         [$(run-built-tests) = yes] (tests): Depend on
32803         $(objpfx)order-cmp.out.
32804         ($(objpfx)order-cmp.out): New rule.
32805         [$(run-built-tests) = yes] (tests): Depend on
32806         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32807         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32808         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32809         $(objpfx)tst-array5-static-cmp.out.
32810         ($(objpfx)tst-array1.out): Remove rule.
32811         ($(objpfx)tst-array1-cmp.out): New rule.
32812         ($(objpfx)tst-array1-static.out): Remove rule.
32813         ($(objpfx)tst-array1-static-cmp.out): New rule.
32814         ($(objpfx)tst-array2.out): Remove rule.
32815         ($(objpfx)tst-array2-cmp.out): New rule.
32816         ($(objpfx)tst-array3.out): Remove rule.
32817         ($(objpfx)tst-array3-cmp.out): New rule.
32818         ($(objpfx)tst-array4.out): Remove rule.
32819         ($(objpfx)tst-array4-cmp.out): New rule.
32820         ($(objpfx)tst-array5.out): Remove rule.
32821         ($(objpfx)tst-array5-cmp.out): New rule.
32822         ($(objpfx)tst-array5-static.out): Remove rule.
32823         ($(objpfx)tst-array5-static-cmp.out): New rule.
32824         [$(run-built-tests) = yes] (tests): Depend on
32825         $(objpfx)order2-cmp.out.
32826         ($(objpfx)order2.out): Remove rule.
32827         ($(objpfx)order2-cmp.out): New rule.
32828         ($(objpfx)tst-initorder.out): Remove rule.
32829         [$(run-built-tests) = yes] (tests): Depend on
32830         $(objpfx)tst-initorder-cmp.out.
32831         ($(objpfx)tst-initorder-cmp.out): New rule.
32832         ($(objpfx)tst-initorder2.out): Remove rule.
32833         [$(run-built-tests) = yes] (tests): Depend on
32834         $(objpfx)tst-initorder2-cmp.out.
32835         ($(objpfx)tst-initorder2-cmp.out): New rule.
32836         [$(run-built-tests) = yes] (tests): Depend on
32837         $(objpfx)tst-unused-dep-cmp.out.
32838         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32839         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32840         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32841         on $(objpfx)tst-setvbuf1-cmp.out.
32842         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32843         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32844         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32845         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32846         ($(objpfx)tst-svc.out): Remove rule.
32847         ($(objpfx)tst-svc-cmp.out): New rule.
32849 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32851         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32852         * ctype/ctype.h [__USE_MISC]: Likewise.
32853         * dirent/dirent.h [__USE_MISC]: Likewise.
32854         * grp/grp.h [__USE_MISC]: Likewise.
32855         * io/fcntl.h [__USE_MISC]: Likewise.
32856         * io/sys/stat.h [__USE_MISC]: Likewise.
32857         * libio/stdio.h [__USE_MISC]: Likewise.
32858         * posix/unistd.h [__USE_MISC]: Likewise.
32859         * pwd/pwd.h [__USE_MISC]: Likewise.
32860         * stdlib.h [__USE_MISC]: Likewise.
32861         * string/bits/string2.h [__USE_MISC]: Likewise.
32862         * string/string.h [__USE_MISC]: Likewise.
32863         * time/time.h [__USE_MISC]: Likewise.
32865 2014-02-13  Andreas Schwab  <schwab@suse.de>
32867         [BZ #16574]
32868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32869         second answer buffer if it was separately allocated.
32871 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32873         * sysdeps/mips/math-tests.h: Include <features.h>.
32874         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32875         (ROUNDING_TESTS_long_double): Do not define.
32876         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32877         (EXCEPTION_TESTS_long_double): Likewise.
32878         * sysdeps/mips/mips64/libm-test-ulps: Update.
32880         * include/features.h (__USE_BSD): Remove macro definitions.
32881         (__USE_SVID): Likewise.
32882         (_BSD_SOURCE): Likewise.
32883         (_SVID_SOURCE): Likewise.
32884         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32885         from definition of _DEFAULT_SOURCE.
32886         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32887         [_DEFAULT_SOURCE].
32888         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32889         * bits/mman.h [__USE_BSD]: Likewise.
32890         * bits/termios.h [__USE_BSD]: Likewise.
32891         * bits/waitstatus.h [__USE_BSD]: Likewise.
32892         * ctype/ctype.h [__USE_SVID]: Likewise.
32893         * dirent/dirent.h [__USE_BSD]: Likewise.
32894         * grp/grp.h [__USE_SVID]: Likewise.
32895         [__USE_BSD]: Likewise.
32896         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32897         * io/fcntl.h [__USE_BSD]: Likewise.
32898         * io/ftw.h [__USE_BSD]: Likewise.
32899         * io/sys/stat.h [__USE_BSD]: Likewise.
32900         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32901         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32902         * libio/stdio.h [__USE_SVID]: Likewise.
32903         [__USE_BSD]: Likewise.
32904         * math/math.h [__USE_SVID]: Likewise.
32905         [__USE_BSD]: Likewise.
32906         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32907         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32908         * misc/search.h [__USE_SVID]: Likewise.
32909         * misc/sys/mman.h [__USE_BSD]: Likewise.
32910         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32911         * misc/sys/uio.h [__USE_BSD]: Likewise.
32912         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32913         * posix/glob.h [__USE_BSD]: Likewise.
32914         * posix/regex.h [__USE_BSD]: Likewise.
32915         * posix/sys/types.h [__USE_BSD]: Likewise.
32916         [__USE_SVID]: Likewise.
32917         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32918         * posix/sys/wait.h [__USE_BSD]: Likewise.
32919         [__USE_SVID]: Likewise.
32920         * posix/unistd.h [__USE_BSD]: Likewise.
32921         [__USE_SVID]: Likewise.
32922         * pwd/pwd.h [__USE_SVID]: Likewise.
32923         * resolv/netdb.h [__USE_BSD]: Likewise.
32924         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32925         * signal/signal.h [__USE_BSD]: Likewise.
32926         [__USE_SVID]: Likewise.
32927         * socket/sys/socket.h [__USE_BSD]: Likewise.
32928         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32929         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32930         [__USE_SVID]: Likewise.
32931         * string/bits/string2.h [__USE_BSD]: Likewise.
32932         [__USE_SVID]: Likewise.
32933         * string/bits/string3.h [__USE_BSD]: Likewise.
32934         * string/endian.h [__USE_BSD]: Likewise.
32935         * string/string.h [__USE_SVID]: Likewise.
32936         [__USE_BSD]: Likewise.
32937         * string/strings.h [__USE_BSD]: Likewise.
32938         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32939         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32940         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32941         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32942         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32943         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32944         Likewise.
32945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32946         Likewise.
32947         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32948         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32949         Likewise.
32950         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32951         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32952         Likewise.
32953         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32954         Likewise.
32955         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32956         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32957         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32958         Likewise.
32959         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32960         Likewise.
32961         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32962         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32963         * termios/termios.h [__USE_BSD]: Likewise.
32964         * time/sys/time.h [__USE_BSD]: Likewise.
32965         * time/time.h [__USE_BSD]: Likewise.
32966         [__USE_SVID]: Likewise.
32968         * Makefile (subdir_targets): Remove subdir_lint.out.
32970         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32971         (do-tst-printf): Likewise.
32972         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32973         $(objpfx)tst-printf.out.
32975         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32977         * Makerules (check-abi-%): Change target to
32978         $(objpfx)check-abi-%.out.
32979         (check-abi target): Update dependencies.
32980         (check-abi-pattern variable): Redirect output of diff to $@.
32981         (check-abi variable): Likewise.
32982         * elf/Makefile (check-abi): Update dependencies.
32984         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32985         unused.
32986         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32987         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32988         subnormal range.
32989         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32990         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32991         value has largest subnormal exponent.
32992         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32993         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32994         * sysdeps/aarch64/soft-fp/sfp-machine.h
32995         (_FP_TININESS_AFTER_ROUNDING): New macro.
32996         * sysdeps/alpha/soft-fp/sfp-machine.h
32997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32998         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32999         Likewise.
33000         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33002         * sysdeps/mips/soft-fp/sfp-machine.h
33003         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33004         * sysdeps/powerpc/soft-fp/sfp-machine.h
33005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33006         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33007         Likewise.
33008         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33010         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33012         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33013         Likewise.
33015 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33017         [BZ #16545]
33018         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33019         model 1.
33021 2014-02-12  Richard Henderson  <rth@redhat.com>
33023         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33024         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33025         * sysdeps/unix/sysv/linux/alpha: Move directory from
33026         ports/sysdeps/unix/sysv/linux/alpha.
33027         * README: Update listing for alpha-*-linux-gnu.
33029 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33031         * include/features.h: Update comment documenting feature test
33032         macros.
33033         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33034         _DEFAULT_SOURCE.
33035         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33036         (_SVID_SOURCE): Likewise.
33037         (_DEFAULT_SOURCE): Update description of default features.
33038         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33039         with _GNU_SOURCE.
33040         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33041         (S_ISVTX): Likewise.
33042         * manual/math.texi (Mathematical Constants): Likewise.
33043         * manual/signal.texi (Interrupted Primitives): Likewise.
33044         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33045         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33046         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33047         Don't refer to _SVID_SOURCE in warning text.
33049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33051         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33052         already defined.
33053         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33054         * sysdeps/mips/dl-lookup.c: Remove.
33055         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33057 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33059         [BZ #16447]
33060         * math/auto-libm-test-in: Add testcase for expl.
33061         * math/auto-libm-test-out: Regenerate.
33062         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33063         calculation of unsafe.
33064         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33066 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33068         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33069         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33070         ports/sysdeps/unix/sysv/linux/aarch64.
33071         * README: Update listing for aarch64*-*-linux-gnu.
33073 2014-02-11  Will Newton  <will.newton@linaro.org>
33075         * manual/probes.texi (Mathematical Function Probes): Use
33076         "triggered" instead of "hit".
33078         * manual/probes.texi (Internal Probes): Add documentation
33079         of setjmp, longjmp and longjmp_target probes.
33081         * include/stap-probe.h: Add comment about probe argument
33082         format.
33084         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33085         definition.  (tr_where, tr_freehook, tr_mallochook,
33086         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33088 2014-02-11  David S. Miller  <davem@davemloft.net>
33090         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33091         processing int_tests.
33093 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33095         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33096         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33097         * sysdeps/unix/sysv/linux/mips: Move directory from
33098         ports/sysdeps/unix/sysv/linux/mips.
33099         * README: Update listing for mips-*-linux-gnu and
33100         mips64-*-linux-gnu.
33102 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33104         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33105         * sysdeps/unix/sysv/linux/m68k: Move directory from
33106         ports/sysdeps/unix/sysv/linux/m68k.
33107         * README: Update listing for m68k-*-linux-gnu.
33109 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33111         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33112         * sysdeps/unix/sysv/linux/generic: Move directory from
33113         ports/sysdeps/unix/sysv/linux/generic.
33114         * sysdeps/unix/sysv/linux/tile: Move directory from
33115         ports/sysdeps/unix/sysv/linux/tile.
33116         * README: Update listing for tile*-*-linux-gnu.
33118 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33120         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33121         __builtin_expect.
33122         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33123         * catgets/open_catalog.c (__open_catalog): Likewise.
33124         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33125         * debug/confstr_chk.c: Likewise.
33126         * debug/fread_chk.c (__fread_chk): Likewise.
33127         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33128         * debug/getgroups_chk.c: Likewise.
33129         * debug/mbsnrtowcs_chk.c: Likewise.
33130         * debug/mbsrtowcs_chk.c: Likewise.
33131         * debug/mbstowcs_chk.c: Likewise.
33132         * debug/memcpy_chk.c: Likewise.
33133         * debug/memmove_chk.c: Likewise.
33134         * debug/mempcpy_chk.c: Likewise.
33135         * debug/memset_chk.c: Likewise.
33136         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33137         * debug/strcat_chk.c (__strcat_chk): Likewise.
33138         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33139         * debug/strncat_chk.c (__strncat_chk): Likewise.
33140         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33141         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33142         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33143         * debug/wcpncpy_chk.c: Likewise.
33144         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33145         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33146         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33147         * debug/wcsncpy_chk.c: Likewise.
33148         * debug/wcsnrtombs_chk.c: Likewise.
33149         * debug/wcsrtombs_chk.c: Likewise.
33150         * debug/wcstombs_chk.c: Likewise.
33151         * debug/wmemcpy_chk.c: Likewise.
33152         * debug/wmemmove_chk.c: Likewise.
33153         * debug/wmempcpy_chk.c: Likewise.
33154         * debug/wmemset_chk.c: Likewise.
33155         * dirent/scandirat.c (SCANDIRAT): Likewise.
33156         * dlfcn/dladdr1.c (dladdr1): Likewise.
33157         * dlfcn/dladdr.c (dladdr): Likewise.
33158         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33159         * dlfcn/dlerror.c (__dlerror): Likewise.
33160         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33161         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33162         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33163         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33164         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33165         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33166         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33167         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33168         Likewise.
33169         * elf/dl-conflict.c: Likewise.
33170         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33171         * elf/dl-dst.h: Likewise.
33172         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33173         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33175         * elf/dl-init.c (call_init, _dl_init): Likewise.
33176         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33177         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33178         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33179         Likewise.
33180         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33181         Likewise.
33182         * elf/dl-minimal.c (__libc_memalign): Likewise.
33183         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33184         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33185         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33186         * elf/dl-sym.c (do_sym): Likewise.
33187         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33188         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33189         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33190         * elf/dl-writev.h (_dl_writev): Likewise.
33191         * elf/ldconfig.c (search_dir): Likewise.
33192         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33193         (dl_main): Likewise.
33194         * elf/setup-vdso.h (setup_vdso): Likewise.
33195         * grp/compat-initgroups.c (compat_call): Likewise.
33196         * grp/fgetgrent.c (fgetgrent): Likewise.
33197         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33198         * grp/putgrent.c (putgrent): Likewise.
33199         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33200         Likewise.
33201         * hurd/hurdinit.c: Likewise.
33202         * iconvdata/8bit-gap.c (struct): Likewise.
33203         * iconvdata/ansi_x3.110.c : Likewise.
33204         * iconvdata/big5.c : Likewise.
33205         * iconvdata/big5hkscs.c : Likewise.
33206         * iconvdata/cp1255.c: Likewise.
33207         * iconvdata/cp1258.c : Likewise.
33208         * iconvdata/cp932.c : Likewise.
33209         * iconvdata/euc-cn.c: Likewise.
33210         * iconvdata/euc-jisx0213.c : Likewise.
33211         * iconvdata/euc-jp.c: Likewise.
33212         * iconvdata/euc-jp-ms.c : Likewise.
33213         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33214         * iconvdata/gb18030.c : Likewise.
33215         * iconvdata/gbbig5.c (const): Likewise.
33216         * iconvdata/gbgbk.c: Likewise.
33217         * iconvdata/gbk.c : Likewise.
33218         * iconvdata/ibm1364.c : Likewise.
33219         * iconvdata/ibm930.c : Likewise.
33220         * iconvdata/ibm932.c: Likewise.
33221         * iconvdata/ibm933.c : Likewise.
33222         * iconvdata/ibm935.c : Likewise.
33223         * iconvdata/ibm937.c : Likewise.
33224         * iconvdata/ibm939.c : Likewise.
33225         * iconvdata/ibm943.c: Likewise.
33226         * iconvdata/iso_11548-1.c: Likewise.
33227         * iconvdata/iso-2022-cn.c : Likewise.
33228         * iconvdata/iso-2022-cn-ext.c : Likewise.
33229         * iconvdata/iso-2022-jp-3.c: Likewise.
33230         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33231         * iconvdata/iso-2022-kr.c : Likewise.
33232         * iconvdata/iso646.c (gconv_end): Likewise.
33233         * iconvdata/iso_6937-2.c : Likewise.
33234         * iconvdata/iso_6937.c : Likewise.
33235         * iconvdata/iso8859-1.c: Likewise.
33236         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33237         * iconvdata/shift_jisx0213.c : Likewise.
33238         * iconvdata/sjis.c : Likewise.
33239         * iconvdata/t.61.c : Likewise.
33240         * iconvdata/tcvn5712-1.c : Likewise.
33241         * iconvdata/tscii.c: Likewise.
33242         * iconvdata/uhc.c : Likewise.
33243         * iconvdata/unicode.c (gconv_end): Likewise.
33244         * iconvdata/utf-16.c (gconv_end): Likewise.
33245         * iconvdata/utf-32.c (gconv_end): Likewise.
33246         * iconvdata/utf-7.c (base64): Likewise.
33247         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33248         * iconv/gconv_close.c (__gconv_close): Likewise.
33249         * iconv/gconv_open.c (__gconv_open): Likewise.
33250         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33251         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33252         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33253         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33254         (ucs4le_internal_loop_single): Likewise.
33255         * iconv/iconv.c (iconv): Likewise.
33256         * iconv/iconv_close.c: Likewise.
33257         * iconv/loop.c (SINGLE): Likewise.
33258         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33259         * include/atomic.h: Likewise.
33260         * inet/inet6_option.c (option_alloc): Likewise.
33261         * intl/bindtextdom.c (set_binding_values): Likewise.
33262         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33263         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33264         * intl/localealias.c (read_alias_file): Likewise.
33265         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33266         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33267         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33268         * libio/fmemopen.c (fmemopen): Likewise.
33269         * libio/iofgets.c (_IO_fgets): Likewise.
33270         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33271         * libio/iofgetws.c (fgetws): Likewise.
33272         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33273         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33274         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33275         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33276         * locale/findlocale.c (_nl_find_locale): Likewise.
33277         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33278         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33279         Likewise.
33280         * locale/setlocale.c (setlocale): Likewise.
33281         * login/programs/pt_chown.c (main): Likewise.
33282         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33283         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33284         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33285         (mmap, mmap64, mremap, munmap): Likewise.
33286         * math/e_exp2l.c: Likewise.
33287         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33288         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33289         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33290         * math/s_catan.c (__catan): Likewise.
33291         * math/s_catanf.c (__catanf): Likewise.
33292         * math/s_catanh.c (__catanh): Likewise.
33293         * math/s_catanhf.c (__catanhf): Likewise.
33294         * math/s_catanhl.c (__catanhl): Likewise.
33295         * math/s_catanl.c (__catanl): Likewise.
33296         * math/s_ccosh.c (__ccosh): Likewise.
33297         * math/s_ccoshf.c (__ccoshf): Likewise.
33298         * math/s_ccoshl.c (__ccoshl): Likewise.
33299         * math/s_cexp.c (__cexp): Likewise.
33300         * math/s_cexpf.c (__cexpf): Likewise.
33301         * math/s_cexpl.c (__cexpl): Likewise.
33302         * math/s_clog10.c (__clog10): Likewise.
33303         * math/s_clog10f.c (__clog10f): Likewise.
33304         * math/s_clog10l.c (__clog10l): Likewise.
33305         * math/s_clog.c (__clog): Likewise.
33306         * math/s_clogf.c (__clogf): Likewise.
33307         * math/s_clogl.c (__clogl): Likewise.
33308         * math/s_csin.c (__csin): Likewise.
33309         * math/s_csinf.c (__csinf): Likewise.
33310         * math/s_csinh.c (__csinh): Likewise.
33311         * math/s_csinhf.c (__csinhf): Likewise.
33312         * math/s_csinhl.c (__csinhl): Likewise.
33313         * math/s_csinl.c (__csinl): Likewise.
33314         * math/s_csqrt.c (__csqrt): Likewise.
33315         * math/s_csqrtf.c (__csqrtf): Likewise.
33316         * math/s_csqrtl.c (__csqrtl): Likewise.
33317         * math/s_ctan.c (__ctan): Likewise.
33318         * math/s_ctanf.c (__ctanf): Likewise.
33319         * math/s_ctanh.c (__ctanh): Likewise.
33320         * math/s_ctanhf.c (__ctanhf): Likewise.
33321         * math/s_ctanhl.c (__ctanhl): Likewise.
33322         * math/s_ctanl.c (__ctanl): Likewise.
33323         * math/w_pow.c: Likewise.
33324         * math/w_powf.c: Likewise.
33325         * math/w_powl.c: Likewise.
33326         * math/w_scalb.c (sysv_scalb): Likewise.
33327         * math/w_scalbf.c (sysv_scalbf): Likewise.
33328         * math/w_scalbl.c (sysv_scalbl): Likewise.
33329         * misc/error.c (error_tail): Likewise.
33330         * misc/pselect.c (__pselect): Likewise.
33331         * nis/nis_callback.c (__nis_create_callback): Likewise.
33332         * nis/nis_call.c (__nisfind_server): Likewise.
33333         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33334         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33335         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33336         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33337         * nis/nis_lookup.c (nis_lookup): Likewise.
33338         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33339         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33340         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33341         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33342         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33343         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33344         * nis/nss_compat/compat-initgroups.c (add_group)
33345         (internal_getgrent_r): Likewise.
33346         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33347         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33348         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33349         (internal_getspnam_r): Likewise.
33350         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33351         (_nss_nis_getaliasbyname_r): Likewise.
33352         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33353         (_nss_nis_getntohost_r): Likewise.
33354         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33355         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33356         (_nss_nis_getgrgid_r): Likewise.
33357         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33358         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33359         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33360         (_nss_nis_gethostbyname4_r): Likewise.
33361         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33362         (initgroups_netid): Likewise.
33363         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33364         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33365         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33366         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33367         (_nss_nis_getprotobynumber_r): Likewise.
33368         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33369         (_nss_nis_getsecretkey): Likewise.
33370         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33371         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33372         (_nss_nis_getpwuid_r): Likewise.
33373         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33374         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33375         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33376         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33377         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33378         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33379         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33380         Likewise.
33381         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33382         (_nss_nisplus_getntohost_r): Likewise.
33383         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33384         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33385         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33386         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33387         Likewise.
33388         * nis/nss_nisplus/nisplus-initgroups.c
33389         (_nss_nisplus_initgroups_dyn): Likewise.
33390         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33391         (_nss_nisplus_getnetbyaddr_r): Likewise.
33392         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33393         (_nss_nisplus_getprotobynumber_r): Likewise.
33394         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33395         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33396         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33397         Likewise.
33398         * nis/nss_nisplus/nisplus-service.c
33399         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33400         (_nss_nisplus_getservbyport_r): Likewise.
33401         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33402         (_nss_nisplus_getspnam_r): Likewise.
33403         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33404         Likewise.
33405         * nscd/aicache.c (addhstaiX): Likewise.
33406         * nscd/cache.c (cache_search, prune_cache): Likewise.
33407         * nscd/connections.c (register_traced_file, send_ro_fd)
33408         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33409         (main_loop_epoll): Likewise.
33410         * nscd/grpcache.c (addgrbyX): Likewise.
33411         * nscd/hstcache.c (addhstbyX): Likewise.
33412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33413         * nscd/mem.c (gc, mempool_alloc): Likewise.
33414         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33415         (addinnetgrX): Likewise.
33416         * nscd/nscd-client.h (__nscd_acquire_maplock)
33417         (__nscd_drop_map_ref): Likewise.
33418         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33419         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33421         Likewise.
33422         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33423         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33424         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33425         (__nscd_get_map_ref): Likewise.
33426         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33427         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33428         Likewise.
33429         * nscd/pwdcache.c (addpwbyX): Likewise.
33430         * nscd/selinux.c (preserve_capabilities): Likewise.
33431         * nscd/servicescache.c (addservbyX): Likewise.
33432         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33433         * posix/fnmatch.c (fnmatch): Likewise.
33434         * posix/getopt.c (_getopt_internal_r): Likewise.
33435         * posix/glob.c (glob, glob_in_dir): Likewise.
33436         * posix/wordexp.c (exec_comm_child): Likewise.
33437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33438         (getanswer_r, gaih_getanswer_slice): Likewise.
33439         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33440         * resolv/res_init.c: Likewise.
33441         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33442         * resolv/res_query.c (__libc_res_nquery): Likewise.
33443         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33444         Likewise.
33445         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33446         * stdio-common/perror.c (perror): Likewise.
33447         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33448         * stdio-common/tmpnam.c (tmpnam): Likewise.
33449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33450         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33451         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33452         Likewise.
33453         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33454         * stdlib/putenv.c (putenv): Likewise.
33455         * stdlib/setenv.c (__add_to_environ): Likewise.
33456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33457         * stdlib/strtol_l.c (INTERNAL): Likewise.
33458         * string/memmem.c (memmem): Likewise.
33459         * string/strerror.c (strerror): Likewise.
33460         * string/strnlen.c (__strnlen): Likewise.
33461         * string/test-memmem.c (simple_memmem): Likewise.
33462         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33463         * sunrpc/pm_getport.c (__get_socket): Likewise.
33464         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33465         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33466         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33467         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33468         Likewise.
33469         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33471         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33472         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33473         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33474         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33475         Likewise.
33476         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33477         Likewise.
33478         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33479         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33481         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33482         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33485         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33486         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33487         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33488         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33489         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33490         Likewise.
33491         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33492         Likewise.
33493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33494         Likewise.
33495         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33496         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33499         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33500         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33501         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33502         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33504         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33505         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33506         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33507         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33508         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33510         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33511         Likewise.
33512         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33513         Likewise.
33514         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33515         Likewise.
33516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33517         Likewise.
33518         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33519         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33520         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33521         Likewise.
33522         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33523         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33524         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33525         * sysdeps/posix/sleep.c: Likewise.
33526         * sysdeps/posix/tempname.c: Likewise.
33527         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33528         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33529         Likewise.
33530         * sysdeps/powerpc/powerpc32/dl-machine.h
33531         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33532         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33534         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33535         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33536         Likewise.
33537         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33538         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33539         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33540         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33541         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33542         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33543         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33544         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33546         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33548         (elf_machine_lazy_rel): Likewise.
33549         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33551         (elf_machine_lazy_rel): Likewise.
33552         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33553         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33554         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33555         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33556         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33557         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33558         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33560         Likewise.
33561         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33562         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33563         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33564         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33565         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33566         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33567         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33568         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33569         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33570         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33571         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33572         Likewise.
33573         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33574         (__posix_fallocate64_l64): Likewise.
33575         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33576         (posix_fallocate): Likewise.
33577         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33578         Likewise.
33579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33580         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33581         (getifaddrs_internal): Likewise.
33582         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33583         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33584         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33585         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33586         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33587         (__posix_fallocate64_l64): Likewise.
33588         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33589         Likewise.
33590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33591         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33592         (__get_clockfreq): Likewise.
33593         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33594         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33595         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33598         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33599         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33600         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33601         Likewise.
33602         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33603         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33604         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33606         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33607         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33608         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33609         Likewise.
33610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33611         (posix_fallocate): Likewise.
33612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33613         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33614         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33615         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33616         (elf_machine_rela, elf_machine_rela_relative)
33617         (elf_machine_lazy_rel): Likewise.
33618         * time/asctime.c (asctime_internal): Likewise.
33619         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33620         * time/tzset.c (__tzset_parse_tz): Likewise.
33621         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33622         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33623         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33624         * wcsmbs/wcsmbsload.h: Likewise.
33626         [BZ #15894]
33627         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33629         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33630         (arena_get2): Remove THREAD_STATS conditionals.
33631         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33632         (__malloc_stats, int): Likewise.
33634 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33636         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33637         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33639         * manual/setjmp.texi: Fix typos/grammar errors.
33641         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33642         Only return early when n is <= 0.  Delete unused return statement.
33644         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33645         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33646         * debug/tst-longjmp_chk3.c: New file.
33648         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33649         (test_main): Replace code with set_fortify_handler call.
33650         * debug/test-strcpy_chk.c: Likewise.
33651         * debug/tst-chk1.c: Likewise.
33652         * debug/tst-longjmp_chk.c: Likewise.
33653         * test-skeleton.c: Include fcntl.h & paths.h
33654         (set_fortify_handler): Define.
33656         * debug/tst-longjmp_chk.c: Add header comment and include
33657         ../test-skeleton.c.
33658         (do_test): Mark static.
33659         (TEST_FUNCTION): Define.
33661         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33662         (IP_PMTUDISC_INTERFACE): Likewise.
33663         (IP_MULTICAST_IF): Likewise.
33664         (IP_MULTICAST_TTL): Likewise.
33665         (IP_MULTICAST_LOOP): Likewise.
33666         (IP_ADD_MEMBERSHIP): Likewise.
33667         (IP_DROP_MEMBERSHIP): Likewise.
33668         (IP_UNBLOCK_SOURCE): Likewise.
33669         (IP_BLOCK_SOURCE): Likewise.
33670         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33671         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33672         (IP_MSFILTER): Likewise.
33673         (MCAST_JOIN_GROUP): Likewise.
33674         (MCAST_BLOCK_SOURCE): Likewise.
33675         (MCAST_UNBLOCK_SOURCE): Likewise.
33676         (MCAST_LEAVE_GROUP): Likewise.
33677         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33678         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33679         (MCAST_MSFILTER): Likewise.
33680         (IP_MULTICAST_ALL): Likewise.
33681         (IP_UNICAST_IF): Likewise.
33683         * timezone/Makefile: Delete $(have-ksh) check.
33684         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33685         * timezone/tzselect.ksh: Add +x mode bits.
33687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33688         (ANON_INODE_FS_MAGIC): Likewise.
33689         (BDEVFS_MAGIC): Likewise.
33690         (BINFMTFS_MAGIC): Likewise.
33691         (BTRFS_TEST_MAGIC): Likewise.
33692         (CRAMFS_MAGIC_WEND): Likewise.
33693         (DEBUGFS_MAGIC): Likewise.
33694         (ECRYPTFS_SUPER_MAGIC): Likewise.
33695         (EXT3_SUPER_MAGIC): Likewise.
33696         (EXT4_SUPER_MAGIC): Likewise.
33697         (FUTEXFS_SUPER_MAGIC): Likewise.
33698         (HOSTFS_SUPER_MAGIC): Likewise.
33699         (HUGETLBFS_MAGIC): Likewise.
33700         (MINIX3_SUPER_MAGIC): Likewise.
33701         (MTD_INODE_FS_MAGIC): Likewise.
33702         (NILFS_SUPER_MAGIC): Likewise.
33703         (OPENPROM_SUPER_MAGIC): Likewise.
33704         (PIPEFS_MAGIC): Likewise.
33705         (PSTOREFS_MAGIC): Likewise.
33706         (QNX6_SUPER_MAGIC): Likewise.
33707         (RAMFS_MAGIC): Likewise.
33708         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33709         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33710         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33711         (SECURITYFS_MAGIC): Likewise.
33712         (SELINUX_MAGIC): Likewise.
33713         (SMACK_MAGIC): Likewise.
33714         (SOCKFS_MAGIC): Likewise.
33715         (SQUASHFS_MAGIC): Likewise.
33716         (STACK_END_MAGIC): Likewise.
33717         (TMPFS_MAGIC): Likewise.
33718         (USBDEVICE_SUPER_MAGIC): Likewise.
33719         (V9FS_MAGIC): Likewise.
33720         (XENFS_SUPER_MAGIC): Likewise.
33721         (CRAMFS_MAGIC): Fix typo in comment.
33722         (EXT2_SUPER_MAGIC): Update comment.
33723         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33725 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33727         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33728         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33729         * sysdeps/unix/sysv/linux/arm: Move directory from
33730         ports/sysdeps/unix/sysv/linux/arm.
33731         * README: Update listing for arm-*-linux-gnueabi.
33733         * README: Remove mention of am33.
33735 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33737         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33738         than the comma operator, to avoid "rhs of comma has no effect"
33739         compiler warnings.
33740         (__sigfillset, __sigandset, __sigorset): Likewise.
33741         * include/signal.h (__sigemptyset): Likewise.
33742         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33744 2014-02-07  Allan McRae  <allan@archlinux.org>
33746         * version.h (RELEASE): Set to "development".
33747         (VERSION): Set to "2.19.90"
33748         * NEWS: Add 2.20 section.
33750 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33752         [BZ #16529]
33753         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33755 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33757         * manual/contrib.texi: Update entry for Carlos O'Donell,
33758         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33760 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33762         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33764         * sysdeps/unix/sysv/linux/kernel-features.h
33765         [__LINUX_KERNEL_VERSION >= 0x020621]
33766         (__ASSUME_PROC_PID_TASK_COMM): Define.
33768 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33770         [BZ #16398]
33771         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33772         conversion when destination buffer does not have enough space.
33773         * libio/tst-ftell-partial-wide.c: New test case.
33774         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33776         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33777         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33778         Leonard and Allan McRae.
33780 2014-02-04  David S. Miller  <davem@davemloft.net>
33782         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33783         32-bit.
33785 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33788         New file
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33790         New file
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33792         New file.
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33794         New file.
33795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33796         New file.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33798         New file.
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33800         New file.
33801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33802         New file.
33803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33804         New file.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33806         New file.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33808         New file.
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33810         New file.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33812         New file.
33814 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33816         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33817         * shlib-versions: Likewise.
33819 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33820             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33822         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33823         (abilist-pattern): New variable, set to %-le.abilist.
33825         * Makerules (abilist-pattern): New variable.
33826         (vpath): Use $(abilist-pattern) in place of %.abilist.
33827         (check-abi-% pattern rule): Likewise.
33828         (check-abi, update-abi): Likewise.
33830 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33834 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33836         * manual/startup.texi: Add next, previous, and top entries for
33837         the `Program Arguments' and `Environment Variables' nodes.
33839 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33841         * manual/macros.texi: Add comments before MTASC-safety macros.
33843         * manual/users.texi: Document MTASC-safety properties.
33845         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33846         (pthread_getspecific, pthread_setspecific): Format with
33847         @deftypefun, and add @safety note.
33848         * manual/signal.texi: Move comments that analyze the above
33849         functions to their home place.
33851 2014-02-03  Allan McRae  <allan@archlinux.org>
33853         * po/sl.po: Update Slovenian translation from translation project.
33855 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33857         * manual/time.texi (timegm): Add missing blank after @c.
33858         Reported by Joseph Myers <joseph@codesourcery.com>.
33860 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33862         * manual/check-safety.sh: New.
33863         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33865         * manual/terminal.texi: Document MTASC-safety properties.
33867         * manual/filesys.texi: Document MTASC-safety properties.
33869         * manual/errno.texi: Document MTASC-safety properties.
33871         * manual/intro.texi: Document safety identifiers and
33872         conditionals.
33874         * manual/string.texi (wcstok): Fix prototype.
33875         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33877         * manual/time.texi: Document MTASC-safety properties.
33879         * manual/string.texi: Document MTASC-safety properties.
33881         * manual/threads.texi: Document MTASC-safety properties.
33883         * manual/stdio.texi: Document MTASC-safety properties.
33885         * manual/syslog.texi: Document MTASC-safety properties.
33887         * manual/sysinfo.texi: Document MTASC-safety properties.
33889         * manual/startup.texi: Document MTASC-safety properties.
33891         * manual/socket.texi: Document MTASC-safety properties.
33893         * manual/signal.texi: Document MTASC-safety properties.
33895 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33897         * manual/setjmp.texi: Document MTASC-safety properties.
33899         * manual/search.texi: Document MTASC-safety properties.
33901         * manual/resource.texi: Document MTASC-safety properties.
33903         * manual/process.texi: Document MTASC-safety properties.
33905         * manual/platform.texi: Document MTASC-safety properties.
33907         * manual/pipe.texi: Document MTASC-safety properties.
33909         * manual/pattern.texi: Document MTASC-safety properties.
33911         * manual/message.texi: Document MTASC-safety properties.
33913         [BZ #12751]
33914         * manual/memory.texi: Document MTASC-safety properties.
33916         * manual/math.texi: Document MTASC-safety properties.
33918         * manual/locale.texi: Document MTASC-safety properties.
33920         * manual/llio.texi: Document MTASC-safety properties.
33922         * manual/libdl.texi: New.
33924         * manual/lang.texi: Document MTASC-safety properties.
33926         * manual/job.texi: Document MTASC-safety properties.
33928         * manual/getopt.texi: Document MTASC-safety properties.
33930         * manual/ctype.texi: Document MTASC-safety properties.
33932 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33934         [BZ #16046]
33935         * csu/libc-tls.c (static_map): Remove variable.
33936         (__libc_setup_tls): Use main executable's link map for TLS data.
33937         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33938         casing for LM_ID_BASE and GL(dl_nns).
33939         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33940         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33941         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33942         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33943         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33944         member.
33945         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33946         l_phnum members.
33948 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33950         * manual/debug.texi: Document MTASC-safety properties.
33952 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33954         [BZ #16510]
33955         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33956         of __x86_64__ when disabling x87 inline functions.
33958 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33960         * manual/charset.texi: Document MTASC-safety properties.
33962         * manual/crypt.texi: Document MTASC-safety properties.
33964         * manual/conf.texi: Document MTASC-safety properties.
33966         * manual/arith.texi: Document MTASC-safety properties.
33968         * manual/argp.texi: Document MTASC-safety properties.
33970         * manual/macros.texi: Introduce macros to document multi
33971         thread, asynchronous signal and asynchronous cancellation
33972         safety properties.
33973         * manual/intro.texi: Introduce the properties themselves.
33975 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33977         * sysdeps/sh/sh4/Makefile: New file.
33979 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33981         * math/gen-libm-test.pl ($srcdir): New variable.
33982         ($auto_input): Use it.
33984 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33986         [BZ #16506]
33987         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33988         access beyond array bounds when parsing netgroups file.
33990         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33991         the old buffer before realloc.
33993 2014-01-27  Allan McRae  <allan@archlinux.org>
33995         * po/fr.po: Update French translation from translation project.
33997 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33999         * sysdeps/sh/libm-test-ulps: Regenerate.
34001 2014-01-24  David S. Miller  <davem@davemloft.net>
34003         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34005 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34007         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34008         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34010 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34012         [BZ #16474]
34013         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34014         string pointers after reallocation.
34016 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34018         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34019         __SH4A__ instead of __SH_FPU_ANY__.
34021 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34023         * sysdeps/sh/fpu_control.h: New file.
34024         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34025         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34026         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34027         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34028         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34029         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34030         * sysdeps/sh/sys/ucontext.h: Remove.
34031         * sysdeps/sh/sys: Remove directory.
34033 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34035         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34036         s390/sys/ucontext.h.
34037         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34038         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34040 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34042         [BZ #15605]
34043         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34045 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34047         [BZ#16431]
34048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34049         Adjust the vDSO correctly for internal calls.
34050         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34052 2014-01-20  Allan McRae  <allan@archlinux.org>
34054         * po/ca.po: Update Catalan translation from translation project.
34056 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34058         * sysdeps/s390/sotruss-lib.c: New file.
34060 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34062         [BZ#16430]
34063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34064         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34065         local calls issues by not having a PLT stub required for IFUNC calls.
34066         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34068 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34070         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34071         * math/test-fpucw-static.c: Likewise.
34073 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34075         [BZ #16453]
34076         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34078 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34080         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34081         implementation for powerpc.
34083 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34085         [BZ #14782]
34086         * sysdeps/posix/system.c (__libc_system): Do not enable
34087         asynchronous cancellation.
34089 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34091         [BZ #16427]
34092         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34093         handling only for numbers special also in the IEEE case.
34095 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34099 2014-01-11  Allan McRae  <allan@archlinux.org>
34101         * po/bg.po: Update Bulgarian translation from translation project.
34103         * po/de.po: Update German translation from translation project.
34105 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34107         * sysdeps/generic/gcc-compat.h: New file.
34109 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34111         * benchtests/asin-inputs: Correct slow inputs.
34112         * benchtests/acos-inputs: Likewise.
34114 2014-01-10  Allan McRae  <allan@archlinux.org>
34116         * po:sv.po: Update Swedish translation from translation project.
34118         * po/vi.po: Update Vietnamese translation from translation project.
34120         * po/eo.po: Update Esperanto translation from translation project.
34122         * po/cs.po: Update Czech translation from translation project.
34124         * po/nl.po: Update Dutch translation from translation project.
34126         * po/pl.po: Update Polish translation from translation project.
34128         * po/ru.po: Update Russian translation from translation project.
34130         * po/uk.po: Update Ukrainian translation from translation project.
34132 2014-01-08  Brooks Moses  <bmoses@google.com>
34134         * elf/dl-load.c: Fix comment typo.
34136 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34138         * po/header.pot: Rename to...
34139         * po/pot.header: ... this.
34140         * po/Makefile: Use pot.header.
34142 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34143             Maxim Kuvyrkov  <maxim@kugelworks.com>
34145         [BZ #16394]
34146         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34147         SRC and DEST against LEN.
34149 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34151         [BZ #16414]
34152         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34153         implementation.
34154         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34156 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34160 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34162         [BZ #16408]
34163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34164         for large positive arguments.
34166 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34168         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34170         * math/auto-libm-test-in: Mark various tests with
34171         xfail-rounding:ldbl-128ibm.
34172         * math/auto-libm-test-out: Regenerated.
34174         [BZ #16407]
34175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34176         Increase overflow threshold.
34178 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34180         [BZ #14286]
34181         * stdio-common/vfprintf.c: Check for integer overflow.
34183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34185         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34186         the first argument and return value of __tls_get_addr_internal.
34188 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34190         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34191         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34193 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34195         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34196         * sysdeps/s390/rtld-global-offsets.sym: New file.
34197         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34198         GLIBC_2.19 symbol.
34199         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34200         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34202         ... this.
34203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34204         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34205         ... this.
34206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34207         Regenerate.
34208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34209         Regenerate.
34210         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34211         halfs of GPRs for high_gprs contexts.
34212         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34213         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34214         field.
34215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34216         uc_flags field.
34217         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34218         64 bit versions:
34219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34220         for high GPRs (uc_high_gprs) and for future extensions
34221         (__reserved).
34222         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34223         for future extensions (__reserved).
34224         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34225         64 bit versions:
34226         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34227         SC_HIGHGPRS offset definition.
34228         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34229         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34231         * Versions.def: Add GLIBC_2.19 for libpthread.
34232         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34233         siglongjmp for libpthread with GLIBC_2.19 symver.
34234         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34235         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34236         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34237         * sysdeps/s390/__longjmp.c: New file.
34238         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34239         * sysdeps/s390/longjmp.c: New file.
34240         * sysdeps/s390/setjmp.S: New file.
34241         * sysdeps/s390/sigjmp.S: New file.
34242         * sysdeps/s390/v1-longjmp.c: New file.
34243         * sysdeps/s390/v1-setjmp.h: New file.
34244         * sysdeps/s390/v1-sigjmp.c: New file.
34245         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34246         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34247         GLIBC_2.19 version.
34248         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34249         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34250         versioned symbols for ____longjmp_chk.
34251         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34252         Likewise.
34253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34254         Regenerate.
34255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34256         Regenerate.
34257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34258         Regenerate.
34259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34260         Regenerate.
34261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34262         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34263         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34264         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34265         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34266         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34267         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34268         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34269         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34270         * sysdeps/s390/rtld-__longjmp.c: New file.
34271         * sysdeps/s390/rtld-setjmp.S: New file.
34273 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34275         [BZ #16400]
34276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34277         Return -__logl (x) for small positive arguments without evaluating
34278         a polynomial.
34280 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34282         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34283         Rename to ...
34284         (__ptrace_peeksiginfo_args): ... this.
34285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34289 2014-01-06  Allan McRae  <allan@archlinux.org>
34291         * inet/netinet/in.h: Fix typo in comment.
34293 2014-01-05  Andreas Jaeger  <aj@suse.de>
34295         * sysdeps/i386/fpu/libm-test-ulps: Update.
34297 2014-01-05  Allan McRae  <allan@archlinux.org>
34299         * po/libc.pot: Regenerated.
34301         * malloc/memusagestat.c: Fix gettext call formatting.
34303 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34305         * nscd/nscd.c: Improve usage() output.
34307 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34309         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34310         * sysdeps/unix/sysv/linux/configure: Regenerated.
34311         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34312         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34316         [BZ #16390]
34317         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34318         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34320 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34323         extra tokens at end of #undef directive.
34324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34325         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34328 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34330         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34332         * math/auto-libm-test-in: Mark various tests with
34333         xfail-rounding:ldbl-128ibm.
34334         * math/auto-libm-test-out: Regenerated.
34336 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34338         [BZ #16386]
34339         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34340         numbers with subnormal high part when calculating exponent.
34342         [BZ #16385]
34343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34344         fabs.
34346         [BZ #16384]
34347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34348         M_LN2l.
34349         (__ieee754_acoshl): Use __log1pl not __log1p.
34351 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34353         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34354         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34355         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34356         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34357         (reused_arena, arena_get2): Convert to GNU style.
34358         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34359         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34360         (memalign_check, __malloc_set_state): Likewise.
34361         * malloc/mallocbug.c (main): Likewise.
34362         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34363         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34364         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34365         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34366         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34367         (__posix_memalign, malloc_info): Likewise.
34368         * malloc/malloc.h: Likewise.
34369         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34370         (mallochook, memalignhook, reallochook, mabort): Likewise.
34371         * malloc/mcheck.h: Likewise.
34372         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34373         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34374         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34375         * malloc/morecore.c (__default_morecore): Likewise.
34376         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34377         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34378         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34379         (print_and_abort): Likewise.
34380         * malloc/obstack.h: Likewise.
34381         * malloc/set-freeres.c (__libc_freeres): Likewise.
34382         * malloc/tst-mallocstate.c (main): Likewise.
34383         * malloc/tst-mtrace.c (main): Likewise.
34384         * malloc/tst-realloc.c (do_test): Likewise.
34386 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34388         [BZ #16366]
34389         * nscd/netgroupcache.c (do_notfound): New function.
34390         (addgetnetgrentX): Use it.
34392         [BZ # 16365]
34393         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34394         NSS_STATUS_NOTFOUND.
34396 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34398         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34401 2014-01-01  Allan McRae  <allan@archlinux.org>
34403         * scripts/update-copyrights: Update configure input file suffix.
34405         * NEWS: Update copyright year.
34406         * catgets/gencat.c: Likewise.
34407         * csu/version.c: Likewise.
34408         * debug/catchsegv.sh: Likewise.
34409         * debug/pcprofiledump.c: Likewise.
34410         * debug/xtrace.sh: Likewise.
34411         * elf/ldconfig.c: Likewise.
34412         * elf/ldd.bash.in: Likewise.
34413         * elf/pldd.c: Likewise.
34414         * elf/sotruss.ksh: Likewise.
34415         * elf/sprof.c: Likewise.
34416         * iconv/iconv_prog.c: Likewise.
34417         * iconv/iconvconfig.c: Likewise.
34418         * locale/programs/locale.c: Likewise.
34419         * locale/programs/localedef.c: Likewise.
34420         * login/programs/pt_chown.c: Likewise.
34421         * malloc/memusage.sh: Likewise.
34422         * malloc/memusagestat.c: Likewise.
34423         * malloc/mtrace.pl: Likewise.
34424         * manual/libc.texinfo: Likewise.
34425         * nscd/nscd.c: Likewise.
34426         * nss/getent.c: Likewise.
34427         * nss/makedb.c: Likewise.
34428         * posix/getconf.c: Likewise.
34429         * scripts/test-installation.pl: Likewise.
34431         * All files with FSF copyright notices: Update copyright dates
34432         using scripts/update-copyrights.
34433         * intl/plural.c: Regenerated.
34434         * locale/programs/charmap-kw.h: Likewise.
34435         * locale/programs/locfile-kw.h: Likewise.
34437 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34439         * sysdeps/unix/sysv/linux/configure: Regenerated.
34440         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34441         the linux/fanotify.h header.
34442         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34443         HAVE_LINUX_FANOTIFY_H is defined.
34445 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34447         * benchtests/cos-inputs: New inputs.
34448         * benchtests/sin-inputs: Likewise.
34450         * benchtests/atan-inputs: New inputs. Fix name of multiple
34451         precision fallback inputs.
34453         * benchtests/atanh-inputs: New inputs.
34454         * benchtests/tanh-inputs: Likewise.
34456         * benchtests/acosh-inputs: New inputs.
34457         * benchtests/asinh-inputs: Likewise.
34459         * benchtests/cosh-inputs: New inputs.
34460         * benchtests/sinh-inputs: Likewise.
34462         * benchtests/acos-inputs: Add more inputs.
34463         * benchtests/asin-inputs: Likewise.
34465 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34467         [BZ #16375]
34468         * manual/arith.texi: Fix spelling.
34469         * manual/charset.texi: Likewise.
34470         * manual/errno.texi: Likewise.
34471         * manual/filesys.texi: Likewise.
34472         * manual/lang.texi: Likewise.
34473         * manual/llio.texi: Likewise.
34474         * manual/locale.texi: Likewise.
34475         * manual/message.texi: Likewise.
34476         * manual/resource.texi: Likewise.
34477         * manual/search.texi: Likewise.
34478         * manual/setjmp.texi: Likewise.
34479         * manual/stdio.texi: Likewise.
34480         * manual/string.texi: Likewise.
34481         * manual/sysinfo.texi: Likewise.
34482         * manual/time.texi: Likewise.
34484 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34486         * po/sl.po: New file.
34488 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34490         * .gitignore: Add core/.gdbinit/.gdb_history.
34492 2013-12-27  Allan McRae  <allan@archlinux.org>
34494         [BZ #16369]
34495         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34496         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34498 2013-12-24  Brooks Moses  <bmoses@google.com>
34500         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34501         all compilers that claim C++98 compliance, not just GCC.
34502         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34503         Likewise.
34505 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34507         * NEWS: Restore accidentally deleted bug-fix entries.
34509 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34510             Ondřej Bílka  <neleai@seznam.cz>
34512         [BZ #15073]
34513         * malloc/malloc.c (_int_free): Perform sanity check only if we
34514         have_lock.
34516 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34518         [BZ #12986]
34519         * manual/stdio.texi (String Input Conversions): Clarify that character
34520         classes are not supported.
34522 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34526 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34528         [BZ #16337]
34529         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34530         Calculate results for small negative arguments directly rather
34531         than using reflection formula with special underflow handling.
34533         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34534         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34535         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34536         (fchflags): Likewise.
34537         (revoke): Likewise.
34538         (setlogin): Likewise.
34539         (sigaltstack): Likewise.
34540         (wait4): Likewise.
34541         (sigblock): Remove.
34542         (sigsetmask): Likewise.
34543         (wait3): Likewise.
34544         (waitpid): Likewise.
34545         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34546         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34547         file.
34548         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34549         * sysdeps/unix/bsd/Makefile: ... here.
34550         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34551         * sysdeps/unix/bsd/Versions: ... here.
34552         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34553         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34554         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34555         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34556         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34557         * sysdeps/unix/bsd/sigblock.c: ... here.
34558         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34559         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34560         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34561         * sysdeps/unix/bsd/sigvec.c: ... here.
34562         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34563         * sysdeps/unix/bsd/tcdrain.c: ... here.
34564         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34565         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34566         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34567         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34568         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34569         * sysdeps/unix/bsd/wait.c: ... here.
34570         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34571         * sysdeps/unix/bsd/wait3.c: ... here.
34572         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34573         * sysdeps/unix/bsd/waitpid.c: ... here.
34575 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34577         [BZ #16356]
34578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34579         round-to-nearest for [!USE_AS_EXPM1L].
34580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34581         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34582         more tests of exp and exp10.  Expect some exp10 tests to miss
34583         exceptions or fail in directed rounding modes.
34584         * math/auto-libm-test-out: Regenerated.
34585         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34586         (exp10_test_tonearest): New function.
34587         (exp10_towardzero_test_data): New array.
34588         (exp10_test_towardzero): New function.
34589         (exp10_downward_test_data): New array.
34590         (exp10_test_downward): New function.
34591         (exp10_upward_test_data): New array.
34592         (exp10_test_upward): New function.
34593         (main): Call the new functions.
34594         * sysdeps/i386/fpu/libm-test-ulps: Update.
34595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34597 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34599         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34600         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34601         * math/auto-libm-test-out: Regenerated.
34602         * math/libm-test.inc (acosh_test_data): Add more tests.
34603         (atanh_test_data): Likewise.
34604         (ceil_test_data): Likewise.
34605         (copysign_test_data): Likewise.
34606         * sysdeps/i386/fpu/libm-test-ulps: Update.
34607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34609         * timezone/checktab.awk: Update from tzcode 2013i.
34610         * timezone/private.h: Likewise.
34611         * timezone/scheck.c: Likewise.
34612         * timezone/tzfile.h: Likewise.
34613         * timezone/tzselect.ksh: Likewise.
34614         * timezone/zdump.c: Likewise.
34615         * timezone/zic.c: Likewise.
34617         * math/auto-libm-test-in: Add tests of cpow.
34618         * math/auto-libm-test-out: Regenerated.
34619         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34621         mpc_cc_c.
34622         (func_calc_desc): Add mpc_cc_c union field.
34623         (test_functions): Add cpow.
34624         (special_fill_2pi): New function.
34625         (special_real_inputs): Add 2pi.
34626         (calc_generic_results): Handle mpc_cc_c.
34627         * sysdeps/i386/fpu/libm-test-ulps: Update.
34628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34630         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34631         csqrt, ctan and ctanh.
34632         * math/auto-libm-test-out: Regenerated.
34633         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34634         (TEST_COND_x86): Likewise.
34635         (ccos_test_data): Use AUTO_TESTS_c_c.
34636         (ccosh_test_data): Likewise.
34637         (cexp_test_data): Likewise.
34638         (clog_test_data): Likewise.
34639         (csqrt_test_data): Likewise.
34640         (ctan_test_data): Likewise.
34641         (ctan_tonearest_test_data): Likewise.
34642         (ctan_towardzero_test_data): Likewise.
34643         (ctan_downward_test_data): Likewise.
34644         (ctan_upward_test_data): Likewise.
34645         (ctanh_test_data): Likewise.
34646         (ctanh_tonearest_test_data): Likewise.
34647         (ctanh_towardzero_test_data): Likewise.
34648         (ctanh_downward_test_data): Likewise.
34649         (ctanh_upward_test_data): Likewise.
34650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34651         mpc_c_c.
34652         (func_calc_desc): Add mpc_c_c union field.
34653         (FUNC_mpc_c_c): New macro.
34654         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34655         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34656         ctanh.
34657         (special_fill_min_subnorm_p120): New function.
34658         (special_real_inputs): Add min_subnorm_p120.
34659         (calc_generic_results): Handle mpc_c_c.
34660         * sysdeps/i386/fpu/libm-test-ulps: Update.
34661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34663 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34665         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34666         (do_sin_slow): New functions.
34667         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34668         (cslow2, csloww1, csloww2): Use the new functions.
34670         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34671         Use M to change sign of result instead of X.  Assume X is
34672         positive.
34673         (csloww1): Likewise.
34674         (__sin): Adjust.
34675         (__cos): Adjust.
34677         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34678         arguments A and DA.
34679         (__sin): Adjust.
34680         (__cos): Likewise.
34682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34683         (__cos): Likewise.
34684         (sloww1): Don't adjust sign of DX.
34685         (csloww1): Likewise.
34686         (sloww2): Use X directly and don't adjust sign of DX.
34687         (csloww2): Likewise.
34689 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34691         * math/auto-libm-test-in: Add tests of cabs and carg.
34692         * math/auto-libm-test-out: Regenerated.
34693         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34694         (carg_test_data): Likewise.
34695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34696         mpc_c_f.
34697         (func_calc_desc): Add mpc_c_f union field.
34698         (test_functions): Add cabs and carg.
34699         (calc_generic_results): Handle mpc_c_f.
34701         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34702         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34703         as a macro and a compat symbol.
34704         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34705         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34706         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34707         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34708         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34710         not use .hidden.
34711         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34712         Likewise.
34713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34714         Likewise.
34715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34716         Likewise.
34717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34718         Likewise.
34719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34720         Likewise.
34721         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34722         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34723         from GLIBC_2.3.2.
34725 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34729 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34731         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34732         trailing whitespace removed.
34733         * scripts/config.guess: Update to version 2013-11-29.
34734         * scripts/config.sub: Update to version 2013-10-01.
34736         * math/auto-libm-test-in: Add tests of sincos.
34737         * math/auto-libm-test-out: Regenerated.
34738         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34740         mpfr_f_11.
34741         (func_calc_desc): Add mpfr_f_11 union field.
34742         (test_functions): Add sincos.
34743         (calc_generic_results): Handle mpfr_f_11.
34744         * sysdeps/i386/fpu/libm-test-ulps: Update.
34745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2013-12-19  Andreas Schwab  <schwab@suse.de>
34749         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34750         CALL_MCOUNT.
34751         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34752         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34753         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34755 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34757         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34758         * sysdeps/i386/fpu/libm-test-ulps: Update.
34759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34761         [BZ #16293]
34762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34763         round-to-nearest mode when using frndint.
34764         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34765         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34766         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34767         Likewise.
34768         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34769         sinh test to fail.
34770         * math/auto-libm-test-out: Regenerated.
34771         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34772         (TEST_COND_x86): Likewise.
34773         (expm1_tonearest_test_data): New array.
34774         (expm1_test_tonearest): New function.
34775         (expm1_towardzero_test_data): New array.
34776         (expm1_test_towardzero): New function.
34777         (expm1_downward_test_data): New array.
34778         (expm1_test_downward): New function.
34779         (expm1_upward_test_data): New array.
34780         (expm1_test_upward): New function.
34781         (main): Run the new test functions.
34782         * sysdeps/i386/fpu/libm-test-ulps: Update.
34783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34785         * include/features.h: Update comment documenting feature test
34786         macros.  Mention _DEFAULT_SOURCE in comment.
34787         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34788         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34789         _BSD_SOURCE and _SVID_SOURCE.
34790         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34791         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34792         !_SVID_SOURCE]: Likewise.
34793         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34794         (__USE_POSIX_IMPLICITLY): Define.
34795         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34796         (_POSIX_SOURCE): Undefine and redefine.
34797         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34798         (_POSIX_C_SOURCE): Likewise.
34799         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34800         (Feature Test Macros): Update documentation of default features.
34802 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34804         * benchtests/Makefile: Add bench-strtok.
34805         * benchtests/bench-strtok.c: New file: strtok benchtest.
34807 2013-12-19  Allan McRae  <allan@archlinux.org>
34809         * manual/install.texi: Suppress menu for plain text output.
34810         * INSTALL: Regenerated.
34812 2013-12-18  Brooks Moses  <bmoses@google.com>
34814         [BZ #15846]
34815         * misc/getauxval.c: Include errno.h.
34816         (__getauxval): Set errno to ENOENT if the requested type is not
34817         found.
34818         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34819         don't declare with __attribute_const__.
34820         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34821         * manual/startup.texi: Document that getauxval sets errno.
34823 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34825         * math/auto-libm-test-in: Add tests of jn and yn.
34826         * math/auto-libm-test-out: Regenerated.
34827         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34828         (yn_test_data): Likewise.
34829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34830         mpfr_if_f.
34831         (func_calc_desc): Add mpfr_if_f union field.
34832         (FUNC_mpfr_if_f): New macro.
34833         (test_functions): Add jn and yn.
34834         (calc_generic_results): Assert type of second input for
34835         mpfr_ff_f.  Handle mpfr_if_f.
34836         (output_for_one_input_case): Disable all checking for arguments
34837         fitting floating-point types in case of an integer argument.
34838         * sysdeps/i386/fpu/libm-test-ulps: Update.
34839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34842         Don't expect fegetround reference in libm.so.
34844 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34846         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34847         $(config-cflags-nofma).
34849 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34851         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34852         * math/auto-libm-test-out: Regenerated.
34854         [BZ #16338]
34855         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34856         to determine exponent and adjust argument to have exponent of -1.
34857         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34858         log2.
34859         * math/auto-libm-test-out: Regenerated.
34860         * sysdeps/i386/fpu/libm-test-ulps: Update.
34861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34863 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34865         * manual/probes.texi: Remove cases when per-thread arenas are
34866         disabled.
34868 2013-12-18  Andreas Schwab  <schwab@suse.de>
34870         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34871         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34872         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34873         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34874         * sysdeps/i386/i686/multiarch/Makefile: Update.
34875         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34877 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34879         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34880         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34882 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34884         [BZ #15968]
34885         Support TZ transition times < 00:00:00.
34886         This is needed for version-3 tz-format files; it supports time
34887         stamps past 2037 for America/Godthab (the only entry in the tz
34888         database for which this change is relevant).
34889         * manual/time.texi (TZ Variable): Document transition times
34890         from -167:59:59 through -00:00:01.
34891         * time/tzset.c (tz_rule): Time of day is now signed.
34892         (__tzset_parse_tz): Parse negative time of day.
34894         Document TZ transition times >= 25:00:00.
34895         * manual/time.texi (TZ Variable): Document transition times from
34896         25:00:00 through 167:59:59.  These are already supported, and this
34897         support will help with version-3 tz-format files.
34899         * manual/time.texi (TZ Variable): Modernize North America example
34900         to reflect current (i.e., 2007-and-later) daylight saving rules.
34902         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34904 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34906         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34907         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34909         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34910         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34911         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34912         * sysdeps/unix/bsd/clock.c: Likewise.
34913         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34914         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34915         * sysdeps/unix/bsd/init-posix.c: Likewise.
34916         * sysdeps/unix/bsd/poll.c: Likewise.
34917         * sysdeps/unix/bsd/ptsname.c: Likewise.
34918         * sysdeps/unix/bsd/seekdir.c: Likewise.
34919         * sysdeps/unix/bsd/setegid.c: Likewise.
34920         * sysdeps/unix/bsd/seteuid.c: Likewise.
34921         * sysdeps/unix/bsd/setgid.c: Likewise.
34922         * sysdeps/unix/bsd/setrgid.c: Likewise.
34923         * sysdeps/unix/bsd/setruid.c: Likewise.
34924         * sysdeps/unix/bsd/setsid.c: Likewise.
34925         * sysdeps/unix/bsd/setuid.c: Likewise.
34926         * sysdeps/unix/bsd/sigaction.c: Likewise.
34927         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34928         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34929         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34930         * sysdeps/unix/bsd/telldir.c: Likewise.
34931         * sysdeps/unix/bsd/times.c: Likewise.
34932         * sysdeps/unix/bsd/usleep.c: Likewise.
34934         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34935         ($(objpfx)libbsd-compat.a): Remove rule.
34937         * include/features.h (__FAVOR_BSD): Do not define.
34938         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34939         features conflicting with POSIX.
34940         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34941         (_BSD_SOURCE): Remove description of not being a subset of other
34942         feature test macros.
34943         * manual/job.texi (getpgrp): Do not document BSD version.
34944         (getpgid): Do not document by reference to BSD getpgrp.
34945         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34946         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34947         * signal/signal.h [__FAVOR_BSD]: Likewise.
34948         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34949         instead of making contents conditional on [__FAVOR_BSD].
34950         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34952 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34956 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34958         [BZ #16314]
34959         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34960         values below 2**-450, not 2**-500.
34961         * math/auto-libm-test-in: Don't allow spurious underflow from
34962         hypot.
34963         * math/auto-libm-test-out: Regenerated.
34965         [BZ #16316]
34966         [BZ #16330]
34967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34968         values of ha and hb and sort them after adjusting subnormal
34969         arguments.
34970         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34971         Likewise.
34972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34973         values of ea and eb and sort them after adjusting subnormal
34974         arguments.
34975         * math/auto-libm-test-in: Do not expect some hypot tests of
34976         subnormals to fail.  Add more hypot tests.
34977         * math/auto-libm-test-out: Regenerated.
34979 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34981         [BZ #13304]
34982         * sysdeps/sh/s_fma.c: New file.
34983         * sysdeps/sh/s_fmaf.c: New file.
34984         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34985         version.
34986         * sysdeps/sh/Implies: Add sh/soft-fp.
34988 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34990         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34991         level of indirection to members `objname', `errstring', `malloced'.
34992         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34993         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34994         it as the __longjmp argument (just pass 1 instead).
34995         (_dl_catch_error): Initialize C with argument pointers and address of
34996         volatile local ERRCODE rather than copying values out of C at return.
34998 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35000         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35001         * math/auto-libm-test-out: Regenerated.
35002         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35003         (hypot_test_data): Likewise.
35004         (pow_test_data): Likewise.
35005         (pow_tonearest_test_data): Likewise.
35006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35007         mpfr_ff_f.
35008         (func_calc_desc): Add mpfr_ff_f union field.
35009         (FUNC_mpfr_ff_f): New macro.
35010         (test_functions): Add atan2, hypot and pow.
35011         (special_fill_min): New function.
35012         (special_fill_minus_min): Likewise.
35013         (special_fill_min_subnorm): Likewise.
35014         (special_fill_minus_min_subnorm): Likewise.
35015         (special_real_inputs): Add min, -min, min_subnorm and
35016         -min_subnorm.
35017         (calc_generic_results): Handle mpfr_ff_f.
35018         * sysdeps/i386/fpu/libm-test-ulps: Update.
35019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35021 2013-12-16  Will Newton  <will.newton@linaro.org>
35023         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35024         (Aligned Memory Blocks): Add documentation for aligned_alloc
35025         and suggest it as an alternative to posix_memalign.
35026         (Hooks for Malloc): Document __memalign_hook is also called
35027         for aligned_alloc.  (Summary of Malloc): Add summary for
35028         aligned alloc.  Document __memalign_hook is also called
35029         for aligned_alloc.
35031 2013-12-16  Will Newton  <will.newton@linaro.org>
35033         * manual/memory.texi (Malloc Examples): Clarify default
35034         alignment documentation.  Suggest posix_memalign rather
35035         than memalign or valloc.
35036         (Aligned Memory Blocks): Remove suggestion to use memalign
35037         or valloc.  Remove obsolete comment about BSD.
35038         Document memalign errno values and mark the function obsolete.
35039         Document posix_memalign returned error codes.  Mark valloc
35040         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35041         called for posix_memalign and valloc.
35042         (Summary of Malloc): Add posix_memalign to function summary.
35043         __memalign_hook is also called for posix_memalign and valloc.
35045 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35047         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35048         TAYLOR_SIN.
35049         (__sin): Adjust.
35050         (__cos): Likewise.
35051         (sloww): Use mynumber union.  Expand ternary operator into
35052         if-else statements.
35053         (cslow): use mynumber union.
35055 2013-12-16  Allan McRae  <allan@archlinux.org>
35057         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35058         * configure: Regenerated.
35060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35062         [BZ #14120]
35063         * configure.ac: Added --enable-maintainer-mode. Check for
35064         autoconf when enabled.
35065         * configure: Regenerated.
35067         * nscd/nscd.service: New file.
35068         * nscd/nscd.tmpfiles: New file.
35070 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35072         [BZ #12100]
35073         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35074         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35075         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35076         (strstr): Add __strstr_sse2_unaligned ifunc.
35077         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35078         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35079         (strcasestr): Remove __strcasestr_sse42 ifunc.
35080         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35084 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35086         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35087         * sysdeps/sh/bits/fenv.h: ... here.
35088         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35090 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35092         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35095         hypotf multiarch implementations.
35096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35099         multiarch hypot for PPC64.
35100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35103         multiarch hypotf for PPC64.
35105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35106         modff multiarch implementations.
35107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35110         multiarch modf for PPC64.
35111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35114         multiarch modff for PPC64.
35116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35117         and logl multiarch implementations.
35118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35121         multiarch logb for PPC64.
35122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35125         multiarch logb for PPC64.
35126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35129         multiarch logb for PPC64.
35131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35132         isinff multiarch implementation.
35133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35134         file.
35135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35137         multiarch isinf for PPC64.
35138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35139         file.
35140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35141         multiarch isinff for PPC64.
35143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35144         finitef multiarch implementation.
35145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35146         file.
35147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35149         multiarch finite for PPC64.
35150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35151         file.
35152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35153         multiarch finitef for PPC64.
35155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35156         lrint multiarch implementation.
35157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35158         file.
35159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35161         multiarch llrint for PPC64.
35162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35163         multiarch lrint for PPC64.
35165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35166         copysignf multiarch implementation.
35167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35168         file.
35169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35170         file.
35171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35172         multiarch copysign for PPC64.
35173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35174         multiarch copysignf for PPC64.
35176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35177         multiarch implementation.
35178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35179         file.
35180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35181         file.
35182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35183         file.
35184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35185         file.
35186         multiarch llround for PPC64.
35187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35188         multiarch trunc for PPC64.
35189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35190         multiarch truncf for PPC64.
35192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35193         multiarch implementation.
35194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35195         file.
35196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35197         file.
35198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35199         file.
35200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35201         file.
35202         multiarch llround for PPC64.
35203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35204         multiarch round for PPC64.
35205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35206         multiarch roundf for PPC64.
35208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35209         multiarch implementation.
35210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35211         file.
35212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35213         file.
35214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35215         file.
35216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35217         file.
35218         multiarch llround for PPC64.
35219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35220         multiarch floor for PPC64.
35221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35222         multiarch floorf for PPC64.
35224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35225         multiarch implementation.
35226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35227         file.
35228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35229         file.
35230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35231         file.
35232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35233         file.
35234         multiarch llround for PPC64.
35235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35236         multiarch ceil for PPC64.
35237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35238         multiarch ceilf for PPC64.
35240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35241         multiarch implementation.
35242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35243         file.
35244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35245         file.
35246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35247         file.
35248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35249         multiarch llround for PPC64.
35250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35251         multiarch lround for PPC64.
35253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35254         multiarch implementation.
35255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35258         file.
35259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35262         multiarch isnan for PPC64.
35263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35264         multiarch isnanf for PPC64.
35266         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35267         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35268         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35269         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35270         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35273         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35279         multiarch implementations.
35280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35281         (__libc_ifunc_impl_list): Likewise.
35282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35283         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35285         multiarch stpcpy for PPC64.
35287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35288         multiarch implementations.
35289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35290         (__libc_ifunc_impl_list): Likewise.
35291         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35293         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35294         multiarch strcpy for PPC64.
35296         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35297         redefine function name.
35298         (_wordcopy_fwd_dest_aligned): Likewise.
35299         (_wordcopy_bwd_aligned): Likewise.
35300         (_wordcopy_bwd_dest_aligned): Likewise.
35301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35302         multiarch implementations.
35303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35304         (__libc_ifunc_impl_list): Likewise.
35305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35308         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35309         multiarch wcscpy for PPC64.
35311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35312         multiarch implementations.
35313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35314         (__libc_ifunc_impl_list): Likewise.
35315         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35318         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35319         multiarch wcscpy for PPC64.
35321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35322         multiarch implementations.
35323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35324         (__libc_ifunc_impl_list): Likewise.
35325         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35326         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35327         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35328         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35329         multiarch wcsrchr for PPC64.
35331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35332         multiarch implementations.
35333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35334         (__libc_ifunc_impl_list): Likewise.
35335         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35336         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35337         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35338         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35339         multiarch wcschr for PPC64.
35341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35342         multiarch implementations.
35343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35344         (__libc_ifunc_impl_list): Likewise.
35345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35348         multiarch strchrnul for PPC64.
35350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35351         implementations.
35352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35353         (__libc_ifunc_impl_list): Likewise.
35354         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35355         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35356         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35357         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35358         strchr for PPC64.
35360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35361         implementations.
35362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35363         (__libc_ifunc_impl_list): Likewise.
35364         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35366         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35367         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35368         strncmp for PPC64.
35370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35371         multiarch implementations.
35372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35373         (__libc_ifunc_impl_list): Likewise.
35374         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35375         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35376         strncasecmp for PPC64.
35377         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35378         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35379         multiarch strncasecmp_l for PPC64.
35381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35382         multiarch implementations.
35383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35384         (__libc_ifunc_impl_list): Likewise.
35385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35387         multiarch strcasecmp for PPC64.
35388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35389         file.
35390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35391         multiarch strcasecmp_l for PPC64.
35393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35394         implementations.
35395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35396         (__libc_ifunc_impl_list): Likewise.
35397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35398         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35399         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35400         strnlen for PPC64.
35402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35403         implementations.
35404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35405         (__libc_ifunc_impl_list): Likewise.
35406         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35407         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35409         strlen for PPC64.
35411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35412         implementations.
35413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35414         (__libc_ifunc_impl_list): Likewise.
35415         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35416         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35417         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35418         rawmemrchr for PPC64.
35420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35421         implementation.
35422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35423         (__libc_ifunc_impl_list): Likewise.
35424         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35425         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35426         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35427         memrchr for PPC64.
35429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35430         implementation.
35431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35432         (__libc_ifunc_impl_list): Likewise.
35433         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35434         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35435         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35436         memchr for PPC64.
35438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35439         implementation.
35440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35441         (__libc_ifunc_impl_list): Likewise.
35442         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35443         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35444         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35445         mempcpy for PPC64.
35447         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35448         avoid cretion of __bzero symbol.
35449         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35450         Likewise.
35451         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35452         Likewise.
35453         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35454         Likewise.
35455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35456         multiarch implementations.
35457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35458         (__libc_ifunc_impl_list): Likewise.
35459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35462         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35463         bzero for PPC32.
35464         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35467         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35468         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35469         memset for PPC64.
35470         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35472         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35474         implementations.
35475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35476         (__libc_ifunc_impl_list): Likewise.
35477         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35478         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35479         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35480         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35481         memcmp for PPC64.
35483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35484         multiarch for POWER/PPC64.
35485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35486         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35490         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35493         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35494         memcpy for PPC64.
35496         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35497         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35498         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35499         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35500         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35501         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35502         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35503         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35504         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35505         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35506         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35507         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35508         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35509         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35510         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35519 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35523 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35525         * benchtests/Makefile (bench): Add exp2 and log2.
35526         (LDLIBS-bench-exp2): Add -lm.
35527         (LDLIBS-bench-log2): Likewise.
35528         * benchtests/exp2-inputs: New inputs file.
35529         * benchtests/log2-inputs: New inputs file.
35530         * benchtests/log-inputs: Add new inputs.
35531         * benchtests/tan-inputs: Likewise.
35533 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35535         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35536         definition...
35537         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35538         (csloww2): ... from here.
35540         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35541         instead of structures.
35542         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35543         (POLYNOMIAL): Likewise.
35544         (TAYLOR_SLOW): Likewise.
35545         (__sin): Likewise.
35546         (__cos): Likewise.
35547         (slow1): Likewise.
35548         (slow2): Likewise.
35549         (sloww): Likewise.
35550         (sloww1); Likewise.
35551         (sloww2): Likewise.
35552         (bsloww1): Likewise.
35553         (bsloww2): Likewise.
35554         (cslow2): Likewise.
35555         (csloww): Likewise.
35556         (csloww1): Likewise.
35557         (csloww2): Likewise.
35559 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35561         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35562         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35563         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35564         * malloc/hooks.c (realloc_check): Likewise.
35566         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35567         * malloc/arena.c: Remove PER_THREAD conditional.
35568         [!PER_THREAD]: Remove code.
35569         (ptmalloc_unlock_all2): Likewise.
35570         (ptmalloc_init): Likewise.
35571         (_int_new_arena): Likewise.
35572         (arena_get2): Likewise.
35573         * malloc/hooks.c (__malloc_get_state): Likewise.
35574         (__malloc_set_state): Likewise.
35575         * malloc/malloc.c: Likewise.
35576         (struct malloc_state): Likewise.
35577         (struct malloc_par): Likewise.
35578         (__libc_realloc): Likewise.
35579         (__libc_mallopt): Likewise.
35581 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35583         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35585 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35587         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35588         macro to a function.  Check for zero perturb_byte.
35589         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35591         * malloc/malloc.c: (force_reg): Remove.
35592         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35593         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35594         force_reg by atomic_forced_read.
35595         * malloc/arena.c (ptmalloc_init): Likewise.
35596         * malloc/hooks.c (top_check): Likewise.
35598 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35602 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35606 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35608         * math/auto-libm-test-in: Add tests of lgamma.
35609         * math/auto-libm-test-out: Regenerated.
35610         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35611         (M_LOG_2_SQRT_PIl): Likewise.
35612         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35613         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35614         mpfr_f_f1.
35615         (func_calc_desc): Add mpfr_f_f1 union field.
35616         (ARGS1): New macro.
35617         (ARGS2): Likewise.
35618         (ARGS3): Likewise.
35619         (ARGS4): Likewise.
35620         (RET1): Likewise.
35621         (RET2): Likewise.
35622         (CALC): Likewise.
35623         (FUNC): Likewise.
35624         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35625         (test_functions): Add lgamma.
35626         (calc_generic_results): Handle mpfr_f_f1.
35627         * sysdeps/i386/fpu/libm-test-ulps: Update.
35628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35632         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35633         __mpn_add_n for PowerPC64/POWER7.
35634         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35635         __mpn_sub_n for PowerPC64/POWER7.
35637         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35638         __mpn_addmul_1 for PowerPC64.
35639         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35640         __mpn_submul_1 for PowerPC64.
35641         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35642         for PowerPC64.
35643         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35644         for PowerPC64.
35646 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35648         [BZ #15089]
35649         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35655         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35656         add multiarch folders.
35657         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35658         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35659         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35660         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35661         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35662         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35663         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35664         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35665         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35666         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35667         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35676         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35678         New file.
35679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35680         New file.
35681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35682         multiarch __ieee754_hypot for PowerPC32.
35683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35684         New file.
35685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35686         New file.
35687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35688         multiarch __ieee754_hypotf for PowerPC32.
35690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35691         long_double_symbol only if __logbl is defined.
35692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35693         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35695         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35697         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35699         path for implementation.
35700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35701         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35703         logb, and logbl multiarch implementations for PowerPC32.
35704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35705         file.
35706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35707         file.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35709         multiarch logb for PowerPC32.
35710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35711         file.
35712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35713         file.
35714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35715         multiarch logbf for PowerPC32.
35716         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35718         file.
35719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35720         multiarch logbl implementation for PowerPC32.
35722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35723         and modff multiarch implementations.
35724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35725         New file.
35726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35727         New file.
35728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35729         multiarch modf for PowerPC32.
35730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35731         New file.
35732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35733         New file.
35734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35735         multiarch modff for PowerPC32.
35737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35738         and lrintf multiarch implementations.
35739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35740         New file.
35741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35742         New file.
35743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35744         multiarch lrint for PowerPC32.
35745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35746         file: multiarch lrintf for PowerPC32.
35748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35749         and lroundf multiarch implementations.
35750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35751         New file.
35752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35753         New file.
35754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35755         New file.
35756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35757         multiarch lround for PowerPC32.
35758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35759         file: multiarch lroundf for PowerPC32.
35761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35762         copysign and copysignf multiarch implementations.
35763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35764         New file.
35765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35766         New file.
35767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35768         file: multiarch copysign for PowerPC32.
35769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35770         file: multiarch copysignf for PowerPC32.
35772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35773         and truncf multiarch implementations.
35774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35775         New file.
35776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35777         file.
35778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35779         multiarch trunc for PowerPC32.
35780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35781         New file.
35782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35783         New file.
35784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35785         multiarch truncf for PowerPC32.
35787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35788         and roundf multiarch implementations.
35789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35790         New file.
35791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35792         file.
35793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35794         multiarch round for PowerPC32.
35795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35796         New file.
35797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35798         New file.
35799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35800         multiarch roundf for PowerPC32.
35802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35803         and floorf multiarch implementations.
35804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35805         New file.
35806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35807         file.
35808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35809         multiarch floor for PowerPC32.
35810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35811         New file.
35812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35813         New file.
35814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35815         multiarch floorf for PowerPC32.
35817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35818         and ceilf multiarch implementations.
35819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35820         New file.
35821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35822         file.
35823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35824         multiarch ceil for PowerPC32.
35825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35826         New file.
35827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35828         file.
35829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35830         multiarch ceilf for PowerPC32.
35832         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35833         is defined.
35834         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35835         FINITEF is defined.
35836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35837         and finitef multiarch implementations.
35838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35839         New file.
35840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35841         file.
35842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35843         multiarch finite for PowerPC32.
35844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35845         New file.
35846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35847         file: multiarch finitef for PowerPC32.
35849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35850         and isinff multiarch implementations.
35851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35852         file.
35853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35854         file.
35855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35856         multiarch isinf for PowerPC32.
35857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35858         New file.
35859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35860         multiarch isinff for PowerPC32.
35862         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35863         alias when __isnan is defined.
35864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35865         and isnanf multiarch implementations.
35866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35867         file.
35868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35869         file.
35870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35871         file.
35872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35873         file.
35874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35875         multiarch isnan for PowerPC32.
35876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35877         New file.
35878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35879         New file.
35880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35881         multiarch isnanf for PowerPC32.
35883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35884         and sqrtf multiarch implementations.
35885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35886         file.
35887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35888         file.
35889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35890         multiarch sqrt for PowerPC32.
35891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35892         file.
35893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35894         file.
35895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35896         multiarch sqrtf for PowerPC32.
35898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35899         and llroundf multiarch implementations.
35900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35901         New file.
35902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35903         New file.
35904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35905         New file.
35906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35907         file: multiarch llround for PowerPC32.
35908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35909         file: multiarch llroundf for PowerPC32.
35911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35912         multiarch PowerPC32 fpu implementations.
35913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35914         New file.
35915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35916         New file.
35917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35918         multiarch llrint for PowerPC32.
35919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35920         New file.
35921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35922         New file.
35923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35924         file.
35926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35929         file.
35930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35931         file.
35932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35933         file.
35934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35935         multiarch wordcopy for PPC32.
35936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35937         wordcopy objects.
35938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35939         (__libc_ifunc_impl_list): Likewise.
35940         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35941         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35942         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35943         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35945         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35947         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35949         file.
35950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35951         file.
35952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35953         file.
35954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35955         multiarch wcscpy for PPC32.
35956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35957         multiarch objects.
35958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35959         (__libc_ifunc_impl_list): Likewise.
35960         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35961         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35962         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35963         sysdeps/powerpc/power6/wcscpy.c.
35965         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35967         file.
35968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35969         file.
35970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35971         file.
35972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35973         multiarch wcsrchr for PPC32.
35974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35975         multiarch objects.
35976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35977         (__libc_ifunc_impl_list): Likewise.
35978         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35979         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35980         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35981         sysdeps/powerpc/power6/wcsrchr.c.
35983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35984         file.
35985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35986         file.
35987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35989         multiarch wcschr for PPc32.
35990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35991         multiarch objects.
35992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35993         (__libc_ifunc_impl_list): Likewise.
35994         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35995         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35996         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35997         sysdeps/powerpc/power6/wcschr.c.
35999         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36001         file.
36002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36004         file: multiarch strchr for PPC32.
36005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36006         multiarch objects.
36007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36008         (__libc_ifunc_impl_list): Likewise.
36010         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36011         name.
36012         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36013         file.
36014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36015         file.
36016         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36017         multiarch strchrnul for PPC32.
36018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36019         multiarch objects.
36020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36021         (__libc_ifunc_impl_list): Likewise.
36023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36024         file.
36025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36026         multiarch strncasecmp for PPC32.
36027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36028         file.
36029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36030         multiarch strncasecmp_l for PPC32.
36031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36032         strncasecmp multiarch objects.
36033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36034         (__libc_ifunc_impl_list): Likewise.
36036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36037         file.
36038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36039         multiarch strncasecmp for PPC32.
36040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36041         New file.
36042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36043         multiarch strcasecmp_l for PPC32.
36044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36045         multiarch objects.
36046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36047         (__libc_ifunc_impl_list): Likewise.
36049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36050         file.
36051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36052         file.
36053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36054         multiarch strncmp for PPC32.
36055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36056         multiarch objects.
36057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36058         (__libc_ifunc_impl_list): Likewise.
36060         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36061         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36062         file.
36063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36066         multiarch objects.
36067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36068         (__libc_ifunc_impl_list): Likewise.
36070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36071         file.
36072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36073         file.
36074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36076         multiarch objects.
36077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36078         (__libc_ifunc_impl_list): Likewise.
36080         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36081         file.
36082         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36083         file.
36084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36085         multiarch rawmemchr for PPC32.
36086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36087         multiarch objects.
36088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36089         (__libc_ifunc_impl_list): Likewise.
36091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36092         file.
36093         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36094         file.
36095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36096         file: memrchr multiarch for PPC32.
36097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36098         multiarch objects.
36099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36100         (__libc_ifunc_impl_list): Likewise.
36102         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36103         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36104         file.
36105         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36106         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36107         multiarch memchr for PPC32.
36108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36109         multiarch objects.
36110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36111         (__libc_ifunc_impl_list): Likewise.
36113         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36115         file.
36116         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36117         file.
36118         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36119         file: multiarch mempcpy for PPC32.
36120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36121         multiarch objects.
36122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36123         (__libc_ifunc_impl_list): Likewise.
36125         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36126         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36128         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36129         multiarch bzero for PPC32.
36130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36131         file.
36132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36133         file.
36134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36135         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36136         file: multiarch memset for PPC32.
36137         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36139         memset multiarch objects.
36140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36141         (__libc_ifunc_impl_list): Likewise.
36143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36144         file.
36145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36147         memcmp for PPC32.
36148         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36150         multiarch objects.
36151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36152         (__libc_ifunc_impl_list): Likewise.
36154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36157         file.
36158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36159         file.
36160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36161         file.
36162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36163         multiarch memcpy for PPC32.
36164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36165         multiarch objects.
36166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36167         (__libc_ifunc_impl_list): Likewise.
36169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36170         support multiarch for POWER/PPC32.
36171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36172         Likewise.
36173         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36175         Implies file to make multiarch folder appers before the fpu and
36176         default folder for power4 configuration.
36178 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36180         * scripts/bench.pl: Append volatile keyword to type.
36182 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36184         * sysdeps/sh/sotruss-lib.c: New file.
36185         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36187 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36191 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36193         [BZ #6810]
36194         * math/w_tgamma.c: Include <errno.h>.
36195         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36196         * math/w_tgammaf.c: Include <errno.h>.
36197         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36198         * math/w_tgammal.c: Include <errno.h>.
36199         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36200         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36201         underflow.  Add more tgamma tests.
36202         * math/auto-libm-test-out: Regenerated.
36203         * sysdeps/i386/fpu/libm-test-ulps: Update.
36204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36206         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36207         sin, sinh, tan, tanh, tgamma, y0 and y1.
36208         * math/auto-libm-test-out: Regenerated.
36209         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36210         (TEST_COND_x86): Likewise.
36211         (M_E2l): Remove macro.
36212         (M_E3l): Likewise.
36213         (M_2_SQRT_PIl): Likewise.
36214         (M_SQRT_PIl): Likewise.
36215         (M_1_DIV_El): Likewise.
36216         (log_test_data): Use AUTO_TESTS_f_f.
36217         (log10_test_data): Likewise.
36218         (log1p_test_data): Likewise.
36219         (log2_test_data): Likewise.
36220         (sin_test_data): Likewise.
36221         (sin_tonearest_test_data): Likewise.
36222         (sin_towardzero_test_data): Likewise.
36223         (sin_downward_test_data): Likewise.
36224         (sin_upward_test_data): Likewise.
36225         (sinh_test_data): Likewise.
36226         (sinh_tonearest_test_data): Likewise.
36227         (sinh_towardzero_test_data): Likewise.
36228         (sinh_downward_test_data): Likewise.
36229         (sinh_upward_test_data): Likewise.
36230         (tan_test_data): Likewise.
36231         (tan_tonearest_test_data): Likewise.
36232         (tan_towardzero_test_data): Likewise.
36233         (tan_downward_test_data): Likewise.
36234         (tan_upward_test_data): Likewise.
36235         (tanh_test_data): Likewise.
36236         (tgamma_test_data): Likewise.
36237         (y0_test_data): Likewise.
36238         (y1_test_data): Likewise.
36239         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36240         (special_real_inputs): Add pi/4.
36241         * sysdeps/i386/fpu/libm-test-ulps: Update.
36242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36244 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36246         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36247         "longjmp_target" static probes.
36248         (__longjmp): Rename to __longjmp_symbol.
36249         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36250         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36251         on which longjmp to generate.
36252         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36253         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36254         probe.
36255         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36256         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36257         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36259         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36260         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36262         __longjmp_symbol based on which __longjmp to generate.
36263         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36264         probe.
36265         (setjmp): Rename to setjmp_symbol.
36266         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36267         (_setjmp): Rename to _setjmp_symbol.
36268         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36269         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36270         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36271         which setjmp to generate.
36272         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36273         "longjmp_target" static probes.
36275 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36277         * benchtests/README: Add note about output arguments.
36278         * benchtests/bench-sincos.c: Remove file.
36279         * benchtests/sincos-inputs: New file.
36280         * scripts/bench.pl: Identify output arguments and define
36281         static variables for them.
36283         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36285         [BZ #15941]
36286         * Makefile (INSTALL): Add install-plain.texi as the primary
36287         dependency.
36288         * manual/install-plain.texi: New file.
36289         * manual/install.texi: Include node directive only for
36290         non-plaintext output.
36292 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36294         * stdlib/longlong.h: Update from GCC.
36296         [BZ #6807]
36297         [BZ #15901]
36298         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36299         * math/w_j0f.c (y0f): Likewise.
36300         * math/w_j0l.c (__y0l): Likewise.
36301         * math/w_j1.c (y1): Likewise.
36302         * math/w_j1f.c (y1f): Likewise.
36303         * math/w_j1l.c (__y1l): Likewise.
36304         * math/w_jn.c (yn): Likewise.
36305         * math/w_jnf.c (ynf): Likewise.
36306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36307         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36308         value for Bessel function domain errors outside _SVID_ mode.
36309         Adjust sign of return value for yn (negative integer, 0).
36310         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36311         by zero in return for negative x and set sign appropriately for
36312         negative n.
36313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36315         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36316         expectations in error cases.
36317         (y1_test_data): Likewise.
36318         (yn_test_data): Likewise.
36319         * sysdeps/i386/fpu/libm-test-ulps: Update.
36320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36322 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36324         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36325         "64" to "64-v1".  Add "64-v2".
36326         (abi-64-options): Rename to ...
36327         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36328         (abi-64-condition): Rename to ...
36329         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36330         (abi-64-ld-soname): Rename to ...
36331         (abi-64-v1-ld-soname): ... this.
36332         (abi-64-v2-options): Define.
36333         (abi-64-v2-condition): Likewise.
36334         (abi-64-v2-ld-soname): Likewise.
36335         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36336         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36341 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36342             Alan Modra  <amodra@gmail.com>
36344         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36345         New versions for use with the ELFv2 ABI.
36346         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36347         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36348         declaration.
36349         (struct La_ppc64v2_retval): Likewise.
36350         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36351         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36352         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36353         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36354         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36355         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36356         Do not save or restore CR.
36357         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36358         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36359         return values for ELFv2 ABI.  Fix location of FPR return registers.
36360         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36361         updated values for _CALL_ELF == 2.
36362         (La_regs, La_retval, int_retval): Likewise.
36364 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36366         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36367         (FRAME_MIN_SIZE_PARM): Likewise.
36368         (FRAME_BACKCHAIN): Likewise.
36369         (FRAME_CR_SAVE): Likewise.
36370         (FRAME_LR_SAVE): Likewise.
36371         (FRAME_TOC_SAVE): Likewise.
36372         (FRAME_PARM_SAVE): Likewise.
36373         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36374         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36375         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36376         (call_mcount_parm_offset): New macro.
36377         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36378         (PROF): Use symbolic stack frame offsets.
36379         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36380         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36381         Redefine in terms of FRAME_MIN_SIZE.
36382         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36383         (_dl_profile_resolve): Likewise.  Update comment.
36384         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36385         symbols stack frame offsets.
36386         (__sigsetjmp): Likewise.
36387         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36388         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36389         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36390         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36393         (FRAME_BACKCHAIN): Remove.
36394         (FRAME_CR_SAVE): Likewise.
36395         (FRAME_LR_SAVE): Likewise.
36396         (FRAME_COMPILER_DW): Likewise.
36397         (FRAME_LINKER_DW): Likewise.
36398         (FRAME_TOC_SAVE): Likewise.
36399         (FRAME_PARM_SAVE): Likewise.
36400         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36401         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36402         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36404         (CHECK_SP): Use symbolic stack frame offsets.
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36406         zone" instead of caller's parameter save area for temp storage.
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36408         Likewise.  Also, use symbolic stack frame offsets.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36410         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36411         our own stack frame instead of the caller's.
36412         (__socket): Use symbolic stack frame offsets.
36414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36415             Alan Modra  <amodra@gmail.com>
36417         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36418         Define.
36419         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36420         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36421         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36422         New function.
36423         (elf_machine_fixup_plt): Call it.
36424         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36425         reloc arguments.
36426         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36428         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36429         r2 before calling target.
36431 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36432             Alan Modra  <amodra@gmail.com>
36434         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36435         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36436         versions of macros to support ELFv2 ABI.
36437         (LOCALENTRY): New macro.
36438         (ENTRY, EALIGN): Use it.
36439         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36440         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36441         fall through into ENTRY entry point.
36442         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36443         Only define if _CALL_ELF != 2.
36445         (elf_machine_matches_host): Verify ABI version matches.
36446         (RTLD_START): Use LOCALENTRY.
36447         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36448         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36449         (PLT_ENTRY_WORDS): New macro.
36450         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36451         (elf_machine_runtime_setup): Support ELFv2 ABI.
36452         (elf_machine_fixup_plt): Likewise.
36453         (elf_machine_plt_conflict): Likewise.
36454         (resolve_ifunc): Likewise.
36455         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36457         Likewise.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36459         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36461         (makecontext): Support ELFv2 ABI.
36462         * elf/elf.h (EF_PPC64_ABI): Define.
36464 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36466         * sysdeps/powerpc/powerpc64/sysdep.h
36467         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36468         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36469         (ENTRY) [ASSEMBLER]: ... but instead here ...
36470         (EALIGN) [ASSEMBLER]: ... and here.
36471         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36472         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36473         (ENTRY_2) [!ASSEMBLER]: Use it.
36474         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36475         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36477         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36480         Use PPC64_LOAD_FUNCPTR.
36482         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36484 2013-12-04  Alan Modra  <amodra@gmail.com>
36486         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36487         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36488         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36489         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36492         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36493         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36494         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36495         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36496         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36501         (__makecontext): Fix incorrect CFI when backtracing out of
36502         context created via makecontext.
36503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36504         (__setcontext): Fix incorrect CFI during switch to new context.
36505         (__novec_setcontext): Likewise.
36507 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36509         [BZ #4772]
36510         * time/strptime_l.c (__strptime_internal): Allow modifiers
36511         in strptime.
36512         * time/tst-strptime.c (day_tests): Add testcase.
36514 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36516         * scripts/bench.pl: Skip over blank lines.
36518 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36520         [BZ #926]
36521         * manual/time.texi (Calendar Time): Clarify what timezone functions
36522         use.
36524 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36528 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36530         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36531         implementation.
36532         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36533         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36534         * debug/memset_chk.c (__memset_chk): Likewise.
36535         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36536         * debug/strncpy_chk.c: Likewise.
36538 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36540         [BZ #15268]
36541         [BZ #15425]
36542         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36543         (__ieee754_exp): For possibly underflowing results, check size of
36544         result and force underflow exception if required.
36545         * math/auto-libm-test-in: Add more tests of exp.
36546         * math/auto-libm-test-out: Regenerated.
36547         * sysdeps/i386/fpu/libm-test-ulps: Update.
36548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36550         [BZ #16283]
36551         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36552         * math/w_exp2f.c (__exp2f): Likewise.
36553         * math/w_exp2l.c (__exp2l): Likewise.
36554         * math/auto-libm-test-in: Do not allow missing errno on exp2
36555         underflow.
36556         * math/auto-libm-test-out: Regenerated.
36558 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36560         [BZ #16274]
36561         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36562         handle filename validation.
36563         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36564         (do_open): Delete.
36566 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36568         [BZ #6786]
36569         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36570         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36571         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36572         <float.h>.
36573         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36575         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36577         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36578         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36579         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36580         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36581         Add more erfc tests.
36582         * math/auto-libm-test-out: Regenerated.
36583         * sysdeps/i386/fpu/libm-test-ulps: Update.
36584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36587         exp2, expm1, j0 and j1.
36588         * math/auto-libm-test-out: Regenerated.
36589         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36590         (erfc_test_data): Likewise.
36591         (exp_test_data): Likewise.
36592         (exp_tonearest_test_data): Likewise.
36593         (exp_towardzero_test_data): Likewise.
36594         (exp_downward_test_data): Likewise.
36595         (exp_upward_test_data): Likewise.
36596         (exp10_test_data): Likewise.
36597         (exp2_test_data): Likewise.
36598         (expm1_test_data): Likewise.
36599         (j0_test_data): Likewise.
36600         (j1_test_data): Likewise.
36601         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36602         (input_flag_type): Add flag_xfail_rounding.
36603         (input_flags): Add xfail-rounding.
36604         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36605         (output_for_one_input_case): Handle flag_xfail_rounding.
36606         * sysdeps/i386/fpu/libm-test-ulps: Update.
36607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36611         [BZ #16289]
36612         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36613         division by 0.
36615 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36617         [BZ #16195]
36618         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36619         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36620         (STAP_PROBE0): New macro.
36621         (STAP_PROBE1): Likewise.
36622         (STAP_PROBE2): Likewise.
36623         (STAP_PROBE3): Likewise.
36624         (STAP_PROBE4): Likewise.
36626 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36628         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36630 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36632         * benchtests/Makefile (bench): Add sqrt.
36633         (LDLIBS-bench-sqrt): New.
36634         * benchtests/sqrt-input: New.
36636 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36638         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36639         (GAIH_EAI): Likewise.
36640         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36641         (gaih_inet): Likewise.
36642         (getaddrinfo): Don't use GAIH_EAI.
36644         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36645         (struct gaih): Remove definition.
36647 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36649         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36650         Use HERRNOP directly.
36652 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36656 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36658         * math/gen-auto-libm-tests.c (test_functions): Add more
36659         single-argument functions.
36660         (special_fill_pi_2): New function.
36661         (special_fill_minus_pi_2): Likewise.
36662         (special_fill_pi_6): Likewise.
36663         (special_fill_minus_pi_6): Likewise.
36664         (special_fill_pi_3): Likewise.
36665         (special_fill_2pi_3): Likewise.
36666         (special_fill_e): Likewise.
36667         (special_fill_1_e): Likewise.
36668         (special_fill_e_minus_1): Likewise.
36669         (special_real_inputs): Add more special inputs.
36670         (output_for_one_input_case): Do not require ERANGE on underflow to
36671         zero if round-to-nearest result does not underflow to zero, unless
36672         exact results required.
36673         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36674         atan, atanh, cbrt, cos and cosh.
36675         * math/auto-libm-test-out: Regenerated.
36676         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36677         (acos_tonearest_test_data): Likewise.
36678         (acos_towardzero_test_data): Likewise.
36679         (acos_downward_test_data): Likewise.
36680         (acos_upward_test_data): Likewise.
36681         (acosh_test_data): Likewise.
36682         (asin_test_data): Likewise.
36683         (asin_tonearest_test_data): Likewise.
36684         (asin_towardzero_test_data): Likewise.
36685         (asin_upward_test_data): Likewise.
36686         (asinh_test_data): Likewise.
36687         (atan_test_data): Likewise.
36688         (atanh_test_data): Likewise.
36689         (cbrt_test_data): Likewise.
36690         (cos_test_data): Likewise.
36691         (cos_tonearest_test_data): Likewise.
36692         (cos_towardzero_test_data): Likewise.
36693         (cos_downward_test_data): Likewise.
36694         (cos_upward_test_data): Likewise.
36695         (cosh_test_data): Likewise.
36696         (cosh_tonearest_test_data): Likewise.
36697         (cosh_towardzero_test_data): Likewise.
36698         (cosh_downward_test_data): Likewise.
36699         (cosh_upward_test_data): Likewise.
36700         * sysdeps/i386/fpu/libm-test-ulps: Update.
36701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36703 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36705         [BZ #6787]
36706         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36707         * math/w_exp10f.c (__exp10f): Likewise.
36708         * math/w_exp10l.c (__exp10l): Likewise.
36709         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36710         errno settings in existing tests.
36712         [BZ #14032]
36713         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36714         precision control set to double precision.
36715         * sysdeps/i386/fpu/w_sqrt.c: New file.
36716         * math/auto-libm-test-in: Add more tests.
36717         * math/auto-libm-test-out: Update.
36719         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36720         (sqrt_test_tonearest): New function.
36721         (sqrt_towardzero_test_data): New variable.
36722         (sqrt_test_towardzero): New function.
36723         (sqrt_downward_test_data): New variable.
36724         (sqrt_test_downward): New function.
36725         (sqrt_upward_test_data): New variable.
36726         (sqrt_test_upward): New function.
36727         (main): Call the new functions.
36729         * math/gen-auto-libm-tests.c: New file.
36730         * math/auto-libm-test-in: Likewise.
36731         * math/auto-libm-test-out: New generated file.
36732         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36733         variables.
36734         (%beautify): Add generated representations of zero.
36735         (top level): Set $auto_input and call parse_auto_input.
36736         (beautify): Remove trailing "f" from hex float constants.
36737         (parse_args): Handle XFAIL_TEST.
36738         (convert_condition): New function.
36739         (or_value): Likewise.
36740         (or_cond_value): Likewise.
36741         (generate_testfile): Handle AUTO_TESTS_* lines.
36742         (parse_auto_input): New function.
36743         * math/libm-test.inc (XFAIL_TEST): New macro.
36744         (ERRNO_UNCHANGED): Update value.
36745         (ERRNO_EDOM): Likewise.
36746         (ERRNO_ERANGE): Likewise.
36747         (IGNORE_RESULT): Likewise.
36748         (TEST_COND_flt_32): New macro.
36749         (TEST_COND_dbl_64): Likewise.
36750         (TEST_COND_ldbl_96_intel): Likewise.
36751         (TEST_COND_ldbl_96_m68k): Likewise.
36752         (TEST_COND_ldbl_128): Likewise.
36753         (TEST_COND_ldbl_128ibm): Likewise.
36754         (TEST_COND_long32): Likewise.
36755         (TEST_COND_long64): Likewise.
36756         (TEST_COND_before_rounding): Likewise.
36757         (TEST_COND_after_rounding): Likewise.
36758         (enable_test): Handle XFAIL_TEST flag.
36759         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36760         with finite results.
36761         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36762         auto-libm-test-out.
36764 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36765             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36767         [BZ #16214]
36768         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36769         __tls_get_addr_internal instead of __tls_get_offset in order to
36770         avoid GOT pointer dependency.  Make rtld export
36771         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36772         __tls_get_addr since we are a __tls_get_offset platform.
36773         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36774         GOT pointer being set up before.
36775         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36777 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36779         * manual/math.texi (Errors in Math Functions): Document accuracy
36780         goals.
36782         [BZ #15004]
36783         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36784         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36785         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36786         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36787         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36788         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36789         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36790         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36791         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36792         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36793         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36794         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36795         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36796         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36800         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36801         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36802         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36803         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36804         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36805         Likewise.
36806         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36807         Likewise.
36808         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36809         Likewise.
36810         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36811         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36812         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36813         atomic-feupdateenv and flt-rounds.
36814         * sysdeps/powerpc/nofpu/Versions (libc): Add
36815         __atomic_feholdexcept, __atomic_feclearexcept,
36816         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36818         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36820         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36821         here.
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36823         Update.
36825         * manual/arith.texi (FP Exceptions): Document that exceptions may
36826         not be raised when matherr is used.
36827         (Math Error Reporting): Document overflow in directed rounding
36828         modes.  Document that errno may not be set when finite values are
36829         returned on overflow.  Document intent to set errno on underflow
36830         only for underflow to zero.
36832         [BZ #16271]
36833         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36834         round-to-nearest then adjust result for other rounding modes.
36835         * include/fenv.h (fegetround): Use libm_hidden_proto.
36836         * math/fegetround.c (fegetround): Use libm_hidden_def.
36837         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36838         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36841         Likewise.
36842         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36843         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36844         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36845         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36847 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36849         [BZ #16077]
36850         * nss/Versions (libnss_files): Add
36851         _nss_files_gethostbyname3_r.
36852         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36853         New function.
36854         (HOST_DB_LOOKUP): Remove macro.
36855         (_nss_files_gethostbyname_r): Implement function without the
36856         HOST_DB_LOOKUP macro.
36857         (_nss_files_gethostbyname2_r): Likewise.
36859 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36861         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36863 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36865         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36866         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36867         warning.
36869 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36871         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36872         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36873         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36874         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36875         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36876         __fe_nomask_env_priv and attribute_hidden.
36877         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36878         (libc_feupdateenv_test_ppc): Likewise.
36879         (libc_feresetround_ppc): Likewise.
36880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36881         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36882         compat_symbol macro.
36883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36884         (__fe_nomask_env): Likewise.
36885         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36887 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36889         * string/Makefile: Remove ifunc tests.
36890         * string/test-string.h: Define TEST_IFUNC.
36891         * string/test-bcopy-ifunc.c: Remove.
36892         * string/test-bzero-ifunc.c: Likewise.
36893         * string/test-memccpy-ifunc.c: Likewise.
36894         * string/test-memchr-ifunc.c: Likewise.
36895         * string/test-memcmp-ifunc.c: Likewise.
36896         * string/test-memcpy-ifunc.c: Likewise.
36897         * string/test-memmem-ifunc.c: Likewise.
36898         * string/test-memmove-ifunc.c: Likewise.
36899         * string/test-mempcpy-ifunc.c: Likewise.
36900         * string/test-memrchr-ifunc.c: Likewise.
36901         * string/test-memset-ifunc.c: Likewise.
36902         * string/test-rawmemchr-ifunc.c: Likewise.
36903         * string/test-stpcpy-ifunc.c: Likewise.
36904         * string/test-stpncpy-ifunc.c: Likewise.
36905         * string/test-strcasecmp-ifunc.c: Likewise.
36906         * string/test-strcasestr-ifunc.c: Likewise.
36907         * string/test-strcat-ifunc.c: Likewise.
36908         * string/test-strchr-ifunc.c: Likewise.
36909         * string/test-strchrnul-ifunc.c: Likewise.
36910         * string/test-strcmp-ifunc.c: Likewise.
36911         * string/test-strcpy-ifunc.c: Likewise.
36912         * string/test-strcspn-ifunc.c: Likewise.
36913         * string/test-strlen-ifunc.c: Likewise.
36914         * string/test-strncasecmp-ifunc.c: Likewise.
36915         * string/test-strncat-ifunc.c: Likewise.
36916         * string/test-strncmp-ifunc.c: Likewise.
36917         * string/test-strncpy-ifunc.c: Likewise.
36918         * string/test-strnlen-ifunc.c: Likewise.
36919         * string/test-strpbrk-ifunc.c: Likewise.
36920         * string/test-strrchr-ifunc.c: Likewise.
36921         * string/test-strspn-ifunc.c: Likewise.
36922         * string/test-strstr-ifunc.c: Likewise.
36924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36926         * benchtests/Makefile: Remove ifunc tests.
36927         * benchtests/bench-string.h: Define TEST_IFUNC.
36928         * benchtests/bench-bcopy-ifunc.c: Remove.
36929         * benchtests/bench-bzero-ifunc.c: Likewise.
36930         * benchtests/bench-memccpy-ifunc.c: Likewise.
36931         * benchtests/bench-memchr-ifunc.c: Likewise.
36932         * benchtests/bench-memcmp-ifunc.c: Likewise.
36933         * benchtests/bench-memcpy-ifunc.c: Likewise.
36934         * benchtests/bench-memmem-ifunc.c: Likewise.
36935         * benchtests/bench-memmove-ifunc.c: Likewise.
36936         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36937         * benchtests/bench-memrchr-ifunc.c: Likewise.
36938         * benchtests/bench-memset-ifunc.c: Likewise.
36939         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36940         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36941         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36942         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36943         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36944         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36945         * benchtests/bench-strcat-ifunc.c: Likewise.
36946         * benchtests/bench-strchr-ifunc.c: Likewise.
36947         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36948         * benchtests/bench-strcmp-ifunc.c: Likewise.
36949         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36950         * benchtests/bench-strcpy-ifunc.c: Likewise.
36951         * benchtests/bench-strcspn-ifunc.c: Likewise.
36952         * benchtests/bench-strlen-ifunc.c: Likewise.
36953         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36954         * benchtests/bench-strncat-ifunc.c: Likewise.
36955         * benchtests/bench-strncmp-ifunc.c: Likewise.
36956         * benchtests/bench-strncpy-ifunc.c: Likewise.
36957         * benchtests/bench-strnlen-ifunc.c: Likewise.
36958         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36959         * benchtests/bench-strrchr-ifunc.c: Likewise.
36960         * benchtests/bench-strsep-ifunc.c: Likewise.
36961         * benchtests/bench-strspn-ifunc.c: Likewise.
36962         * benchtests/bench-strstr-ifunc.c: Likewise.
36964 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36966         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36970         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36971         * rt/aio.h: Likewise.
36972         * sysdeps/gnu/bits/utmp.h: Likewise.
36973         * sysdeps/gnu/bits/utmpx.h: Likewise.
36974         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36975         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36976         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36977         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36978         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36979         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36980         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36981         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36982         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36983         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36984         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36985         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36986         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36989         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36990         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36991         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36992         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36993         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36994         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36995         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36996         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36997         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36998         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37000         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37001         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37002         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37003         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37004         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37005         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37006         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37007         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37008         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37009         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37010         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37011         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37012         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37014         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37015         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37017 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37019         [BZ #16245]
37020         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37021         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37023 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37025         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37027         Likewise.
37029 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37032         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37033         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37034         (__fesetround): Remove define.
37035         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37036         rounding and exceptions handling.
37037         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37039         (__fe_nomask_env): Likewise.
37040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37041         __fegetround instead of fegetround.
37042         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37043         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37045 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37047         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37048         it's there.
37050         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37052 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37054         [BZ #11157]
37055         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37056         (encrypt_r): Likewise.
37057         * malloc/obstack.h (obstack_free): Likewise.
37058         * posix/unistd.h (encrypt): Likewise.
37060 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37062         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37063         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37064         DL_CALL_DT_FINI() that call the functions directly.
37065         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37066         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37067         * elf/dl-fini.c: Likewise.
37069 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37071         * malloc/hooks.c (memalign_check): Add alignment rounding.
37072         * malloc/malloc.c (_mid_memalign): New function.
37073         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37074         Implement by calling _mid_memalign.
37075         * manual/probes.texi (Memory Allocation Probes): Remove
37076         memory_valloc_retry and memory_pvalloc_retry.
37078 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37080         * locale/programs/locarchive.c (open_archive): Add const
37081         qualifier to ARCHIVEFNAME and copy default fname to
37082         DEFAULT_FNAME.
37084         [BZ #15601]
37085         * libio/tst-widetext.input: Rename Oriya to Odia.
37086         * locale/iso-639.def: Likewise.
37088         * manual/probes.texi (Mathematical Function Probes): Add
37089         documentation for sin, cos, asin and acos probes.
37090         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37091         (__sin32): Add slowasin probe.
37092         (__cos32): Add slowacos probe.
37093         (__mpsin): Add slowsin probe.
37094         (__mpcos): Add slowcos probe.
37096 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37098         [BZ #15483]
37099         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37100         thread-local __sim_exceptions_thread and global
37101         __sim_exceptions_global.
37102         (__sim_disabled_exceptions): Change to thread-local
37103         __sim_disabled_exceptions_thread and global
37104         __sim_disabled_exceptions_global.
37105         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37106         and global __sim_round_mode_global.
37107         (__simulate_exceptions): Use thread-local floating-point state and
37108         set global state from it as needed.
37109         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37110         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37111         __sim_round_mode_thread.
37112         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37113         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37114         and global __sim_exceptions_global.
37115         (__sim_disabled_exceptions): Change to thread-local
37116         __sim_disabled_exceptions_thread and global
37117         __sim_disabled_exceptions_global.
37118         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37119         and global __sim_round_mode_global.
37120         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37121         (SIM_SET_GLOBAL): Likewise.
37122         * sysdeps/powerpc/soft-fp/sfp-machine.h
37123         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37124         __sim_round_mode_thread.
37125         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37126         __sim_disabled_exceptions_thread.
37127         (__sim_exceptions): Change to __sim_exceptions_thread.
37128         (__sim_disabled_exceptions): Change to
37129         __sim_disabled_exceptions_thread.
37130         (__sim_round_mode): Change to __sim_round_mode_thread.
37131         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37132         thread-local floating-point state and set global state from it as
37133         needed.
37134         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37135         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37136         (__sim_disabled_exceptions): Remove extern declaration.
37137         (feenableexcept): Use thread-local floating-point state and set
37138         global state from it as needed.
37139         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37140         extern declaration.
37141         (__sim_disabled_exceptions): Likewise.
37142         (__sim_round_mode): Likewise.
37143         (__fegetenv): Use thread-local floating-point state.
37144         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37145         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37146         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37147         floating-point state and set global state from it as needed.
37148         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37149         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37150         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37151         Likewise.
37152         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37153         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37154         Likewise.
37155         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37156         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37157         Use __sim_round_mode_thread.
37158         * math/test-fenv-tls.c: New file.
37159         * math/Makefile (tests): Add test-fenv-tls.
37160         ($(objpfx)test-fenv-tls): Depend on
37161         $(common-objpfx)nptl/libpthread.so.
37163 2013-11-19  Andreas Schwab  <schwab@suse.de>
37165         * locale/programs/locale.c (show_info): Decode wordarray elements.
37166         * locale/categories.def (LC_MONETARY): Add element for
37167         _NL_MONETARY_CRNCYSTR.
37168         * locale/C-monetary.c (conversion_rate): New variable.
37169         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37170         element.
37172 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37174         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37175         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37177 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37179         * elf/Makefile (tst-auxv): New test.
37180         * elf/tst-auxv.c: New
37181         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37183 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37185         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37186         (hidden_proto): Caller changed.
37187         (hidden_tls_proto): New macro.
37188         (libc_hidden_tls_proto): Likewise.
37189         (rtld_hidden_tls_proto): Likewise.
37190         (libm_hidden_tls_proto): Likewise.
37191         (libresolv_hidden_tls_proto): Likewise.
37192         (librt_hidden_tls_proto): Likewise.
37193         (libdl_hidden_tls_proto): Likewise.
37194         (libnss_files_hidden_tls_proto): Likewise.
37195         (libnsl_hidden_tls_proto): Likewise.
37196         (libnss_nisplus_hidden_tls_proto): Likewise.
37197         (libutil_hidden_tls_proto): Likewise.
37199 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37201         [BZ #10253]
37202         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37203         (decompose_rpath): Defer expansion to fillin_rpath.
37204         (_dl_init_paths): Pass linkmap to fillin_rpath.
37206 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37208         * benchtests/Makefile: Add strsep.
37209         * benchtests/bench-strsep.c: New file: strsep benchtest.
37210         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37212 2013-11-18  Andreas Schwab  <schwab@suse.de>
37214         * locale/programs/locale.c (show_info) [case byte]: Check for
37215         '\377' instead of '\177'.
37216         * locale/C-monetary.c (not_available): Always use "\377".
37217         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37218         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37219         detect unavailable sign_posn locale elements.
37220         * locale/localeconv.c (__localeconv): For grouping and
37221         mon_grouping handle "\177" and "\377" like no grouping.
37222         (INT_ELEM): New macro.  Use it to set all numeric members.
37223         * locale/programs/ld-monetary.c (monetary_read)
37224         <tok_mon_grouping>: Normalize single -1 to the empty string.
37225         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37226         Likewise.
37228 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37230         [BZ #16055]
37231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37232         when we match (nil).
37233         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37235 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37237         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37238         (NO_TEST_INLINE): Update value.
37239         (ERRNO_UNCHANGED): Likewise.
37240         (ERRNO_EDOM): Likewise.
37241         (ERRNO_ERANGE): Likewise.
37242         (IGNORE_RESULT): Likewise.
37243         (check_float_internal): Check signs of NaN results if
37244         TEST_NAN_SIGN used.
37245         (check_complex): Pass TEST_NAN_SIGN flag through to second
37246         check_float_internal call.
37247         (copysign_test_data): Add tests with quiet NaNs as second
37248         argument.  Use TEST_NAN_SIGN.
37249         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37250         TEST_NAN_SIGN.
37251         (signbit_test_data): Add tests of quiet NaN argument.
37252         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37254         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37255         $ignore_result.
37256         (parse_args): Handle function results specified as IGNORE.
37257         * math/libm-test.inc (IGNORE_RESULT): New macro.
37258         (check_float_internal): Do not check numerical result if flag
37259         IGNORE_RESULT set.
37260         (check_complex): Pass through IGNORE_RESULT to second
37261         check_float_internal call.
37262         (check_int): Do not check numerical result if flag IGNORE_RESULT
37263         set.
37264         (check_long): Likewise.
37265         (check_bool): Likewise.
37266         (check_longlong): Likewise.
37267         (lrint_test_data): Add tests of infinite and NaN arguments.
37268         (lrint_tonearest_test_data): Likewise.
37269         (lrint_towardzero_test_data): Likewise.
37270         (lrint_downward_test_data): Likewise.
37271         (lrint_upward_test_data): Likewise.
37272         (llrint_test_data): Likewise.
37273         (llrint_tonearest_test_data): Likewise.
37274         (llrint_towardzero_test_data): Likewise.
37275         (llrint_downward_test_data): Likewise.
37276         (llrint_upward_test_data): Likewise.
37277         (lround_test_data): Likewise.
37278         (llround_test_data): Likewise.
37280         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37281         (ERRNO_UNCHANGED): Update value.
37282         (ERRNO_EDOM): Likewise.
37283         (ERRNO_ERANGE): Likewise.
37284         (NO_TEST_INLINE_FLOAT): New macro.
37285         (NO_TEST_INLINE_DOUBLE): Likewise.
37286         (enable_test): New function.
37287         (RUN_TEST_f_f): Check enable_test before running test.
37288         (RUN_TEST_2_f): Likewise.
37289         (RUN_TEST_fff_f): Likewise.
37290         (RUN_TEST_c_f): Likewise.
37291         (RUN_TEST_f_f1): Likewise.
37292         (RUN_TEST_fF_f1): Likewise.
37293         (RUN_TEST_fI_f1): Likewise.
37294         (RUN_TEST_ffI_f1): Likewise.
37295         (RUN_TEST_c_c): Likewise.
37296         (RUN_TEST_cc_c): Likewise.
37297         (RUN_TEST_f_i): Likewise.
37298         (RUN_TEST_f_i_tg): Likewise.
37299         (RUN_TEST_ff_i_tg): Likewise.
37300         (RUN_TEST_f_b): Likewise.
37301         (RUN_TEST_f_b_tg): Likewise.
37302         (RUN_TEST_f_l): Likewise.
37303         (RUN_TEST_f_L): Likewise.
37304         (RUN_TEST_fFF_11): Likewise.
37305         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37306         conditionals.
37307         (cosh_test_data): Likewise.
37308         (exp_test_data): Likewise.
37309         (expm1_test_data): Likewise.
37310         (hypot_test_data): Likewise.
37311         (pow_test_data): Likewise.
37312         (sinh_test_data): Likewise.
37313         (tanh_test_data): Likewise.
37314         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37315         flags argument.
37317         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37318         tests with quiet NaN input and output.
37319         (acosh_test_data): Likewise.
37320         (asin_test_data): Likewise.
37321         (asinh_test_data): Likewise.
37322         (atan_test_data): Likewise.
37323         (atanh_test_data): Likewise.
37324         (atan2_test_data): Likewise.
37325         (cbrt_test_data): Likewise.
37326         (cos_test_data): Likewise.
37327         (cosh_test_data): Likewise.
37328         (erf_test_data): Likewise.
37329         (erfc_test_data): Likewise.
37330         (exp_test_data): Likewise.
37331         (exp10_test_data): Likewise.
37332         (exp2_test_data): Likewise.
37333         (expm1_test_data): Likewise.
37334         (hypot_test_data): Likewise.
37335         (j0_test_data): Likewise.
37336         (j1_test_data): Likewise.
37337         (jn_test_data): Likewise.
37338         (lgamma_test_data): Likewise.
37339         (log_test_data): Likewise.
37340         (log10_test_data): Likewise.
37341         (log1p_test_data): Likewise.
37342         (log2_test_data): Likewise.
37343         (pow_test_data): Likewise.
37344         (scalb_test_data): Likewise.
37345         (sin_test_data): Likewise.
37346         (sincos_test_data): Likewise.
37347         (sinh_test_data): Likewise.
37348         (tan_test_data): Likewise.
37349         (tanh_test_data): Likewise.
37350         (tgamma_test_data): Likewise.
37351         (y0_test_data): Likewise.
37352         (y1_test_data): Likewise.
37353         (yn_test_data): Likewise.
37355         [BZ #16167]
37356         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37357         argument being NaN and avoid computations with second argument in
37358         that case.
37359         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37360         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37361         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37363 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37365         * locale/iso-639.def: Add Chitwani Tharu (the).
37367 2013-11-14  Andreas Schwab  <schwab@suse.de>
37369         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37370         word instead of empty string.
37372 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37375         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37377         (__fe_nomask_env): Likewise.
37379 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37381         * benchtests/bench-timing.h: Include time.h.
37383 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37385         [BZ #15997]
37386         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37387         to 3.4.0 for x32.
37388         * sysdeps/unix/sysv/linux/configure: Regenerated.
37390 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37392         [BZ #16151]
37393         * stdlib/strtod_l.c (round_and_return): Do not consider
37394         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37395         exponent one less than half the least subnormal exponent.
37396         * stdlib/test-strtod-round-data: Add more tests.
37397         * stdlib/tst-strtod-round.c (tests): Regenerated.
37399 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37401         [BZ #14143]
37402         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37403         (__fe_mask_env): Likewise.
37404         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37405         libm_hidden_proto and add function prototype.
37406         (__fe_mask_env): Add function prototype.
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37408         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37410         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37412         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37414 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37416         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37417         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37419 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37421         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37422         of htab_find_slot().
37424 2013-11-11  David S. Miller  <davem@davemloft.net>
37426         [BZ #16150]
37427         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37428         symbol in the non-vis3 case in static builds.
37429         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37430         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37431         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37432         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37434 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37436         [BZ #387]
37437         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37438         it is empty.
37440 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37442         * benchtests/Makefile: Add bench-strtod.
37443         * benchtests/bench-strtod.c: New file: strtod benchtest
37445 2013-11-11  Andreas Schwab  <schwab@suse.de>
37447         [BZ #16153]
37448         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37449         terminating NUL in key length.
37451 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37453         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37454         Add artificial ODP entry for vDSO symbol for PPC64.
37455         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37456         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37458 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37460         [BZ #15374]
37461         * nss/getent.c (services_keys): Recognize services starting with digit.
37463 2013-11-06  David S. Miller  <davem@davemloft.net>
37465         [BZ #15985]
37466         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37467         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37469 2013-11-06  Will Newton  <will.newton@linaro.org>
37471         * manual/memory.texi (Malloc Examples): Remove register
37472         keyword from examples.
37474 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37476         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37478 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37480         [BZ #6981]
37481         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37482         depending on [__GCC_IEC_559 > 0].
37483         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37484         depending on [__GCC_IEC_559_COMPLEX > 0].
37486 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37488         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37489         to iso-639.def.
37491 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37493         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37495 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37497         [BZ #16112]
37498         * malloc/malloc (malloc_info): Do not handle first bin as
37499         special case.
37501 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37503         * locale/iso-639.def: Add Central Nahuatl (nhn).
37505 2013-11-01  Bruno Haible  <bruno@clisp.org>
37507         [BZ #7003]
37508         * manual/math.texi (BSD Random): Specify range upper bound as
37509         in POSIX.
37511 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37513         * locale/iso-639.def: Add Meadow Mari (mhr).
37515 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37517         [BZ #14752], [BZ #15763]
37518         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37519         Validate name.
37520         * rt/tst_shm.c: Add test for escaping directory.
37522 2013-10-31  Andreas Schwab  <schwab@suse.de>
37524         [BZ #15917]
37525         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37526         followed by 'x' as part of digit sequence.
37527         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37529 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37531         [BZ #16037]
37532         * configure.ac: allow GNU Make 4.0 and greater.
37533         * configure: Regenerated.
37535 2013-10-30  Will Newton  <will.newton@linaro.org>
37537         [BZ #16038]
37538         * malloc/hooks.c (memalign_check): Limit alignment to the
37539         maximum representable power of two.
37540         * malloc/malloc.c (__libc_memalign): Likewise.
37541         * malloc/tst-memalign.c (do_test): Add test for very
37542         large alignment values.
37543         * malloc/tst-posix_memalign.c (do_test): Likewise.
37545 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37547         [BZ #11087]
37548         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37549         (munmap_chunk): Likewise.
37550         (mremap_chunk): Likewise.
37552 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37554         [BZ #15799]
37555         * stdlib/div.c (div): Remove obsolete code.
37556         * stdlib/ldiv.c (ldiv): Likewise.
37557         * stdlib/lldiv.c (lldiv): Likewise.
37559 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37561         [BZ #16071]
37562         * nss/nss_files/files-XXX.c (get_contents_ret): New
37563         enumerator.
37564         (get_contents): New function.
37565         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37567 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37569         * configure.in: Moved to ...
37570         * configure.ac: ... here. Change reference to configure.in
37571         to configure.ac.
37572         * sysdeps/arm/preconfigure.ac: ... here.
37573         configure.in to configure.ac.
37574         * sysdeps/gnu/configure.in: Moved to ...
37575         * sysdeps/gnu/configure.ac: ... here.
37576         * sysdeps/i386/configure.in: Moved to ...
37577         * sysdeps/i386/configure.ac: ... here.
37578         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37579         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37580         * sysdeps/mach/configure.in: Moved to ...
37581         * sysdeps/mach/configure.ac: ... here.
37582         * sysdeps/mach/hurd/configure.in: Moved to ...
37583         * sysdeps/mach/hurd/configure.ac: ... here.
37584         * sysdeps/powerpc/configure.in: Moved to ...
37585         * sysdeps/powerpc/configure.ac: ... here.
37586         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37587         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37588         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37589         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37590         * sysdeps/s390/s390-32/configure.in: Moved to ...
37591         * sysdeps/s390/s390-32/configure.ac: ... here.
37592         * sysdeps/s390/s390-64/configure.in: Moved to ...
37593         * sysdeps/s390/s390-64/configure.ac: ... here.
37594         * sysdeps/sh/configure.in: Moved to ...
37595         * sysdeps/sh/configure.ac: ... here.
37596         * sysdeps/sparc/configure.in: Moved to ...
37597         * sysdeps/sparc/configure.ac: ... here.
37598         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37599         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37600         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37601         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37602         * sysdeps/x86_64/configure.in: Moved to ...
37603         * sysdeps/x86_64/configure.ac: ... here.
37604         * sysdeps/x86_64/preconfigure.in: Moved to ...
37605         * sysdeps/x86_64/preconfigure.ac: ... here.
37606         * aclocal.m4: Change reference to configure.in to configure.ac.
37607         * config.h.in: Likewise.
37608         * manual/install.texi: Likewise.
37609         * manual/maint.texi: Likewise.
37610         * Makefile: Likewise.
37611         * malloc/Makefile: Likewise.
37612         * nscd/Makefile: Likewise.
37613         * Makeconfig: Change reference to configure.in and
37614         preconfigure.in to configure.ac and preconfigure.ac
37615         respectively.
37616         * INSTALL: Regenerated.
37617         * configure: Likewise.
37618         * sysdeps/gnu/configure: Likewise.
37619         * sysdeps/i386/configure: Likewise.
37620         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37621         * sysdeps/mach/configure: Likewise.
37622         * sysdeps/mach/hurd/configure: Likewise.
37623         * sysdeps/powerpc/configure: Likewise.
37624         * sysdeps/powerpc/powerpc32/configure: Likewise.
37625         * sysdeps/powerpc/powerpc64/configure: Likewise.
37626         * sysdeps/s390/s390-32/configure: Likewise.
37627         * sysdeps/s390/s390-64/configure: Likewise.
37628         * sysdeps/sh/configure: Likewise.
37629         * sysdeps/sparc/configure: Likewise.
37630         * sysdeps/unix/sysv/linux/configure: Likewise.
37631         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37632         * sysdeps/x86_64/configure: Likewise.
37633         * sysdeps/x86_64/preconfigure: Likewise.
37635 2013-10-29  Andreas Schwab  <schwab@suse.de>
37637         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37639 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37641         * benchtests/pow-inputs: Add new inputs.
37643         * benchtests/exp-inputs: Add new inputs.
37645         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37646         conditional check for return value.
37647         (__cos32): Likewise.
37649 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37651         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37652         to provide a boost for large inputs with word alignment.
37653         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37654         implementation based on optimized PPC64 strcpy.
37655         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37656         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37657         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37658         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37660 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37662         [BZ #2801]
37663         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37665 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37667         [BZ #14876]
37668         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37669         * time/tst-strptime.c (day_tests): Add testcase.
37671 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37673         [BZ #14029]
37674         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37676 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37678         [BZ #16074]
37679         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37680         MAP_FAILED on error.
37682 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37684         [BZ #16072]
37685         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37686         heap for large requests.
37688 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37690         [BZ #9954]
37691         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37692         result if the result has no associated interface.
37693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37694         interface for all 127.X.Y.Z addresses.
37696 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37698         * locale/iso-639.def: Add Ligurian (lij)
37700 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37702         [BZ #15825]
37703         * sunrpc/rpc_main.c: Document rpcgen -5.
37705 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37707         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37709 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37711         [BZ #10278]
37712         * posix/glob.c: Match only directories when trailing slash is present.
37713         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37714         (main): Add testcase.
37716 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37718         [BZ #15670]
37719         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37721 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37723         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37724         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37725         AUTH_DES and cindex for FIPS 140-2.
37726         (DES Encryption): Add cindex FIPS 46-3.
37728         * locale/locarchive.h (struct locarhandle): Add fname.
37729         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37730         if an optional argument was specified to --list-archive,
37731         otherwise NULL.
37732         * locale/programs/locarchive.c (show_archive_content): Take new
37733         argument fname and pass it via ah.fname to open_archive.
37734         * locale/programs/localedef.h: Update decl.
37735         (open_archive): If AH->fname is non-null, open that file
37736         rather than the default file name, and don't ignore ENOENT.
37737         (create_archive): Set AH.fname to NULL.
37738         (delete_locales_from_archive): Likewise.
37739         (add_locales_to_archive): Likewise.
37740         * locale/programs/locfile.c (write_all_categories): Likewise.
37742 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37743             Aldy Hernandez  <aldyh@redhat.com>
37745         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37746         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37747         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37748         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37749         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37750         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37751         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37753         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37756         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37757         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37758         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37759         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37760         Likewise.
37761         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37762         Likewise.
37763         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37764         Likewise.
37765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37766         Likewise.
37767         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37768         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37769         Likewise.
37770         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37771         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37772         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37773         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37774         Likewise.
37775         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37776         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37777         * sysdeps/powerpc/preconfigure: Likewise.
37778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37779         Likewise.
37780         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37781         Replace contents of file by #include of <fenv_libc.h>.
37782         * sysdeps/powerpc/soft-fp/sfp-machine.h
37783         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37784         and <sys/prctl.h>.
37785         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37798         Allow copysignl PLT reference to be missing.
37800 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37801             Joseph Myers  <joseph@codesourcery.com
37803         [BZ #15948]
37804         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37805         single character.
37806         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37808 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37810         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37811         * elf/tst-tls1.c: Likewise.
37812         * elf/tst-tls10.h: Likewise.
37813         * elf/tst-tls14.c: Likewise.
37814         * elf/tst-tls2.c: Likewise.
37815         * elf/tst-tls3.c: Likewise.
37816         * elf/tst-tls4.c: Likewise.
37817         * elf/tst-tls5.c: Likewise.
37818         * elf/tst-tls6.c: Likewise.
37819         * elf/tst-tls7.c: Likewise.
37820         * elf/tst-tls8.c: Likewise.
37821         * elf/tst-tls9.c: Likewise.
37822         * elf/tst-tlsmod1.c: Likewise.
37823         * elf/tst-tlsmod13.c: Likewise.
37824         * elf/tst-tlsmod13a.c: Likewise.
37825         * elf/tst-tlsmod14a.c: Likewise.
37826         * elf/tst-tlsmod16a.c: Likewise.
37827         * elf/tst-tlsmod16b.c: Likewise.
37828         * elf/tst-tlsmod2.c: Likewise.
37829         * elf/tst-tlsmod3.c: Likewise.
37830         * elf/tst-tlsmod4.c: Likewise.
37831         * elf/tst-tlsmod5.c: Likewise.
37832         * elf/tst-tlsmod6.c: Likewise.
37834 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37836         [BZ #12486]
37837         * malloc/malloc.c: remove checks for statistics.
37839 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37841         [BZ #15277]
37842         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37843         * inet/tst-network.c: Add testcase.
37845 2013-10-17  Andreas Schwab  <schwab@suse.de>
37847         [BZ #15218]
37848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37849         to determine canonical name.
37851 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37853         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37854         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37856         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37858         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37859         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37860         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37861         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37863         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37864         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37865         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37866         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37867         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37868         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37870         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37872         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37873         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37876         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37877         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37878         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37879         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37880         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37881         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37882         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37883         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37885         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37886         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37887         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37889         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37890         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37891         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37894         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37895         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37896         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37897         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37898         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37900         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37901         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37903         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37905         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37906         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37912 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37914         [BZ #16041]
37915         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37916         make result into a quiet NaN.
37918 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37920         * soft-fp/adddf3.c: Fix horizontal whitespace.
37921         * soft-fp/addsf3.c: Likewise.
37922         * soft-fp/addtf3.c: Likewise.
37923         * soft-fp/divdf3.c: Likewise.
37924         * soft-fp/divsf3.c: Likewise.
37925         * soft-fp/divtf3.c: Likewise.
37926         * soft-fp/double.h: Likewise.
37927         * soft-fp/eqdf2.c: Likewise.
37928         * soft-fp/eqsf2.c: Likewise.
37929         * soft-fp/eqtf2.c: Likewise.
37930         * soft-fp/extenddftf2.c: Likewise.
37931         * soft-fp/extended.h: Likewise.
37932         * soft-fp/extendsfdf2.c: Likewise.
37933         * soft-fp/extendsftf2.c: Likewise.
37934         * soft-fp/extendxftf2.c: Likewise.
37935         * soft-fp/fixdfdi.c: Likewise.
37936         * soft-fp/fixdfsi.c: Likewise.
37937         * soft-fp/fixdfti.c: Likewise.
37938         * soft-fp/fixsfdi.c: Likewise.
37939         * soft-fp/fixsfsi.c: Likewise.
37940         * soft-fp/fixsfti.c: Likewise.
37941         * soft-fp/fixtfdi.c: Likewise.
37942         * soft-fp/fixtfsi.c: Likewise.
37943         * soft-fp/fixtfti.c: Likewise.
37944         * soft-fp/fixunsdfdi.c: Likewise.
37945         * soft-fp/fixunsdfsi.c: Likewise.
37946         * soft-fp/fixunsdfti.c: Likewise.
37947         * soft-fp/fixunssfdi.c: Likewise.
37948         * soft-fp/fixunssfsi.c: Likewise.
37949         * soft-fp/fixunssfti.c: Likewise.
37950         * soft-fp/fixunstfdi.c: Likewise.
37951         * soft-fp/fixunstfsi.c: Likewise.
37952         * soft-fp/fixunstfti.c: Likewise.
37953         * soft-fp/floatdidf.c: Likewise.
37954         * soft-fp/floatdisf.c: Likewise.
37955         * soft-fp/floatditf.c: Likewise.
37956         * soft-fp/floatsidf.c: Likewise.
37957         * soft-fp/floatsisf.c: Likewise.
37958         * soft-fp/floatsitf.c: Likewise.
37959         * soft-fp/floattidf.c: Likewise.
37960         * soft-fp/floattisf.c: Likewise.
37961         * soft-fp/floattitf.c: Likewise.
37962         * soft-fp/floatundidf.c: Likewise.
37963         * soft-fp/floatundisf.c: Likewise.
37964         * soft-fp/floatunditf.c: Likewise.
37965         * soft-fp/floatunsidf.c: Likewise.
37966         * soft-fp/floatunsisf.c: Likewise.
37967         * soft-fp/floatunsitf.c: Likewise.
37968         * soft-fp/floatuntidf.c: Likewise.
37969         * soft-fp/floatuntisf.c: Likewise.
37970         * soft-fp/floatuntitf.c: Likewise.
37971         * soft-fp/fmadf4.c: Likewise.
37972         * soft-fp/fmasf4.c: Likewise.
37973         * soft-fp/fmatf4.c: Likewise.
37974         * soft-fp/gedf2.c: Likewise.
37975         * soft-fp/gesf2.c: Likewise.
37976         * soft-fp/getf2.c: Likewise.
37977         * soft-fp/ledf2.c: Likewise.
37978         * soft-fp/lesf2.c: Likewise.
37979         * soft-fp/letf2.c: Likewise.
37980         * soft-fp/muldf3.c: Likewise.
37981         * soft-fp/mulsf3.c: Likewise.
37982         * soft-fp/multf3.c: Likewise.
37983         * soft-fp/negdf2.c: Likewise.
37984         * soft-fp/negsf2.c: Likewise.
37985         * soft-fp/negtf2.c: Likewise.
37986         * soft-fp/op-1.h: Likewise.
37987         * soft-fp/op-2.h: Likewise.
37988         * soft-fp/op-4.h: Likewise.
37989         * soft-fp/op-8.h: Likewise.
37990         * soft-fp/op-common.h: Likewise.
37991         * soft-fp/quad.h: Likewise.
37992         * soft-fp/single.h: Likewise.
37993         * soft-fp/soft-fp.h: Likewise.
37994         * soft-fp/sqrtdf2.c: Likewise.
37995         * soft-fp/sqrtsf2.c: Likewise.
37996         * soft-fp/sqrttf2.c: Likewise.
37997         * soft-fp/subdf3.c: Likewise.
37998         * soft-fp/subsf3.c: Likewise.
37999         * soft-fp/subtf3.c: Likewise.
38000         * soft-fp/truncdfsf2.c: Likewise.
38001         * soft-fp/trunctfdf2.c: Likewise.
38002         * soft-fp/trunctfsf2.c: Likewise.
38003         * soft-fp/trunctfxf2.c: Likewise.
38004         * soft-fp/unorddf2.c: Likewise.
38005         * soft-fp/unordsf2.c: Likewise.
38006         * soft-fp/unordtf2.c: Likewise.
38008 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38010         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38011         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38013 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38015         * elf/dl-libc.c: Clear initfini list after freeing.
38017 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38019         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38020         * soft-fp/addsf3.c: Likewise.
38021         * soft-fp/addtf3.c: Likewise.
38022         * soft-fp/divdf3.c: Likewise.
38023         * soft-fp/divsf3.c: Likewise.
38024         * soft-fp/divtf3.c: Likewise.
38025         * soft-fp/double.h: Likewise.
38026         * soft-fp/eqdf2.c: Likewise.
38027         * soft-fp/eqsf2.c: Likewise.
38028         * soft-fp/eqtf2.c: Likewise.
38029         * soft-fp/extenddftf2.c: Likewise.
38030         * soft-fp/extended.h: Likewise.
38031         * soft-fp/extendsfdf2.c: Likewise.
38032         * soft-fp/extendsftf2.c: Likewise.
38033         * soft-fp/extendxftf2.c: Likewise.
38034         * soft-fp/fixdfdi.c: Likewise.
38035         * soft-fp/fixdfsi.c: Likewise.
38036         * soft-fp/fixdfti.c: Likewise.
38037         * soft-fp/fixsfdi.c: Likewise.
38038         * soft-fp/fixsfsi.c: Likewise.
38039         * soft-fp/fixsfti.c: Likewise.
38040         * soft-fp/fixtfdi.c: Likewise.
38041         * soft-fp/fixtfsi.c: Likewise.
38042         * soft-fp/fixtfti.c: Likewise.
38043         * soft-fp/fixunsdfdi.c: Likewise.
38044         * soft-fp/fixunsdfsi.c: Likewise.
38045         * soft-fp/fixunsdfti.c: Likewise.
38046         * soft-fp/fixunssfdi.c: Likewise.
38047         * soft-fp/fixunssfsi.c: Likewise.
38048         * soft-fp/fixunssfti.c: Likewise.
38049         * soft-fp/fixunstfdi.c: Likewise.
38050         * soft-fp/fixunstfsi.c: Likewise.
38051         * soft-fp/fixunstfti.c: Likewise.
38052         * soft-fp/floatdidf.c: Likewise.
38053         * soft-fp/floatdisf.c: Likewise.
38054         * soft-fp/floatditf.c: Likewise.
38055         * soft-fp/floatsidf.c: Likewise.
38056         * soft-fp/floatsisf.c: Likewise.
38057         * soft-fp/floatsitf.c: Likewise.
38058         * soft-fp/floattidf.c: Likewise.
38059         * soft-fp/floattisf.c: Likewise.
38060         * soft-fp/floattitf.c: Likewise.
38061         * soft-fp/floatundidf.c: Likewise.
38062         * soft-fp/floatundisf.c: Likewise.
38063         * soft-fp/floatunsidf.c: Likewise.
38064         * soft-fp/floatunsisf.c: Likewise.
38065         * soft-fp/floatuntidf.c: Likewise.
38066         * soft-fp/floatuntisf.c: Likewise.
38067         * soft-fp/floatuntitf.c: Likewise.
38068         * soft-fp/fmadf4.c: Likewise.
38069         * soft-fp/fmasf4.c: Likewise.
38070         * soft-fp/fmatf4.c: Likewise.
38071         * soft-fp/gedf2.c: Likewise.
38072         * soft-fp/gesf2.c: Likewise.
38073         * soft-fp/getf2.c: Likewise.
38074         * soft-fp/ledf2.c: Likewise.
38075         * soft-fp/lesf2.c: Likewise.
38076         * soft-fp/letf2.c: Likewise.
38077         * soft-fp/muldf3.c: Likewise.
38078         * soft-fp/mulsf3.c: Likewise.
38079         * soft-fp/multf3.c: Likewise.
38080         * soft-fp/negdf2.c: Likewise.
38081         * soft-fp/negsf2.c: Likewise.
38082         * soft-fp/negtf2.c: Likewise.
38083         * soft-fp/op-1.h: Likewise.
38084         * soft-fp/op-2.h: Likewise.
38085         * soft-fp/op-4.h: Likewise.
38086         * soft-fp/op-8.h: Likewise.
38087         * soft-fp/op-common.h: Likewise.
38088         * soft-fp/quad.h: Likewise.
38089         * soft-fp/single.h: Likewise.
38090         * soft-fp/soft-fp.h: Likewise.
38091         * soft-fp/sqrtdf2.c: Likewise.
38092         * soft-fp/sqrtsf2.c: Likewise.
38093         * soft-fp/sqrttf2.c: Likewise.
38094         * soft-fp/subdf3.c: Likewise.
38095         * soft-fp/subsf3.c: Likewise.
38096         * soft-fp/subtf3.c: Likewise.
38097         * soft-fp/truncdfsf2.c: Likewise.
38098         * soft-fp/trunctfdf2.c: Likewise.
38099         * soft-fp/trunctfsf2.c: Likewise.
38100         * soft-fp/trunctfxf2.c: Likewise.
38101         * soft-fp/unorddf2.c: Likewise.
38102         * soft-fp/unordsf2.c: Likewise.
38103         * soft-fp/unordtf2.c: Likewise.
38105 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38107         [BZ #15672]
38108         * misc/error.c (error_tail): Fix possible buffer overflow.
38110 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38112         [BZ #13028]
38113         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38114         address.
38116 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38118         [BZ #832]
38119         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38120         testing pipefail option.
38122 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38124         * soft-fp/double.h: Indent preprocessor directives inside #if.
38125         * soft-fp/extended.h: Likewise.
38126         * soft-fp/op-2.h: Likewise.
38127         * soft-fp/op-4.h: Likewise.
38128         * soft-fp/op-common.h: Likewise.
38129         * soft-fp/quad.h: Likewise.
38130         * soft-fp/single.h: Likewise.
38131         * soft-fp/soft-fp.h: Likewise.
38133 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38135         * iconv/iconv_prog.c: Fix typos.
38136         * stdio-common/psiginfo-data.h: Likewise.
38138 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38140         [BZ #15764]
38141         * locale/setlocale.c: Fix typo.
38143 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38145         [BZ #16036]
38146         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38147         signaling NaN arguments.
38148         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38149         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38151         [BZ #14910]
38152         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38153         unordered operands.
38154         * soft-fp/gesf2.c (__gesf2): Likewise.
38155         * soft-fp/getf2.c (__getf2): Likewise.
38156         * soft-fp/ledf2.c (__ledf2): Likewise.
38157         * soft-fp/lesf2.c (__lesf2): Likewise.
38158         * soft-fp/letf2.c (__letf2): Likewise.
38160         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38161         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38162         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38163         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38164         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38165         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38166         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38167         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38168         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38169         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38170         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38171         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38172         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38173         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38174         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38175         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38176         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38177         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38178         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38179         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38180         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38181         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38182         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38183         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38184         * soft-fp/floattidf.c (__floattidf): Likewise.
38185         * soft-fp/floattisf.c (__floattisf): Likewise.
38186         * soft-fp/floattitf.c (__floattitf): Likewise.
38187         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38188         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38189         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38190         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38191         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38192         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38193         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38194         * soft-fp/gesf2.c (__gesf2): Likewise.
38195         * soft-fp/getf2.c (__getf2): Likewise.
38196         * soft-fp/ledf2.c (__ledf2): Likewise.
38197         * soft-fp/lesf2.c (__lesf2): Likewise.
38198         * soft-fp/letf2.c (__letf2): Likewise.
38200         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38201         Undefine and redefine.
38202         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38203         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38204         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38205         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38206         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38207         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38208         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38209         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38210         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38211         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38212         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38213         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38214         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38215         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38216         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38218         [BZ #16032]
38219         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38220         without decrementing exponent if mantissa >= that for the
38221         denominator, not >.
38222         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38223         denominator, not >.  Decrement exponent in < case instead of
38224         incrementing in >= case.
38225         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38226         without decrementing exponent if mantissa >= that for the
38227         denominator, not >.
38229         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38230         computing saturated result for unsigned overflow.
38232 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38233             Jeff Law  <law@redhat.com>
38235         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38236         (atan2Mp): Add systemtap probe marker.
38237         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38238         (__ieee754_log): Add systemtap probe marker.
38239         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38240         (atanMp): Add systemtap probe marker.
38241         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38242         (tanMp): Add systemtap probe marker.
38243         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38244         (__slowexp): Add systemtap probe marker.
38245         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38246         (__slowpow): Add systemtap probe marker.
38247         * manual/probes.texi: Document probes.
38249 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38251         [BZ #15362]
38252         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38253         written.
38254         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38255         written.
38256         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38257         written to buffer but not flushed.
38258         * libio/iofwrite_u.c:  Likewise.
38259         * libio/iopadn.c:  Return bytes returned even if EOF was
38260         encountered.
38261         * libio/iowpadn.c:  Likewise.
38262         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38263         if _IO_padn does not write the whole buffer.
38264         [!COMPILE_WPRINTF] (PAD): Likewise.
38266 2013-10-10  David S. Miller  <davem@davemloft.net>
38268         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38269         directory block.
38271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38273         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38274         instead of FSF address.
38275         * soft-fp/fixdfti.c: Likewise.
38276         * soft-fp/fixsfti.c: Likewise.
38277         * soft-fp/fixtfti.c: Likewise.
38278         * soft-fp/fixunsdfti.c: Likewise.
38279         * soft-fp/fixunssfti.c: Likewise.
38280         * soft-fp/fixunstfti.c: Likewise.
38281         * soft-fp/floattidf.c: Likewise.
38282         * soft-fp/floattisf.c: Likewise.
38283         * soft-fp/floattitf.c: Likewise.
38284         * soft-fp/floatuntidf.c: Likewise.
38285         * soft-fp/floatuntisf.c: Likewise.
38286         * soft-fp/floatuntitf.c: Likewise.
38287         * soft-fp/trunctfxf2.c: Likewise.
38289         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38290         * soft-fp/fixdfti.c: Likewise.
38291         * soft-fp/fixsfti.c: Likewise.
38292         * soft-fp/fixtfti.c: Likewise.
38293         * soft-fp/fixunsdfti.c: Likewise.
38294         * soft-fp/fixunssfti.c: Likewise.
38295         * soft-fp/fixunstfti.c: Likewise.
38296         * soft-fp/floattidf.c: Likewise.
38297         * soft-fp/floattisf.c: Likewise.
38298         * soft-fp/floattitf.c: Likewise.
38299         * soft-fp/floatuntidf.c: Likewise.
38300         * soft-fp/floatuntisf.c: Likewise.
38301         * soft-fp/floatuntitf.c: Likewise.
38302         * soft-fp/trunctfxf2.c: Likewise.
38304 2013-10-10  David S. Miller  <davem@davemloft.net>
38306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38308 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38310         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38311         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38312         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38313         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38314         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38315         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38316         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38319         for NaNs before doing comparisons on argument.
38320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38321         Likewise.
38323 2013-10-10  Will Newton  <will.newton@linaro.org>
38325         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38326         passed to _int_memalign does not overflow.
38328 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38330         * scripts/bench.pl: Add include-sources directive.
38331         * benchtests/README: Update documentation.
38333 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38335         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38336         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38337         instead of FP_INIT_ROUNDMODE.
38338         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38339         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38341         [BZ #16034]
38342         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38343         copy class of input value.
38344         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38345         not handle exceptions.
38346         * soft-fp/negsf2.c (__negsf2): Likewise.
38347         * soft-fp/negtf2.c (__negtf2): Likewise.
38348         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38350 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38352         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38353         semicolon.  From Linux kernel.
38355 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38357         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38359 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38361         [BZ #156]
38362         * manual/socket.texi: Added statement about buffer
38363         for gethostbyname2_r.
38365 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38367         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38368         Use .p2align directive instead, throughout.
38369         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38370         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38371         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38374         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38375         * sysdeps/x86_64/strchr.S: Likewise.
38376         * sysdeps/x86_64/strrchr.S: Likewise.
38378 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38380         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38382         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38384         * sysdeps/generic/math_private.h (__mpsin1): Remove
38385         declaration.
38386         (__mpcos1): Likewise.
38387         (__mpsin): New argument __range_reduce.
38388         (__mpcos): Likewise.
38389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38390         (slow): Use __mpsin and __mpcos.
38391         (slow1): Likewise.
38392         (slow2): Likewise.
38393         (sloww): Likewise.
38394         (sloww1): Likewise.
38395         (sloww2): Likewise.
38396         (bsloww): Likewise.
38397         (bsloww1): Likewise.
38398         (bsloww2): Likewise.
38399         (cslow2): Likewise.
38400         (csloww): Likewise.
38401         (csloww1): Likewise.
38402         (csloww2): Likewise.
38403         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38404         range_reduce.  Merge in __mpsin1.
38405         (__mpcos): Likewise.
38406         (__mpsin1): Remove.
38407         (__mpcos1): Likewise.
38409 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38411         * locale/loadlocale.c (_nl_intern_locale_data): Use
38412         LOCFILE_ALIGNED_P.
38413         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38414         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38415         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38416         obstack data is appropriately aligned.
38417         (obstack_int32_grow_fast): Likewise.
38418         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38419         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38420         (add_locale_uint32_array): Likewise.
38422 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38424         * benchtests/Makefile: Remove ARGLIST and RET variables.
38425         ($(objpfx)bench-%.c): Pass only function name to the script.
38426         * benchtests/README: Update documentation.
38427         * benchtests/acos-inputs: Add new directives.
38428         * benchtests/acosh-inputs: Likewise.
38429         * benchtests/asin-inputs: Likewise.
38430         * benchtests/asinh-inputs: Likewise.
38431         * benchtests/atan-inputs: Likewise.
38432         * benchtests/atanh-inputs: Likewise.
38433         * benchtests/cos-inputs: Likewise.
38434         * benchtests/cosh-inputs: Likewise.
38435         * benchtests/exp-inputs: Likewise.
38436         * benchtests/log-inputs: Likewise.
38437         * benchtests/pow-inputs: Likewise.
38438         * benchtests/rint-inputs: Likewise.
38439         * benchtests/sin-inputs: Likewise.
38440         * benchtests/sinh-inputs: Likewise.
38441         * benchtests/tan-inputs: Likewise.
38442         * benchtests/tanh-inputs: Likewise.
38443         * scripts/bench.pl: Add support for new directives.
38445 2013-10-07  Alan Modra  <amodra@gmail.com>
38447         * README: Fix careless merge.
38449 2013-10-05  Alan Modra  <amodra@gmail.com>
38451         * NEWS: Mention powerpc64le support and bugs fixed.
38452         * README: Both big-endian and little-endian powerpc64 supported.
38454 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38456         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38457         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38458         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38459         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38461 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38463         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38464         match prototype.
38466 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38468         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38469         Move -mhard-float appending from
38470         ports/sysdeps/powerpc/powerpc32/Makefile.
38471         [$(with-fp) = yes] (ASFLAGS): Likewise.
38472         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38473         * sysdeps/powerpc/nofpu: Move directory from
38474         ports/sysdeps/powerpc/nofpu.
38475         * sysdeps/powerpc/soft-fp: Move directory from
38476         ports/sysdeps/powerpc/soft-fp.
38477         * sysdeps/powerpc/powerpc32/405: Move directory from
38478         ports/sysdeps/powerpc/powerpc32/405.
38479         * sysdeps/powerpc/powerpc32/440: Move directory from
38480         ports/sysdeps/powerpc/powerpc32/440.
38481         * sysdeps/powerpc/powerpc32/464: Move directory from
38482         ports/sysdeps/powerpc/powerpc32/464.
38483         * sysdeps/powerpc/powerpc32/476: Move directory from
38484         ports/sysdeps/powerpc/powerpc32/476.
38485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38486         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38488         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38495         * README: Update for powerpc-*-linux-gnu software floating point
38496         support in libc.
38498         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38499         case to powerpc/powerpc32*.
38500         * sysdeps/unix/sysv/linux/configure: Regenerated.
38502         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38503         (_FPU_MASK_OM): Define as 0x04.
38504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38506         0x00c10080.
38507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38508         0x0000003c.
38509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38512         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38513         getcontext_e500.
38514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38515         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38516         setcontext_e500.
38517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38518         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38519         and setcontext_e500.
38521 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38523         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38525 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38527         * manual/threads.texi (Default Thread Attributes): Fix typo.
38529 2013-10-04  Will Newton  <will.newton@linaro.org>
38531         * malloc/Makefile: Add tst-memalign.
38532         * malloc/tst-memalign.c: New file.
38534         * malloc/tst-posix_memalign.c: Add comments.
38535         (do_test): Add comments and call free on all potentially
38536         allocated pointers. Add space after cast.
38538         * malloc/tst-pvalloc.c: Add comments.
38539         (do_test): Add comments and call free on all potentially
38540         allocated pointers. Remove duplicate check for NULL pointer.
38541         Add space after cast.
38543         * malloc/tst-valloc.c: Add comments.
38544         (do_test): Add comments and call free on all potentially
38545         allocated pointers. Remove duplicate check for NULL pointer.
38546         Add space after cast.
38548 2013-10-04  Alan Modra  <amodra@gmail.com>
38550         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38551         Use stdint types in rather than __attribute__((mode())).
38552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38554 2013-10-04  Alan Modra  <amodra@gmail.com>
38556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38557         Correct handling of unaligned relocs for little-endian.
38558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38560 2013-10-04  Alan Modra  <amodra@gmail.com>
38562         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38563         * configure: Regenerate.
38564         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38565         * shlib-versions: Likewise.
38567 2013-10-04  Alan Modra  <amodra@gmail.com>
38569         * string/tester.c (test_memrchr): Increment reported test cycle.
38571 2013-10-04  Alan Modra  <amodra@gmail.com>
38573         * string/test-memcpy.c (do_one_test): When reporting errors, print
38574         string address and don't overrun end of string.
38576 2013-10-04  Alan Modra  <amodra@gmail.com>
38578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38579         insrdi.  Make better use of reg selection to speed exit slightly.
38580         Schedule entry path a little better.  Remove useless "are we done"
38581         checks on entry to main loop.  Handle wrapping around zero address.
38582         Correct main loop count.  Handle single left-over word from main
38583         loop inline rather than by using loop_small.  Remove extra word
38584         case in loop_small caused by wrong loop count.  Add little-endian
38585         support.
38586         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38587         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38588         cache hint.
38589         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38591         support.  Avoid rlwimi.
38592         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38594 2013-10-04  Alan Modra  <amodra@gmail.com>
38596         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38597         insrdi.  Formatting.
38598         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38599         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38600         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38601         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38603         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38605 2013-10-04  Alan Modra  <amodra@gmail.com>
38607         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38609         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38610         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38611         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38612         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38613         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38614         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38615         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38616         use of regs.  Use power7 mtocrf.  Tidy function tails.
38618 2013-10-04  Alan Modra  <amodra@gmail.com>
38620         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38621         Formatting.  Consistently use rXXX register defines or rN defines.
38622         Use early exit labels that avoid restoring unused non-volatile regs.
38623         Make cr field use more consistent with rWORDn compares.  Rename
38624         regs used as shift registers for unaligned loop, using rN defines
38625         for short lifetime/multiple use regs.
38626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38628         addi 1,1,64 to pop stack frame.  Simplify return value code.
38629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38631 2013-10-04  Alan Modra  <amodra@gmail.com>
38633         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38634         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38635         rather than rlwimi.
38636         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38637         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38638         little-endian support.  Correct typos.
38639         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38640         rather than rlwimi.
38641         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38642         in loop and entry code to keep "and." results.
38643         (strchr): Add little-endian support.  Comment.  Move cntlzd
38644         earlier in tail.
38645         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38647 2013-10-04  Alan Modra  <amodra@gmail.com>
38649         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38650         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38651         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38652         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38654 2013-10-04  Alan Modra  <amodra@gmail.com>
38656         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38657         (rTMP): Define as r11.
38658         (strcmp): Add little-endian support.  Optimise tail.
38659         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38660         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38662         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38663         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38664         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38665         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38667 2013-10-04  Alan Modra  <amodra@gmail.com>
38669         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38670         little-endian support.  Remove unnecessary "are we done" tests.
38671         Handle "s" wrapping around zero and extremely large "size".
38672         Correct main loop count.  Handle single left-over word from main
38673         loop inline rather than by using small_loop.  Correct comments.
38674         Delete "zero" tail, use "end_max" instead.
38675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38677 2013-10-04  Alan Modra  <amodra@gmail.com>
38679         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38680         support.  Don't branch over align.
38681         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38682         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38683         support.  Rearrange tmp reg use to suit.  Comment.
38684         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38686 2013-10-04  Alan Modra  <amodra@gmail.com>
38688         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38690 2013-10-04  Alan Modra  <amodra@gmail.com>
38692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38693         conditional form of branch and link when obtaining pc.
38694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38696 2013-10-04  Alan Modra  <amodra@gmail.com>
38698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38699         HIWORD/LOWORD.
38700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38703 2013-10-04  Alan Modra  <amodra@gmail.com>
38705         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38706         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38707         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38708         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38709         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38710         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38711         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38713         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38714         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38716 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38717             Alistair Popple <alistair@ozlabs.au.ibm.com>
38718             Alan Modra <amodra@gmail.com>
38720         [BZ #15723]
38721         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38722         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38723         _dl_hwcap access for little-endian.
38724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38725         destroy vmx regs when saving unaligned.
38726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38727         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38728         destroy vmx regs when saving unaligned.
38730 2013-10-04  Alan Modra  <amodra@gmail.com>
38732         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38733         Don't use a union to pack hi/low value.
38735 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38737         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38738         for little-endian.
38739         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38742         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38743         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38745 2013-10-04  Alan Modra  <amodra@gmail.com>
38747         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38748         constants to usual value for .cst8 section, and remove redundant
38749         high address load.
38750         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38751         constant for 0x1p52.  Load little-endian words of double from
38752         correct stack offsets.
38754 2013-10-04  Alan Modra  <amodra@gmail.com>
38756         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38757         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38758         words of double from correct stack offsets.
38759         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38760         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38761         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38765         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38766         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38767         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38771         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38772         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38773         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38774         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38775         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38777 2013-10-04  Alan Modra  <amodra@gmail.com>
38779         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38780         64-bit int/double union.
38781         (_FPU_SETCW): Likewise.
38782         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38783         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38785 2013-10-04  Alan Modra  <amodra@gmail.com>
38787         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38788         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38790 2013-10-04  Alan Modra  <amodra@gmail.com>
38792         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38793         use vector int constants.
38794         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38796 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38798         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38799         array with long long.
38800         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38801         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38802         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38803         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38804         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38805         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38806         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38808         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38809         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38810         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38812         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38816         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38817         (__signbit): Likewise.  Correct for little-endian.
38818         (__signbitl): Call __signbit.
38819         (lrint): Correct for little-endian.
38820         (lrintf): Call lrint.
38822 2013-10-04  Alan Modra  <amodra@gmail.com>
38824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38825         union 32-bit int array member with 64-bit int array.
38826         (t515, tm256): Double rather than long double.
38827         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38829 2013-10-04  Alan Modra  <amodra@gmail.com>
38831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38832         Delete.
38833         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38835         version of math_ldbl.h.
38837 2013-10-04  Alan Modra  <amodra@gmail.com>
38839         [BZ #15734], [BZ #15735]
38840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38841         all uses of ieee875 long double macros and unions.  Simplify test
38842         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38843         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38844         normalize after ldbl_extract_mantissa, and don't add hidden bit
38845         already handled.  Don't treat low word of ieee854 mantissa like
38846         low word of IBM long double and mask off bit when testing for
38847         zero.
38848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38849         all uses of ieee875 long double macros and unions.  Simplify tests
38850         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38851         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38852         two1022, instead use their values.  Recognise that tests for large
38853         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38854         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38855         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38856         test for 0.0L and nan.  Correct negation.
38857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38858         ieee875 long double macros and unions.  Correct output for large
38859         magnitude x.  Correct absolute value calculation.
38860         (__erfcl): Likewise.
38861         * math/libm-test.inc: Add tests for errors discovered in IBM long
38862         double versions of fmodl, remainderl, erfl and erfcl.
38864 2013-10-04  Alan Modra  <amodra@gmail.com>
38866         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38867         all uses of ieee854 long double macros and unions.  Simplify tests
38868         for long doubles that are fully specified by the high double.
38869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38870         Likewise.
38871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38872         Remove dead code too.
38873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38874         (__ieee754_ynl): Likewise.
38875         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38878         Remove dead code too.
38879         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38881         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38883         Simplify.
38884         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38885         Simplify.
38886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38887         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38889         Comment on variable precision.
38890         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38892         Likewise.
38893         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38899 2013-10-04  Alan Modra  <amodra@gmail.com>
38901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38903         all uses of ieee854 long double macros and unions.
38904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38905         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38909         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38910         Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38912         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38913         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38914         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38916         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38917         Simplify sign and nan test too.
38918         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38919         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38920         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38922         Likewise.
38923         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38924         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38925         Likewise.
38926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38927         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38928         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38933 2013-10-04  Alan Modra  <amodra@gmail.com>
38935         * stdio-common/printf_size.c (__printf_size): Don't use
38936         union ieee854_long_double in fpnum union.
38937         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38938         signbit macro to retrieve sign from long double.
38939         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38940         retrieve sign from long double.
38941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38942         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38943         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38944         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38945         * math/test-misc.c (main): Don't use union ieee854_long_double.
38947 2013-10-04  Alan Modra  <amodra@gmail.com>
38949         [BZ #15680]
38950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38951         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38952         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38953         calculation.  Remove unnecessary test for denormal exponent.
38954         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38955         Correct handling of denormals.  Avoid undefined shift behaviour.
38956         Correct normalisation of low mantissa when low double is denormal.
38957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38958         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38959         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38960         Correct normalisation of low mantissa.  Test for overflow of high
38961         mantissa and normalise.
38962         (ldbl_nearbyint): Use more readable constant for two52.
38963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38964         (__mpn_construct_long_double): Fix test for overflow of high
38965         mantissa and correct normalisation.  Avoid undefined shift.
38967 2013-10-04  Alan Modra  <amodra@gmail.com>
38969         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38970         (union ibm_extended_long_double): Define as an array of ieee754_double.
38971         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38973         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38974         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38983 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38985         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38986         page size instead of calling getpagesize.
38988         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38989         (LOCFILE_ALIGN_MASK): Likewise.
38990         (LOCFILE_ALIGN_UP): Likewise.
38991         (LOCFILE_ALIGNED_P): Likewise.
38992         * locale/programs/ld-collate.c (collate_output): Use the new
38993         macros instead of __alignof__ (int32_t).
38994         * locale/weight.h (findidx): Likewise.
38996 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38998         [BZ #431]
38999         * manual/string.texi: Fix strncat and wcsncat.
39001 2013-10-03  Brooks Moses  <bmoses@google.com>
39003         [BZ #15915]
39004         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39005         * Makerules: ...here, and adjust associated comments.
39007 2013-10-02  Will Newton  <will.newton@linaro.org>
39009         * malloc/Makefile: Add tst-pvalloc.
39010         * malloc/tst-pvalloc.c: New file.
39012 2013-10-02  Will Newton  <will.newton@linaro.org>
39014         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39015         improve test coverage.
39017 2013-10-02  Will Newton  <will.newton@linaro.org>
39019         * malloc/Makefile: Add tst-posix_memalign.
39020         * malloc/tst-posix_memalign.c: New file.
39022 2013-10-01  Eric Blake  <eblake@redhat.com>
39024         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39025         Use __THROWNL rather than __THROW on static functions.
39027 2013-09-30  Petr Machata  <pmachata@redhat.com>
39029         * elf/elf.h (R_AARCH64_ABS16): New macro.
39030         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39031         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39032         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39033         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39034         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39035         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39036         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39037         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39038         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39039         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39040         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39041         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39042         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39043         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39044         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39045         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39046         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39047         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39048         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39049         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39050         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39051         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39052         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39053         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39054         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39055         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39056         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39057         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39058         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39059         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39060         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39061         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39062         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39063         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39064         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39065         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39066         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39067         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39068         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39069         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39070         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39071         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39072         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39073         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39074         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39075         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39076         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39077         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39078         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39079         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39080         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39081         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39082         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39083         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39084         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39085         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39086         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39087         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39088         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39089         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39090         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39091         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39092         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39093         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39094         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39095         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39096         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39097         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39098         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39099         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39100         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39101         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39102         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39103         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39104         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39105         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39106         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39107         (R_AARCH64_TLSDESC_LDR): Likewise.
39108         (R_AARCH64_TLSDESC_ADD): Likewise.
39109         (R_AARCH64_TLSDESC_CALL): Likewise.
39111 2013-09-30  Andreas Schwab  <schwab@suse.de>
39113         [BZ #15048]
39114         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39115         the nss database lookup.
39116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39119 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39121         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39123 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39126         ${Bash-specific parameter/pattern/string} parameter expansion.
39127         * sysdeps/unix/make-syscalls.sh: Likewise.
39129 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39131         * sysdeps/sh/stackguard-macros.h: New file.
39133 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39137         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39139         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39140         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39142 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39144         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39145         Fix thread ID register.
39147 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39149         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39150         [POSIX || UNIX98]: Require rather than permitting all symbols from
39151         <time.h>.
39152         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39153         element of struct sched_param.
39154         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39155         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39156         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39157         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39158         constant.
39160 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39162         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39163         argument calculation.
39165 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39167         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39168         Expect macro.
39169         [POSIX] (pthread_attr_t): Do not require type.
39170         [POSIX] (pthread_cond_t): Likewise.
39171         [POSIX] (pthread_condattr_t): Likewise.
39172         [POSIX] (pthread_key_t): Likewise.
39173         [POSIX] (pthread_mutex_t): Likewise.
39174         [POSIX] (pthread_mutexattr_t): Likewise.
39175         [POSIX] (pthread_once_t): Likewise.
39176         [POSIX] (pthread_t): Likewise.
39177         [POSIX-based standards] (pthread_atfork): Expect function.
39179 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39180             Richard Sandiford  <richard@codesourcery.com>
39182         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39183         (swap_endianness_p): New extern variable.
39184         (set_big_endian): New inline function.
39185         (maybe_swap_uint32): Likewise.
39186         (maybe_swap_uint32_array): Likewise.
39187         (maybe_swap_uint32_obstack): Likewise.
39188         * locale/programs/locfile.c: Include <stdbool.h>.
39189         (swap_endianness_p): New variable.
39190         (add_locale_uint32): Call maybe_swap_uint32.
39191         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39192         (write_locale_data): Call maybe_swap_uint32_array.
39193         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39194         maybe_swap_uint32.
39195         (obstack_int32_grow_fast): Likewise.
39196         (output_weightwc): Call maybe_swap_uint32_obstack.
39197         (collate_output): Likewise.
39198         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39199         (OPT_LITTLE_ENDIAN): Likewise.
39200         (options): Add --little-endian and --big-endian options.
39201         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39202         * locale/programs/locarchive.c: Include "locfile.h".
39203         (GET): New macro.
39204         (SET): Likewise.
39205         (INC): Likewise.
39206         (create_archive): Use the new macros to access fields of
39207         structures directly mapped from or written to locale archives.
39208         (oldlocrecentcmp): Likewise.
39209         (enlarge_archive): Likewise.
39210         (insert_name): Likewise.
39211         (add_alias): Likewise.
39212         (add_locale): Likewise.
39213         (delete_locales_from_archive): Likewise.
39214         (show_archive_content): Likewise.
39215         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39216         locale data.
39218 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39220         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39221         http://www.gnu.org/doc/freemanuals.texi.
39222         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39224 2013-09-24  Will Newton  <will.newton@linaro.org>
39226         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39227         macro.
39229 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39231         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39232         unsigned char.
39234 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39236         * manual/threads.texi (POSIX Threads): Fix a typo.
39238 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39240         [BZ #14547]
39241         * string/tst-strcoll-overflow.c: New test case.
39242         * string/Makefile (xtests): Add tst-strcoll-overflow.
39243         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39244         cache if string sizes may cause integer overflow.
39246         [BZ #14547]
39247         * string/strcoll_l.c (coll_seq): New members rule, idx,
39248         save_idx and back_us.
39249         (get_next_seq_nocache): New function.
39250         (do_compare_nocache): New function.
39251         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39252         when malloc fails.
39254 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39256         [BZ #15754]
39257         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39258         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39259         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39261         [BZ #15754]
39262         * elf/Makefile (tests): Add tst-ptrguard1.
39263         (tests-static): Add tst-ptrguard1-static.
39264         (tst-ptrguard1-ARGS): Define.
39265         (tst-ptrguard1-static-ARGS): Define.
39266         * elf/tst-ptrguard1.c: New file.
39267         * elf/tst-ptrguard1-static.c: New file.
39268         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39269         * sysdeps/i386/stackguard-macros.h: Likewise.
39270         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39271         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39272         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39273         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39274         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39275         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39277 2013-09-23  Hector Marco  <hecmargi@upv.es>
39278             Ismael Ripoll  <iripoll@disca.upv.es>
39279             Carlos O'Donell  <carlos@redhat.com>
39281         [BZ #15754]
39282         * sysdeps/generic/stackguard-macros.h: Define
39283         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39284         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39285         Define __pointer_chk_guard_local.
39286         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39287         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39289 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39291         [BZ #15859]
39292         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39294 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39296         * include/string.h (__ffs): Declare as hidden.
39297         * string/ffs.c (__ffs): Define as hidden.
39298         * sysdeps/i386/ffs.c (__ffs): Likewise.
39299         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39300         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39301         * sysdeps/s390/ffs.c (__ffs): Likewise.
39302         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39304 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39306         * NEWS: Mention malloc probes.
39308         * malloc/arena.c (new_heap): New memory_heap_new probe.
39309         (grow_heap): New memory_heap_more probe.
39310         (shrink_heap): New memory_heap_less probe.
39311         (heap_trim): New memory_heap_free probe.
39312         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39313         (systrim): New memory_sbrk_less probe.
39314         * manual/probes.texi: Document them.
39316         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39317         * manual/probes.texi: Document it.
39319         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39320         (__libc_realloc): Add memory_realloc_retry probe.
39321         (__libc_memalign): Add memory_memalign_retry probe.
39322         (__libc_valloc): Add memory_valloc_retry probe.
39323         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39324         (__libc_calloc): Add memory_calloc_retry probe.
39325         * manual/probes.texi: Document them.
39327         * malloc/arena.c (get_free_list): Add probe
39328         memory_arena_reuse_free_list.
39329         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39330         and memory_arena_reuse.
39331         (arena_get2) [!PER_THREAD]: Likewise.
39332         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39333         memory_arena_reuse_realloc.
39334         * manual/probes.texi: Document them.
39336         * malloc/malloc.c (__libc_free): Add
39337         memory_mallopt_free_dyn_thresholds probe.
39338         (__libc_mallopt): Add multiple memory_mallopt probes.
39339         * manual/probes.texi: Document them.
39341         * malloc/malloc.c: Include stap-probe.h.
39342         (__libc_mallopt): Add memory_mallopt probe.
39343         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39344         * manual/probes.texi: New.
39345         * manual/Makefile (chapters): Add probes.
39346         * manual/threads.texi: Set next node.
39348 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39350         [BZ #15963, #13985]
39351         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39352         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39353         Add `Chinese' to `nan' entry name.
39355 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39358         (POLYNOMIAL): Likewise.
39359         (TAYLOR_SINCOS): Likewise.
39360         (TAYLOR_SLOW): Likewise.
39361         (__sin): Use TAYLOR_SINCOS.
39362         (__cos): Likewise.
39363         (slow): Use TAYLOR_SLOW.
39364         (sloww): Likewise.
39365         (bsloww): Likewise.
39366         (csloww): Likewise.
39368 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39370         * stdlib/strtod_l.c: Fix buffer overrun.
39372 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39374         * benchtests/Makefile (bench): Add sincos.
39375         * benchtests/bench-sincos.c: New file.
39377         * math/libm-test.inc (cos_test_data): New test inputs.
39378         (sin_test_data): Likewise.
39380         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39381         macro.
39382         (__sin): Use it.
39383         (__cos): Likewise.
39384         (slow1): Likewise.
39385         (slow2): Likewise.
39386         (sloww1): Likewise.
39387         (sloww2): Likewise.
39388         (bsloww1): Likewise.
39389         (bsloww2): Likewise.
39390         (cslow2): Likewise.
39391         (csloww1): Likewise.
39392         (csloww2): Likewise.
39394         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39395         function.
39396         (__sin): Use it.
39397         (__cos): Likewise.
39399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39400         gotos.
39401         (__cos): Likewise.
39403 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39405         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39406         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39407         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39408         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39409         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39410         * elf/cache.c (print_entry): Handle the new cache flags.
39412 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39413             Aldy Hernandez  <aldyh@redhat.com>
39415         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39416         Change condition to [_SOFT_FLOAT].
39417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39429         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39432         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39433         declaration.
39435 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39437         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39438         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39439         (__longjmp): Use LOAD_GP to load saved GPRs.
39440         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39441         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39442         (__sigsetjmp): Use SAVE_GP to save GPRs.
39444         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39445         Do not append -msoft-float.
39446         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39448 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39450         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39452 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39454         [BZ #15966]
39455         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39456         (_FPU_GETCW): Use initial "__" on variable and field names but not
39457         on macro parameter name.
39458         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39459         parentheses around reference to macro parameter.
39461 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39463         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39464         prototype.
39465         (ctype_startup): Use uint32_t in cast and sizeof for
39466         ctype->charnames.
39468 2013-09-11  Jia Liu  <proljc@gmail.com>
39470         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39471         __daddr_t_defined.
39472         [__FreeBSD__]: Likewise.
39474 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39477         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39478         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39479         (strchr): Remove __strchr_sse42 ifunc selection.
39480         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39481         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39483 2013-09-11  Will Newton  <will.newton@linaro.org>
39485         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39486         parameter to RES. Remove hardcoded 1000 value.
39487         * benchtests/bench-skeleton.c (main): Pass RES parameter
39488         to TIMING_INIT and multiply result by 1000.
39490 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39494 2013-09-11  Andreas Schwab  <schwab@suse.de>
39496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39497         if not defined.
39498         (O_TMPFILE) [__USE_GNU]: Define.
39499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39500         Define.
39502 2013-09-11  Will Newton  <will.newton@linaro.org>
39504         [BZ #15857]
39505         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39506         does not overflow.
39508 2013-09-11  Will Newton  <will.newton@linaro.org>
39510         [BZ #15856]
39511         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39512         does not overflow.
39514 2013-09-11  Will Newton  <will.newton@linaro.org>
39516         [BZ #15855]
39517         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39518         does not overflow.
39520 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39522         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39528 2013-09-10  Allan McRae  <allan@archlinux.org>
39530         [BZ #15748]
39531         * manual/arith.texi (Parsing of Floats): Clarify
39532         cross-reference.
39534         [BZ #15849]
39535         * manual/install.texi (Running make install): Mention
39536         --enable-pt-chown.
39537         * INSTALL: Regenerated.
39539 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39541         * csu/init-first.c (_init): Remove the !SHARED condition around
39542         FPU control word initialization.
39543         * elf/dl-support.c (_dl_fpu_control): New variable.
39544         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39545         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39546         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39547         * math/test-fpucw-static.c: New file.
39548         * math/test-fpucw-ieee.c: New file.
39549         * math/test-fpucw-ieee-static.c: New file.
39550         * math/Makefile (tests): Add `test-fpucw-ieee' and
39551         `$(tests-static)'.
39552         (tests-static): New variable.
39553         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39554         dependency to...
39555         [($(build-shared),yes)]
39556         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39557         ... this.
39558         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39559         New dependency.
39561 2013-09-09  Allan McRae  <allan@archlinux.org>
39563         [BZ #15939]
39564         * manual/string.texi (Collation Functions): Fix typo in
39565         strcoll example.
39566         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39568         [BZ #15893]
39569         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39571         [BZ #15892]
39572         * libio/memstream.c (open_memstream): Fix memory leak.
39573         * libio/wmemstream.c (open_wmemstream): Likewise.
39575         [BZ #15895]
39576         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39578 2013-09-09  Will Newton  <will.newton@linaro.org>
39580         * malloc/Makefile: Add tst-realloc to tests.
39581         * malloc/tst-realloc.c: New file.
39583 2013-09-09  Allan McRae  <allan@archlinux.org>
39585         [BZ #15844]
39586         * COPYING: Update from GNU website to fix FSF address.
39587         * COPYING.LIB: Likewise.
39589 2013-09-06  David S. Miller  <davem@davemloft.net>
39591         * po/zh_TW.po: Update Chinese (traditional) translation from
39592         translation project.
39594 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39595             Joseph Myers  <joseph@codesourcery.com>
39597         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39598         "localeinfo.h".
39599         (obstack_chunk_alloc): New macro.
39600         (obstack_chunk_free): Likewise.
39601         (record_offset): New function.
39602         (init_locale_data): Likewise.
39603         (align_locale_data): Likewise.
39604         (add_locale_empty): Likewise.
39605         (add_locale_raw_data): Likewise.
39606         (add_locale_raw_obstack): Likewise.
39607         (add_locale_string): Likewise.
39608         (add_locale_wstring): Likewise.
39609         (add_locale_uint32): Likewise.
39610         (add_locale_uint32_array): Likewise.
39611         (add_locale_char): Likewise.
39612         (start_locale_structure): Likewise.
39613         (end_locale_structure): Likewise.
39614         (start_locale_prelude): Likewise.
39615         (end_locale_prelude): Likewise.
39616         (write_locale_data): Take locale_file structure rather than an
39617         iovec.
39618         * locale/programs/locfile.h: Include "obstack.h".
39619         (struct locale_file): Change to store locale file contents instead
39620         of header.
39621         (init_locale_data): New prototype.
39622         (align_locale_data): Likewise.
39623         (add_locale_empty): Likewise.
39624         (add_locale_raw_data): Likewise.
39625         (add_locale_raw_obstack): Likewise.
39626         (add_locale_string): Likewise.
39627         (add_locale_wstring): Likewise.
39628         (add_locale_uint32): Likewise.
39629         (add_locale_uint32_array): Likewise.
39630         (add_locale_char): Likewise.
39631         (start_locale_structure): Likewise.
39632         (end_locale_structure): Likewise.
39633         (start_locale_prelude): Likewise.
39634         (end_locale_prelude): Likewise.
39635         (write_locale_data): Update prototype.
39636         * locale/programs/3level.h (struct TABLE): Remove result field.
39637         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39638         Use new locale_file interface.
39639         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39640         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39641         * locale/programs/ld-address.c (address_output): Use new
39642         locale_file interface.
39643         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39644         NO_ADD_LOCALE.
39645         (collate_finish): Don't call collseq_table_finalize.
39646         (collate_output): Use new locale_file interface.
39647         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39648         in file.
39649         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39650         (TABLE): Move defines earlier in file.
39651         (ELEMENT): Likewise.
39652         (DEFAULT): Likewise.
39653         (wctrans_table_add): Move macro and inline function earlier in
39654         file.
39655         (struct wctype_table): Move type earlier in file.
39656         (add_locale_wctype_table): New static prototype.
39657         (struct locale_ctype_t): Use logical types instead of struct iovec
39658         pointers for members.
39659         (ctype_output): Use new locale_file interface.
39660         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39661         new locale_file interface.
39662         (allocate_arrays): Update for use of new locale_file interface.
39663         * locale/programs/ld-identification.c (identification_output): Use
39664         new locale_file interface.
39665         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39666         * locale/programs/ld-messages.c (messages_output): Likewise.
39667         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39668         * locale/programs/ld-name.c (name_output): Likewise.
39669         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39670         * locale/programs/ld-paper.c (paper_output): Likewise.
39671         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39672         * locale/programs/ld-time.c (time_output): Likewise.
39674 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39676         * benchtests/Makefile: Add memrchr benchmark.
39677         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39678         benchmark as memrchr.
39679         * benchtests/bench-memrchr-ifunc.c: New file.
39680         * benchtests/bench-memrchr.c: New file.
39682 2013-09-06   Will Newton  <will.newton@linaro.org>
39684         * benchtests/Makefile (string-bench): Add memcpy.
39686 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39687             Cong Wang  <amwang@redhat.com>
39689         [BZ #15850]
39690         * sysdeps/unix/sysv/linux/bits/in.h
39691         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39692         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39693         before __USE_KERNEL_IPV6_DEFS uses.
39694         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39695         IPPROTO_BEETPH.
39696         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39697         sockaddr_in6, or ipv6_mreq.
39699 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39701         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39702         memory access for final bytes in some large inputs.
39703         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39705 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39707         * string/test-memrchr.c: New file.
39708         * string/test-memrchr-ifunc.c: New file.
39709         * string/Makefile: Add new memrchr testcase.
39711 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39713         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39714         fanotify_init returns EPERM.
39716 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39718         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39719         errors.
39720         (top level): Treat second token from macro or constant entries for
39721         allowed headers as allowed.
39722         * include/complex.h: Condition internal declarations on
39723         [!_ISOMAC].
39724         * include/fenv.h: Condition include of <stdbool.h> and internal
39725         declarations on [!_ISOMAC].
39727 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39729         [BZ #15923]
39730         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39732 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39734         * configure.in (--enable-versioning): Remove configure option.
39735         (libc_cv_asm_symver_directive): Remove configure test.
39736         (libc_cv_ld_version_script_option): Likewise.
39737         (VERSIONING): Remove variable and AC_SUBST.
39738         (DO_VERSIONING): Remove AC_DEFINE.
39739         * configure: Regenerated.
39740         * config.h.in (DO_VERSIONING): Remove macro.
39741         * Makerules [$(versioning) = yes]: Change conditionals to
39742         [$(build-shared) = yes].
39743         * config.make.in (versioning): Remove variable.
39744         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39745         [$(build-shared) = yes].
39746         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39747         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39748         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39749         [$(build-shared) = yes].
39750         * extra-lib.mk [$(versioning) = yes]: Likewise.
39751         * hurd/Makefile [$(versioning) = yes]: Likewise.
39752         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39753         [SHARED].
39754         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39755         [SHARED].
39756         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39757         [SHARED && !NO_HIDDEN].
39758         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39759         [SHARED].
39760         [SHARED && DO_VERSIONING]: Likewise..
39761         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39762         [$(build-shared) = yes].
39763         * manual/install.texi (--disable-versioning): Remove
39764         documentation.
39765         * INSTALL: Regenerated.
39766         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39767         to [SHARED].
39768         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39769         [$(build-shared) = yes].
39770         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39771         * sysdeps/i386/i686/multiarch/strstr-c.c
39772         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39773         [SHARED && !NO_HIDDEN].
39774         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39775         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39776         * sysdeps/powerpc/powerpc32/dl-machine.c
39777         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39778         * sysdeps/powerpc/powerpc32/sysdep.h
39779         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39780         to [SHARED && PIC && !NO_HIDDEN].
39781         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39782         conditional to [SHARED].
39784 2013-09-04   Will Newton  <will.newton@linaro.org>
39786         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39787         * benchtests/bench-string.h: Include bench-timing.h instead
39788         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39789         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39790         call to HP_TIMING_DIFF_INIT.
39791         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39792         instead of hp-timing.h macros.
39793         * benchtests/bench-memchr.c: Likewise.
39794         * benchtests/bench-memcmp.c: Likewise.
39795         * benchtests/bench-memcpy.c: Likewise.
39796         * benchtests/bench-memmem.c: Likewise.
39797         * benchtests/bench-memmove.c: Likewise.
39798         * benchtests/bench-memset.c: Likewise.
39799         * benchtests/bench-rawmemchr.c: Likewise.
39800         * benchtests/bench-strcasecmp.c: Likewise.
39801         * benchtests/bench-strcasestr.c: Likewise.
39802         * benchtests/bench-strcat.c: Likewise.
39803         * benchtests/bench-strchr.c: Likewise.
39804         * benchtests/bench-strcmp.c: Likewise.
39805         * benchtests/bench-strcpy.c: Likewise.
39806         * benchtests/bench-strcpy_chk.c: Likewise.
39807         * benchtests/bench-strlen.c: Likewise.
39808         * benchtests/bench-strncasecmp.c: Likewise.
39809         * benchtests/bench-strncat.c: Likewise.
39810         * benchtests/bench-strncmp.c: Likewise.
39811         * benchtests/bench-strncpy.c: Likewise.
39812         * benchtests/bench-strnlen.c: Likewise.
39813         * benchtests/bench-strpbrk.c: Likewise.
39814         * benchtests/bench-strrchr.c: Likewise.
39815         * benchtests/bench-strspn.c: Likewise.
39816         * benchtests/bench-strstr.c: Likewise.
39818 2013-09-04  Will Newton  <will.newton@linaro.org>
39820         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39822 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39824         [BZ #15427]
39825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39826         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39827         * math/libm-test.inc (lgamma_test_data): Add more tests.
39828         * sysdeps/i386/fpu/libm-test-ulps: Update.
39829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39831 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39833         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39835         Add ifunc.
39836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39837         Add strcmp-sse2-unaligned
39838         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39840 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39842         * Versions.def (libc): Add GLIBC_2.19.
39844 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39846         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39847         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39849 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39851         [BZ #14155]
39852         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39853         intermediate calculations in recurrence.
39854         (__ieee754_ynf): Likewise.
39855         * math/libm-test.inc (jn_test_data): Do not allow spurious
39856         underflow exception.  Add more tests.
39857         (yn_test_data): Add more tests.
39858         * sysdeps/i386/fpu/libm-test-ulps: Update.
39859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39861 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39863         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39865 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39867         * csu/init-first.c: Fix then/than typos.
39868         * locale/programs/ld-collate.c: Likewise.
39869         * locale/programs/linereader.h: Likewise.
39870         * manual/charset.texi: Likewise.
39871         * manual/filesys.texi: Likewise.
39872         * manual/stdio.texi: Likewise.
39873         * manual/string.texi: Likewise.
39874         * stdlib/fmtmsg.c: Likewise.
39875         * sysdeps/i386/stpncpy.S: Likewise.
39876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39877         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39879         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39881 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39883         * elf/dl-open.c: Fix typos.
39884         * iconvdata/gbbig5.c: Likewise.
39885         * iconvdata/iso-2022-jp.c: Likewise.
39886         * iconv/gconv_int.h: Likewise.
39887         * iconv/loop.c: Likewise.
39888         * nis/rpcsvc/nis.h: Likewise.
39889         * resolv/ns_name.c: Likewise.
39890         * stdio-common/vfscanf.c: Likewise.
39891         * streams/stropts.h: Likewise.
39892         * sunrpc/rpc_thread.c: Likewise.
39893         * sysdeps/i386/strpbrk.S: Likewise.
39894         * sysdeps/ieee754/k_standard.c: Likewise.
39895         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39897         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39898         * sysdeps/mach/hurd/profil.c: Likewise.
39899         * sysdeps/s390/dl-procinfo.h: Likewise.
39900         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39901         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39902         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39903         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39906 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39908         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39911 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39913         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39914         aix specific files.
39915         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39916         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39917         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39918         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39919         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39920         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39921         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39922         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39924 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39925             Roland McGrath  <roland@hack.frob.com>
39927         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39928         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39930 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39932         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39933         __executable_start symbol instead of _start.
39935 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39937         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39938         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39939         Move macros to...
39940         * sysdeps/gnu/ldsodefs.h: ... this new file.
39942         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39943         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39944         instead of ELFOSABI_LINUX.
39946         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39947         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39948         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39949         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39950         Likewise.
39951         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39952         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39953         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39954         Likewise.
39955         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39956         (ibm_extended_long_double): Add ieee_nan member.
39957         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39958         (do_test): New function.
39960         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39961         TEST_TRUNC.
39962         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39963         functions, renamed from truncdfsf_test, trunctfsf_test,
39964         trunctfdf_test.
39965         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39966         functions.
39967         (do_test): Run all these.
39969 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39971         * argp/argp-help.c: Fix typos.
39972         * argp/argp-parse.c: Likewise.
39973         * debug/backtracesyms.c: Likewise.
39974         * elf/elf.h: Likewise.
39975         * malloc/malloc.c: Likewise.
39976         * nis/nis_print.c: Likewise.
39977         * resolv/res_comp.c: Likewise.
39978         * stdlib/stdlib.h: Likewise.
39979         * sunrpc/clnt_tcp.c: Likewise.
39980         * sunrpc/clnt_udp.c: Likewise.
39981         * sunrpc/clnt_unix.c: Likewise.
39982         * sysdeps/unix/bsd/ptsname.c: Likewise.
39983         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39984         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39986         Likewise.
39987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39988         Likewise.
39989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39990         Likewise.
39991         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39993 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39995         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39998 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40000         [BZ #15897]
40001         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40002         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40003         ($(objpfx)bug-dl-leaf): New rule.
40004         ($(objpfx)bug-dl-leaf.so): Likewise.
40005         ($(objpfx)bug-dl-leaf.out): Likewise.
40006         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40007         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40008         * dlfcn/bug-dl-leaf.c: New test.
40009         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40010         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40011         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40012         (dlclose): Likewise.
40013         (dlmopen): Likewise.
40015 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40017         * include/netdb.h [!_ISOMAC]:
40018         Don't include <tls.h>.
40019         (h_errno, __libc_h_errno): Move declaration and macros out of
40020         [_LIBC_REENTRANT].
40022         * include/resolv.h [_RESOLV_H_]:
40023         Don't include <tls.h>.
40024         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40025         * resolv/res_libc.c: Don't include <tls.h>.
40026         (_res): Use __attribute__ ((nocommon)) in place of
40027         __attribute__ ((section (".bss"))).
40029         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40030         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40032         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40034         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40035         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40037         * resolv/res_mkquery.c: Include <sys/time.h>.
40039         * inet/ifreq.c: Moved to ...
40040         * sysdeps/unix/ifreq.c: ... here.
40041         * inet/ifreq.c: New file, true stub version.
40043         * socket/sa_len.c: New file.
40044         * socket/Makefile (aux): Add it.
40045         * sysdeps/unix/sysv/linux/Makefile
40046         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40047         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40048         and #include <socket/sa_len.c>.
40049         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40050         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40052         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40053         * bits/socket.h: ... here.
40055         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40056         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40057         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40059 2013-08-27  Andreas Schwab  <schwab@suse.de>
40061         [BZ #15736]
40062         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40063         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40064         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40065         * string/test-strcasecmp.c (test_main): Run tests in several
40066         locales.
40067         * string/test-strncasecmp.c (test_main): Likewise.
40069         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40070         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40071         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40073         (__strncasecmp_ssse3) [PIC]: Likewise.
40075 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40077         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40079         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40080         instead of explicitly declaring xdecrypt.
40081         * nis/nss_nis/nis-publickey.c: Likewise.
40083 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40085         [BZ #15890]
40086         * nscd/aicache.c: Include res_hconf.h.
40087         (addhstaiX): Initialize res_hconf.
40089 2013-08-26  Andreas Schwab  <schwab@suse.de>
40091         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40092         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40094 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40096         * nscd/aicache.c (addhstaiX): Fix indentation.
40098 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40100         * configure.ac: Quote $build_pt_chown test.
40101         * configure: Regenerated.
40103 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40105         [BZ #15532]
40106         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40107         * math/s_cexpf.c (__cexpf): Likewise.
40108         * math/s_cexpl.c (__cexpl): Likewise.
40109         * math/libm-test.inc (cexp_test_data): Correct expected return
40110         value for NaN + i0.  Add another test.
40112 2013-08-22  David S. Miller  <davem@davemloft.net>
40114         * po/ca.po: Update Catalan translation from translation project.
40115         * po/uk.po: Add Ukrainian translations from translation project.
40117 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40119         [BZ #15797]
40120         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40121         is infinite, not alongside NaN test.
40122         * math/s_fdimf.c (__fdimf): Likewise.
40123         * math/s_fdiml.c (__fdiml): Likewise.
40124         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40125         errno is unchanged.
40127 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40129         * argp/argp-help.c: Fix typos.
40130         * crypt/speeds.c: Likewise.
40131         * csu/check_fds.c: Likewise.
40132         * elf/dl-load.c: Likewise.
40133         * elf/dl-open.c: Likewise.
40134         * elf/reldep3.c: Likewise.
40135         * elf/reldep.c: Likewise.
40136         * elf/sprof.c: Likewise.
40137         * iconv/iconv_charmap.c: Likewise.
40138         * iconv/skeleton.c: Likewise.
40139         * iconv/strtab.c: Likewise.
40140         * io/lockf64.c: Likewise.
40141         * libio/libioP.h: Likewise.
40142         * resolv/gai_notify.c: Likewise.
40143         * resolv/ns_name.c: Likewise.
40144         * resolv/ns_samedomain.c: Likewise.
40145         * resolv/res_send.c: Likewise.
40146         * stdlib/random.c: Likewise.
40147         * sunrpc/rpc/xdr.h: Likewise.
40148         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40150         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40151         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40152         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40153         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40156         * sysdeps/mach/hurd/check_fds.c: Likewise.
40157         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40158         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40161         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40162         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40163         * sysdeps/pthread/aio_notify.c: Likewise.
40164         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40165         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40166         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40168         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40170 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40172         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40173         version if bit_Slow_SSE4_2 is set.
40174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40177 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40179         [BZ #15867]
40180         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40181         trampoline stack frame information.
40182         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40184         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40185         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40186         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40187         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40188         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40189         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40190         sa_flags value.
40191         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40192         interrupting a syscall and set with option SA_SIGINFO.
40194 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40196         [BZ #15531]
40197         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40198         argument is infinite.
40199         * math/s_cprojf.c (__cprojf): Likewise.
40200         * math/s_cprojl.c (__cprojl): Likewise.
40201         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40202         * math/libm-test.inc (cproj_test_data): Add more tests.
40204         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40206         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40207         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40208         size.  Use __ffs to determine corresponding shift.
40210 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40211             Roland McGrath  <roland@hack.frob.com>
40213         * Makefile (INSTALL): Remove trailing blank lines from output of
40214         makeinfo.
40216 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40218         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40219         Align 32 bit compat elf_greg to 8 bytes.
40221 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40223         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40225 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40227         * string/strcoll_l.c (coll_seq): New structure.
40228         (get_next_seq_cached): New function.
40229         (get_next_seq): New function.
40230         (do_compare): New function.
40231         (STRCOLL): Use GNU style definition.  Simplify implementation
40232         by using get_next_seq, get_next_seq_cached and do_compare.
40234 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40236         [BZ #14699]
40237         CVE-2013-4237
40238         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40239         member.
40240         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40241         member.
40242         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40243         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40244         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40245         conditional.
40246         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40247         GETDENTS_64BIT_ALIGNED.
40248         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40249         * manual/filesys.texi (Reading/Closing Directory): Document
40250         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40251         strongly.
40252         * manual/conf.texi (Limits for Files): Add portability note to
40253         NAME_MAX, PATH_MAX.
40254         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40256 2013-08-13  Andreas Schwab  <schwab@suse.de>
40258         [BZ #15749]
40259         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40260         of fabs.
40261         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40262         LDBL_MAX_EXP >= 16384]: Add tests for it.
40264 2013-08-12  David S. Miller  <davem@davemloft.net>
40266         * version.h (RELEASE): Set to "development".
40267         (VERSION): Set to "2.18.90".
40268         * NEWS: Add 2.19 section.
40270 2013-08-03  David S. Miller  <davem@davemloft.net>
40272         * po/ko.po: Update Korean translation from translation project.
40274 2013-08-01  David S. Miller  <davem@davemloft.net>
40276         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40277         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40278         Bilka.
40280 2013-07-30  David S. Miller  <davem@davemloft.net>
40282         * po/fr.po: Update French translation from translation project.
40284 2013-07-28  David S. Miller  <davem@davemloft.net>
40286         * po/cs.po: Update Czech translation from translation project.
40288         * po/sv.po: Update Swedish translation from translation project.
40290 2013-07-27  David S. Miller  <davem@davemloft.net>
40292         * po/eo.po: Update Esperanto translation from translation project.
40294         * po/vi.po: Update Vietnamese translation from translation project.
40296         * po/de.po: Update German translation from translation project.
40298 2013-07-26  David S. Miller  <davem@davemloft.net>
40300         * po/bg.po: Update Bulgarian translation from translation project.
40302         * po/nl.po: Update Dutch translation from translation project.
40303         * po/pl.po: Update Polish translation from translation project.
40304         * po/ru.po: Update Russian translation from translation project.
40306 2013-07-24  David S. Miller  <davem@davemloft.net>
40308         * po/libc.pot: Update.
40310 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40312         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40313         variable page size.
40314         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40315         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40316         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40318 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40320         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40322 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40323             Andreas Schwab  <schwab@suse.de>
40324             Roland McGrath  <roland@hack.frob.com>
40325             Joseph Myers  <joseph@codesourcery.com>
40326             Carlos O'Donell  <carlos@redhat.com>
40328         [BZ #15755]
40329         * config.h.in: Define HAVE_PT_CHOWN.
40330         * config.make.in (build-pt-chown): New variable.
40331         * configure.in (--enable-pt_chown): New configure option.
40332         * configure: Regenerate.
40333         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40334         build-pt-chown is enabled.
40335         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40336         pt_chown to fix pty ownership.
40337         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40338         CLOSE_ALL_FDS.
40339         * manual/install.texi (Configuring and compiling): Mention
40340         --enable-pt_chown. Add @findex for grantpt.
40341         * INSTALL: Regenerate.
40343 2013-07-20  David S. Miller  <davem@davemloft.net>
40345         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40346         difference between 32-bit and 64-bit.
40348 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40350         [BZ #15711]
40351         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40352         Avoid system header dependency with -ffreestanding.
40353         ($(objpfx)bits/syscall%d): Likewise.
40355 2013-07-13  David S. Miller  <davem@davemloft.net>
40357         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40358         underflows from atanl/atan2l due to bug 15319.
40359         (casinh_test_data): Likewise.
40361 2013-07-07  David S. Miller  <davem@davemloft.net>
40363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40365 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40367         * sysdeps/i386/fpu/libm-test-ulps: Update.
40368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40370 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40372         * configure.in (--enable-lock-elision): Fix message text.
40373         * INSTALL: Regenerate.
40374         * configure: Regenerate.
40376 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40380 2013-07-03  Andreas Jaeger  <aj@suse.de>
40382         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40383         define.
40384         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40385         (ptrace_peeksiginfo_args): Add.
40386         (__ptrace_peeksiginfo_flags): Add.
40387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40391 2013-07-03  Allan McRae  <allan@archlinux.org>
40393         * sysdeps/i386/fpu/libm-test-ulps: Update.
40395 2013-07-02  David S. Miller  <davem@davemloft.net>
40397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40399 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40403 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40405         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40408 2013-07-02  Andi Kleen <ak@linux.intel.com>
40410         * config.h.in (ENABLE_LOCK_ELISION): Add.
40411         * configure.in (--enable-lock-elision): Add option.
40412         * manual/install.texi: Document --enable lock elision.
40413         * configure: Regenerate
40414         * INSTALL: Regenerate.
40416 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40418         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40419         SSE4.2 strcasecmp for libc.a.
40420         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40422 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40424         [BZ #13304]
40425         * soft-fp/op-common.h (_FP_FMA): New macro.
40426         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40427         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40428         (_FP_MUL_MEAT_1_imm): ... here.
40429         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40430         (_FP_MUL_MEAT_1_wide): ... here.
40431         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40432         (_FP_MUL_MEAT_1_hard): ... here.
40433         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40434         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40435         (_FP_MUL_MEAT_2_wide): ... here.
40436         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40437         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40438         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40439         (_FP_MUL_MEAT_2_gmp): ... here.
40440         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40441         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40442         (_FP_MUL_MEAT_4_wide): ... here.
40443         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40444         (_FP_MUL_MEAT_4_gmp): ... here.
40445         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40446         (_FP_WFRACBITS_DW_S): Likewise.
40447         (_FP_WFRACXBITS_DW_S): Likewise.
40448         (_FP_HIGHBIT_DW_S): Likewise.
40449         (FP_FMA_S): Likewise.
40450         (_FP_FRAC_HIGH_DW_S): Likewise.
40451         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40452         (_FP_WFRACBITS_DW_D): Likewise.
40453         (_FP_WFRACXBITS_DW_D): Likewise.
40454         (_FP_HIGHBIT_DW_D): Likewise.
40455         (FP_FMA_D): Likewise.
40456         (_FP_FRAC_HIGH_DW_D): Likewise.
40457         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40458         (_FP_WFRACBITS_DW_E): Likewise.
40459         (_FP_WFRACXBITS_DW_E): Likewise.
40460         (_FP_HIGHBIT_DW_E): Likewise.
40461         (FP_FMA_E): Likewise.
40462         (_FP_FRAC_HIGH_DW_E): Likewise.
40463         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40464         (_FP_WFRACBITS_DW_Q): Likewise.
40465         (_FP_WFRACXBITS_DW_Q): Likewise.
40466         (_FP_HIGHBIT_DW_Q): Likewise.
40467         (FP_FMA_Q): Likewise.
40468         (_FP_FRAC_HIGH_DW_Q): Likewise.
40469         * soft-fp/fmasf4.c: New file.
40470         * soft-fp/fmadf4.c: Likewise.
40471         * soft-fp/fmatf4.c: Likewise.
40473 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40476         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40477         Silvermont.
40478         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40479         macro.
40480         (index_Slow_SSE4_2): Likewise.
40481         (index_Prefer_PMINUB_for_stringop): Likewise.
40482         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40483         bit_Slow_SSE4_2 is set.
40484         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40485         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40487 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40489         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40490         rtld_global._dl_hwcap2.
40491         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40492         POWER8.
40493         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40494         POWER8 feature descriptions defined in _dl_hwcap2.
40495         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40496         string handling for POWER8 feature bits.
40497         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40498         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40499         _dl_powerpc_cap_flags.
40500         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40501         * sysdeps/powerpc/rtld-global-offsets.sym
40502         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40503         _dl_hwcap2 in the rtld_global_ro structure.
40505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40507         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40508         hardware capabilities in support of AT_HWCAP2.
40509         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40510         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40511         GLRO(dl_hwcap2).
40512         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40513         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40514         explicitly the unknown a_type display mechanism is used.
40515         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40516         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40517         struct member.
40518         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40519         to macro prototype for AT_HWCAP2 support.
40520         * sysdeps/i386/dl-procinfo.h: Likewise.
40521         * sysdeps/s390/dl-procinfo.h: Likewise.
40522         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40523         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40524         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40525         return -1 for unknown a_type display fallback.
40526         * sysdeps/sparc/dl-procinfo.h: Likewise.
40527         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40528         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40530 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40533         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40535 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40537         [BZ #12492]
40538         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40539         mprotect making __stack_prot writable.
40541 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40542             Joseph Myers  <joseph@codesourcery.com>
40544         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40545         as being properly aligned.
40547 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40549         * dlfcn/modstatic5.c: New file.
40550         * dlfcn/tststatic5.c: New file.
40551         * dlfcn/Makefile (tests): Add tststatic5.
40552         (tests-static): Likewise.
40553         (modules-names): Add modstatic5.
40554         (tststatic5-ENV): New variable.
40555         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40557         [BZ #15022]
40558         * elf/dl-support.c (_dl_main_map): New variable.
40559         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40560         (_dl_nns, _dl_load_adds): Set to 1.
40561         (_dl_initial_searchlist): Refer to _dl_main_map.
40562         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40563         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40564         call to _dl_get_origin.
40565         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40566         around call_map.
40567         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40568         * dlfcn/modstatic3.c: New file.
40569         * dlfcn/tststatic3.c: New file.
40570         * dlfcn/tststatic4.c: New file.
40571         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40572         (tests-static): Likewise.
40573         (modules-names): Add modstatic3.
40574         (tststatic3-ENV, tststatic4-ENV): New variables.
40575         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40576         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40578 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40580         * configure.in (CC): Require GCC version 4.4 or later.
40581         * configure: Regenerated.
40582         * manual/install.texi (Tools for Compilation): Update GCC version
40583         requirement.
40584         * INSTALL: Regenerated.
40586 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40588         [BZ #15674]
40589         * string/test-memcmp.c (check2): New.
40590         (main): Call check2.
40592         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40594 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40596         [BZ #15022]
40597         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40598         over to...
40599         (dl_open_worker) [!SHARED]: ... here.
40601 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40603         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40605 2013-06-25  Richard Henderson  <rth@redhat.com>
40607         * locale/programs/locarchive.c: Include <libc-internal.h>
40609 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40611         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40612         trailing whitespace removed.
40614 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40616         [BZ #10283]
40617         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40618         * locale/programs/locarchive.c: Include libc-mmap.h.
40619         (prepare_address_space): Take two new outputs (the mmap base and len).
40620         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40621         values.
40622         (create_archive): Declare new mmap base and len values for
40623         prepare_address_space, and store the result in ah.
40624         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40625         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40626         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40627         Declare new mmap base and len values for
40628         prepare_address_space, and store the result in new_ah.
40629         (open_archive): Declare new mmap base and len values for
40630         prepare_address_space, and store the result in ah.
40631         (close_archive): If ah->mmap_base is not NULL, use that and
40632         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40633         * sysdeps/generic/libc-mmap.h: New file.
40635 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40637         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40638         (ALIGN_UP): Likewise.
40639         (PTR_ALIGN_DOWN): Likewise.
40640         (PTR_ALIGN_UP): Likewise.
40642 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40644         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40645         entry mapped to PPC_PLATFORM_POWER8.
40646         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40647         POWER8.
40648         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40649         (_dl_string_platform): Add case for exporting platform position for
40650         POWER8.
40651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40652         search path to sysdeps/powerpc/powerpc32/power8 directory.
40653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40654         search path to sysdeps/powerpc/powerpc64/power8 directory.
40655         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40656         power7 directories.
40657         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40658         power7 directories.
40660 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40662         * INSTALL: Regenerate.
40664         * nscd/connections.c (nscd_init): Fix comment.
40666 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40668         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40670         [BZ #15667]
40671         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40672         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40674 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40676         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40677         DL_DST_REQ_STATIC.
40678         (DL_DST_REQ_STATIC): Remove macro.
40680 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40682         [BZ #7006]
40683         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40684         with a shift of 0 bits.
40686 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40688         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40689         $(tststatic-ENV).
40691 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40693         [BZ #15655]
40694         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40696 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40698         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40699         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40700         accepts -fno-tree-loop-distribute-patterns.
40701         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40702         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40703         recursive call.
40704         * string/memset.c (memset): Likewise.
40705         * string/test-memmove.c (simple_memmove): Disable loop transformation
40706         to library calls.
40707         * string/test-memset.c (simple_memset): Likewise.
40708         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40709         * benchtests/bench-memset.c (simple_memset): Likewise.
40710         * configure: Regenerated.
40712 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40714         * math/test-misc.c (main): Ignore fesetround failure when failures
40715         of subsequent rounding tests would be ignored.
40717         [BZ #15654]
40718         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40719         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40720         * math/fegetenv.c (__fegetenv): Return 0.
40721         * math/fegetexcept.c (fegetexcept): Return 0.
40722         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40723         FE_TONEAREST.
40724         * math/feholdexcpt.c (feholdexcept): Return 0.
40725         * math/fesetenv.c (__fesetenv): Return 0.
40726         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40727         argument FE_TONEAREST.
40728         * math/feupdateenv.c (__feupdateenv): Return 0.
40729         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40731 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40733         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40734         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40735         ($(objpfx)rtld-%.os rules): Use them.
40737 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40739         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40740         fields.
40742 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40744         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40745         length of target pattern, then descending length of dependency pattern.
40746         * configure.in (AWK): Require gawk 3.1.2 or newer.
40747         * manual/install.texi (Tools for Compilation): Say that we do.
40748         * configure: Regenerated.
40750         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40751         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40752         * scripts/sysd-rules.awk: ... this new script.
40753         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40754         than a glob-style pattern.
40756 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40758         * math/test-misc.c (main): Do not treat incorrectly rounded
40759         conversions as failure unless ROUNDING_TESTS passes.
40761 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40763         [BZ #15631]
40764         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40765         restore exception state around main square root computation, then
40766         check for inexactness explicitly.
40768         * math/libm-test.inc (fma_test_data): Add another test.
40770 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40772         * manual/threads.texi (Non-POSIX Extensions): New document
40773         node.  Document pthread_getattr_default_np and
40774         pthread_setattr_default_np.
40776         * Versions.def (libpthread): Add GLIBC_2.18.
40777         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40779         Likewise.
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40781         Likewise.
40782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40783         Likewise.
40784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40785         Likewise.
40786         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40787         Likewise.
40788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40789         Likewise.
40790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40791         Likewise.
40792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40793         Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40795         Likewise.
40797 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40800         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40802 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40803             H.J. Lu  <hjl.tools@gmail.com>
40805         [BZ #15627]
40806         * sysdeps/x86_64/rtld-memset.c: Remove file.
40807         * sysdeps/x86_64/rtld-memset.S: New file.
40809 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40811         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40812         (test_in_one_mode): Take arguments for whether the rounding mode
40813         is supported for each floating-point type.
40814         (do_test): Pass new arguments to test_in_one_mode using
40815         ROUNDING_TESTS.
40817 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40819         * posix/tst-waitid.c (do_test): Distinguish different instances of
40820         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40821         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40822         before entering the kernel for waitpid.
40824 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40826         * NEWS: Fix note on clock function precision.  Text by Roland
40827         McGrath.
40829 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40831         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40832         it into place only when and if the sanity check passes.
40834 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40836         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40837         output for whether conversion result is exact.  Take argument
40838         indicating whether type is IBM long double.
40839         (round_for_all): Change need_exact field to ibm_ld.
40840         * stdlib/tst-strtod-round.c (struct exactness): New type.
40841         (struct test): Change bool ld_ok field to struct exactness exact.
40842         (TEST): Update all definitions for change to field.
40843         (tests): Regenerate array contents.
40844         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40845         field value.  Check for IBM long double here.
40846         (do_test): Update calls to test_in_one_mode.
40848 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40850         [BZ #12515]
40851         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40852         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40854 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40856         [BZ #15605]
40857         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40858         generated by the compiler on loop optimizations.
40859         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40860         general definitions.
40862 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40864         * math/bug-nextafter.c: Include <math-tests.h>.
40865         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40866         the relevant type.
40867         * math/bug-nexttoward.c: Include <math-tests.h>.
40868         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40869         the relevant type.
40870         * math/test-misc.c: Include <math-tests.h>.
40871         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40872         the relevant type.
40874 2013-06-12  Andreas Jaeger  <aj@suse.de>
40876         * po/ia.po: Update Interlingua translation from translation
40877         project.
40879 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40881         * include/fenv.h: Include stdbool.h.
40882         (struct rm_ctx): New structure.
40883         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40884         Define macro.
40885         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40886         (SET_RESTORE_ROUNDF): Likewise.
40887         (SET_RESTORE_ROUNDL): Likewise.
40888         (SET_RESTORE_ROUND_NOEX): Likewise.
40889         (SET_RESTORE_ROUND_NOEXF): Likewise.
40890         (SET_RESTORE_ROUND_NOEXL): Likewise.
40891         (SET_RESTORE_ROUND_53BIT): Likewise.
40892         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40893         (libc_feresetround_noexf_ctx): Likewise.
40894         (libc_feresetround_noexl_ctx): Likewise.
40895         (libc_feholdsetround_53bit_ctx): Likewise.
40896         (libc_feresetround_53bit_ctx): Likewise.
40897         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40898         (libc_feholdexcept_setround_sse_ctx): New function.
40899         (libc_fesetenv_sse_ctx): Likewise.
40900         (libc_feupdateenv_sse_ctx): Likewise.
40901         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40902         (libc_feholdexcept_setround_387_ctx): Likewise.
40903         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40904         (libc_feholdsetround_387_prec_ctx): Likewise.
40905         (libc_feholdsetround_387_ctx): Likewise.
40906         (libc_feholdsetround_387_53bit_ctx): Likewise.
40907         (libc_feholdsetround_sse_ctx): Likewise.
40908         (libc_feresetround_sse_ctx): Likewise.
40909         (libc_feresetround_387_ctx): Likewise.
40910         (libc_feupdateenv_387_ctx): Likewise.
40911         (libc_feholdexcept_setroundf_ctx): Define macro.
40912         (libc_fesetenvf_ctx): Likewise.
40913         (libc_feupdateenvf_ctx): Likewise.
40914         (libc_feholdsetroundf_ctx): Likewise.
40915         (libc_feresetroundf_ctx): Likewise.
40916         (libc_feholdexcept_setround_ctx): Likewise.
40917         (libc_fesetenv_ctx): Likewise.
40918         (libc_feupdateenv_ctx): Likewise.
40919         (libc_feholdsetround_ctx): Likewise.
40920         (libc_feresetround_ctx): Likewise.
40921         (libc_feholdexcept_setroundl_ctx): Likewise.
40922         (libc_feupdateenvl_ctx): Likewise.
40923         (libc_feholdsetroundl_ctx): Likewise.
40924         (libc_feresetroundl_ctx): Likewise.
40925         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40926         (libc_feresetround_53bit_ctx): Likewise.
40928 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40930         * locale/iso-639.def: Convert to UTF-8.
40932 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40934         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40935         (EXCEPTION_TESTS_double): Likewise.
40936         (EXCEPTION_TESTS_long_double): Likewise.
40937         (EXCEPTION_TESTS): Likewise.
40938         * math/libm-test.inc (test_exceptions): Only test exceptions if
40939         EXCEPTION_TESTS (FLOAT).
40941 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         * benchtests/Makefile (string-bench): Add strcpy_chk and
40944         stpcpy_chk.
40945         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40946         * benchtests/bench-stpcpy_chk.c: New file.
40947         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40948         * benchtests/bench-strcpy_chk.c: New file.
40949         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40950         code.
40951         (do_test): Likewise.
40953 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40956         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40957         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40958         with tabs where appropriate.
40959         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40960         dl-procinfo.h.
40961         [PPC_PLATFORM_PPC440]: Likewise.
40962         [PPC_PLATFORM_PPC464]: Likewise.
40963         [PPC_PLATFORM_PPC476]: Likewise.
40964         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40965         ppc464, and ppc476 platform strings merging from ports/
40966         dl-procinfo.h.
40968 2013-06-11  Andreas Schwab  <schwab@suse.de>
40970         [BZ #14991]
40971         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40972         (from_ucs4_idx): Regenerate.
40973         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40974         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40975         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40976         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40977         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40978         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40979         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40980         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40981         from FROM_LOOP and TO_LOOP specific macros.
40982         (BODY): Handle combining characters.
40983         * iconvdata/BIG5HKSCS.irreversible: Update.
40984         * iconvdata/BIG5HKSCS.precomposed: New file.
40985         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40986         characters.
40987         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40991         * include/sys/time.h: Fix indentation and add copyright header.
40993         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40994         (do_test): Likewise.
40995         * string/test-memchr.c (do_one_test): Likewise.
40996         (do_test): Likewise.
40997         * string/test-memcmp.c (do_one_test): Likewise.
40998         (do_test): Likewise.
40999         * string/test-memcpy.c (do_one_test): Likewise.
41000         (do_test): Likewise.
41001         * string/test-memmem.c (do_one_test): Likewise.
41002         (do_test): Likewise.
41003         (do_random_tests): Likewise.
41004         * string/test-memmove.c (do_one_test): Likewise.
41005         (do_test): Likewise.
41006         * string/test-memset.c (do_one_test): Likewise.
41007         (do_test): Likewise.
41008         * string/test-rawmemchr.c (do_one_test): Likewise.
41009         (do_test): Likewise.
41010         * string/test-strcasecmp.c (do_one_test): Likewise.
41011         (do_test): Likewise.
41012         * string/test-strcasestr.c (do_one_test): Likewise.
41013         (do_test): Likewise.
41014         * string/test-strcat.c (do_one_test): Likewise.
41015         (do_test): Likewise.
41016         * string/test-strchr.c (do_one_test): Likewise.
41017         (do_test): Likewise.
41018         * string/test-strcmp.c (do_one_test): Likewise.
41019         (do_test): Likewise.
41020         * string/test-strcpy.c (do_one_test): Likewise.
41021         (do_test): Likewise.
41022         * string/test-string.h: Likewise.
41023         (test_init): Likewise.
41024         * string/test-strlen.c (do_one_test): Likewise.
41025         (do_test): Likewise.
41026         * string/test-strncasecmp.c (do_one_test): Likewise.
41027         (do_test): Likewise.
41028         * string/test-strncat.c (do_one_test): Likewise.
41029         (do_test): Likewise.
41030         * string/test-strncmp.c (do_one_test): Likewise.
41031         (do_test_limit): Likewise.
41032         (do_test): Likewise.
41033         * string/test-strncpy.c (do_one_test): Likewise.
41034         (do_test): Likewise.
41035         * string/test-strnlen.c (do_one_test): Likewise.
41036         (do_test): Likewise.
41037         * string/test-strpbrk.c (do_one_test): Likewise.
41038         (do_test): Likewise.
41039         * string/test-strrchr.c (do_one_test): Likewise.
41040         (do_test): Likewise.
41041         * string/test-strspn.c (do_one_test): Likewise.
41042         (do_test): Likewise.
41043         * string/test-strstr.c (do_one_test): Likewise.
41044         (do_test): Likewise.
41046         * benchtests/Makefile (string-bench): Add string benchmarks.
41047         * benchtests/bench-bcopy-ifunc.c: New file.
41048         * benchtests/bench-bcopy.c: New file.
41049         * benchtests/bench-bzero-ifunc.c: New file.
41050         * benchtests/bench-bzero.c: New file.
41051         * benchtests/bench-memccpy-ifunc.c: New file.
41052         * benchtests/bench-memccpy.c: New file.
41053         * benchtests/bench-memchr-ifunc.c: New file.
41054         * benchtests/bench-memchr.c: New file.
41055         * benchtests/bench-memcmp-ifunc.c: New file.
41056         * benchtests/bench-memcmp.c: New file.
41057         * benchtests/bench-memmem-ifunc.c: New file.
41058         * benchtests/bench-memmem.c: New file.
41059         * benchtests/bench-memmove-ifunc.c: New file.
41060         * benchtests/bench-memmove.c: New file.
41061         * benchtests/bench-mempcpy-ifunc.c: New file.
41062         * benchtests/bench-mempcpy.c: New file.
41063         * benchtests/bench-memset-ifunc.c: New file.
41064         * benchtests/bench-memset.c: New file.
41065         * benchtests/bench-rawmemchr-ifunc.c: New file.
41066         * benchtests/bench-rawmemchr.c: New file.
41067         * benchtests/bench-stpcpy-ifunc.c: New file.
41068         * benchtests/bench-stpcpy.c: New file.
41069         * benchtests/bench-stpncpy-ifunc.c: New file.
41070         * benchtests/bench-stpncpy.c: New file.
41071         * benchtests/bench-strcasecmp-ifunc.c: New file.
41072         * benchtests/bench-strcasecmp.c: New file.
41073         * benchtests/bench-strcasestr-ifunc.c: New file.
41074         * benchtests/bench-strcasestr.c: New file.
41075         * benchtests/bench-strcat-ifunc.c: New file.
41076         * benchtests/bench-strcat.c: New file.
41077         * benchtests/bench-strchr-ifunc.c: New file.
41078         * benchtests/bench-strchr.c: New file.
41079         * benchtests/bench-strchrnul-ifunc.c: New file.
41080         * benchtests/bench-strchrnul.c: New file.
41081         * benchtests/bench-strcmp-ifunc.c: New file.
41082         * benchtests/bench-strcmp.c: New file.
41083         * benchtests/bench-strcpy-ifunc.c: New file.
41084         * benchtests/bench-strcpy.c: New file.
41085         * benchtests/bench-strcspn-ifunc.c: New file.
41086         * benchtests/bench-strcspn.c: New file.
41087         * benchtests/bench-strlen-ifunc.c: New file.
41088         * benchtests/bench-strlen.c: New file.
41089         * benchtests/bench-strncasecmp-ifunc.c: New file.
41090         * benchtests/bench-strncasecmp.c: New file.
41091         * benchtests/bench-strncat-ifunc.c: New file.
41092         * benchtests/bench-strncat.c: New file.
41093         * benchtests/bench-strncmp-ifunc.c: New file.
41094         * benchtests/bench-strncmp.c: New file.
41095         * benchtests/bench-strncpy-ifunc.c: New file.
41096         * benchtests/bench-strncpy.c: New file.
41097         * benchtests/bench-strnlen-ifunc.c: New file.
41098         * benchtests/bench-strnlen.c: New file.
41099         * benchtests/bench-strpbrk-ifunc.c: New file.
41100         * benchtests/bench-strpbrk.c: New file.
41101         * benchtests/bench-strrchr-ifunc.c: New file.
41102         * benchtests/bench-strrchr.c: New file.
41103         * benchtests/bench-strspn-ifunc.c: New file.
41104         * benchtests/bench-strspn.c: New file.
41105         * benchtests/bench-strstr-ifunc.c: New file.
41106         * benchtests/bench-strstr.c: New file.
41108         * benchtests/Makefile: Disable parallel execution of targets.
41109         (string-bench): Add memcpy.
41110         (benchset): New variable to store a list of benchmark sets.
41111         (bench-func): Renamed from bench.
41112         (bench-set): New target.
41113         (bench): Depend on bench-func and bench-set.
41114         * benchtests/README: Add section on benchmark sets.
41115         * benchtests/bench-memcpy-ifunc.c: New file.
41116         * benchtests/bench-memcpy.c: New file.
41117         * benchtests/bench-string.h: New file.
41119 2013-06-11  Andreas Schwab  <schwab@suse.de>
41121         [BZ #15577]
41122         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41123         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41124         values in the triple.
41125         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41126         terminator in the group key.
41128 2013-06-11  Andreas Jaeger  <aj@suse.de>
41130         * po/zh_TW.po: Update Chinese (traditional) translation from
41131         translation project.
41133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41135         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41136         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41137         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41139         (clock_getcpuclockid): Likewise.
41140         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41141         Add weak_alias and libc_hidden_def.
41142         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41143         * rt/clock_gettime.c (clock_gettime): Rename to
41144         __clock_gettime.  Add weak_alias and libc_hidden_def.
41145         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41146         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41147         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41148         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41149         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41150         Likewise.
41151         * rt/clock_settime.c (clock_settime): Rename to
41152         __clock_settime.  Add weak_alias and libc_hidden_def.
41153         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41155 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41157         * mach/err_boot.sub: Remove trailing whitespace.
41158         * mach/err_ipc.sub: Likewise.
41159         * mach/err_mach.sub: Likewise.
41161         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41162         (ROUNDING_TESTS_double): Likewise.
41163         (ROUNDING_TESTS_long_double): Likewise.
41164         (ROUNDING_TESTS): Likewise.
41165         * math/libm-test.inc: Include <math-tests.h>.
41166         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41167         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41168         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41169         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41171 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41173         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41174         of assigning.
41176 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41178         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41179         otherwise empty TRANS lines.
41180         * sysdeps/gnu/errlist.c: Regenerated.
41182         * catgets/gencat.c (error_print): Use (void) in function
41183         definition.
41184         * crypt/crypt_util.c (__init_des): Likewise.
41185         * crypt/speeds.c (Stop): Likewise.
41186         (main): Likewise.
41187         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41188         * inet/ruserpass.c (token): Likewise.
41189         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41190         * intl/localealias.c (extend_alias_table): Likewise.
41191         * intl/plural-exp.c (init_germanic_plural): Likewise.
41192         * libio/fcloseall.c (__fcloseall): Likewise.
41193         * libio/genops.c (_IO_flush_all): Likewise.
41194         (_IO_flush_all_linebuffered): Likewise.
41195         (_IO_cleanup): Likewise.
41196         (_IO_iter_begin): Likewise.
41197         (_IO_iter_end): Likewise.
41198         (_IO_list_lock): Likewise.
41199         (_IO_list_unlock): Likewise.
41200         (_IO_list_resetlock): Likewise.
41201         * libio/getchar.c (getchar): Likewise.
41202         * libio/getchar_u.c (getchar_unlocked): Likewise.
41203         * libio/getwchar.c (getwchar): Likewise.
41204         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41205         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41206         * login/getpt.c (__getpt): Likewise.
41207         * login/tst-utmp.c (main): Likewise.
41208         * malloc/hooks.c (__malloc_check_init): Likewise.
41209         * malloc/malloc.c (__malloc_stats): Likewise.
41210         * malloc/mtrace.c (tr_break): Likewise.
41211         (mtrace): Likewise.
41212         (muntrace): Likewise.
41213         * misc/fstab.c (endfsent): Likewise.
41214         * misc/getclktck.c (__getclktck): Likewise.
41215         * misc/getdtsz.c (__getdtablesize): Likewise.
41216         * misc/gethostid.c (gethostid): Likewise.
41217         * misc/getpagesize.c (__getpagesize): Likewise.
41218         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41219         (__get_nprocs): Likewise.
41220         (__get_phys_pages): Likewise.
41221         (__get_avphys_pages): Likewise.
41222         * misc/getttyent.c (getttyent): Likewise.
41223         (setttyent): Likewise.
41224         (endttyent): Likewise.
41225         * misc/getusershell.c (getusershell): Likewise.
41226         (endusershell): Likewise.
41227         (setusershell): Likewise.
41228         (initshells): Likewise.
41229         * misc/hsearch.c (__hdestroy): Likewise.
41230         * misc/sync.c (sync): Likewise.
41231         * misc/syslog.c (closelog_internal): Likewise.
41232         (closelog): Likewise.
41233         * misc/ttyslot.c (ttyslot): Likewise.
41234         * misc/vhangup.c (vhangup): Likewise.
41235         * posix/fork.c (__fork): Likewise.
41236         * posix/getegid.c (__getegid): Likewise.
41237         * posix/geteuid.c (__geteuid): Likewise.
41238         * posix/getgid.c (__getgid): Likewise.
41239         * posix/getpid.c (__getpid): Likewise.
41240         * posix/getppid.c (__getppid): Likewise.
41241         * posix/getuid.c (__getuid): Likewise.
41242         * posix/pause.c (pause): Likewise.
41243         * posix/setpgrp.c (setpgrp): Likewise.
41244         * posix/setsid.c (__setsid): Likewise.
41245         * posix/test-vfork.c (noop): Likewise.
41246         * resolv/gethnamaddr.c (_endhtent): Likewise.
41247         (_gethtent): Likewise.
41248         (ht_endhostent): Likewise.
41249         (gethostent): Likewise.
41250         (dns_service): Likewise.
41251         * stdlib/drand48.c (drand48): Likewise.
41252         * stdlib/lrand48.c (lrand48): Likewise.
41253         * stdlib/mrand48.c (mrand48): Likewise.
41254         * stdlib/rand.c (rand): Likewise.
41255         * stdlib/random.c (__random): Likewise.
41256         * stdlib/setenv.c (clearenv): Likewise.
41257         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41258         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41259         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41260         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41261         (__get_nprocs): Likewise.
41262         (__get_phys_pages): Likewise.
41263         (__get_avphys_pages): Likewise.
41264         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41265         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41266         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41267         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41268         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41269         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41270         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41271         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41272         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41273         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41274         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41275         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41276         * sysdeps/posix/clock.c (clock): Likewise.
41277         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41278         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41279         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41280         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41281         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41283         (__get_nprocs_conf): Likewise.
41284         (__get_phys_pages): Likewise.
41285         (__get_avphys_pages): Likewise.
41286         * time/clock.c (clock): Likewise.
41287         * time/tzset.c (__tzname_max): Likewise.
41289 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41291         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41292         (__bswap_32): Do not use "register".
41293         * crypt/crypt.c (_ufc_doit_r): Likewise.
41294         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41295         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41296         * gmon/gmon.c (__monstartup): Likewise.
41297         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41298         * hurd/hurdmalloc.c (more_memory): Likewise.
41299         (malloc): Likewise.
41300         (free): Likewise.
41301         (realloc): Likewise.
41302         (malloc_fork_prepare): Likewise.
41303         (malloc_fork_parent): Likewise.
41304         (malloc_fork_child): Likewise.
41305         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41306         (_svcauth_des): Likewise.
41307         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41308         * inet/inet_net.c (inet_network): Likewise.
41309         * inet/inet_netof.c (inet_netof): Likewise.
41310         * inet/rcmd.c (__validuser2_sa): Likewise.
41311         * io/fts.c (fts_open): Likewise.
41312         (fts_load): Likewise.
41313         (fts_close): Likewise.
41314         (fts_read): Likewise.
41315         (fts_children): Likewise.
41316         (fts_build): Likewise.
41317         (fts_stat): Likewise.
41318         (fts_sort): Likewise.
41319         (fts_alloc): Likewise.
41320         (fts_lfree): Likewise.
41321         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41322         (_IO_file_xsgetn): Likewise.
41323         (_IO_file_xsgetn_mmap): Likewise.
41324         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41325         (_IO_cookie_write): Likewise.
41326         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41327         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41328         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41329         * malloc/obstack.c (_obstack_begin): Likewise.
41330         (_obstack_begin_1): Likewise.
41331         (_obstack_newchunk): Likewise.
41332         (_obstack_allocated_p): Likewise.
41333         (obstack_free): Likewise.
41334         (_obstack_memory_used): Likewise.
41335         * misc/getttyent.c (getttynam): Likewise.
41336         (getttyent): Likewise.
41337         (skip): Likewise.
41338         (value): Likewise.
41339         * misc/getusershell.c (initshells): Likewise.
41340         * misc/syslog.c (__vsyslog_chk): Likewise.
41341         * misc/ttyslot.c (ttyslot): Likewise.
41342         * nis/nis_hash.c (__nis_hash): Likewise.
41343         * posix/fnmatch_loop.c (FCT): Likewise.
41344         * posix/getconf.c (print_all): Likewise.
41345         (main): Likewise.
41346         * posix/getopt.c (exchange): Likewise.
41347         * posix/glob.c (globfree): Likewise.
41348         (prefix_array): Likewise.
41349         (__glob_pattern_type): Likewise.
41350         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41351         (NS_GET32): Likewise.
41352         (NS_PUT16): Likewise.
41353         (NS_PUT32): Likewise.
41354         * resolv/gethnamaddr.c (getanswer): Likewise.
41355         (gethostbyname2): Likewise.
41356         (gethostbyaddr): Likewise.
41357         (_gethtent): Likewise.
41358         (_gethtbyname2): Likewise.
41359         (_gethtbyaddr): Likewise.
41360         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41361         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41362         * resolv/res_init.c (__res_vinit): Likewise.
41363         (net_mask): Likewise.
41364         * resolv/res_mkquery.c (outchar): Likewise.
41365         (PRINT): Likewise.
41366         * stdio-common/printf_fp.c (outchar): Likewise.
41367         (PRINT): Likewise.
41368         * stdio-common/printf_fphex.c (outchar): Likewise.
41369         (PRINT): Likewise.
41370         * stdio-common/printf_size.c (outchar): Likewise.
41371         (PRINT): Likewise.
41372         * stdio-common/test_rdwr.c (main): Likewise.
41373         * stdio-common/tfformat.c (matches): Likewise.
41374         * stdio-common/vfprintf.c (outchar): Likewise.
41375         (printf_unknown): Likewise.
41376         (buffered_vfprintf): Likewise.
41377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41378         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41379         (ReadFile): Likewise.
41380         * stdlib/qsort.c (SWAP): Likewise.
41381         (_quicksort): Likewise.
41382         * stdlib/setenv.c (__add_to_environ): Likewise.
41383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41384         * stdlib/strtol_l.c (__strtol_l): Likewise.
41385         * stdlib/tst-strtod.c (main): Likewise.
41386         * stdlib/tst-strtol.c (main): Likewise.
41387         * stdlib/tst-strtoll.c (main): Likewise.
41388         * string/bits/string2.h (__strcmp_cc): Likewise.
41389         (__strcmp_cg): Likewise.
41390         (__strcspn_c1): Likewise.
41391         (__strcspn_c2): Likewise.
41392         (__strcspn_c3): Likewise.
41393         (__strspn_c1): Likewise.
41394         (__strspn_c2): Likewise.
41395         (__strspn_c3): Likewise.
41396         (__strsep_1c): Likewise.
41397         (__strsep_2c): Likewise.
41398         (__strsep_3c): Likewise.
41399         * string/memccpy.c (__memccpy): Likewise.
41400         * string/stpcpy.c (__stpcpy): Likewise.
41401         * string/strcmp.c (strcmp): Likewise.
41402         * string/strrchr.c (strrchr): Likewise.
41403         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41404         Likewise.
41405         * sysdeps/mach/hurd/getcwd.c
41406         (_hurd_canonicalize_directory_name_internal): Likewise.
41407         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41408         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41409         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41410         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41411         Likewise, in both definitions.
41412         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41413         definitions.
41414         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41415         64] (__bswap_64): Likewise.
41416         * time/test_time.c (main): Likewise.
41417         * time/tzfile.c (__tzfile_read): Likewise.
41418         (__tzfile_compute): Likewise.
41419         * time/tzset.c (__tzset_parse_tz): Likewise.
41420         (tzset_internal): Likewise.
41421         (compute_change): Likewise.
41422         * wcsmbs/wcscat.c (__wcscat): Likewise.
41423         * wcsmbs/wcschr.c (wcschr): Likewise.
41424         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41425         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41426         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41427         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41428         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41429         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41430         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41431         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41432         * wcsmbs/wmemset.c (wmemset): Likewise.
41434 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41436         * scripts/config.guess: Update to version 2013-05-16.
41437         * scripts/config.sub: Update to version 2013-04-24.
41438         * scripts/install-sh: Update to version 2011-11-20.07.
41439         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41440         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41442 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41444         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41445         * elf/sln.c: Likewise.
41446         * hurd/hurd/ioctl.h: Likewise.
41447         * hurd/hurdmalloc.c: Likewise.
41448         * hurd/xattr.c: Likewise.
41449         * include/shlib-compat.h: Likewise.
41450         * inet/ruserpass.c: Likewise.
41451         * libio/iofgets_u.c: Likewise.
41452         * libio/iofgetws_u.c: Likewise.
41453         * locale/programs/ld-identification.c: Likewise.
41454         * locale/programs/ld-time.c: Likewise.
41455         * mach/msg-destroy.c: Likewise.
41456         * nss/nss_files/files-netgrp.c: Likewise.
41457         * resolv/res_data.c: Likewise.
41458         * soft-fp/op-1.h: Likewise.
41459         * soft-fp/op-2.h: Likewise.
41460         * soft-fp/op-4.h: Likewise.
41461         * soft-fp/op-common.h: Likewise.
41462         * stdio-common/printf_fphex.c: Likewise.
41463         * stdlib/strtod_l.c: Likewise.
41464         * sunrpc/rpc/clnt.h: Likewise.
41465         * sysdeps/generic/framestate.c: Likewise.
41466         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41467         * sysdeps/i386/bsd-setjmp.S: Likewise.
41468         * sysdeps/i386/__longjmp.S: Likewise.
41469         * sysdeps/i386/setjmp.S: Likewise.
41470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41471         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41475         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41479         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41481         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41482         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41483         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41484         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41486         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41487         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41488         * sysdeps/ieee754/support.c: Likewise.
41489         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41490         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41491         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41492         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41493         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41494         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41495         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41496         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41497         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41498         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41499         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41500         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41501         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41502         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41503         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41504         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41505         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41508 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41510         * posix/transbug.c: Remove executable mode.
41512 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41514         * crypt/speeds.c: Remove trailing whitespace.
41515         * dlfcn/default.c: Likewise.
41516         * elf/ifuncdep2.c: Likewise.
41517         * elf/ifuncmain1.c: Likewise.
41518         * elf/ifuncmain1vis.c: Likewise.
41519         * elf/testobj.h: Likewise.
41520         * elf/tst-stackguard1.c: Likewise.
41521         * gmon/sys/gmon.h: Likewise.
41522         * hurd/hurdmsg.c: Likewise.
41523         * hurd/new-fd.c: Likewise.
41524         * hurd/ports-get.c: Likewise.
41525         * iconvdata/ibm1008_420.c: Likewise.
41526         * inet/tst-getni1.c: Likewise.
41527         * inet/tst-getni2.c: Likewise.
41528         * libio/ioungetc.c: Likewise.
41529         * libio/wfiledoalloc.c: Likewise.
41530         * manual/libm-err-tab.pl: Likewise.
41531         * math/w_dremf.c: Likewise.
41532         * misc/ftruncate.c: Likewise.
41533         * posix/bug-glob2.c: Likewise.
41534         * posix/tst-pcre.c: Likewise.
41535         * posix/wait4.c: Likewise.
41536         * resolv/README: Likewise.
41537         * resolv/res_debug.h: Likewise.
41538         * resolv/tst-inet_ntop.c: Likewise.
41539         * setjmp/bug269-setjmp.c: Likewise.
41540         * soft-fp/extended.h: Likewise.
41541         * soft-fp/op-1.h: Likewise.
41542         * soft-fp/op-2.h: Likewise.
41543         * soft-fp/op-4.h: Likewise.
41544         * soft-fp/op-8.h: Likewise.
41545         * soft-fp/testit.c: Likewise.
41546         * stdio-common/bug16.c: Likewise.
41547         * stdlib/random.c: Likewise.
41548         * sunrpc/rpcsvc/rquota.x: Likewise.
41549         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41555         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41558         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41559         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41560         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41561         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41562         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41563         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41564         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41565         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41570         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41571         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41577         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41578         * sysdeps/ieee754/s_lib_version.c: Likewise.
41579         * sysdeps/mach/hurd/check_fds.c: Likewise.
41580         * sysdeps/mach/hurd/getsockname.c: Likewise.
41581         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41582         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41583         * sysdeps/powerpc/bits/link.h: Likewise.
41584         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41585         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41586         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41587         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41588         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41589         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41590         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41591         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41592         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41593         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41594         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41595         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41596         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41597         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41600         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41601         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41602         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41603         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41604         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41605         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41607         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41608         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41609         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41612         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41617         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41618         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41619         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41620         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41621         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41622         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41623         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41624         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41625         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41626         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41627         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41629         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41630         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41632         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41633         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41636         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41637         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41638         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41639         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41640         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41642         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41643         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41644         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41645         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41646         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41647         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41648         * sysdeps/powerpc/sysdep.h: Likewise.
41649         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41650         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41651         * sysdeps/sh/dl-trampoline.S: Likewise.
41652         * sysdeps/sh/memset.S: Likewise.
41653         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41654         * sysdeps/sh/strlen.S: Likewise.
41655         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41656         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41657         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41658         * sysdeps/sparc/sparc32/rem.S: Likewise.
41659         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41660         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41661         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41662         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41663         * sysdeps/sparc/sparc32/urem.S: Likewise.
41664         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41665         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41666         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41667         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41669         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41670         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41671         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41672         * sysdeps/unix/bsd/times.c: Likewise.
41673         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41674         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41678         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41679         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41680         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41682         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41684         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41685         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41686         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41687         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41688         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41690         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41691         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41692         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41693         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41694         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41695         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41696         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41697         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41698         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41699         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41700         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41701         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41702         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41703         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41704         * sysdeps/x86_64/strcspn.S: Likewise.
41706 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41708         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41709         generated file.  Regenerate properly from gen-translit.pl.
41710         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41711         locale/C-translit.h.
41713 2013-06-05  Andreas Schwab  <schwab@suse.de>
41715         [BZ #15100]
41716         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41717         week as 6 instead of -1.
41718         * time/tst-strptime.c (day_tests): Add test case.
41720 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41722         * sysdeps/generic/math_private.h
41723         (libc_feholdexcept_setround_53bit): Replace with
41724         libc_feholdsetround_53bit.
41725         (libc_feupdateenv_53bit): Replace with
41726         libc_feresetround_53bit.
41727         (SET_RESTORE_ROUND_53BIT): Adjust.
41729 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41731         * string/test-strchrnul.c: Add copyright header.
41733         * posix/tst-getaddrinfo4.c: Increase test timeout.
41735 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41737         [BZ #15536]
41738         * math/libm-test.inc (MAX_EXP): Remove
41739         (MIN_EXP): Define.
41740         (ulp): Use MIN_EXP - MANT_DIG.
41741         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41743 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41745         * po/be.po: Revert last change.
41746         * po/zh_CN.po: Likewise.
41747         * po/header.pot: Likewise.
41749 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41751         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41752         link-libc-deps to empty as target-specific variable.
41753         * Makerules (link-libc-args): New variable.
41754         (libc-for-link): Likewise.
41755         (link-libc-deps): Likewise.
41756         (lib%.so): Depend on $(link-libc-deps).  Link with
41757         $(link-libc-args).
41758         (build-module): Link with $(link-libc-args).
41759         (build-module-asneeded): Likewise.
41760         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41761         list of objects.
41762         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41763         target-specific variable.
41764         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41765         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41766         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41767         libc.
41768         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41769         libc and ld.so.
41770         ($(objpfx)libpcprofile.so): Likewise.
41771         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41772         libc_nonshared.a.
41773         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41774         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41775         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41776         $(link-libc-deps).
41777         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41778         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41779         * login/Makefile ($(objpfx)libutil.so): Likewise.
41780         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41781         * math/Makefile ($(objpfx)libm.so): Likewise.
41782         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41783         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41784         variable instead of depending directly on libc.
41785         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41786         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41787         $(link-libc-deps).
41788         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41789         libc.
41790         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41791         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41792         ($(objpfx)libanl.so): Likewise.
41793         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41794         ld.so.
41795         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41796         $(link-libc-deps).
41797         * sysdeps/i386/fpu/Makefile: Remove file.
41798         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41799         ($(objpfx)libm.so): Remove dependency on ld.so.
41801 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41803         [BZ # 15553]
41804         * nis/yp_xdr.c (XDRMAXNAME): Define.
41805         (XDRMAXRECORD): Define.
41806         (xdr_domainname): Use XDRMAXNAME.
41807         (xdr_mapname): Likewise.
41808         (xdr_peername): Likewise.
41809         (xdr_keydat): Use XDRMAXRECORD.
41810         (xdr_valdat): Likewise.
41812 2013-05-30  Jeff Law  <law@redhat.com>
41814         [BZ #14256]
41815         * manual/errno.texi (ESTALE): Update to account for more than
41816         just NFS file systems.
41817         * sysdeps/gnu/errlist.c: Regenerated.
41819 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41821         [BZ #15465]
41822         * elf/Makefile (tests): Add tst-null-argv.
41823         (modules-names):  Add tst-null-argv-lib.
41824         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41825         (tst-null-argv-ENV): Set environment for tst-null-argv.
41826         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41827         (RTLD_PROGNAME): New macro.
41828         * elf/tst-null-argv.c: New test case.
41829         * elf/tst-null-argv-lib.c: Library for test case.
41830         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41831         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41832         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41833         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41834         * elf/dl-init.c (call_init): Likewise.
41835         (_dl_init): Likewise.
41836         * elf/dl-load.c (print_search_path): Likewise.
41837         (_dl_map_object): Likewise.
41838         * elf/dl-lookup.c (do_lookup_x): Likewise.
41839         (add_dependency): Likewise.
41840         (_dl_lookup_symbol_x): Likewise.
41841         (_dl_debug_bindings): Likewise.
41842         * elf/dl-open.c (_dl_show_scope): Likewise.
41843         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41844         * elf/dl-version.c (match_symbol): Likewise.
41845         (_dl_check_map_versions): Likewise.
41846         * elf/rtld.c (dl_main): Likewise.
41847         (print_unresolved): Use RTLD_PROGNAME.
41848         (print_missing_version): Likewise.
41849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41850         (elf_machine_rela): Likewise.
41851         * sysdeps/powerpc/powerpc32/dl-machine.c
41852         (__process_machine_rela): Likewise.
41853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41854         Likewise.
41855         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41856         Likewise.
41857         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41858         Likewise.
41859         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41861         Likewise.
41862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41863         Likewise.
41864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41866 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41868         * po/be.po: Add descriptive title.
41869         * po/zh_CN.po: Likewise.
41870         * po/header.pot: Likewise.
41872 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41874         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41875         error message.
41876         (enlarge_archive): Likewise.
41878 2013-05-28  Ben North  <ben@redfrontdoor.org>
41880         * manual/arith.texi (frexp): It is the magnitude of the return
41881         value which lies in [0.5, 1), not the return value itself.
41883 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41887 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41889         * stdio-common/bug26.c (main): Correct fscanf template.
41891         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41892         declare _dl_skip_args.
41894         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41895         Don't declare.
41897         * manual/platform.texi: Add missing @end deftypefun.
41899 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41901         [BZ #15529]
41902         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41903         bit of mantissa of 2^16382.
41904         * math/libm-test.inc (hypot_test_data): Add more tests.
41906         * math/libm-test.inc: Add drem and pow10 to list of tested
41907         functions.
41908         (pow10_test): New function.
41909         (drem_test): Likewise.
41910         (drem_test_tonearest): Likewise.
41911         (drem_test_towardzero): Likewise.
41912         (drem_test_downward): Likewise.
41913         (drem_test_upward): Likewise.
41914         (main): Call the new functions.
41916         * math/libm-test.inc (finite_test_data): Remove.
41917         (finite_test): Run tests from isfinite_test_data.
41918         (gamma_test_data): Remove.
41919         (gamma_test): Run tests from lgamma_test_data.
41920         * sysdeps/i386/fpu/libm-test-ulps: Update.
41921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41923 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41925         * manual/platform.texi: Add PowerPC PPR function set documentation.
41926         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41927         implementation.
41929 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41931         * math/libm-test.inc (MAX_EXP): Define.
41932         (ULPDIFF): Define.
41933         (ulp): New function.
41934         (check_float_internal): Use ULPDIFF.
41935         (cpow_test): Disable failing test.
41936         (check_ulp): Test ulp() implemetnation.
41937         (main): Call check_ulp before starting tests.
41939 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41941         * math/gen-libm-test.pl (generate_testfile): Do not handle
41942         START_DATA and END_DATA.
41943         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41944         END_DATA.
41945         (acos_tonearest_test_data): Likewise.
41946         (acos_towardzero_test_data): Likewise.
41947         (acos_downward_test_data): Likewise.
41948         (acos_upward_test_data): Likewise.
41949         (acosh_test_data): Likewise.
41950         (asin_test_data): Likewise.
41951         (asin_tonearest_test_data): Likewise.
41952         (asin_towardzero_test_data): Likewise.
41953         (asin_downward_test_data): Likewise.
41954         (asin_upward_test_data): Likewise.
41955         (asinh_test_data): Likewise.
41956         (atan_test_data): Likewise.
41957         (atanh_test_data): Likewise.
41958         (atan2_test_data): Likewise.
41959         (cabs_test_data): Likewise.
41960         (cacos_test_data): Likewise.
41961         (cacosh_test_data): Likewise.
41962         (carg_test_data): Likewise.
41963         (casin_test_data): Likewise.
41964         (casinh_test_data): Likewise.
41965         (catan_test_data): Likewise.
41966         (catanh_test_data): Likewise.
41967         (cbrt_test_data): Likewise.
41968         (ccos_test_data): Likewise.
41969         (ccosh_test_data): Likewise.
41970         (ceil_test_data): Likewise.
41971         (cexp_test_data): Likewise.
41972         (cimag_test_data): Likewise.
41973         (clog_test_data): Likewise.
41974         (clog10_test_data): Likewise.
41975         (conj_test_data): Likewise.
41976         (copysign_test_data): Likewise.
41977         (cos_test_data): Likewise.
41978         (cos_tonearest_test_data): Likewise.
41979         (cos_towardzero_test_data): Likewise.
41980         (cos_downward_test_data): Likewise.
41981         (cos_upward_test_data): Likewise.
41982         (cosh_test_data): Likewise.
41983         (cosh_tonearest_test_data): Likewise.
41984         (cosh_towardzero_test_data): Likewise.
41985         (cosh_downward_test_data): Likewise.
41986         (cosh_upward_test_data): Likewise.
41987         (cpow_test_data): Likewise.
41988         (cproj_test_data): Likewise.
41989         (creal_test_data): Likewise.
41990         (csin_test_data): Likewise.
41991         (csinh_test_data): Likewise.
41992         (csqrt_test_data): Likewise.
41993         (ctan_test_data): Likewise.
41994         (ctan_tonearest_test_data): Likewise.
41995         (ctan_towardzero_test_data): Likewise.
41996         (ctan_downward_test_data): Likewise.
41997         (ctan_upward_test_data): Likewise.
41998         (ctanh_test_data): Likewise.
41999         (ctanh_tonearest_test_data): Likewise.
42000         (ctanh_towardzero_test_data): Likewise.
42001         (ctanh_downward_test_data): Likewise.
42002         (ctanh_upward_test_data): Likewise.
42003         (erf_test_data): Likewise.
42004         (erfc_test_data): Likewise.
42005         (exp_test_data): Likewise.
42006         (exp_tonearest_test_data): Likewise.
42007         (exp_towardzero_test_data): Likewise.
42008         (exp_downward_test_data): Likewise.
42009         (exp_upward_test_data): Likewise.
42010         (exp10_test_data): Likewise.
42011         (exp2_test_data): Likewise.
42012         (expm1_test_data): Likewise.
42013         (fabs_test_data): Likewise.
42014         (fdim_test_data): Likewise.
42015         (finite_test_data): Likewise.
42016         (floor_test_data): Likewise.
42017         (fma_test_data): Likewise.
42018         (fma_towardzero_test_data): Likewise.
42019         (fma_downward_test_data): Likewise.
42020         (fma_upward_test_data): Likewise.
42021         (fmax_test_data): Likewise.
42022         (fmin_test_data): Likewise.
42023         (fmod_test_data): Likewise.
42024         (fpclassify_test_data): Likewise.
42025         (frexp_test_data): Likewise.
42026         (gamma_test_data): Likewise.
42027         (hypot_test_data): Likewise.
42028         (ilogb_test_data): Likewise.
42029         (isfinite_test_data): Likewise.
42030         (isgreater_test_data): Likewise.
42031         (isgreaterequal_test_data): Likewise.
42032         (isinf_test_data): Likewise.
42033         (isless_test_data): Likewise.
42034         (islessequal_test_data): Likewise.
42035         (islessgreater_test_data): Likewise.
42036         (isnan_test_data): Likewise.
42037         (isnormal_test_data): Likewise.
42038         (issignaling_test_data): Likewise.
42039         (isunordered_test_data): Likewise.
42040         (j0_test_data): Likewise.
42041         (j1_test_data): Likewise.
42042         (jn_test_data): Likewise.
42043         (ldexp_test_data): Likewise.
42044         (lgamma_test_data): Likewise.
42045         (lrint_test_data): Likewise.
42046         (lrint_tonearest_test_data): Likewise.
42047         (lrint_towardzero_test_data): Likewise.
42048         (lrint_downward_test_data): Likewise.
42049         (lrint_upward_test_data): Likewise.
42050         (llrint_test_data): Likewise.
42051         (llrint_tonearest_test_data): Likewise.
42052         (llrint_towardzero_test_data): Likewise.
42053         (llrint_downward_test_data): Likewise.
42054         (llrint_upward_test_data): Likewise.
42055         (log_test_data): Likewise.
42056         (log10_test_data): Likewise.
42057         (log1p_test_data): Likewise.
42058         (log2_test_data): Likewise.
42059         (logb_test_data): Likewise.
42060         (logb_downward_test_data): Likewise.
42061         (lround_test_data): Likewise.
42062         (llround_test_data): Likewise.
42063         (modf_test_data): Likewise.
42064         (nearbyint_test_data): Likewise.
42065         (nextafter_test_data): Likewise.
42066         (nexttoward_test_data): Likewise.
42067         (pow_test_data): Likewise.
42068         (pow_tonearest_test_data): Likewise.
42069         (pow_towardzero_test_data): Likewise.
42070         (pow_downward_test_data): Likewise.
42071         (pow_upward_test_data): Likewise.
42072         (remainder_test_data): Likewise.
42073         (remainder_tonearest_test_data): Likewise.
42074         (remainder_towardzero_test_data): Likewise.
42075         (remainder_downward_test_data): Likewise.
42076         (remainder_upward_test_data): Likewise.
42077         (remquo_test_data): Likewise.
42078         (rint_test_data): Likewise.
42079         (rint_tonearest_test_data): Likewise.
42080         (rint_towardzero_test_data): Likewise.
42081         (rint_downward_test_data): Likewise.
42082         (rint_upward_test_data): Likewise.
42083         (round_test_data): Likewise.
42084         (scalb_test_data): Likewise.
42085         (scalbn_test_data): Likewise.
42086         (scalbln_test_data): Likewise.
42087         (signbit_test_data): Likewise.
42088         (sin_test_data): Likewise.
42089         (sin_tonearest_test_data): Likewise.
42090         (sin_towardzero_test_data): Likewise.
42091         (sin_downward_test_data): Likewise.
42092         (sin_upward_test_data): Likewise.
42093         (sincos_test_data): Likewise.
42094         (sinh_test_data): Likewise.
42095         (sinh_tonearest_test_data): Likewise.
42096         (sinh_towardzero_test_data): Likewise.
42097         (sinh_downward_test_data): Likewise.
42098         (sinh_upward_test_data): Likewise.
42099         (sqrt_test_data): Likewise.
42100         (tan_test_data): Likewise.
42101         (tan_tonearest_test_data): Likewise.
42102         (tan_towardzero_test_data): Likewise.
42103         (tan_downward_test_data): Likewise.
42104         (tan_upward_test_data): Likewise.
42105         (tanh_test_data): Likewise.
42106         (tgamma_test_data): Likewise.
42107         (trunc_test_data): Likewise.
42108         (y0_test_data): Likewise.
42109         (y1_test_data): Likewise.
42110         (yn_test_data): Likewise.
42111         (significand_test_data): Likewise.
42113         * math/gen-libm-test.pl (@functions): Remove variable.
42114         (generate_testfile): Don't handle START and END lines.
42115         * math/libm-test.inc (START): New macro.
42116         (END): Likewise.
42117         (END_COMPLEX): Likewise.
42118         (acos_test): Use END macro without arguments.
42119         (acos_test_tonearest): Likewise.
42120         (acos_test_towardzero): Likewise.
42121         (acos_test_downward): Likewise.
42122         (acos_test_upward): Likewise.
42123         (acosh_test): Likewise.
42124         (asin_test): Likewise.
42125         (asin_test_tonearest): Likewise.
42126         (asin_test_towardzero): Likewise.
42127         (asin_test_downward): Likewise.
42128         (asin_test_upward): Likewise.
42129         (asinh_test): Likewise.
42130         (atan_test): Likewise.
42131         (atanh_test): Likewise.
42132         (atan2_test): Likewise.
42133         (cabs_test): Likewise.
42134         (cacos_test): Use END_COMPLEX macro without arguments.
42135         (cacosh_test): Likewise.
42136         (carg_test): Use END macro without arguments.
42137         (casin_test): Use END_COMPLEX macro without arguments.
42138         (casinh_test): Likewise.
42139         (catan_test): Likewise.
42140         (catanh_test): Likewise.
42141         (cbrt_test): Use END macro without arguments.
42142         (ccos_test): Use END_COMPLEX macro without arguments.
42143         (ccosh_test): Likewise.
42144         (ceil_test): Use END macro without arguments.
42145         (cexp_test): Use END_COMPLEX macro without arguments.
42146         (cimag_test): Use END macro without arguments.
42147         (clog_test): Use END_COMPLEX macro without arguments.
42148         (clog10_test): Likewise.
42149         (conj_test): Likewise.
42150         (copysign_test): Use END macro without arguments.
42151         (cos_test): Likewise.
42152         (cos_test_tonearest): Likewise.
42153         (cos_test_towardzero): Likewise.
42154         (cos_test_downward): Likewise.
42155         (cos_test_upward): Likewise.
42156         (cosh_test): Likewise.
42157         (cosh_test_tonearest): Likewise.
42158         (cosh_test_towardzero): Likewise.
42159         (cosh_test_downward): Likewise.
42160         (cosh_test_upward): Likewise.
42161         (cpow_test): Use END_COMPLEX macro without arguments.
42162         (cproj_test): Likewise.
42163         (creal_test): Use END macro without arguments.
42164         (csin_test): Use END_COMPLEX macro without arguments.
42165         (csinh_test): Likewise.
42166         (csqrt_test): Likewise.
42167         (ctan_test): Likewise.
42168         (ctan_test_tonearest): Likewise.
42169         (ctan_test_towardzero): Likewise.
42170         (ctan_test_downward): Likewise.
42171         (ctan_test_upward): Likewise.
42172         (ctanh_test): Likewise.
42173         (ctanh_test_tonearest): Likewise.
42174         (ctanh_test_towardzero): Likewise.
42175         (ctanh_test_downward): Likewise.
42176         (ctanh_test_upward): Likewise.
42177         (erf_test): Use END macro without arguments.
42178         (erfc_test): Likewise.
42179         (exp_test): Likewise.
42180         (exp_test_tonearest): Likewise.
42181         (exp_test_towardzero): Likewise.
42182         (exp_test_downward): Likewise.
42183         (exp_test_upward): Likewise.
42184         (exp10_test): Likewise.
42185         (exp2_test): Likewise.
42186         (expm1_test): Likewise.
42187         (fabs_test): Likewise.
42188         (fdim_test): Likewise.
42189         (finite_test): Likewise.
42190         (floor_test): Likewise.
42191         (fma_test): Likewise.
42192         (fma_test_towardzero): Likewise.
42193         (fma_test_downward): Likewise.
42194         (fma_test_upward): Likewise.
42195         (fmax_test): Likewise.
42196         (fmin_test): Likewise.
42197         (fmod_test): Likewise.
42198         (fpclassify_test): Likewise.
42199         (frexp_test): Likewise.
42200         (gamma_test): Likewise.
42201         (hypot_test): Likewise.
42202         (ilogb_test): Likewise.
42203         (isfinite_test): Likewise.
42204         (isgreater_test): Likewise.
42205         (isgreaterequal_test): Likewise.
42206         (isinf_test): Likewise.
42207         (isless_test): Likewise.
42208         (islessequal_test): Likewise.
42209         (islessgreater_test): Likewise.
42210         (isnan_test): Likewise.
42211         (isnormal_test): Likewise.
42212         (issignaling_test): Likewise.
42213         (isunordered_test): Likewise.
42214         (j0_test): Likewise.
42215         (j1_test): Likewise.
42216         (jn_test): Likewise.
42217         (ldexp_test): Likewise.
42218         (lgamma_test): Likewise.
42219         (lrint_test): Likewise.
42220         (lrint_test_tonearest): Likewise.
42221         (lrint_test_towardzero): Likewise.
42222         (lrint_test_downward): Likewise.
42223         (lrint_test_upward): Likewise.
42224         (llrint_test): Likewise.
42225         (llrint_test_tonearest): Likewise.
42226         (llrint_test_towardzero): Likewise.
42227         (llrint_test_downward): Likewise.
42228         (llrint_test_upward): Likewise.
42229         (log_test): Likewise.
42230         (log10_test): Likewise.
42231         (log1p_test): Likewise.
42232         (log2_test): Likewise.
42233         (logb_test): Likewise.
42234         (logb_test_downward): Likewise.
42235         (lround_test): Likewise.
42236         (llround_test): Likewise.
42237         (modf_test): Likewise.
42238         (nearbyint_test): Likewise.
42239         (nextafter_test): Likewise.
42240         (nexttoward_test): Likewise.
42241         (pow_test): Likewise.
42242         (pow_test_tonearest): Likewise.
42243         (pow_test_towardzero): Likewise.
42244         (pow_test_downward): Likewise.
42245         (pow_test_upward): Likewise.
42246         (remainder_test): Likewise.
42247         (remainder_test_tonearest): Likewise.
42248         (remainder_test_towardzero): Likewise.
42249         (remainder_test_downward): Likewise.
42250         (remainder_test_upward): Likewise.
42251         (remquo_test): Likewise.
42252         (rint_test): Likewise.
42253         (rint_test_tonearest): Likewise.
42254         (rint_test_towardzero): Likewise.
42255         (rint_test_downward): Likewise.
42256         (rint_test_upward): Likewise.
42257         (round_test): Likewise.
42258         (scalb_test): Likewise.
42259         (scalbn_test): Likewise.
42260         (scalbln_test): Likewise.
42261         (signbit_test): Likewise.
42262         (sin_test): Likewise.
42263         (sin_test_tonearest): Likewise.
42264         (sin_test_towardzero): Likewise.
42265         (sin_test_downward): Likewise.
42266         (sin_test_upward): Likewise.
42267         (sincos_test): Likewise.
42268         (sinh_test): Likewise.
42269         (sinh_test_tonearest): Likewise.
42270         (sinh_test_towardzero): Likewise.
42271         (sinh_test_downward): Likewise.
42272         (sinh_test_upward): Likewise.
42273         (sqrt_test): Likewise.
42274         (tan_test): Likewise.
42275         (tan_test_tonearest): Likewise.
42276         (tan_test_towardzero): Likewise.
42277         (tan_test_downward): Likewise.
42278         (tan_test_upward): Likewise.
42279         (tanh_test): Likewise.
42280         (tgamma_test): Likewise.
42281         (trunc_test): Likewise.
42282         (y0_test): Likewise.
42283         (y1_test): Likewise.
42284         (yn_test): Likewise.
42285         (significand_test): Likewise.
42287 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42289         [BZ #15381]
42290         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42292 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42294         [BZ #14894]
42295         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42296         __ppc_mdoio and __ppc_mdoom.
42297         * manual/platform.texi: Document new functions __ppc_yield,
42298         __ppc_mdoio and __ppc_mdoom.
42300 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42302         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42303         (main): Mention "tls" pseudo-hwcap is legacy.
42304         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42306 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42308         * math/gen-libm-test.pl (parse_args): Output only string of
42309         arguments as text for test name, not full call or descriptions of
42310         tests for extra outputs.
42311         (generate_testfile): Do not pass function name to parse_args.
42312         Generate this_func variable from START.
42313         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42314         field to arg_str.
42315         (struct test_ff_f_data): Likewise.
42316         (test_ff_f_data_nexttoward): Likewise.
42317         (struct test_fi_f_data): Likewise.
42318         (struct test_fl_f_data): Likewise.
42319         (struct test_if_f_data): Likewise.
42320         (struct test_fff_f_data): Likewise.
42321         (struct test_c_f_data): Likewise.
42322         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42323         (struct test_fF_f1_data): Likewise.
42324         (struct test_ffI_f1_data): Likewise.
42325         (struct test_c_c_data): Rename test_name field to arg_str.
42326         (struct test_cc_c_data): Likewise.
42327         (struct test_f_i_data): Likewise.
42328         (struct test_ff_i_data): Likewise.
42329         (struct test_f_l_data): Likewise.
42330         (struct test_f_L_data): Likewise.
42331         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42332         and extra2_name.
42333         (COMMON_TEST_SETUP): New macro.
42334         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42335         (COMMON_TEST_CLEANUP): Likewise.
42336         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42337         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42338         macros.
42339         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42340         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42341         macros.
42342         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42343         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42344         cleanup macros.
42345         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42346         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42347         macros.
42348         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42349         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42350         macros.
42351         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42352         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42353         cleanup macros.
42354         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42355         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42356         cleanup macros.
42357         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42358         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42359         cleanup macros.
42360         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42361         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42362         macros.
42363         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42364         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42365         macros.
42366         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42367         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42368         macros.
42369         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42370         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42371         cleanup macros.
42372         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42373         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42374         cleanup macros.
42375         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42376         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42377         macros.
42378         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42379         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42380         cleanup macros.
42381         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42382         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42383         macros.
42384         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42385         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42386         macros.
42387         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42388         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42389         cleanup macros.
42390         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42392 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42394         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42395         to _sifields.sigfault.
42396         (si_addr_lsb): Define new macro.
42397         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42398         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42399         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42401 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42403         [BZ #15441]
42404         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42405         returns -1.
42406         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42407         null return -1.
42408         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42409         loading the domain.
42411 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42413         * math/gen-libm-test.pl (parse_args): Do not include expected
42414         result in test name.
42415         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42418         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42422 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42424         * benchtests/Makefile: Sort function entries.
42426         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42427         tanh, asinh, acosh, atanh.
42428         * benchtests/acos-inputs: New file.
42429         * benchtests/acosh-inputs: New file.
42430         * benchtests/asin-inputs: New file.
42431         * benchtests/asinh-inputs: New file.
42432         * benchtests/atanh-inputs: New file.
42433         * benchtests/cosh-inputs: New file.
42434         * benchtests/log-inputs: New file.
42435         * benchtests/sinh-inputs: New file.
42436         * benchtests/tanh-inputs: New file.
42438 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42440         [BZ #15339]
42441         * posix/tst-getaddrinfo4.c: New test.
42442         * posix/Makefile (tests): Add it.
42444 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42446         [BZ #15339]
42447         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42448         when no services were used.
42449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42450         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42452 2013-05-21  Andreas Schwab  <schwab@suse.de>
42454         [BZ #15014]
42455         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42456         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42457         successful.
42458         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42459         redundant variable declarations and reallocation of buffer when
42460         parsing as IPv6 address.  Always set NSS status when called from
42461         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42462         buffer too small.  Correct computation of needed size.
42463         * nss/Makefile (tests): Add test-digits-dots.
42464         * nss/test-digits-dots.c: New test.
42466 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42468         * benchtests/Makefile: Remove instructions for adding
42469         benchmark tests.
42470         * benchtests/README: New file to explain how to execute and
42471         enhance the benchmark tests.
42473 2013-05-21  Andreas Schwab  <schwab@suse.de>
42475         [BZ #15493]
42476         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42477         * setjmp/tst-sigsetjmp.c: New test.
42479 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42481         * sysdeps/x86_64/memset.S (memset): New implementation.
42482         (__bzero): Likewise.
42483         (__memset_tail): New function.
42485 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42487         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42489         __memcpy_sse2_unaligned ifunc selection.
42490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42491         Add memcpy-sse2-unaligned.S.
42492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42493         Add: __memcpy_sse2_unaligned.
42495 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42497         [BZ #15490]
42498         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42499         math_force_eval before restoring floating-point envrionment.
42500         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42502         Likewise.
42503         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42504         <math_private.h>.
42505         (__nearbyintl): Use math_force_eval before restoring
42506         floating-point environment.
42507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42509         * math/gen-libm-test.pl (special_functions): Remove.
42510         (parse_args): Don't handle TEST_extra.  Handle functions with no
42511         return value.
42512         * math/libm-test.inc (struct test_sincos_data): Replace with
42513         struct test_fFF_11_data.
42514         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42515         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42516         (sincos_test_data): Change element type to struct
42517         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42518         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42519         RUN_TEST_LOOP_sincos.
42520         * math/README.libm-test: Don't mention special handling of
42521         individual functions.
42522         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42523         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42524         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42525         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42529         * math/gen-libm-test.pl (get_variable): Remove function.
42530         (parse_args): Don't show pointer parameters to call in test
42531         names.  Use "extra output N" in test names for extra outputs
42532         rather than naming variables.
42534 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42536         [BZ #15488]
42537         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42538         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42539         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42540         double tests.
42541         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42542         disable.
42543         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42544         check_long_double.
42546         * math/gen-libm-test.pl (@tests): Remove variable.
42547         ($count): Likewise.
42548         (new_test): Remove function.
42549         (show_exceptions): New function.
42550         (special_functions): Use show_exceptions instead of new_test.
42551         (parse_args): Likewise.
42552         (generate_testfile): Pass only function name in generated call to
42553         print_max_error or print_complex_max_error.
42554         (get_ulps): Do not handle complex tests specially.
42555         (output_test): Rename to ...
42556         (get_all_ulps_for_test): ... this.  Return a string rather than
42557         printing to a file.  Require ulps to be present.
42558         (output_ulps): Generate arrays rather than #defines.
42559         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42560         (struct ulp_data): New type.
42561         (BUILD_COMPLEX_ULP): Remove macro.
42562         (compare_ulp_data): New function.
42563         (find_ulps): Likewise.
42564         (find_test_ulps): Likewise.
42565         (find_function_ulps): Likewise.
42566         (find_complex_function_ulps): Likewise.
42567         (print_max_error): Determine allowed ulps using
42568         find_function_ulps.
42569         (print_complex_max_error): Determine allowed ulps using
42570         find_complex_function_ulps.
42571         (check_float_internal): Determine max ulps using find_test_ulps.
42572         (check_float): Do not take max_ulp parameter.  Update call to
42573         check_float_internal.
42574         (check_complex): Likewise.
42575         (check_int): Do not take max_ulp parameter.
42576         (check_long): Likewise.
42577         (check_bool): Likewise.
42578         (check_longlong): Likewise.
42579         (struct test_f_f_data): Remove max_ulp field.
42580         (struct test_ff_f_data): Likewise.
42581         (struct test_ff_f_data_nexttoward): Likewise.
42582         (struct test_fi_f_data): Likewise.
42583         (struct test_fl_f_data): Likewise.
42584         (struct test_if_f_data): Likewise.
42585         (struct test_fff_f_data): Likewise.
42586         (struct test_c_f_data): Likewise.
42587         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42588         (struct test_fF_f1_data): Likewise.
42589         (struct test_ffI_f1_data): Likewise.
42590         (struct test_c_c_data): Remove max_ulp field.
42591         (struct test_cc_c_data): Likewise.
42592         (struct test_f_i_data): Likewise.
42593         (struct test_ff_i_data): Likewise.
42594         (struct test_f_l_data): Likewise.
42595         (struct test_f_L_data): Likewise.
42596         (struct test_sincos_data): Likewise.
42597         (RUN_TEST_f_f): Do not handle ulps.
42598         (RUN_TEST_LOOP_f_f): Likewise.
42599         (RUN_TEST_2_f): Likewise.
42600         (RUN_TEST_LOOP_2_f): Likewise.
42601         (RUN_TEST_fff_f): Likewise.
42602         (RUN_TEST_LOOP_fff_f): Likewise.
42603         (RUN_TEST_c_f): Likewise.
42604         (RUN_TEST_LOOP_c_f): Likewise.
42605         (RUN_TEST_f_f1): Likewise.
42606         (RUN_TEST_LOOP_f_f1): Likewise.
42607         (RUN_TEST_fF_f1): Likewise.
42608         (RUN_TEST_LOOP_fF_f1): Likewise.
42609         (RUN_TEST_fI_f1): Likewise.
42610         (RUN_TEST_LOOP_fI_f1): Likewise.
42611         (RUN_TEST_ffI_f1): Likewise.
42612         (RUN_TEST_LOOP_ffI_f1): Likewise.
42613         (RUN_TEST_c_c): Likewise.
42614         (RUN_TEST_LOOP_c_c): Likewise.
42615         (RUN_TEST_cc_c): Likewise.
42616         (RUN_TEST_LOOP_cc_c): Likewise.
42617         (RUN_TEST_f_i): Likewise.
42618         (RUN_TEST_LOOP_f_i): Likewise.
42619         (RUN_TEST_f_i_tg): Likewise.
42620         (RUN_TEST_LOOP_f_i_tg): Likewise.
42621         (RUN_TEST_ff_i_tg): Likewise.
42622         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42623         (RUN_TEST_f_b): Likewise.
42624         (RUN_TEST_LOOP_f_b): Likewise.
42625         (RUN_TEST_f_b_tg): Likewise.
42626         (RUN_TEST_LOOP_f_b_tg): Likewise.
42627         (RUN_TEST_f_l): Likewise.
42628         (RUN_TEST_LOOP_f_l): Likewise.
42629         (RUN_TEST_f_L): Likewise.
42630         (RUN_TEST_LOOP_f_L): Likewise.
42631         (RUN_TEST_sincos): Likewise.
42632         (RUN_TEST_LOOP_sincos): Likewise.
42634 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42636         [BZ #15480]
42637         [BZ #15485]
42638         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42639         main case of finite arguments, set rounding mode to FE_TONEAREST
42640         and discard exceptions.
42641         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42642         exceptions.
42643         (remainder_tonearest_test_data): New variable.
42644         (remainder_test_tonearest): New function.
42645         (remainder_towardzero_test_data): New variable.
42646         (remainder_test_towardzero): New function.
42647         (remainder_downward_test_data): New variable.
42648         (remainder_test_downward): New function.
42649         (remainder_upward_test_data): New variable.
42650         (remainder_test_upward): New function.
42651         (main): Call the new test functions.
42653         * math/libm-test.inc (struct test_f_f1_data): Remove field
42654         extra_init.
42655         (struct test_fF_f1_data): Likewise.
42656         (struct test_ffI_f1_data): Likewise.
42657         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42658         based on value of EXTRA_EXPECTED.
42659         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42660         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42661         EXTRA_VAR based on value of EXTRA_EXPECTED.
42662         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42663         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42664         EXTRA_VAR based on value of EXTRA_EXPECTED.
42665         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42666         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42667         EXTRA_VAR based on value of EXTRA_EXPECTED.
42668         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42669         * math/gen-libm-test.pl (parse_args): Don't output initializers
42670         for extra output values.
42672         * math/libm-test.inc (check_int): Expect result to be exactly
42673         equal to expected value and do not handle ulps.
42674         (check_long): Likewise.
42675         (check_longlong): Likewise.
42677         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42678         exceptions.
42679         (cimag_test_data): Likewise.
42680         (conj_test_data): Likewise.
42681         (copysign_test_data): Likewise.
42682         (cproj_test_data): Likewise.
42683         (creal_test_data): Likewise.
42684         (fabs_test_data): Likewise.
42685         (fdim_test_data): Likewise.
42686         (finite_test_data): Likewise.
42687         (floor_test_data): Likewise.
42688         (fmax_test_data): Likewise.
42689         (fmin_test_data): Likewise.
42690         (fmod_test_data): Likewise.
42691         (fpclassify_test_data): Likewise.
42692         (frexp_test_data): Likewise.
42693         (ilogb_test_data): Likewise.
42694         (isfinite_test_data): Likewise.
42695         (isgreater_test_data): Likewise.
42696         (isgreaterequal_test_data): Likewise.
42697         (isinf_test_data): Likewise.
42698         (isless_test_data): Likewise.
42699         (islessequal_test_data): Likewise.
42700         (islessgreater_test_data): Likewise.
42701         (isnan_test_data): Likewise.
42702         (isnormal_test_data): Likewise.
42703         (issignaling_test_data): Likewise.
42704         (isunordered_test_data): Likewise.
42705         (ldexp_test_data): Likewise.
42706         (lrint_test_data): Likewise.
42707         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42708         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42709         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42710         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42711         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42712         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42713         test input.
42714         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42715         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42716         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42717         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42718         that test input.
42719         (lrint_downward_test_data): Test for "inexact" exceptions.
42720         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42721         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42722         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42723         test input.
42724         (lrint_upward_test_data): Test for "inexact" exceptions.
42725         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42726         test input.
42727         (llrint_test_data): Test for "inexact" exceptions.
42728         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42729         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42730         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42731         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42732         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42733         (llrint_downward_test_data): Test for "inexact" exceptions.
42734         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42735         (llrint_upward_test_data): Test for "inexact" exceptions.
42736         (logb_test_data): Likewise.
42737         (logb_downward_test_data): Likewise.
42738         (nextafter_test_data): Likewise.
42739         (nexttoward_test_data): Likewise.
42740         (remainder_test_data): Likewise.
42741         (remquo_test_data): Likewise.
42742         (scalbn_test_data): Likewise.
42743         (scalbln_test_data): Likewise.
42744         (signbit_test_data): Likewise.
42745         (sqrt_test_data): Likewise.
42746         (significand_test_data): Likewise.
42748 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42750         [BZ #15424]
42751         * benchtests/bench-modf.c (struct args): Mark arg0 as
42752         volatile.
42753         * scripts/bench.pl: Mark members of struct args as volatile.
42755 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42757         [BZ # 15497]
42758         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42759         negative infinity on POWER6 or lower.
42760         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42762 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42764         [BZ #15442]
42765         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42766         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42767         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42768         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42769         (_FP_SETQNAN): New macro.
42770         (_FP_SETQNAN_SEMIRAW): Likewise.
42771         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42772         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42773         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42774         (FP_EXTEND): Use _FP_FRAC_SNANP.
42775         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42776         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42777         into account.
42778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42779         New macro.
42780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42781         Likewise.
42783 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42785         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42786         with DIVIDE_BY_ZERO_EXCEPTION.
42787         (gamma_test_data): Likewise.
42788         (lgamma_test_data): Likewise.
42789         (log_test_data): Likewise.
42790         (log10_test_data): Likewise.
42791         (log2_test_data): Likewise.
42792         (tgamma_test_data): Likewise.
42794         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42795         (acos_test_tonearest): Likewise.
42796         (acos_test_towardzero): Likewise.
42797         (acos_test_downward): Likewise.
42798         (acos_test_upward): Likewise.
42799         (acosh_test): Likewise.
42800         (asin_test): Likewise.
42801         (asin_test_tonearest): Likewise.
42802         (asin_test_towardzero): Likewise.
42803         (asin_test_downward): Likewise.
42804         (asin_test_upward): Likewise.
42805         (asinh_test): Likewise.
42806         (atan_test): Likewise.
42807         (atanh_test): Likewise.
42808         (atan2_test): Likewise.
42809         (cabs_test): Likewise.
42810         (cacos_test): Likewise.
42811         (cacosh_test): Likewise.
42812         (casin_test): Likewise.
42813         (casinh_test): Likewise.
42814         (catan_test): Likewise.
42815         (catanh_test): Likewise.
42816         (cbrt_test): Likewise.
42817         (ccos_test): Likewise.
42818         (ccosh_test): Likewise.
42819         (cexp_test): Likewise.
42820         (clog_test): Likewise.
42821         (clog10_test): Likewise.
42822         (cos_test): Likewise.
42823         (cos_test_tonearest): Likewise.
42824         (cos_test_towardzero): Likewise.
42825         (cos_test_downward): Likewise.
42826         (cos_test_upward): Likewise.
42827         (cosh_test): Likewise.
42828         (cosh_test_tonearest): Likewise.
42829         (cosh_test_towardzero): Likewise.
42830         (cosh_test_downward): Likewise.
42831         (cosh_test_upward): Likewise.
42832         (cpow_test): Likewise.
42833         (csin_test): Likewise.
42834         (csinh_test): Likewise.
42835         (csqrt_test): Likewise.
42836         (ctan_test): Likewise.
42837         (ctan_test_tonearest): Likewise.
42838         (ctan_test_towardzero): Likewise.
42839         (ctan_test_downward): Likewise.
42840         (ctan_test_upward): Likewise.
42841         (ctanh_test): Likewise.
42842         (ctanh_test_tonearest): Likewise.
42843         (ctanh_test_towardzero): Likewise.
42844         (ctanh_test_downward): Likewise.
42845         (ctanh_test_upward): Likewise.
42846         (erf_test): Likewise.
42847         (erfc_test): Likewise.
42848         (exp_test): Likewise.
42849         (exp_test_tonearest): Likewise.
42850         (exp_test_towardzero): Likewise.
42851         (exp_test_downward): Likewise.
42852         (exp_test_upward): Likewise.
42853         (exp10_test): Likewise.
42854         (exp2_test): Likewise.
42855         (expm1_test): Likewise.
42856         (fmod_test): Likewise.
42857         (gamma_test): Likewise.
42858         (hypot_test): Likewise.
42859         (j0_test): Likewise.
42860         (j1_test): Likewise.
42861         (jn_test): Likewise.
42862         (lgamma_test): Likewise.
42863         (log_test): Likewise.
42864         (log10_test): Likewise.
42865         (log1p_test): Likewise.
42866         (log2_test): Likewise.
42867         (logb_test_downward): Likewise.
42868         (pow_test): Likewise.
42869         (pow_test_tonearest): Likewise.
42870         (pow_test_towardzero): Likewise.
42871         (pow_test_downward): Likewise.
42872         (pow_test_upward): Likewise.
42873         (remainder_test): Likewise.
42874         (remquo_test): Likewise.
42875         (sin_test): Likewise.
42876         (sin_test_tonearest): Likewise.
42877         (sin_test_towardzero): Likewise.
42878         (sin_test_downward): Likewise.
42879         (sin_test_upward): Likewise.
42880         (sincos_test): Likewise.
42881         (sinh_test): Likewise.
42882         (sinh_test_tonearest): Likewise.
42883         (sinh_test_towardzero): Likewise.
42884         (sinh_test_downward): Likewise.
42885         (sinh_test_upward): Likewise.
42886         (sqrt_test): Likewise.
42887         (tan_test): Likewise.
42888         (tan_test_tonearest): Likewise.
42889         (tan_test_towardzero): Likewise.
42890         (tan_test_downward): Likewise.
42891         (tan_test_upward): Likewise.
42892         (tanh_test): Likewise.
42893         (tgamma_test): Likewise.
42894         (y0_test): Likewise.
42895         (y1_test): Likewise.
42896         (yn_test): Likewise.
42898         * math/gen-libm-test.pl (adjust_arg): Remove function.
42899         (special_function): Remove argument $in_func.  Only handle
42900         generating output for tables of tests, not inside functions.
42901         (parse_args): Likewise.
42902         (generate_testfile): Remove variable $in_func.  Update call to
42903         parse_args.
42904         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42905         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42906         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42907         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42908         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42909         (MAX_VALUE_INIT): Rename macro to max_value.
42910         (MIN_VALUE_INIT): Rename macro to min_value.
42911         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42912         (plus_zero): Remove variable.
42913         (minus_zero): Likewise.
42914         (plus_infty): Likewise.
42915         (minus_infty): Likewise.
42916         (qnan_value): Likewise.
42917         (max_value): Likewise.
42918         (min_value): Likewise.
42919         (min_subnorm_value): Likewise.
42921 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42923         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42924         uint64_t or uint32_t usage.
42925         * crypt/sha256-block.c: Likewise.
42926         * crypt/sha256-crypt.c: Likewise.
42927         * crypt/sha256.c: Likewise.
42928         * crypt/sha512-block.c: Likewise.
42929         * crypt/sha512-crypt.c: Likewise.
42930         * crypt/sha512.c: Likewise.
42931         * debug/backtrace-tst.c: Likewise.
42932         * debug/pcprofiledump.c: Likewise.
42933         * elf/cache.c: Likewise.
42934         * elf/dl-cache.c: Likewise.
42935         * elf/dl-misc.c: Likewise.
42936         * elf/dl-profile.c: Likewise.
42937         * elf/dl-support.c: Likewise.
42938         * elf/ldconfig.c: Likewise.
42939         * elf/sprof.c: Likewise.
42940         * iconv/dummy-repertoire.c: Likewise.
42941         * iconv/iconv_charmap.c: Likewise.
42942         * iconv/skeleton.c: Likewise.
42943         * iconvdata/8bit-generic.c: Likewise.
42944         * iconvdata/cp737.h: Likewise.
42945         * iconvdata/cp775.h: Likewise.
42946         * iconvdata/ibm1008.h: Likewise.
42947         * iconvdata/ibm1025.h: Likewise.
42948         * iconvdata/ibm1046.h: Likewise.
42949         * iconvdata/ibm1097.h: Likewise.
42950         * iconvdata/ibm1112.h: Likewise.
42951         * iconvdata/ibm1122.h: Likewise.
42952         * iconvdata/ibm1123.h: Likewise.
42953         * iconvdata/ibm1124.h: Likewise.
42954         * iconvdata/ibm1129.h: Likewise.
42955         * iconvdata/ibm1130.h: Likewise.
42956         * iconvdata/ibm1132.h: Likewise.
42957         * iconvdata/ibm1133.h: Likewise.
42958         * iconvdata/ibm1137.h: Likewise.
42959         * iconvdata/ibm1140.h: Likewise.
42960         * iconvdata/ibm1141.h: Likewise.
42961         * iconvdata/ibm1142.h: Likewise.
42962         * iconvdata/ibm1143.h: Likewise.
42963         * iconvdata/ibm1144.h: Likewise.
42964         * iconvdata/ibm1145.h: Likewise.
42965         * iconvdata/ibm1146.h: Likewise.
42966         * iconvdata/ibm1147.h: Likewise.
42967         * iconvdata/ibm1148.h: Likewise.
42968         * iconvdata/ibm1149.h: Likewise.
42969         * iconvdata/ibm1153.h: Likewise.
42970         * iconvdata/ibm1154.h: Likewise.
42971         * iconvdata/ibm1155.h: Likewise.
42972         * iconvdata/ibm1156.h: Likewise.
42973         * iconvdata/ibm1157.h: Likewise.
42974         * iconvdata/ibm1158.h: Likewise.
42975         * iconvdata/ibm1160.h: Likewise.
42976         * iconvdata/ibm1161.h: Likewise.
42977         * iconvdata/ibm1162.h: Likewise.
42978         * iconvdata/ibm1163.h: Likewise.
42979         * iconvdata/ibm1164.h: Likewise.
42980         * iconvdata/ibm1166.h: Likewise.
42981         * iconvdata/ibm1167.h: Likewise.
42982         * iconvdata/ibm12712.h: Likewise.
42983         * iconvdata/ibm1390.h: Likewise.
42984         * iconvdata/ibm1399.h: Likewise.
42985         * iconvdata/ibm16804.h: Likewise.
42986         * iconvdata/ibm4517.h: Likewise.
42987         * iconvdata/ibm4899.h: Likewise.
42988         * iconvdata/ibm4909.h: Likewise.
42989         * iconvdata/ibm4971.h: Likewise.
42990         * iconvdata/ibm5347.h: Likewise.
42991         * iconvdata/ibm803.h: Likewise.
42992         * iconvdata/ibm856.h: Likewise.
42993         * iconvdata/ibm901.h: Likewise.
42994         * iconvdata/ibm902.h: Likewise.
42995         * iconvdata/ibm9030.h: Likewise.
42996         * iconvdata/ibm9066.h: Likewise.
42997         * iconvdata/ibm921.h: Likewise.
42998         * iconvdata/ibm922.h: Likewise.
42999         * iconvdata/ibm9448.h: Likewise.
43000         * iconvdata/isiri-3342.h: Likewise.
43001         * iconvdata/jis0201.h: Likewise.
43002         * include/link.h: Likewise.
43003         * include/netdb.h: Likewise.
43004         * inet/check_native.c: Likewise.
43005         * inet/check_pf.c: Likewise.
43006         * inet/getipv4sourcefilter.c: Likewise.
43007         * inet/getnameinfo.c: Likewise.
43008         * inet/getsourcefilter.c: Likewise.
43009         * inet/htonl.c: Likewise.
43010         * inet/setipv4sourcefilter.c: Likewise.
43011         * inet/setsourcefilter.c: Likewise.
43012         * inet/test-inet6_opt.c: Likewise.
43013         * inet/tst-network.c: Likewise.
43014         * locale/C-collate.c: Likewise.
43015         * locale/C-ctype.c: Likewise.
43016         * locale/C-time.c: Likewise.
43017         * locale/C-translit.h: Likewise.
43018         * locale/loadarchive.c: Likewise.
43019         * locale/programs/3level.h: Likewise.
43020         * locale/programs/charmap.c: Likewise.
43021         * locale/programs/charmap.h: Likewise.
43022         * locale/programs/ld-address.c: Likewise.
43023         * locale/programs/ld-collate.c: Likewise.
43024         * locale/programs/ld-ctype.c: Likewise.
43025         * locale/programs/ld-identification.c: Likewise.
43026         * locale/programs/ld-measurement.c: Likewise.
43027         * locale/programs/ld-messages.c: Likewise.
43028         * locale/programs/ld-monetary.c: Likewise.
43029         * locale/programs/ld-name.c: Likewise.
43030         * locale/programs/ld-numeric.c: Likewise.
43031         * locale/programs/ld-paper.c: Likewise.
43032         * locale/programs/ld-telephone.c: Likewise.
43033         * locale/programs/ld-time.c: Likewise.
43034         * locale/programs/linereader.c: Likewise.
43035         * locale/programs/locale.c: Likewise.
43036         * locale/programs/locarchive.c: Likewise.
43037         * locale/programs/locfile.h: Likewise.
43038         * locale/programs/repertoire.c: Likewise.
43039         * locale/programs/simple-hash.c: Likewise.
43040         * locale/programs/simple-hash.h: Likewise.
43041         * malloc/memusage.c: Likewise.
43042         * malloc/memusagestat.c: Likewise.
43043         * nis/nis_defaults.c: Likewise.
43044         * nis/nis_hash.c: Likewise.
43045         * nis/nis_print.c: Likewise.
43046         * nis/nis_xdr.c: Likewise.
43047         * nscd/connections.c: Likewise.
43048         * nscd/hstcache.c: Likewise.
43049         * nscd/nscd_gethst_r.c: Likewise.
43050         * nscd/nscd_getserv_r.c: Likewise.
43051         * nscd/nscd_helper.c: Likewise.
43052         * nscd/servicescache.c: Likewise.
43053         * nss/makedb.c: Likewise.
43054         * nss/nss_db/db-XXX.c: Likewise.
43055         * nss/nss_db/db-initgroups.c: Likewise.
43056         * nss/nss_db/db-netgrp.c: Likewise.
43057         * nss/nss_files/files-network.c: Likewise.
43058         * nss/nss_files/files-parse.c: Likewise.
43059         * posix/bug-regex5.c: Likewise.
43060         * posix/fnmatch_loop.c: Likewise.
43061         * posix/regcomp.c: Likewise.
43062         * posix/regexec.c: Likewise.
43063         * posix/tst-rfc3484-2.c: Likewise.
43064         * posix/tst-rfc3484-3.c: Likewise.
43065         * posix/tst-rfc3484.c: Likewise.
43066         * resolv/nss_dns/dns-canon.c: Likewise.
43067         * resolv/nss_dns/dns-network.c: Likewise.
43068         * resolv/res_init.c: Likewise.
43069         * resolv/res_mkquery.c: Likewise.
43070         * resolv/tst-aton.c: Likewise.
43071         * stdlib/cxa_atexit.c: Likewise.
43072         * stdlib/cxa_finalize.c: Likewise.
43073         * stdlib/gen-fpioconst.c: Likewise.
43074         * stdlib/strtol_l.c: Likewise.
43075         * string/tst-endian.c: Likewise.
43076         * sunrpc/auth_des.c: Likewise.
43077         * sunrpc/clnt_udp.c: Likewise.
43078         * sunrpc/rtime.c: Likewise.
43079         * sunrpc/svcauth_des.c: Likewise.
43080         * sunrpc/xdr.c: Likewise.
43081         * sunrpc/xdr_intXX_t.c: Likewise.
43082         * sunrpc/xdr_rec.c: Likewise.
43083         * sysdeps/generic/ldconfig.h: Likewise.
43084         * sysdeps/generic/ldsodefs.h: Likewise.
43085         * sysdeps/generic/memusage.h: Likewise.
43086         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43087         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43088         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43090         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43092         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43094         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43096         * sysdeps/posix/getaddrinfo.c: Likewise.
43097         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43098         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43099         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43100         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43101         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43102         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43103         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43104         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43105         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43106         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43107         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43108         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43109         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43110         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43111         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43112         * sysdeps/x86_64/dl-tls.h: Likewise.
43113         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43114         * time/alt_digit.c: Likewise.
43115         * time/era.c: Likewise.
43116         * wcsmbs/tst-c16c32-1.c: Likewise.
43118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43120         * math/libm-test.inc (struct test_sincos_data): New type.
43121         (RUN_TEST_LOOP_sincos): New macro.
43122         (sincos_test_data): New variable.
43123         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43125 2013-05-16  Richard Henderson  <rth@redhat.com>
43127         * math/atest-exp2.c (LIMB64): New macro.
43128         (CONSTSZ): New macro.
43129         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43130         (hexdig): Move ...
43131         (print_mpn_fp): ... to function scope.
43132         (read_mpn_hex): Remove.
43133         (get_log2): Remove.
43134         (exp2_mpn): Use mp_log2.
43135         (main): Use mp_exp1.
43137 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43139         * math/libm-test.inc: Remove comment about not testing "inexact"
43140         exceptions.
43141         (INEXACT_EXCEPTION): New macro.
43142         (NO_INEXACT_EXCEPTION): Likewise.
43143         (INVALID_EXCEPTION_OK): Update value.
43144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43145         (OVERFLOW_EXCEPTION_OK): Likewise.
43146         (UNDERFLOW_EXCEPTION_OK): Likewise.
43147         (IGNORE_ZERO_INF_SIGN): Likewise.
43148         (ERRNO_UNCHANGED): Likewise.
43149         (ERRNO_EDOM): Likewise.
43150         (ERRNO_ERANGE): Likewise.
43151         (test_exceptions): Handle testing "inexact" exceptions.
43152         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43153         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43154         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43155         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43156         INEXACT_EXCEPTION.
43157         (rint_towardzero_test_data): Likewise.
43158         (rint_downward_test_data): Likewise.
43159         (rint_upward_test_data): Likewise.
43161         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43162         with OVERFLOW_EXCEPTION.
43163         (exp10_test_data): Likewise.
43164         (exp2_test_data): Likewise.
43165         (expm1_test_data): Likewise.
43166         (lgamma_test_data): Likewise.
43167         (pow_test_data): Likewise.
43168         (tgamma_test_data): Likewise.
43169         (yn_test_data): Remove duplicate test of overflow.
43171         * math/libm-test.inc (struct test_cc_c_data): New type.
43172         (RUN_TEST_LOOP_cc_c): New macro.
43173         (cpow_test_data): New variable.
43174         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43176         * math/libm-test.inc (struct test_f_L_data): New type.
43177         (RUN_TEST_LOOP_f_L): New macro.
43178         (llrint_test_data): New variable.
43179         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43180         (llrint_tonearest_test_data): New variable.
43181         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43182         (llrint_towardzero_test_data): New variable.
43183         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43184         (llrint_downward_test_data): New variable.
43185         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43186         (llrint_upward_test_data): New variable.
43187         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43188         (llround_test_data): New variable.
43189         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43191 2013-05-13  Peter Collingbourne  <pcc@google.com>
43193         * math/atest-exp2.c (get_log2): Remove const attribute.
43195 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43197         * math/libm-test.inc (struct test_f_l_data): New type.
43198         (RUN_TEST_LOOP_f_l): New macro.
43199         (lrint_test_data): New variable.
43200         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43201         (lrint_tonearest_test_data): New variable.
43202         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43203         (lrint_towardzero_test_data): New variable.
43204         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43205         (lrint_downward_test_data): New variable.
43206         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43207         (lrint_upward_test_data): New variable.
43208         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43209         (lround_test_data): New variable.
43210         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43212 2013-05-15  Peter Collingbourne  <pcc@google.com>
43214         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43215         (EXTRACT_WORDS64) Use where appropriate.
43216         (INSERT_WORDS64) Likewise.
43218         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43219         constraints with x constraints.
43220         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43222         * malloc/obstack.c (_obstack_compat): Add initializer.
43224 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43226         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43227         si_trapno and add si_addr_lsb to _sifields.sigfault.
43228         (si_trapno): Remove macro.
43229         (si_addr_lsb): Define new macro.
43230         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43232 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43234         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43235         instead of TEST_f_l.
43236         (llrint_test_tonearest): Likewise.
43237         (llrint_test_towardzero): Likewise.
43238         (llrint_test_downward): Likewise.
43239         (llrint_test_upward): Likewise.
43240         (llround_test): Likewise.
43242         * math/libm-test.inc (struct test_f_i_data): Add comment.
43243         (RUN_TEST_LOOP_f_b): New macro.
43244         (RUN_TEST_LOOP_f_b_tg): Likewise.
43245         (finite_test_data): New variable.
43246         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43247         (isfinite_test_data): New variable.
43248         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43249         (isinf_test_data): New variable.
43250         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43251         (isnan_test_data): New variable.
43252         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43253         (isnormal_test_data): New variable.
43254         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43255         (issignaling_test_data): New variable.
43256         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43257         (signbit_test_data): New variable.
43258         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43260         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43261         with INVALID_EXCEPTION.
43262         (acosh_test_data): Likewise.
43263         (asin_test_data): Likewise.
43264         (atanh_test_data): Likewise.
43265         (fmod_test_data): Likewise.
43266         (log_test_data): Likewise.
43267         (log10_test_data): Likewise.
43268         (log2_test_data): Likewise.
43269         (pow_test_data): Likewise.
43270         (sqrt_test_data): Likewise.
43271         (y0_test_data): Likewise.
43272         (y1_test_data): Likewise.
43273         (yn_test_data): Likewise.
43275         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43276         function contents.
43278         * math/libm-test.inc (struct test_ff_i_data): New type.
43279         (RUN_TEST_LOOP_ff_i_tg): New macro.
43280         (isgreater_test_data): New variable.
43281         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43282         (isgreaterequal_test_data): New variable.
43283         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43284         (isless_test_data): New variable.
43285         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43286         (islessequal_test_data): New variable.
43287         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43288         (islessgreater_test_data): New variable.
43289         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43290         (isunordered_test_data): New variable.
43291         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43293 2013-05-14  David S. Miller  <davem@davemloft.net>
43295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43297 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43299         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43301         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43302         extra_test to int.
43303         (struct test_f_i_data): Change type of max_ulp to int.
43305         * math/libm-test.inc (test_ffI_f1_data): New type.
43306         (RUN_TEST_LOOP_ffI_f1): New macro.
43307         (remquo_test_data): New variable.
43308         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43310         * setjmp/tst-setjmp-fp.c: New file.
43311         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43312         (link-libm): New variable.
43313         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43315         * math/libm-test.inc (struct test_f_i_data): New type.
43316         (RUN_TEST_LOOP_f_i): New macro.
43317         (RUN_TEST_LOOP_f_i_tg): Likewise.
43318         (fpclassify_test_data): New variable.
43319         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43320         (ilogb_test_data): New variable.
43321         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43323         * math/libm-test.inc (scalbln_test): Correct function name in END
43324         call.
43326         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43327         (RUN_TEST_LOOP_fI_f1): New macro.
43328         (frexp_test_data): New variable.
43329         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43331         * math/libm-test.inc (struct test_fF_f1_data): New type.
43332         (RUN_TEST_LOOP_fF_f1): New macro.
43333         (modf_test_data): New variable.
43334         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43336         * math/libm-test.inc (struct test_f_f1_data): New type.
43337         (RUN_TEST_LOOP_f_f1): New macro.
43338         (gamma_test_data): New variable.
43339         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43340         (lgamma_test_data): New variable.
43341         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43343 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43346         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43347         (main): Comment "tls" pseudo-hwcap.
43349 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43351         * math/libm-test.inc (struct test_fl_f_data): New type.
43352         (RUN_TEST_LOOP_fl_f): New variable.
43353         (scalbln_test_data): New variable.
43354         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43356         * math/libm-test.inc (struct test_fi_f_data): New type.
43357         (RUN_TEST_LOOP_fi_f): New macro.
43358         (ldexp_test_data): New variable.
43359         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43360         (scalbn_test_data): New variable.
43361         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43363         * math/libm-test.inc (struct test_c_f_data): New type.
43364         (RUN_TEST_LOOP_c_f): New macro.
43365         (cabs_test_data): New variable.
43366         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43367         (carg_test_data): New variable.
43368         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43369         (cimag_test_data): New variable.
43370         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43371         (creal_test_data): New variable.
43372         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43374         * math/libm-test.inc (struct test_if_f_data): New type.
43375         (RUN_TEST_LOOP_if_f): New macro.
43376         (jn_test_data): New variable.
43377         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43378         (yn_test_data): New variable.
43379         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43381         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43383 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43385         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43386         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43388 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43390         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43391         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43392         (bench-deps): Add bench-timing.h.
43393         * benchtests-bench-skeleton.c: Include bench-timing.h.
43394         (main): Use TIMING_* macros instead of clock_gettime.
43395         * benchtests/bench-timing.h: New file.
43397         [BZ #14582]
43398         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43399         Renamed from _LIB_VERSION.
43400         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43402 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43404         * math/libm-test.inc (struct test_fff_f_data): New type.
43405         (RUN_TEST_LOOP_fff_f): New macro.
43406         (fma_test_data): New variable.
43407         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43408         (fma_towardzero_test_data): New variable.
43409         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43410         (fma_downward_test_data): New variable.
43411         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43412         (fma_upward_test_data): New variable.
43413         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43415         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43416         (struct test_c_c_data): New type.
43417         (RUN_TEST_LOOP_c_c): New macro.
43418         (cacos_test_data): New variable.
43419         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43420         (cacosh_test_data): New variable.
43421         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43422         (casin_test_data): New variable.
43423         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43424         (casinh_test_data): New variable.
43425         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43426         (catan_test_data): New variable.
43427         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43428         (catanh_test_data): New variable.
43429         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43430         (ccos_test_data): New variable.
43431         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43432         (ccosh_test_data): New variable.
43433         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43434         (cexp_test_data): New variable.
43435         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43436         (clog_test_data): New variable.
43437         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43438         (clog10_test_data): New variable.
43439         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43440         (conj_test_data): New variable.
43441         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43442         (cproj_test_data): New variable.
43443         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43444         (csin_test_data): New variable.
43445         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43446         (csinh_test_data): New variable.
43447         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43448         (csqrt_test_data): New variable.
43449         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43450         (ctan_test_data): New variable.
43451         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43452         (ctan_tonearest_test_data): New variable.
43453         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43454         (ctan_towardzero_test_data): New variable.
43455         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43456         (ctan_downward_test_data): New variable.
43457         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43458         (ctan_upward_test_data): New variable.
43459         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43460         (ctanh_test_data): New variable.
43461         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43462         (ctanh_tonearest_test_data): New variable.
43463         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43464         (ctanh_towardzero_test_data): New variable.
43465         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43466         (ctanh_downward_test_data): New variable.
43467         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43468         (ctanh_upward_test_data): New variable.
43469         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43470         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43471         of BUILD_COMPLEX.
43473         * math/libm-test.inc (struct test_ff_f_data): New type.
43474         (struct test_ff_f_data_nexttoward): Likewise.
43475         (RUN_TEST_LOOP_2_f): New macro.
43476         (RUN_TEST_LOOP_ff_f): Likewise.
43477         (atan2_test_data): New variable.
43478         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43479         (copysign_test_data): New variable.
43480         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43481         (fdim_test_data): New variable.
43482         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43483         (fmax_test_data): New variable.
43484         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43485         (fmin_test_data): New variable.
43486         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43487         (fmod_test_data): New variable.
43488         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43489         (hypot_test_data): New variable.
43490         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43491         (nextafter_test_data): New variable.
43492         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43493         (nexttoward_test_data): New variable.
43494         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43495         (pow_test_data): New variable.
43496         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43497         (pow_tonearest_test_data): New variable.
43498         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43499         (pow_towardzero_test_data): New variable.
43500         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43501         (pow_downward_test_data): New variable.
43502         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43503         (pow_upward_test_data): New variable.
43504         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43505         (remainder_test_data): New variable.
43506         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43507         (scalb_test_data): New variable.
43508         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43509         * sysdeps/i386/fpu/libm-test-ulps: Update.
43511 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43513         * math/libm-test.inc (fma_test): Use max_value instead of local
43514         variable fltmax.
43515         (nextafter_test): Likewise.
43517         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43518         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43519         (acos_downward_test_data): New variable.
43520         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43521         (acos_upward_test_data): New variable.
43522         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43523         (acosh_test_data): New variable.
43524         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43525         (asin_test_data): New variable.
43526         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43527         (asin_tonearest_test_data): New variable.
43528         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43529         (asin_towardzero_test_data): New variable.
43530         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43531         (asin_downward_test_data): New variable.
43532         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43533         (asin_upward_test_data): New variable.
43534         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43535         (asinh_test_data): New variable.
43536         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43537         (atan_test_data): New variable.
43538         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43539         (atanh_test_data): New variable.
43540         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43541         (cbrt_test_data): New variable.
43542         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43543         (ceil_test_data): New variable.
43544         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43545         (cos_test_data): New variable.
43546         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43547         (cos_tonearest_test_data): New variable.
43548         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43549         (cos_towardzero_test_data): New variable.
43550         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43551         (cos_downward_test_data): New variable.
43552         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43553         (cos_upward_test_data): New variable.
43554         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43555         (cosh_test_data): New variable.
43556         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43557         (cosh_tonearest_test_data): New variable.
43558         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43559         (cosh_towardzero_test_data): New variable.
43560         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43561         (cosh_downward_test_data): New variable.
43562         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43563         (cosh_upward_test_data): New variable.
43564         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43565         (erf_test_data): New variable.
43566         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43567         (erfc_test_data): New variable.
43568         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43569         (exp_test_data): New variable.
43570         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43571         (exp_tonearest_test_data): New variable.
43572         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43573         (exp_towardzero_test_data): New variable.
43574         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43575         (exp_downward_test_data): New variable.
43576         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43577         (exp_upward_test_data): New variable.
43578         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43579         (exp10_test_data): New variable.
43580         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43581         (exp2_test_data): New variable.
43582         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43583         (expm1_test_data): New variable.
43584         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43585         (fabs_test_data): New variable.
43586         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43587         (floor_test_data): New variable.
43588         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43589         (j0_test_data): New variable.
43590         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43591         (j1_test_data): New variable.
43592         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43593         (log_test_data): New variable.
43594         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43595         (log10_test_data): New variable.
43596         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43597         (log1p_test_data): New variable.
43598         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43599         (log2_test_data): New variable.
43600         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43601         (logb_test_data): New variable.
43602         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43603         (logb_downward_test_data): New variable.
43604         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43605         (nearbyint_test_data): New variable.
43606         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43607         (rint_test_data): New variable.
43608         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43609         (rint_tonearest_test_data): New variable.
43610         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43611         (rint_towardzero_test_data): New variable.
43612         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43613         (rint_downward_test_data): New variable.
43614         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43615         (rint_upward_test_data): New variable.
43616         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43617         (round_test_data): New variable.
43618         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43619         (sin_test_data): New variable.
43620         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43621         (sin_tonearest_test_data): New variable.
43622         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43623         (sin_towardzero_test_data): New variable.
43624         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43625         (sin_downward_test_data): New variable.
43626         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43627         (sin_upward_test_data): New variable.
43628         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43629         (sinh_test_data): New variable.
43630         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43631         (sinh_tonearest_test_data): New variable.
43632         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43633         (sinh_towardzero_test_data): New variable.
43634         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43635         (sinh_downward_test_data): New variable.
43636         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43637         (sinh_upward_test_data): New variable.
43638         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43639         (sqrt_test_data): New variable.
43640         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43641         (tan_test_data): New variable.
43642         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43643         (tan_tonearest_test_data): New variable.
43644         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43645         (tan_towardzero_test_data): New variable.
43646         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43647         (tan_downward_test_data): New variable.
43648         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43649         (tan_upward_test_data): New variable.
43650         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43651         (tanh_test_data): New variable.
43652         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43653         (tgamma_test_data): New variable.
43654         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43655         (trunc_test_data): New variable.
43656         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43657         (y0_test_data): New variable.
43658         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43659         (y1_test_data): New variable.
43660         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43661         (significand_test_data): New variable.
43662         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43664 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43666         [BZ #12387]
43667         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43669 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43671         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43673 2013-05-10  Andreas Jaeger  <aj@suse.de>
43675         [BZ #15448]
43676         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43677         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43679 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43681         * math/gen-libm-test.pl (adjust_arg): New function.
43682         (special_functions): Handle generating output in both functions
43683         and arrays.
43684         (parse_args): Likewise.
43685         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43686         $in_func argument to parse_args.
43687         * math/libm-test.inc (struct test_f_f_data): New type.
43688         (IF_ROUND_INIT_): New macro.
43689         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43690         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43691         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43692         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43693         (ROUND_RESTORE_): Likewise.
43694         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43695         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43696         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43697         (ROUND_RESTORE_FE_UPWARD): Likewise.
43698         (RUN_TEST_LOOP_f_f): New macro.
43699         (acos_test_data): New variable.
43700         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43701         (acos_tonearest_test_data): New variable.
43702         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43704 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43706         * benchtests/bench-skeleton.c (startup): Fix coding style.
43708 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43710         [BZ #6809]
43711         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43712         negative infinity argument.
43713         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43714         negative infinity argument.
43715         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43716         negative infinity argument.
43717         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43718         domain errors.
43720 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43722         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43723         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43724         * iconv/iconv_prog.c (main): Likewise.
43725         * locale/programs/charmap-dir.c (charmap_readdir)
43726         (fopen_uncompressed): Likewise.
43727         * locale/programs/locfile.c (siblings_uncached)
43728         (write_locale_data): Use lstat64 instead of lstat.
43729         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43730         stat.
43732 2013-05-10  Andreas Jaeger  <aj@suse.de>
43734         [BZ #15395]
43735         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43736         localization.
43737         Include <locale.h>.
43739 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43741         * elf/dl-close.c (_dl_close_worker): Add comments.
43743 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43745         [BZ #15359]
43746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43747         high part of pi/2.
43748         (__ieee754_rem_pio2l): Update comments.
43750         [BZ #15429]
43751         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43752         high part of pi/2.
43753         (__ieee754_rem_pio2l): Update comments.
43755         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43756         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43758         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43759         M_PI_4l.
43761         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43762         (M_PI_34_LOG10El): Likewise.
43763         (M_PI2_LOG10El): Likewise.
43764         (M_PI4_LOG10El): Likewise.
43765         (M_PI_LOG10El): Likewise.
43767 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43771 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43773         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43774         (MINUS_ZERO_INIT): Likewise.
43775         (PLUS_INFTY_INIT): Likewise.
43776         (MINUS_INFTY_INIT): Likewise.
43777         (QNAN_VALUE_INIT): Likewise.
43778         (MAX_VALUE_INIT): Likewise.
43779         (MIN_VALUE_INIT): Likewise.
43780         (MIN_SUBNORM_VALUE_INIT): Likewise.
43781         (plus_zero): Initialize with PLUS_ZERO_INIT.
43782         (minus_zero): Initialize with MINUS_ZERO_INIT.
43783         (plus_infty): Initialize with PLUS_INFTY_INIT.
43784         (minus_infty): Initialize with MINUS_INFTY_INIT.
43785         (qnan_value): Initialize with QNAN_VALUE_INIT.
43786         (max_value): Initialize with MAX_VALUE_INIT.
43787         (min_value): Initialize with MIN_VALUE_INIT.
43788         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43790         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43791         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43792         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43793         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43795         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43796         (RUN_TEST_2_f): Likewise.
43797         (RUN_TEST_ff_f): Likewise.
43798         (RUN_TEST_fi_f): Likewise.
43799         (RUN_TEST_fl_f): Likewise.
43800         (RUN_TEST_fff_f): Likewise.
43801         (RUN_TEST_c_f): Likewise.
43802         (RUN_TEST_f_f1): Likewise.
43803         (RUN_TEST_fF_f1): Likewise.
43804         (RUN_TEST_fI_f1): Likewise.
43805         (RUN_TEST_ffI_f1): Likewise.
43806         (RUN_TEST_c_c): Likewise.
43807         (RUN_TEST_cc_c): Likewise.
43808         (RUN_TEST_f_i): Likewise.
43809         (RUN_TEST_f_i_tg): Likewise.
43810         (RUN_TEST_ff_i_tg): Likewise.
43811         (RUN_TEST_f_b): Likewise.
43812         (RUN_TEST_f_b_tg): Likewise.
43813         (RUN_TEST_f_l): Likewise.
43814         (RUN_TEST_f_L): Likewise.
43815         (RUN_TEST_sincos): Likewise.
43816         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43817         whether to show exceptions.  Do not include ");\n" in return
43818         value.
43819         (special_functions): Output call to RUN_TEST_sincos instead of
43820         check_float calls.  Update calls to new_test.
43821         (parse_args): Output call to single RUN_TEST_* macro instead of
43822         check_* calls and other assignments.  Update calls to new_test.
43824         [BZ #2546]
43825         [BZ #2560]
43826         [BZ #5159]
43827         [BZ #15426]
43828         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43829         input to result for tgamma overflow.
43830         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43831         (gamma_coeff): New variable.
43832         (NCOEFF): New macro.
43833         (gamma_positive): New function.
43834         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43835         underflow here.  Use gamma_positive instead of exp (lgamma) for
43836         other arguments.
43837         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43838         (gamma_coeff): New variable.
43839         (NCOEFF): New macro.
43840         (gammaf_positive): New function.
43841         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43842         underflow here.  Use gamma_positive instead of exp (lgamma) for
43843         other arguments.
43844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43845         (gamma_coeff): New variable.
43846         (NCOEFF): New macro.
43847         (gammal_positive): New function.
43848         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43849         underflow here.  Use gamma_positive instead of exp (lgamma) for
43850         other arguments.
43851         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43852         (gamma_coeff): New variable.
43853         (NCOEFF): New macro.
43854         (gammal_positive): New function.
43855         (__ieee754_gammal_r): Handle positive infinity, overflow and
43856         underflow here.  Handle NaN the same as positive infinity.  Remove
43857         check x < 0xffffffff for negative integers.  Use gamma_positive
43858         instead of exp (lgamma) for other arguments.
43859         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43860         (gamma_coeff): New variable.
43861         (NCOEFF): New macro.
43862         (gammal_positive): New function.
43863         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43864         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43865         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43866         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43868         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43869         * sysdeps/generic/math_private.h (__gamma_productf): New
43870         prototype.
43871         (__gamma_product): Likewise.
43872         (__gamma_productl): Likewise.
43873         * math/Makefile (libm-calls): Add gamma_product.
43874         * math/libm-test.inc (tgamma_test): Add more tests.
43875         * sysdeps/i386/fpu/libm-test-ulps: Update.
43876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43878 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43880         * benchtests/bench-skeleton.c (main): Preheat CPU.
43882 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43884         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43886 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43888         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43889         and _dl_skip_args_internal.
43891 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43893         * manual/message.texi (Message Translation): Talk about users.
43894         Message to key mapping impacts design.
43896 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43898         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43900         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43902         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43903         * sysdeps/wordsize-64/glob64.c: ... here.
43905         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43906         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43907         New macros.
43909         * debug/getlogin_r_chk.c: Moved to ...
43910         * login/getlogin_r_chk.c: ... here.
43911         * debug/Makefile (routines): Move getlogin_r_chk to ...
43912         * login/Makefile (routines): ... here.
43913         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43914         * login/Versions (libc: GLIBC_2.4): ... here.
43916         * io/poll.c (__poll): Renamed from poll.
43917         Add libc_hidden_def.
43918         (poll): Define as weak alias.
43920         * debug/ptsname_r_chk.c: Moved to ...
43921         * login/ptsname_r_chk.c: ... here.
43922         * debug/Makefile (routines): Move ptsname_r_chk to ...
43923         * login/Makefile (routines): ... here.
43924         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43925         * login/Versions (libc: GLIBC_2.4): ... here.
43927         * posix/getlogin.c: Moved to ...
43928         * login/getlogin.c: ... here.
43929         * posix/getlogin_r.c: Moved to ...
43930         * login/getlogin_r.c: ... here.
43931         * posix/getlogin_r.c: Moved to ...
43932         * login/getlogin_r.c: ... here.
43933         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43934         * login/Makefile (routines): ... here.
43935         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43936         * login/Versions (libc: GLIBC_2.0): ... here.
43938         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43939         (setrlimit): Define as weak alias.
43941         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43942         Call __ names for open, ftruncate, and close.
43943         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43944         (truncate): Define as weak alias.
43946 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43948         * math/gen-libm-test.pl (parse_args): Initialize x before each
43949         test of frexp, modf and remquo.
43951         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43952         test signgam value.
43954 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43956         [BZ #15418]
43957         [BZ #15419]
43958         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43959         internal tests.
43960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43962 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43964         * elf/dl-writev.h: New file.
43965         * elf/dl-misc.c: Include it.
43966         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43967         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43969 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43971         * math/libm-test.inc (noXFails): Remove variable.
43972         (noXPasses): Likewise.
43973         (BUILD_COMPLEX_INT): Remove macro.
43974         (print_screen): Remove xfail argument.
43975         (print_screen_max_error): Likewise.
43976         (update_stats): Likewise.
43977         (print_max_error): Likewise.  Update calls to other affected
43978         functions.
43979         (print_complex_max_error): Likewise.
43980         (test_single_exception): Update calls to print_screen.
43981         (test_single_errno): Likewise.
43982         (check_float_internal): Remove xfail argument.  Update calls to
43983         other affected functions.
43984         (check_float): Likewise.
43985         (check_complex): Likewise.
43986         (check_int): Likewise.
43987         (check_long): Likewise.
43988         (check_bool): Likewise.
43989         (check_longlong): Likewise.
43990         (main): Don't print noXFails and noXPasses.
43991         * math/gen-libm-test.pl (top level): Don't mention expected
43992         failure handling in comment.
43993         (new_test): Don't handle expected failures.
43994         (parse_args): Don't mention expected failure handling in comment.
43995         (generate_testfile): Don't handle expected failures.
43996         (parse_ulps): Likewise.
43997         (print_ulps_file): Likewise.
43998         (get_failure): Remove function.
43999         (output_test): Don't handle expected failures.
44000         * make/README.libm-test: Don't mention expected failure handling.
44002         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44003         (minus_zero): Likewise.
44004         (plus_infty): Likewise.
44005         (minus_infty): Likewise.
44006         (qnan_value): Likewise.
44007         (max_value): Likewise.
44008         (min_value): Likewise.
44009         (min_subnorm_value): Likewise.
44010         (initialize): Do not initialize those variables dynamically.
44012 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44014         * io/open.c (__open_2): Moved to ...
44015         * io/open_2.c: ... this new file.
44016         * io/open64.c (__open64_2): Moved to ...
44017         * io/open64_2.c: ... this new file.
44018         * io/openat.c (__openat_2): Moved to ...
44019         * io/openat_2.c: ... this new file.
44020         * io/openat64.c (__openat64_2): Moved to ...
44021         * io/openat64_2.c: ... this new file.
44022         * io/Makefile (routines): Add them.
44023         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44024         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44025         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44026         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44027         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44028         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44029         (__openat64): Add hidden_ver.
44030         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44031         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44033         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44034         Separately conditionalize setting of GLRO(dl_sysinfo) so
44035         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44036         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44038 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44040         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44041         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44042         definition.
44043         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44044         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44045         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44046         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44047         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44049 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44051         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44052         test signgam value.
44054         * math/libm-test.inc (hypot_test): Do not use
44055         IGNORE_ZERO_INF_SIGN.
44057 2013-05-03  Andreas Jaeger  <aj@suse.de>
44059         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44060         Linux 3.9.
44061         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44062         (PF_MAX): Adjust for VSOCK change.
44064 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44068 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44070         [BZ #15264]
44071         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44072         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44073         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44075 2013-05-02  David S. Miller  <davem@davemloft.net>
44077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44079 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44081         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44083 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44085         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44087 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44089         [BZ #14952]
44090         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44091         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44092         Use __attribute__ ((__gnu_inline__)).
44093         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44094         Don't use __attribute__ ((__gnu_inline__)).
44096 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44098         [BZ #15423]
44099         * math/s_catan.c (__catan): Handle small real or imaginary part of
44100         input specially to avoid spurious underflow.
44101         * math/s_catanf.c (__catanf): Likewise.
44102         * math/s_catanh.c (__catanh): Likewise.
44103         * math/s_catanhf.c (__catanhf): Likewise.
44104         * math/s_catanhl.c (__catanhl): Likewise.
44105         * math/s_catanl.c (__catanl): Likewise.
44106         * math/libm-test.inc (catan_test): Add more tests.
44107         (catanh_test): Likewise.
44108         * sysdeps/i386/fpu/libm-test-ulps: Update.
44109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44111 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44115 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44117         [BZ #15416]
44118         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44119         accurately for denominator in atan2.
44120         * math/s_catanf.c (__catanf): Likewise.
44121         * math/s_catanh.c (__catanh): Likewise.
44122         * math/s_catanhf.c (__catanhf): Likewise.
44123         * math/s_catanhl.c (__catanhl): Likewise.
44124         * math/s_catanl.c (__catanl): Likewise.
44125         * math/libm-test.inc (catan_test): Add more tests.
44126         (catanh_test): Likewise.
44127         * sysdeps/i386/fpu/libm-test-ulps: Update.
44128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44130 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44132         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44134         * benchtests/Makefile (bench): Remove slow benchmarks.
44135         * benchtests/atan-inputs: Add slow benchmark inputs.
44136         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44137         (BENCH_FUNC): Accept variant offset.
44138         (VARIANT): Define.
44139         * benchtests/bench-skeleton.c (main): Run benchmark for each
44140         variant.
44141         * benchtests/cos-inputs: Add slow benchmark inputs.
44142         * benchtests/exp-inputs: Likewise.
44143         * benchtests/pow-inputs: Likewise.
44144         * benchtests/sin-inputs: Likewise.
44145         * benchtests/slowatan-inputs: Remove.
44146         * benchtests/slowatan.c: Remove.
44147         * benchtests/slowcos-inputs: Remove.
44148         * benchtests/slowcos.c: Remove.
44149         * benchtests/slowexp-inputs: Remove.
44150         * benchtests/slowexp.c: Remove.
44151         * benchtests/slowpow-inputs: Remove.
44152         * benchtests/slowpow.c: Remove.
44153         * benchtests/slowsin-inputs: Remove.
44154         * benchtests/slowsin.c: Remove.
44155         * benchtests/slowtan-inputs: Remove.
44156         * benchtests/slowtan.c: Remove.
44157         * benchtests/tan-inputs: Add slow benchmark inputs.
44158         * scripts/bench.pl: Parse comments and directives.
44160         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44161         in CPPFLAGS.
44162         ($(objpfx)bench-%.c): Remove *-ITER.
44163         * benchtests/bench-modf.c: Remove definition of ITER.
44164         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44165         (main): Loop for DURATION seconds instead of fixed number of
44166         iterations.
44167         * scripts/bench.pl: Don't expect iterations in parameters.
44169 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44171         * io/fchdir.c (__fchdir): Renamed from fchdir.
44172         (fchdir): Define as weak alias.
44174 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44176         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44177         (ERRNO_EDOM): Likewise.
44178         (ERRNO_ERANGE): Likewise.
44179         (noErrnoTests): New variable.
44180         (init_max_error): Set errno to 0.
44181         (test_single_errno): New function.
44182         (test_errno): Likewise.
44183         (check_float_internal): Call test_errno.  Set errno to 0.
44184         (check_complex): Refer to errno tests in comment.
44185         (check_int): Call test_errno.  Set errno to 0.
44186         (check_long): Likewise.
44187         (check_bool): Likewise.
44188         (check_longlong): Likewise.
44189         (cos_test): Use ERRNO_* flags for errno tests instead of
44190         check_int.
44191         (expm1_test): Likewise.
44192         (fmod_test): Likewise.
44193         (ilogb_test): Likewise.
44194         (lgamma_test): Likewise.
44195         (pow_test): Likewise.
44196         (remainder_test): Likewise.
44197         (sin_test): Likewise.
44198         (tan_test): Likewise.
44199         (yn_test): Likewise.
44200         (initialize): Set errno to 0.
44201         (main): Print number of errno tests.
44202         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44204 2013-04-29  Andreas Jaeger  <aj@suse.de>
44206         [BZ #15084]
44207         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44208         and RES_USEVC.
44210         [BZ #15085]
44211         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44212         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44213         unimplemented.
44215         [BZ #15380]
44216         * stdlib/random.c (__initstate): Return NULL if
44217         __initstate fails.
44219         [BZ #15086]
44220         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44221         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44222         RES_SNGLKUPREOP.
44224 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44228 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44230         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44231         of individual tests.
44232         (casin_test): Likewise.
44233         (casinh_test): Likewise.
44235 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44237         [BZ #15409]
44238         * math/s_catan.c (__catan): Handle arguments with large real or
44239         imaginary part separately without squaring.
44240         * math/s_catanf.c (__catanf): Likewise.
44241         * math/s_catanh.c (__catanh): Likewise.
44242         * math/s_catanhf.c (__catanhf): Likewise.
44243         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44244         and redefine.
44245         (__catanhl): Handle arguments with large real or imaginary part
44246         separately without squaring.
44247         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44248         and redefine.
44249         (__catanl): Handle arguments with large real or imaginary part
44250         separately without squaring.
44251         * math/libm-test.inc (catan_test): Add more tests.
44252         (catanh_test): Likewise.
44253         * sysdeps/i386/fpu/libm-test-ulps: Update.
44254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44256 2013-04-27  Andreas Jaeger  <aj@suse.de>
44258         [BZ #15007]
44259         * stdlib/stdlib.h: Update guards for qecvt.
44260         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44261         <stdlib.h>.
44263 2013-04-27  Allan McRae  <allan@archlinux.org>
44265         * sysdeps/i386/fpu/libm-test-ulps: Update.
44267 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44269         [BZ #15406]
44270         * math/s_catan.c: Include <float.h>.
44271         (__catan): Ensure underflow exception occurs for underflowed
44272         result.
44273         * math/s_catanf.c: Include <float.h>.
44274         (__catanf): Ensure underflow exception occurs for underflowed
44275         result.
44276         * math/s_catanh.c: Include <float.h>.
44277         (__catanh): Ensure underflow exception occurs for underflowed
44278         result.
44279         * math/s_catanhf.c: Include <float.h>.
44280         (__catanhf): Ensure underflow exception occurs for underflowed
44281         result.
44282         * math/s_catanhl.c: Include <float.h>.
44283         (__catanhl): Ensure underflow exception occurs for underflowed
44284         result.
44285         * math/s_catanl.c: Include <float.h>.
44286         (__catanl): Ensure underflow exception occurs for underflowed
44287         result.
44288         * math/libm-test.inc (catan_test): Add more tests.
44289         (catanh_test): Likewise.
44291         [BZ #15405]
44292         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44293         underflowed result.
44294         * math/s_ccoshf.c (__ccoshf): Likewise.
44295         * math/s_ccoshl.c (__ccoshl): Likewise.
44296         * math/s_csin.c (__csin): Likewise.
44297         * math/s_csinf.c (__csinf): Likewise.
44298         * math/s_csinh.c (__csinh): Likewise.
44299         * math/s_csinhf.c (__csinhf): Likewise.
44300         * math/s_csinhl.c (__csinhl): Likewise.
44301         * math/s_csinl.c (__csinl): Likewise.
44302         * math/libm-test.inc (ccos_test): Add more tests.
44303         (ccosh_test): Likewise.
44304         (csin_test): Likewise.
44305         (csinh_test): Likewise.
44307 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44309         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44310         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44311         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44312         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44313         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44314         powerpc/power5+/fpu folders.
44315         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44318 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44322 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44324         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44325         additions to variable.
44326         [$(config-machine) = x86_64] (modules-names): Likewise.
44327         ($(objpfx)tst-audit3): Remove dependency.
44328         ($(objpfx)tst-audit3.out): Likewise.
44329         ($(objpfx)tst-audit4): Likewise.
44330         ($(objpfx)tst-audit4.out): Likewise.
44331         ($(objpfx)tst-audit5): Likewise.
44332         ($(objpfx)tst-audit5.out): Likewise.
44333         ($(objpfx)tst-audit6): Likewise.
44334         ($(objpfx)tst-audit6.out): Likewise.
44335         ($(objpfx)tst-audit7): Likewise.
44336         ($(objpfx)tst-audit7.out): Likewise.
44337         (tst-audit3-ENV): Remove variable.
44338         (tst-audit4-ENV): Likewise.
44339         (tst-audit5-ENV): Likewise.
44340         (tst-audit6-ENV): Likewise.
44341         (tst-audit7-ENV): Likewise.
44342         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44343         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44344         addition to variable.
44345         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44346         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44347         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44348         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44350         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44351         tst-audit3, tst-audit4 and tst-audit5.
44352         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44353         tst-audit6 and tst-audit7.
44354         [$(subdir) = elf] (modules-names): Add audit modules for those
44355         tests.
44356         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44357         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44358         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44359         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44360         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44361         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44362         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44363         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44364         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44365         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44366         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44367         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44368         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44369         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44370         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44371         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44372         Likewise.
44373         [$(subdir) = elf && $(config-cflags-avx) = yes]
44374         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44375         [$(subdir) = elf && $(config-cflags-avx) = yes]
44376         (CFLAGS-tst-auditmod4a.c): Likewise.
44377         [$(subdir) = elf && $(config-cflags-avx) = yes]
44378         (CFLAGS-tst-auditmod4b.c): Likewise.
44379         [$(subdir) = elf && $(config-cflags-avx) = yes]
44380         (CFLAGS-tst-auditmod6b.c): Likewise.
44381         [$(subdir) = elf && $(config-cflags-avx) = yes]
44382         (CFLAGS-tst-auditmod6c.c): Likewise.
44383         [$(subdir) = elf && $(config-cflags-avx) = yes]
44384         (CFLAGS-tst-auditmod7b.c): Likewise.
44385         * elf/tst-audit3.c: Move to ...
44386         * sysdeps/x86_64/tst-audit3.c: ... here.
44387         * elf/tst-audit4.c: Move to ...
44388         * sysdeps/x86_64/tst-audit4.c: ... here.
44389         * elf/tst-audit5.c: Move to ...
44390         * sysdeps/x86_64/tst-audit5.c: ... here.
44391         * elf/tst-audit6.c: Move to ...
44392         * sysdeps/x86_64/tst-audit6.c: ... here.
44393         * elf/tst-audit7.c: Move to ...
44394         * sysdeps/x86_64/tst-audit7.c: ... here.
44395         * elf/tst-auditmod3a.c: Move to ...
44396         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44397         * elf/tst-auditmod3b.c: Move to ...
44398         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44399         * elf/tst-auditmod4a.c: Move to ...
44400         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44401         * elf/tst-auditmod4b.c: Move to ...
44402         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44403         * elf/tst-auditmod5a.c: Move to ...
44404         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44405         * elf/tst-auditmod5b.c: Move to ...
44406         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44407         * elf/tst-auditmod6a.c: Move to ...
44408         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44409         * elf/tst-auditmod6b.c: Move to ...
44410         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44411         * elf/tst-auditmod6c.c: Move to ...
44412         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44413         * elf/tst-auditmod7a.c: Move to ...
44414         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44415         * elf/tst-auditmod7b.c: Move to ...
44416         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44418 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44420         [BZ #15366]
44421         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44422         define unconditionally.
44423         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44424         define unconditionally.
44425         (INT8_C, INT16_C, etc.): Likewise.
44427 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44429         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44430         __ehdr_start with hidden visibility.
44432         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44434 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44436         * math/libm-test.inc (cos_test): Use accurate hex constants.
44437         (sincost_test): Likewise.
44439 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44441         * math/libm-test.inc (catan_test): Add more tests.
44442         (catanh_test): Likewise.
44444         * math/s_catanf.c (__catanf): Use suffixed floating-point
44445         constants.
44446         * math/s_catanhf.c (__catanhf): Likewise.
44447         * math/s_catanhl.c (__catanhl): Likewise.
44448         * math/s_catanl.c (__catanl): Likewise.
44450         [BZ #15394]
44451         * math/s_catan.c (__catan): Calculate imaginary part of result
44452         with log1p not log unless computing log of number close to 0.
44453         * math/s_catanf.c (__catanf): Likewise.
44454         * math/s_catanl.c (__catanl): Likewise.
44455         * math/s_catanh.c (__catanh): Calculate real part of result with
44456         log1p not log unless computing log of number close to 0.
44457         * math/s_catanhf.c (__catanhf): Likewise.
44458         * math/s_catanhl.c (__catanhl): Likewise.
44459         * math/libm-test.inc (catan_test): Add more tests.
44460         (catanh_test): Likewise.
44461         * sysdeps/i386/fpu/libm-test-ulps: Update.
44462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44464 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44466         * benchtests/Makefile: Mention files in which fast and slow
44467         paths of math functions are implemented.
44469 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44471         * sysdeps/posix/timespec_get.c: New file.
44473 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44475         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44476         POWER.
44477         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44478         for POWER.
44479         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44480         powerpc/power5/fpu folders.
44481         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44482         * benchtests/Makefile: Add modf testcase.
44483         * benchtests/bench-modf.c: New file: Benchmark test for mo
44485 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44487         [BZ #14888]
44488         * time/Makefile (tests): Add tst-strptime-whitespace.
44489         * time/strptime_l.c (get_number): Use ISSPACE.
44490         (__strptime_internal): Likewise.
44491         * time/tst-strptime-whitespace.c: New test case.
44493 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44495         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44496         member.
44497         (_nss_files_init): Set it here.
44499 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44501         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44502         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44503         unsigned.
44505 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44507         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44509 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44512         size just once.
44514 2013-04-21  David S. Miller  <davem@davemloft.net>
44516         * po/ru.po: Update Russion translation from translation project.
44518 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44520         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44521         and setfsgid.
44523 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44525         * configure.in: Remove i386 configure warning. Remove i386 case.
44526         * configure: Regenerate.
44527         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44528         Add example to error message.
44529         * sysdeps/i386/configure: Regenerate.
44531 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44533         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44534         slowtan.
44535         * benchtests/cos-inputs: New file.
44536         * benchtests/slowcos-inputs: New file.
44537         * benchtests/slowcos.c: New file.
44538         * benchtests/slowtan-inputs: New file.
44539         * benchtests/slowtan.c: New file.
44540         * benchtests/tan-inputs: New file.
44542 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44544         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44545         considered kosher.
44547 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44549         * benchtests/Makefile: Include cppflags-iterator.mk to add
44550         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44552         * Makefile.in (bench-clean): New target.
44553         * benchtests/Makefile (bench-clean): Likewise.
44555 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44557         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44559 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44561         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44563 2013-04-15  Andreas Schwab  <schwab@suse.de>
44565         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44567         * nscd/pwdcache.c (cache_addpw): Likewise.
44568         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44569         more than recsize.
44571 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44573         * benchtests/Makefile (bench): Write all output to
44574         bench-out.tmp together.
44576 2013-04-15  Andreas Schwab  <schwab@suse.de>
44578         * nscd/nscd.c (main): Don't fork again after closing files.
44580 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44584         * benchtests/Rules (bench-deps): Collect dependencies into a
44585         single variable.  Add Makefile to dependencies.
44586         ($(objpfx)bench-%.c): Depend on bench-deps.
44588 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44589             Xavier Roche  <roche+kml2@exalead.com>
44591         [BZ #15361]
44592         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44593         just that it's a file descriptor.
44594         * manual/llio.texi (Synchronizing AIO Operations): Update description
44595         for EBADF error from aio_fsync.
44597 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44599         * Rules (bench): Move target definition...
44600         * benchtests/Makefile: ... here.
44602 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44604         * math/libm-test.inc (cos_test): Fix PI/2 test.
44605         (sincos_test): Likewise.
44606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44607         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44609 2013-04-11  Andreas Schwab  <schwab@suse.de>
44611         [BZ #13988]
44612         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44613         accept exponent character only when digits were seen.
44614         * stdio-common/Makefile (tests): Add bug26.
44615         * stdio-common/bug26.c: New file.
44617         [BZ #14293]
44618         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44619         non-freeable.
44621 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44623         * Makeconfig (rtld-prefix): Define built linker prefix.
44624         * Rules (run-bench): Use it.
44625         * math/Makefile (run-regen-ulps): Likewise.
44627         * Rules (bench): Remove eval.
44629 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44630             Roland McGrath  <roland@hack.frob.com>
44631             Ondrej Bilka  <neleai@seznam.cz>
44633         [BZ #15346]
44634         * time/getdate.c: Include ctype.h and alloca.h.
44635         (__getdate_r): Trim leading and trailing spaces of input.
44636         * time/tst-getdate.c (tests): Add tests with leading and
44637         trailing spaces.
44639 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44641         [BZ #14280]
44642         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44643         when computing value.
44645 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44647         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44648         Use testrun.sh to run libm tests.
44650         [BZ #15309]
44651         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44653 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44655         [BZ #15264]
44656         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44658 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44660         * Makefile.in (regen-ulps): New target.
44661         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44662         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44663         [ifneq (no,$(PERL)] (regen-ulps): New target.
44664         [ifeq (no,$(PERL)] (regen-ulps): New target.
44665         * math/libm-test.inc (ulps_file_name): Define.
44666         (output_dir): New variable.
44667         (options): Add "output-dir" option.
44668         (parse_opt): Handle 'o' case.
44669         (main): If output_dir is non-NULL use it as a prefix
44670         otherwise use "".
44671         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44673 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44675         [BZ #10060, #10062]
44676         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44677         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44678         fail configure if __sync_val_compare_and_swap is not inlined.
44679         * sysdeps/i386/configure: Regenerate.
44680         * configure.in: Build for i686 when configured for i386.
44681         * configure: Regenerate.
44682         * README: Remove i386 reference.
44684 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44686         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44687         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44689 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44691         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44692         (lmsnanval): New variables.
44693         (F): Add conversion tests.
44694         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44695         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44697         * stdio-common/tstdiomisc.c (F): Properly collect individual
44698         tests' results.
44700         [BZ #14686, #15336]
44701         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44702         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44703         Instead, use input NaN values or generate a qNaN by arithmetic
44704         operation.  Also fix bugs to comply with the standard.
44705         * math/libm-test.inc (remainder_test): Add more tests.
44707         [BZ #15335, #15342]
44708         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44710         input NaN values or generate a qNaN by arithmetic operation.
44712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44713         unreachable code.
44715         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44716         definitions.
44718 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44720         [BZ #14478]
44721         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44722         underflowed result.
44723         * math/s_cexpf.c (__cexpf): Likewise.
44724         * math/s_cexpl.c (__cexpl): Likewise.
44725         * math/libm-test.inc (cexp_test): Add more tests.
44727 2013-04-03  Andreas Schwab  <schwab@suse.de>
44729         [BZ #15330]
44730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44731         order arrays from heap if bigger than alloca cutoff.
44733 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44735         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44736         (SNAN_TESTS_double): Refer to GCC PR56831.
44737         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44738         GCC PR56828.
44740 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44742         * Rules (bench): Move bench.out after the run is complete.
44744         * Rules (bench): Echo currently running benchmark.
44746         * benchtests/Makefile (bench): Add atan and slowatan.
44747         * benchtests/atan-inputs: New file.
44748         * benchtests/slowatan-inputs: New file.
44749         * benchtests/slowatan.c: New file.
44751         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44753         its value.
44755         [BZ #15305]
44756         * sysdeps/unix/sysv/linux/kernel-features.h
44757         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44758         __ASSUME_XFS_RESTRICTED_CHOWN.
44759         * sysdeps/unix/sysv/linux/pathconf.c
44760         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44761         Save and restore errno.
44763 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44765         [BZ #15327]
44766         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44767         arguments using __kernel_casinh.
44768         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44769         arguments using __kernel_casinhf.
44770         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44771         arguments using __kernel_casinhl.
44772         * math/libm-test.inc (cacosh_test): Add more tests.
44773         * sysdeps/i386/fpu/libm-test-ulps: Update.
44774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44776 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44778         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44781         * bench/Makefile (bench): Add sin and slowsin.
44782         * benchtests/sin-inputs: New file.
44783         * benchtests/slowsin-inputs: New file.
44784         * benchtests/slowsin.c: New file.
44786         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44787         (bench): Add slowexp and slowpow.
44788         (exp-ITER): Increase iterations.
44789         (pow-ITER): Likewise.
44790         * benchtests/exp-inputs: Change input.
44791         * benchtests/pow-inputs: Likewise.
44792         * benchtests/slowexp-inputs: New file.
44793         * benchtests/slowexp.c: New file.
44794         * benchtests/slowpow-inputs: New file.
44795         * benchtests/slowpow.c: New file.
44797 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44799         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44800         instructions.
44801         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44802         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44803         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44804         * benchtests/Makefile: Add rint benchtest.
44805         * benchtests/rint-inputs: Input for rint benchtest.
44807 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44809         * Versions.def (libm): Add GLIBC_2.18.
44810         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44811         hidden libm prototypes.
44812         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44813         * math/Makefile (libm-calls): Add s_issignaling.
44814         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44815         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44816         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44817         declaration.
44818         * math/math.h [__USE_GNU] (issignaling): New macro.
44819         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44820         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44822         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44825         * manual/arith.texi (issignaling): New section.
44826         * manual/libm-err-tab.pl (@all_functions): Update comment.
44827         * math/gen-libm-test.pl (parse_args): Apply special handling for
44828         issignaling.
44829         * math/libm-test.inc (print_float, issignaling_test): New
44830         functions.
44831         (check_float_internal): Add issignaling checks.
44832         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44833         default definition.
44834         * sysdeps/powerpc/math-tests.h: New file.
44835         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44836         tests.
44837         * math/test-snan.c (TEST_FUNC): Likewise.
44839 2013-03-30  David S. Miller  <davem@davemloft.net>
44841         * po/de.po: Update from translation team.
44843 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44845         [BZ #10357]
44846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44847         imaginary part less than 1.0 and real part less than 0.5
44848         specially.
44849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44851         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44852         (cacos_test): Add more tests.
44853         (casin_test): Likewise.
44854         (casinh_test): Likewise.
44855         * sysdeps/i386/fpu/libm-test-ulps: Update.
44856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44858 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44860         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44861         ONE with its value.
44863         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44864         (__pow_mp): Replace ONE and MONE with their values.
44865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44868         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44869         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44872         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44874         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44875         (__pow_mp): Replace ZERO and MZERO with their values.
44876         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44878         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44880         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44881         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44882         (__sqr): Likewise.
44884         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44886         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44888 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44890         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44891         Declare with __attribute__ ((weak)).
44892         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44893         Call __call_tls_dtors only if it's not NULL.
44895 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44897         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44898         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44899         magic __ehdr_start linker symbol if it's defined.
44900         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44901         them up here if it was already done.
44903         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44904         (_dl_aux_init): Use const in cast when setting it.
44905         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44906         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44907         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44909         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44910         Declare them here.
44911         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44912         * csu/libc-tls.c: Nor here.
44913         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44915         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44916         (__libc_message): Never call vsyslog.
44918 2013-03-28  Alan Modra  <amodra@gmail.com>
44920         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44921         Define as empty.
44922         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44923         Likewise.
44925 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44927         [BZ #15214]
44928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44929         underflow.
44930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44932 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44934         [BZ #15304]
44935         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44936         Don't add gid passed as argument.
44938         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44940 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44942         [BZ #15307]
44943         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44944         imaginary part between 1.0 and 1.5 and real part less than 0.5
44945         specially.
44946         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44947         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44948         * math/libm-test.inc (cacos_test): Add more tests.
44949         (casin_test): Likewise.
44950         (casinh_test): Likewise.
44951         * sysdeps/i386/fpu/libm-test-ulps: Update.
44952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44954 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44956         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44957         constants.
44958         (norm): Likewise.
44959         (denorm): Likewise.
44960         (__dbl_mp): Likewise.
44961         (add_magnitudes): Likewise.
44962         (sub_magnitudes): Likewise.
44963         (__add): Likewise.
44964         (__sub): Likewise.
44965         (__mul): Likewise.
44966         (__sqr): Likewise.
44967         (__inv): Likewise.
44968         (__dvd): Likewise.
44970         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44971         commented code.
44972         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44973         (__dubcos): Likewise.
44974         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44975         (__ieee754_acos): Likewise.
44976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44977         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44978         (__exp1): Likewise.
44979         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44981         (log1): Likewise.
44982         (my_log2): Likewise.
44983         (checkint): Likewise.
44984         * sysdeps/ieee754/dbl-64/e_remainder.c
44985         (__ieee754_remainder): Likewise.
44986         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44988         (bsloww): Likewise.
44989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44991         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44993         MANTISSA_STORE_T to store computations on mantissa.  Use
44994         macros for rounding and division.
44995         (denorm): Likewise.
44996         (__dbl_mp): Likewise.
44997         (add_magnitudes): Likewise.
44998         (sub_magnitudes): Likewise.
44999         (__mul): Likewise.
45000         (__sqr): Likewise.
45001         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45002         powers of two in terms of TWOPOW macro.
45003         (mp_no): Make type of mantissa as MANTISSA_T.
45004         [!RADIXI]: Define RADIXI.
45005         [!TWO52]: Define TWO52.
45006         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45008 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45010         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45011         llroundl symbol when building for PPC32.
45013 2013-03-24  Mark H Weaver  <mhw@netris.org>
45015         * manual/arith.texi (Normalization Functions): Fix prototypes for
45016         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45018 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45020         [BZ #13889]
45021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45022         high value to check if expl overflow.
45023         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45024         to check for underflow and overflow.
45025         * math/libm-test.inc: Add exp test.
45027 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45029         [BZ #11120]
45030         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45031         with NOT_IN_libc.
45033 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45035         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45036         symbol.
45038 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45040         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45041         wrap blocks consisting of several statements.
45043         * sysdeps/generic/math-tests.h: New file.
45044         * sysdeps/i386/fpu/math-tests.h: Likewise.
45045         * math/test-snan.c: Include it.
45046         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45048 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45050         [BZ #15285]
45051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45052         (__ieee754_j0l): Do not improve calculations using cos of twice
45053         input for inputs above LDBL_MAX / 2.0L.
45054         (__ieee754_y0l): Likewise.
45055         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45056         (__ieee754_j1l): Do not improve calculations using cos of twice
45057         input for inputs above LDBL_MAX / 2.0L.
45058         (__ieee754_y1l): Likewise.
45059         * math/libm-test.inc (j0_test): Add another test.
45060         (j1_test): Likewise.
45061         (y0_test): Likewise.
45062         (y1_test): Likewise.
45063         * sysdeps/i386/fpu/libm-test-ulps: Update.
45065 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45067         * Rules ($(objpfx)bench-%.c): Include code from a C source
45068         file.
45070 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45072         [BZ #15287]
45073         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45074         imaginary part 1.0 and real part less than 0.5 specially.
45075         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45076         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45077         * math/libm-test.inc (cacos_test): Add more tests.
45078         (casin_test): Likewise.
45079         (casinh_test): Likewise.
45080         * sysdeps/i386/fpu/libm-test-ulps: Update.
45081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45083 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45085         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45086         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45088 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45090         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45091         * config.make.in (config-cflags-sse4): Remove variable.
45092         (config-cflags-avx): Likewise.
45093         (config-cflags-sse2avx): Likewise.
45094         (config-cflags-novzeroupper): Likewise.
45095         (config-asflags-i686): Likewise.
45096         (have-mfma4): Likewise.
45097         (have-as-vis3): Likewise.
45098         (MIG): Likewise.
45099         * configure.in (MIG): Do not AC_SUBST.
45100         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45101         (libc_cv_cc_sse4): Do not AC_SUBST.
45102         (libc_cv_cc_avx): Likewise.
45103         (libc_cv_cc_sse2avx): Likewise.
45104         (libc_cv_cc_novzeroupper): Likewise.
45105         (libc_cv_cc_fma4): Likewise.
45106         (libc_cv_as_i686): Likewise.
45107         (libc_cv_sparc_as_vis3): Likewise.
45108         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45109         LIBC_CONFIG_VAR.
45110         (config-asflags-i686): Likewise.
45111         (config-cflags-avx): Likewise.
45112         (config-cflags-sse2avx): Likewise.
45113         (have-mfma4): Likewise.
45114         (config-cflags-novzeroupper): Likewise.
45115         * sysdeps/mach/configure.in (MIG): Likewise.
45116         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45117         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45118         LIBC_CONFIG_VAR.
45119         (config-cflags-avx): Likewise.
45120         (config-cflags-sse2avx): Likewise.
45121         (have-mfma4): Likewise.
45122         (config-cflags-novzeroupper): Likewise.
45123         * configure: Regenerated.
45124         * sysdeps/i386/configure: Likewise.
45125         * sysdeps/mach/configure: Likewise.
45126         * sysdeps/sparc/configure: Likewise.
45127         * sysdeps/x86_64/configure: Likewise.
45129 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45131         [BZ #14812]
45132         * locale/programs/localedef.c (options): Put N_ translation marker
45133         on argument names, not just descriptions.
45135 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45137         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45139 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45141         [BZ #14176]
45142         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45144 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45146         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45147         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45148         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45149         [!BEFORE_ABORT] (before_abort): New function.
45150         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45151         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45152         (writev_for_fatal): New function.
45153         (WRITEV_FOR_FATAL): New macro; call that.
45154         (backtrace_and_maps): New function.
45155         (BEFORE_ABORT): New macro; call that.
45156         (struct str_list): Type removed.
45157         (__libc_message, __libc_fatal): Functions removed.
45158         Include <sysdeps/posix/libc_fatal.c> instead.
45160 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45162         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45163         constants.
45164         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45165         double constants.
45167 2013-03-19  Andreas Schwab  <schwab@suse.de>
45169         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45170         * sysdeps/gnu/configure: Regenerate.
45172         * configure.in: Substitute libc_cv_rtlddir.
45173         * configure: Regenerate.
45174         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45175         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45176         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45177         * elf/Makefile (install-others, CFLAGS-interp.c)
45178         (ldso_install, common-ldd-rewrite): Likewise.
45179         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45180         $(inst_slibdir)/$(rtld-installed-name).
45181         * scripts/rellns-sh: Add -p option.
45182         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45183         for source.
45185 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45187         * manual/nptl.texi: Renamed to ...
45188         * manual/threads.texi: ... this.
45189         * manual/Makefile (chapters): Update.
45191 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45193         [BZ #14812]
45194         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45195         on argument names, not just descriptions.
45196         * malloc/memusagestat.c (options): Likewise.
45197         * nss/getent.c (options): Likewise.
45199 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45201         [BZ #14812]
45202         * iconv/iconv_prog.c (options): Put N_ translation marker
45203         on argument names, not just descriptions.
45204         * iconv/iconvconfig.c (options): Likewise.
45206 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45208         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45209         implementation which is faster on all x86_64 architectures.
45210         Tested on AMD, Intel Nehalem, SNB, IVB.
45211         * sysdeps/x86_64/strnlen.S: Likewise.
45213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45214         Remove all multiarch strlen and strnlen versions.
45215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45216         Remove strlen and strnlen related parts.
45218         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45219         Inline strlen part.
45220         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45222         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45223         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45224         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45225         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45226         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45227         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45229 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45231         * manual/memory.texi (Malloc Tunable Parameters):
45232         Sort parameters alphabetically. Add comments for missing entries.
45234 2013-03-17  David S. Miller  <davem@davemloft.net>
45236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45238 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45240         [BZ #15283]
45241         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45242         for arguments at most half maximum finite value.
45243         * math/libm-test.inc (j0_test): Add more tests.
45244         (j1_test): Likewise.
45245         (y0_test): Likewise.
45246         (y1_test): Likewise.
45247         * sysdeps/i386/fpu/libm-test-ulps: Update.
45248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45250         [BZ #14155]
45251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45252         1 / x and functions P and Q for arguments above 0x1p256L.
45253         (__ieee754_y0l): Likewise.
45254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45255         (__ieee754_y1l): Likewise.
45256         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45257         (j1_test): Likewise.
45258         (y0_test): Likewise.
45259         (y1_test): Likewise.
45261 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45263         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45264         variable.
45266 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45268         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45269         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45270         zero since it's initialized to EXEC_PAGESIZE.
45272         * sysdeps/unix/sysv/linux/ldsodefs.h
45273         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45274         * sysdeps/generic/ldsodefs.h: ... here.
45276 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45278         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45280         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45281         math/test-snan.c.
45282         * math/test-snan.c: Renamed from
45283         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45284         * math/Makefile (tests): Add test-snan.
45285         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45286         test-powerpc-snan.
45288         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45289         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45290         functions.
45291         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45292         __builtin_nan family of functions.
45293         * math/libm-test.inc (initialize): Initialize qnan_value with
45294         __builtin_nan family of functions.
45295         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45296         Remove variables.
45297         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45298         Remove functions.
45299         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45300         storage class.  Initialize qNaN_var and sNaN_var with
45301         __builtin_nan and __builtin_nans families of functions,
45302         respectively.
45304         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45305         (sqrt_test): Remove duplicate test with qNaN input.
45306         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45307         (round_test, signbit_test, significand_test): Note missing +/-Inf
45308         as well as qNaN tests.
45310         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45311         qNaN_var.  Fix a few strings, too.
45312         * math/libm-test.inc (nan_value): Rename to qnan_value.
45313         * math/gen-libm-test.pl (%beautify): Adjust to that.
45314         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45315         * math/test-misc.c (main): Likewise.
45316         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45317         to __qnan_bytes, and __qnan_union, respectively.
45318         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45319         Likewise.
45320         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45321         and lqnanval, respectively.
45322         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45323         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45325         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45327         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45328         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45329         doubles.
45331         * math/test-misc.c (main): Fix copy'n'pastos.
45332         * misc/tst-efgcvt.c (special): Likewise.
45334         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45335         Remove declarations.
45337 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45339         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45340         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45341         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45342         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45344 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45347         macro to return vdso values correctly in IFUNC implementations.
45348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45349         Optimization by using IFUNC.
45351 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45352             Richard Henderson  <rth@redhat.com>
45353             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45355         * Makefile.in (bench): New target.
45356         * NEWS: Mention the benchmark framework.
45357         * Rules (bench): Likewise.
45358         (binaries-bench): Generate binaries for functions to
45359         benchmark.
45360         * benchtests/Makefile: New makefile for benchmark tests.
45361         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45362         programs.
45363         * benchtests/exp-inputs: New input file for EXP function.
45364         * benchtests/pow-inputs: New input file for POW function.
45365         * scripts/bench.pl: New script to generate source files for
45366         benchmark programs.
45368 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45370         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45371         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45372         computations on mantissa.  Use macros for rounding and
45373         division.
45374         (denorm): Likewise.
45375         (__dbl_mp): Likewise.
45376         (add_magnitudes): Likewise.
45377         (sub_magnitudes): Likewise.
45378         (__mul): Likewise.
45379         (__sqr): Likewise.
45380         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45381         powers of two in terms of TWOPOW macro.
45382         (mp_no): Make type of mantissa as MANTISSA_T.
45383         [!RADIXI]: Define RADIXI.
45384         [!TWO52]: Define TWO52.
45385         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45387         * manual/nptl.texi (cindex): Modify threads to pthreads.
45389 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45391         * sysdeps/x86_64/preconfigure: Regenerated.
45393 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45395         [BZ #14155]
45396         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45397         0x1p28 and above.
45398         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45399         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45400         0x1p28 and above.
45401         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45402         * math/libm-test.inc (j0_test): Do not allow one spurious
45403         underflow exception.
45404         (y1_test): Likewise.
45406 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45408         * manual/Makefile (chapters): Add nptl.
45409         * manual/debug.texi (Debugging Support): Add link to Threads
45410         chapter.
45411         * manual/nptl.texi: New file.
45413         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45415 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45417         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45418         for non-NULL pointer before the memory validity test. Pointed
45419         out by Holger Brunck <holger.brunck@keymile.com>.
45421 2013-03-13  Andreas Schwab  <schwab@suse.de>
45423         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45424         instead of .os.
45426 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45428         * timezone/zic.c: Update from tzcode 2013b.
45430 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45432         * manual/install.texi (Configuring and compiling):
45433         Mention i686 and i586.
45434         * INSTALL: Regenerate.
45436 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45438         * sysdeps/init_array/elf-init.c: New file.
45439         * csu/elf-init.c
45440         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45441         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45443         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45444         __gmon_start__ as global, but as static with a .preinit_array pointer.
45445         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45446         * sysdeps/init_array/crti.S: New file, empty except for comments.
45447         * sysdeps/init_array/crtn.S: Likewise.
45449 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45451         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45452         definining bcopy.
45453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45454         Remove Prefer_SSE_for_memop.
45455         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45456         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45457         HAS_PREFER_SSE_FOR_MEMOP.
45458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45459         memset-x86-64.
45460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45461         Remove bzero, memset ifunc support.
45462         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45463         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45467 2013-03-11  Andreas Schwab  <schwab@suse.de>
45469         [BZ #15234]
45470         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45471         by SHLIB_COMPAT.
45472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45473         (GLIBC_2.16): Remove pthread_atfork.
45475 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45477         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45478         (ptestcases.h): Likewise.
45480 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45482         * Makeconfig ($(common-objpfx)config.status): Depend on
45483         sysdeps/*/preconfigure{,.in} too.
45485 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45487         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45488         (__free_hook): Use void * instead of __malloc_ptr_t.
45489         (__malloc_hook): Likewise.
45490         (__realloc_hook): Likewise.
45491         (__memalign_hook): Likewise.
45492         (__after_morecore_hook): Likewise.
45493         * malloc/arena.c (save_malloc_hook): Likewise.
45494         (save_free_hook): Likewise.
45495         * malloc/hooks.c (malloc_hook_ini): Likewise.
45496         (realloc_hook_ini): Likewise.
45497         (memalign_hook_ini): Likewise.
45498         * malloc/malloc.c (malloc_hook_ini): Likewise.
45499         (realloc_hook_ini): Likewise.
45500         (memalign_hook_ini): Likewise.
45501         (__free_hook): Likewise.
45502         (__malloc_hook): Likewise.
45503         (__realloc_hook): Likewise.
45504         (__memalign_hook): Likewise.
45505         (__libc_malloc): Likewise.
45506         (__libc_free): Likewise.
45507         (__libc_realloc): Likewise.
45508         (__libc_memalign): Likewise.
45509         (__libc_valloc): Likewise.
45510         (__libc_pvalloc): Likewise.
45511         (__libc_calloc): Likewise.
45512         (__posix_memalign): Likewise.
45513         * malloc/morecore.c (__sbrk): Likewise.
45514         (__default_morecore): Likewise.
45516         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45518         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45519         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45520         __malloc_ptrdiff_t.
45522         * malloc/malloc.h (__malloc_size_t): Remove macro.
45523         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45524         __malloc_size_t.
45525         (old_memalign_hook): Likewise.
45526         (old_realloc_hook): Likewise.
45527         (struct hdr): Likewise.
45528         (flood): Likewise.
45529         (mallochook): Likewise.
45530         (memalignhook): Likewise.
45531         (reallochook): Likewise.
45532         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45533         (tr_old_realloc_hook): Likewise.
45534         (tr_old_memalign_hook): Likewise.
45535         (tr_mallochook): Likewise.
45536         (tr_reallochook): Likewise.
45537         (tr_memalignhook): Likewise.
45539 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45542         default_ldbl_pack and using as default implementation.
45543         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45544         implementation.
45545         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45546         redundant definition.
45547         (ldbl_insert_mantissa): Likewise.
45548         (ldbl_canonicalize): Likewise.
45549         (ldbl_nearbyint): Likewise.
45550         (ldbl_pack): Rename to ldbl_pack_ppc.
45551         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45552         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45553         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45555 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45558         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45559         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45560         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45562         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45563         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45564         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45566 2013-03-07  Andreas Jaeger  <aj@suse.de>
45568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45569         bits/mman-linux.h.
45571 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45573         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45574         Include mpa.h and declare __MPEXP.
45575         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45576         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45577         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45578         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45580         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45581         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45583         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45584         (__slowpow): Use long double EXPL and LOGL functions to
45585         compute POW.
45586         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45587         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45589         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45590         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45594         intermediate variable to calculate exponent.
45595         (__sqr): Likewise.
45596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45597         Likewise.
45598         (__sqr): Likewise.
45600         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45601         [!NO__SQR]: Define __sqr.
45602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45603         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45604         sysdeps/ieee754/dbl-64/mpa.c.
45605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45607         [BZ #12723]
45608         * posix/Makefile (tests): Add tst-pathconf.
45609         * posix/tst-pathconf.c: New test case.
45610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45611         _PC_PIPE_BUF.
45612         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45614 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45616         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45618 2013-03-06  Andreas Jaeger  <aj@suse.de>
45620         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45621         definition via __MAP_ANONYMOUS.
45623         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45624         it's not part of Linux headers.
45626         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45627         (MAP_HUGE_MASK): Define.
45629         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45630         Define.
45631         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45633         Define.
45634         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45635         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45636         Define.
45637         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45639         Define.
45640         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45642         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45643         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45644         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45645         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45646         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45647         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45649         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45650         Handle f2fs.
45652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45653         Handle f2fs and efivarfs.
45655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45656         f2fs.
45658         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45659         (EFIVARFS_MAGIC): Add.
45660         (F2FS_LINK_MAX): Add.
45662 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45664         * stdio-common/vfprintf.c: Replace __builtin_expect with
45665         __glibc_unlikely.
45667 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45669         [BZ #13550]
45670         * sysdeps/generic/bp-sym.h: Remove file.
45671         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45672         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45673         <bp-sym.h> and <bp-asm.h>.
45674         (__longjmp): Don't use BP_SYM.
45675         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45676         and <bp-asm.h>.
45677         (memcpy): Don't use BP_SYM.
45678         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45679         <bp-sym.h> and <bp-asm.h>.
45680         (memcpy): Don't use BP_SYM.
45681         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45682         <bp-asm.h>.
45683         (memcpy): Don't use BP_SYM.
45684         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45685         <bp-asm.h>.
45686         (memset): Don't use BP_SYM.
45687         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45688         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45689         (__bzero): Don't use BP_SYM.
45690         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45691         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45693         <bp-sym.h> and <bp-asm.h>.
45694         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45695         pointers.
45696         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45697         <bp-sym.h> and <bp-asm.h>.
45698         (memcpy): Don't use BP_SYM.
45699         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45700         <bp-sym.h> and <bp-asm.h>.
45701         (memset): Don't use BP_SYM.
45702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45704         (__bzero): Don't use BP_SYM.
45705         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45706         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45707         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45708         <bp-sym.h> and <bp-asm.h>.
45709         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45710         pointers.
45711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45712         <bp-sym.h> and <bp-asm.h>.
45713         (memcpy): Don't use BP_SYM.
45714         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45715         <bp-sym.h> and <bp-asm.h>.
45716         (memset): Don't use BP_SYM.
45717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45719         (__bzero): Don't use BP_SYM.
45720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45723         <bp-sym.h> and <bp-asm.h>.
45724         (__memchr): Don't use BP_SYM.
45725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45726         <bp-sym.h> and <bp-asm.h>.
45727         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45728         pointers.
45729         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45730         <bp-sym.h> and <bp-asm.h>.
45731         (memcpy): Don't use BP_SYM.
45732         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45733         <bp-sym.h> and <bp-asm.h>.
45734         (__mempcpy): Don't use BP_SYM.
45735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45736         <bp-sym.h> and <bp-asm.h>.
45737         (__memrchr): Don't use BP_SYM.
45738         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45739         <bp-sym.h> and <bp-asm.h>.
45740         (memset): Don't use BP_SYM.
45741         (__bzero): Likewise.
45742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45743         <bp-sym.h> and <bp-asm.h>.
45744         (__rawmemchr): Don't use BP_SYM.
45745         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45746         <bp-sym.h> and <bp-asm.h>.
45747         (__STRCMP): Don't use BP_SYM.
45748         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45749         <bp-sym.h> and <bp-asm.h>.
45750         (strchr): Don't use BP_SYM.
45751         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45752         <bp-sym.h> and <bp-asm.h>.
45753         (__strchrnul): Don't use BP_SYM.
45754         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45755         <bp-sym.h> and <bp-asm.h>.
45756         (strlen): Don't use BP_SYM.
45757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45758         <bp-sym.h> and <bp-asm.h>.
45759         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45760         pointers.
45761         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45762         <bp-sym.h> and <bp-asm.h>.
45763         (__strnlen): Don't use BP_SYM.
45764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45765         <bp-sym.h> and <bp-asm.h>.
45766         (__GI__setjmp): Don't use BP_SYM.
45767         (_setjmp): Likewise.
45768         (__sigsetjmp): Likewise.
45769         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45770         (L(start_addresses)): Don't use BP_SYM.
45771         (_start): Likewise.
45772         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45773         <bp-asm.h>.
45774         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45775         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45776         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45777         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45778         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45779         <bp-asm.h>.
45780         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45781         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45782         about bounded pointers.
45783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45785         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45786         <bp-asm.h>.
45787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45788         about bounded pointers.  Remove GKM FIXME comments.
45789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45790         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45791         <bp-asm.h>.
45792         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45793         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45794         Remove GKM FIXME comments.
45795         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45796         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45797         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45798         <bp-asm.h>.
45799         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45800         about bounded pointers.  Remove GKM FIXME comment.
45801         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45802         and <bp-asm.h>.
45803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45804         pointers.
45805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45806         <bp-sym.h> and <bp-asm.h>.
45807         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45809         <bp-sym.h> and <bp-asm.h>.
45810         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45811         comment.
45813 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45815         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45816         call free(NULL).
45818 2013-03-05  David S. Miller  <davem@davemloft.net>
45820         * po/es.po: Update from translation team.
45822 2013-03-05  Andreas Jaeger  <aj@suse.de>
45824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45825         <bits/mman-linux.h>.
45826         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45827         is fine.
45828         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45829         <bits/mman-linux.h> to end of file.
45830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45831         is fine.
45832         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45833         <bits/mman-linux.h> to end of file.
45834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45835         is fine.
45836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45837         <bits/mman-linux.h> to end of file.
45839         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45840         (MCL_CURRENT, MCL_FUTURE): Define here.
45842 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45844         [BZ #15232]
45845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45846         attribute_hidden.
45847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45849 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45851         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45852         fourth parameter needed for rt_sigprocmask syscall.
45853         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45854         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45855         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45856         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45857         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45860 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45862         [BZ #13550]
45863         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45864         comment about bounded pointers.
45865         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45866         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45868 2013-03-04  Andreas Jaeger  <aj@suse.de>
45870         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45871         common definitions.
45873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45874         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45875         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45877         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45880 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45882         [BZ #15055]
45883         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45884         __ieee754_sqrl instead of __sqrl.
45886 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45888         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45889         * sysdeps/powerpc/fpu_control.h: ... here.
45890         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45891         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45892         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45893         * sysdeps/powerpc/bits/mathinline.h: ... here.
45895 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45897         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45898         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45899         to just [NEED_DL_SYSINFO_DSO].
45900         * elf/dl-support.c: Likewise.
45901         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45902         * elf/rtld.c (dl_main): Likewise.
45903         * elf/setup-vdso.h (setup_vdso): Likewise.
45904         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45905         * sysdeps/unix/sysv/linux/dl-sysdep.c
45906         (_dl_discover_osversion): Likewise.
45908 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45910         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45911         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45913 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45915         * NEWS: Mention libm performance improvements and non-x86 PI
45916         futex support.
45918         * csu/libc-start.c (__pthread_initialize_minimal): Change
45919         function arguments.
45920         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45922 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45924         [BZ #13550]
45925         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45926         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45927         <bp-sym.h> and <bp-asm.h>.
45928         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45929         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45930         and <bp-asm.h>.
45931         (memcpy): Don't use BP_SYM.
45932         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45933         <bp-asm.h>.
45934         (__mpn_add_n): Don't use BP_SYM.
45935         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45936         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45937         and <bp-asm.h>.
45938         (__mpn_addmul_1): Don't use BP_SYM.
45939         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45940         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45941         <bp-sym.h>.
45942         (_setjmp): Don't use BP_SYM.
45943         (__novmx_setjmp): Likewise.
45944         (__GI__setjmp): Likewise.
45945         (__vmx_setjmp): Likewise.
45946         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45947         <bp-sym.h>.
45948         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45949         (__bzero): Don't use BP_SYM.
45950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45952         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45953         <bp-sym.h> and <bp-asm.h>.
45954         (memcpy): Don't use BP_SYM.
45955         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45956         <bp-sym.h> and <bp-asm.h>.
45957         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45958         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45959         <bp-sym.h> and <bp-asm.h>.
45960         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45961         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45962         <bp-asm.h>.
45963         (__mpn_lshift): Don't use BP_SYM.
45964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45965         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45966         <bp-asm.h>.
45967         (memset): Don't use BP_SYM.
45968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45970         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45971         <bp-asm.h>.
45972         (__mpn_mul_1): Don't use BP_SYM.
45973         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45974         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45975         <bp-sym.h> and <bp-asm.h>.
45976         (memcmp): Don't use BP_SYM.
45977         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45978         <bp-sym.h> and <bp-asm.h>.
45979         (memcpy): Don't use BP_SYM.
45980         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45981         <bp-sym.h> and <bp-asm.h>.
45982         (memset): Don't use BP_SYM.
45983         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45984         <bp-sym.h> and <bp-asm.h>.
45985         (strncmp): Don't use BP_SYM.
45986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45987         <bp-sym.h> and <bp-asm.h>.
45988         (memcpy): Don't use BP_SYM.
45989         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45990         <bp-sym.h> and <bp-asm.h>.
45991         (memset): Don't use BP_SYM.
45992         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45993         <bp-sym.h> and <bp-asm.h>.
45994         (__memchr): Don't use BP_SYM.
45995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45996         <bp-sym.h> and <bp-asm.h>.
45997         (memcmp): Don't use BP_SYM.
45998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45999         <bp-sym.h> and <bp-asm.h>.
46000         (memcpy): Don't use BP_SYM.
46001         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46002         <bp-sym.h> and <bp-asm.h>.
46003         (__mempcpy): Don't use BP_SYM.
46004         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46005         <bp-sym.h> and <bp-asm.h>.
46006         (__memrchr): Don't use BP_SYM.
46007         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46008         <bp-sym.h> and <bp-asm.h>.
46009         (memset): Don't use BP_SYM.
46010         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46011         <bp-sym.h> and <bp-asm.h>.
46012         (__rawmemchr): Don't use BP_SYM.
46013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46014         <bp-sym.h> and <bp-asm.h>.
46015         (__STRCMP): Don't use BP_SYM.
46016         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46017         <bp-sym.h> and <bp-asm.h>.
46018         (strchr): Don't use BP_SYM.
46019         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46020         <bp-sym.h> and <bp-asm.h>.
46021         (__strchrnul): Don't use BP_SYM.
46022         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46023         <bp-sym.h> and <bp-asm.h>.
46024         (strlen): Don't use BP_SYM.
46025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46026         <bp-sym.h> and <bp-asm.h>.
46027         (strncmp): Don't use BP_SYM.
46028         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46029         <bp-sym.h> and <bp-asm.h>.
46030         (__strnlen): Don't use BP_SYM.
46031         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46032         <bp-asm.h>.
46033         (__mpn_rshift): Don't use BP_SYM.
46034         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46035         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46036         <bp-sym.h> and <bp-asm.h>.
46037         (__sigsetjmp): Don't use BP_SYM.
46038         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46039         (L(start_addresses)): Don't use BP_SYM.
46040         (_start): Likewise.
46041         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46042         <bp-asm.h>.
46043         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46044         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46045         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46046         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46047         <bp-asm.h>.
46048         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46049         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46050         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46051         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46052         <bp-asm.h>.
46053         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46054         comments.
46055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46056         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46057         <bp-asm.h>.
46058         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46059         FIXME comments.
46060         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46061         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46062         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46063         <bp-asm.h>.
46064         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46065         comment.
46066         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46067         and <bp-asm.h>.
46068         (strncmp): Don't use BP_SYM,
46069         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46070         <bp-asm.h>.
46071         (__mpn_sub_n): Don't use BP_SYM.
46072         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46073         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46074         and <bp-asm.h>.
46075         (__mpn_submul_1): Don't use BP_SYM.
46076         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46078         <bp-sym.h> and <bp-asm.h>.
46079         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46081         <bp-sym.h> and <bp-asm.h>.
46082         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46083         comment.
46085 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46088         Use ZK to minimize writes to Z.
46089         (sub_magnitudes): Simplify code a bit.
46090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46091         Use ZK to minimize writes to Z.
46092         (sub_magnitudes): Simplify code a bit.
46094 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46096         * csu/gmon-start.c: Add special exception to license text.
46098 2013-02-27  Richard Henderson  <rth@redhat.com>
46100         * scripts/config.guess: Update from config.git.
46101         * scripts/config.sub: Likewise.
46103 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46105         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46107         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46109         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46111         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46113         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46115 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46117         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46118         [$(build-shared = yes].
46120 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46122         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46123         (__mul): Reduce iterations for calculating mantissa.
46125         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46126         MPTWO.
46127         (__mpranred): Likewise.
46129         [BZ #15160]
46130         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46131         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46133 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46135         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46136         Define __attribute__.
46138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46140         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46141         unused.
46142         * posix/regex_internal.h (__attribute): Remove.
46143         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46144         (re_string_context_at): Likewise.
46145         (bitset_not): Use __attribute__ and mark function as possibly
46146         unused.
46147         (bitset_merge): Likewise.
46148         (bitset_mask): Likewise.
46149         (re_string_char_size_at): Likewise.
46150         (re_string_wchar_at): Likewise.
46151         (re_string_elem_size_at): Likewise.
46153 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46155         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46156         code.
46157         (cc32): Likewise.
46159         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46160         (__acr): Likewise.
46161         (__cpy): Likewise.
46162         (norm): Likewise.
46163         (denorm): Likewise.
46164         (__dbl_mp): Likewise.
46165         (add_magnitudes): Likewise.
46166         (sub_magnitudes): Likewise.
46167         (__mul): Likewise.
46168         (__inv): Likewise.
46170         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46171         style.
46173         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46174         style.
46176         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46177         code.
46179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46180         up changes with default code.
46181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46182         Likewise.
46184 2013-02-24  Allan McRae  <allan@archlinux.org>
46186         * manual/socket.texi (The Internet Namespace): Order menu items
46187         to match that in the file.
46189         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46190         node listing of the info page menu.
46192 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46194         [BZ #13550]
46195         * sysdeps/i386/bp-asm.h: Remove file.
46196         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46197         (PARMS): Do not use macros from bp-asm.h.
46198         (S1): Likewise.
46199         (S2): Likewise.
46200         (SIZE): Likewise.
46201         (__mpn_add_n): Do not use BP_SYM
46202         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46203         "bp-asm.h".
46204         (PARMS): Do not use macros from bp-asm.h.
46205         (S1): Likewise.
46206         (SIZE): Likewise.
46207         (__mpn_addmul_1): Do not use BP_SYM
46208         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46209         "bp-asm.h".
46210         (PARMS): Do not use macros from bp-asm.h.
46211         (SIGMSK): Likewise.
46212         (_setjmp): Likewise.  Do not use BP_SYM.
46213         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46214         "bp-asm.h".
46215         (PARMS): Do not use macros from bp-asm.h.
46216         (SIGMSK): Likewise.
46217         (setjmp): Likewise.  Do not use BP_SYM.
46218         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46219         "bp-asm.h".
46220         (PARMS): Do not use macros from bp-asm.h.
46221         (__frexp): Do not use BP_SYM.
46222         (frexp): Likewise.
46223         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46224         "bp-asm.h".
46225         (PARMS): Do not use macros from bp-asm.h.
46226         (__frexpf): Do not use BP_SYM.
46227         (frexpf): Likewise.
46228         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46229         "bp-asm.h".
46230         (PARMS): Do not use macros from bp-asm.h.
46231         (__frexpl): Do not use BP_SYM.
46232         (frexpl): Likewise.
46233         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46234         "bp-asm.h".
46235         (PARMS): Do not use macros from bp-asm.h.
46236         (__remquo): Do not use BP_SYM.
46237         (remquo): Likewise.
46238         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46239         "bp-asm.h".
46240         (PARMS): Do not use macros from bp-asm.h.
46241         (__remquof): Do not use BP_SYM.
46242         (remquof): Likewise.
46243         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46244         "bp-asm.h".
46245         (PARMS): Do not use macros from bp-asm.h.
46246         (__remquol): Do not use BP_SYM.
46247         (remquol): Likewise.
46248         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46249         "bp-asm.h".
46250         (PARMS): Do not use macros from bp-asm.h.
46251         (DEST): Likewise.
46252         (SRC): Likewise.
46253         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46254         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46255         "bp-asm.h".
46256         (PARMS): Do not use macros from bp-asm.h.
46257         (strlen): Do not use BP_SYM.
46258         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46259         "bp-asm.h".
46260         (PARMS): Do not use macros from bp-asm.h.
46261         (S1): Likewise.
46262         (S2): Likewise.
46263         (SIZE): Likewise.
46264         (__mpn_add_n): Do not use BP_SYM.
46265         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46266         "bp-asm.h".
46267         (PARMS): Do not use macros from bp-asm.h.
46268         (S1): Likewise.
46269         (SIZE): Likewise.
46270         (__mpn_addmul_1): Do not use BP_SYM.
46271         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46272         weak_alias.
46273         (bzero): Likewise.
46274         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46275         "bp-asm.h".
46276         (PARMS): Do not use macros from bp-asm.h.
46277         (S): Likewise.
46278         (SIZE): Likewise.
46279         (__mpn_lshift): Do not use BP_SYM.
46280         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46281         "bp-asm.h".
46282         (PARMS): Do not use macros from bp-asm.h.
46283         (DEST): Likewise.
46284         (SRC): Likewise.
46285         (LEN): Likewise.
46286         (memcpy): Likewise.  Do not use BP_SYM.
46287         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46288         libc_hidden_def and weak_alias.
46289         (mempcpy): Do not use BP_SYM in weak_alias.
46290         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46291         "bp-asm.h".
46292         (PARMS): Do not use macros from bp-asm.h.
46293         (DEST): Likewise.
46294         (LEN): Likewise.
46295         [!BZERO_P] (CHR): Likewise.
46296         (memset): Likewise.  Do not use BP_SYM.
46297         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46298         "bp-asm.h".
46299         (PARMS): Do not use macros from bp-asm.h.
46300         (S1): Likewise.
46301         (SIZE): Likewise.
46302         (__mpn_mul_1): Do not use BP_SYM.
46303         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46304         "bp-asm.h".
46305         (PARMS): Do not use macros from bp-asm.h.
46306         (S): Likewise.
46307         (SIZE): Likewise.
46308         (__mpn_rshift): Do not use BP_SYM.
46309         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46310         "bp-asm.h".
46311         (PARMS): Do not use macros from bp-asm.h.
46312         (STR): Likewise.
46313         (CHR): Likewise.
46314         (strchr): Likewise.  Do not use BP_SYM.
46315         (index): Do not use BP_SYM in weak_alias.
46316         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46317         "bp-asm.h".
46318         (PARMS): Do not use macros from bp-asm.h.
46319         (DEST): Likewise.
46320         (SRC): Likewise.
46321         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46322         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46323         "bp-asm.h".
46324         (PARMS): Do not use macros from bp-asm.h.
46325         (strlen): Do not use BP_SYM.
46326         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46327         "bp-asm.h".
46328         (PARMS): Do not use macros from bp-asm.h.
46329         (S1): Likewise.
46330         (S2): Likewise.
46331         (SIZE): Likewise.
46332         (__mpn_sub_n): Do not use BP_SYM.
46333         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46334         "bp-asm.h".
46335         (PARMS): Do not use macros from bp-asm.h.
46336         (S1): Likewise.
46337         (SIZE): Likewise.
46338         (__mpn_submul_1): Do not use BP_SYM.
46339         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46340         "bp-asm.h".
46341         (PARMS): Do not use macros from bp-asm.h.
46342         (S1): Likewise.
46343         (S2): Likewise.
46344         (SIZE): Likewise.
46345         (__mpn_add_n): Do not use BP_SYM.
46346         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46347         weak_alias.
46348         (bzero): Likewise.
46349         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46350         "bp-asm.h".
46351         (PARMS): Do not use macros from bp-asm.h.
46352         (BLK2): Likewise.
46353         (LEN): Likewise.
46354         (memcmp): Do not use BP_SYM.
46355         (bcmp): Do not use BP_SYM in weak_alias.
46356         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46357         "bp-asm.h".
46358         (PARMS): Do not use macros from bp-asm.h.
46359         (DEST): Likewise.
46360         (SRC): Likewise.
46361         (LEN): Likewise.
46362         (memcpy): Likewise.  Do not use BP_SYM.
46363         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46364         "bp-asm.h".
46365         (PARMS): Do not use macros from bp-asm.h.
46366         (DEST): Likewise.
46367         (SRC): Likewise.
46368         (LEN): Likewise.
46369         (memmove): Likewise.  Do not use BP_SYM.
46370         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46371         "bp-asm.h".
46372         (PARMS): Do not use macros from bp-asm.h.
46373         (DEST): Likewise.
46374         (SRC): Likewise.
46375         (LEN): Likewise.
46376         (__mempcpy): Likewise.  Do not use BP_SYM.
46377         (mempcpy): Do not use BP_SYM in weak_alias.
46378         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46379         "bp-asm.h".
46380         (PARMS): Do not use macros from bp-asm.h.
46381         (DEST): Likewise.
46382         (LEN): Likewise.
46383         [!BZERO_P] (CHR): Likewise.
46384         (memset): Likewise.  Do not use BP_SYM.
46385         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46386         "bp-asm.h".
46387         (PARMS): Do not use macros from bp-asm.h.
46388         (STR2): Likewise.
46389         (strcmp): Do not use BP_SYM.
46390         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46391         "bp-asm.h".
46392         (PARMS): Do not use macros from bp-asm.h.
46393         (STR): Likewise.
46394         (DELIM): Likewise.
46395         [USE_AS_STRTOK_R] (SAVE): Likewise.
46396         (FUNCTION): Likewise.  Do not use BP_SYM.
46397         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46398         aliases.
46399         (strtok_r): Likewise.
46400         (__GI___strtok_r): Likewise.
46401         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46402         (PARMS): Do not use macros from bp-asm.h.
46403         (S): Likewise.
46404         (SIZE): Likewise.
46405         (__mpn_lshift): Do not use BP_SYM.
46406         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46407         (PARMS): Do not use macros from bp-asm.h.
46408         (STR): Likewise.
46409         (CHR): Likewise.
46410         (__memchr): Do not use BP_SYM.
46411         (memchr): Do not use BP_SYM in weak_alias.
46412         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46413         (PARMS): Do not use macros from bp-asm.h.
46414         (BLK2): Likewise.
46415         (LEN): Likewise.
46416         (memcmp): Do not use BP_SYM.
46417         (bcmp): Do not use BP_SYM in weak_alias.
46418         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46419         (PARMS): Do not use macros from bp-asm.h.
46420         (S1): Likewise.
46421         (SIZE): Likewise.
46422         (__mpn_mul_1): Do not use BP_SYM.
46423         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46424         "bp-asm.h".
46425         (PARMS): Do not use macros from bp-asm.h.
46426         (STR): Likewise.
46427         (CHR): Likewise.
46428         (__rawmemchr): Do not use BP_SYM.
46429         (rawmemchr): Do not use BP_SYM in weak_alias.
46430         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46431         (PARMS): Do not use macros from bp-asm.h.
46432         (S): Likewise.
46433         (SIZE): Likewise.
46434         (__mpn_rshift): Do not use BP_SYM.
46435         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46436         (PARMS): Do not use macros from bp-asm.h.
46437         (SIGMSK): Likewise.
46438         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46439         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46440         (_start): Do not use BP_SYM.
46441         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46442         (PARMS): Do not use macros from bp-asm.h.
46443         (DEST): Likewise.
46444         (SRC): Likewise.
46445         (__stpcpy): Likewise.  Do not use BP_SYM.
46446         (stpcpy): Do not use BP_SYM in weak_alias.
46447         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46448         "bp-asm.h".
46449         (PARMS): Do not use macros from bp-asm.h.
46450         (DEST): Likewise.
46451         (SRC): Likewise.
46452         (LEN): Likewise.
46453         (__stpncpy): Likewise.  Do not use BP_SYM.
46454         (stpncpy): Do not use BP_SYM in weak_alias.
46455         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46456         (PARMS): Do not use macros from bp-asm.h.
46457         (STR): Likewise.
46458         (CHR): Likewise.
46459         (strchr): Likewise.  Do not use BP_SYM.
46460         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46461         "bp-asm.h".
46462         (PARMS): Do not use macros from bp-asm.h.
46463         (STR): Likewise.
46464         (CHR): Likewise.
46465         (__strchrnul): Likewise.  Do not use BP_SYM.
46466         (strchrnul): Do not use BP_SYM in weak_alias.
46467         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46468         "bp-asm.h".
46469         (PARMS): Do not use macros from bp-asm.h.
46470         (STOP): Likewise.
46471         (strcspn): Do not use BP_SYM.
46472         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46473         "bp-asm.h".
46474         (PARMS): Do not use macros from bp-asm.h.
46475         (STR): Likewise.
46476         (STOP): Likewise.
46477         (strpbrk): Likewise.  Do not use BP_SYM.
46478         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46479         "bp-asm.h".
46480         (PARMS): Do not use macros from bp-asm.h.
46481         (STR): Likewise.
46482         (CHR): Likewise.
46483         (strrchr): Likewise.  Do not use BP_SYM.
46484         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46485         (PARMS): Do not use macros from bp-asm.h.
46486         (SKIP): Likewise.
46487         (strspn): Do not use BP_SYM.
46488         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46489         (PARMS): Do not use macros from bp-asm.h.
46490         (STR): Likewise.
46491         (DELIM): Likewise.
46492         (SAVE): Likewise.
46493         (FUNCTION): Likewise.  Do not use BP_SYM.
46494         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46495         aliases.
46496         (strtok_r): Likewise.
46497         (__GI___strtok_r): Likewise.
46498         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46499         (PARMS): Do not use macros from bp-asm.h.
46500         (S1): Likewise.
46501         (S2): Likewise.
46502         (SIZE): Likewise.
46503         (__mpn_sub_n): Do not use BP_SYM.
46504         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46505         "bp-asm.h".
46506         (PARMS): Do not use macros from bp-asm.h.
46507         (S1): Likewise.
46508         (SIZE): Likewise.
46509         (__mpn_submul_1): Do not use BP_SYM.
46510         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46511         <bp-sym.h>.
46512         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46513         and <bp-asm.h>.
46514         (PARMS): Do not use macros from bp-asm.h.
46515         (FLAGS): Likewise.
46516         (PTID): Likewise.
46517         (TLS): Likewise.
46518         (CTID): Likewise.
46519         (__clone): Do not use BP_SYM.
46520         (clone): Do not use BP_SYM in weak_alias.
46521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46522         and <bp-asm.h>.
46523         (PARMS): Do not use macros from bp-asm.h.
46524         (LEN): Likewise.
46525         (__mmap64): Do not use BP_SYM.
46526         (mmap64): Do not use BP_SYM in weak_alias.
46527         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46528         <bp-sym.h> and <bp-asm.h>.
46529         (PARMS): Do not use macros from bp-asm.h.
46530         (__posix_fadvise64_l64): Do not use BP_SYM.
46531         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46532         (PARMS): Do not use macros from bp-asm.h.
46533         (NSOPS): Likewise.
46534         (semtimedop): Do not use BP_SYM.
46535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46536         and <bp-asm.h>.
46538 2013-02-21  Allan McRae  <allan@archlinux.org>
46540         * manual/message.texi (Charset conversion in gettext):
46541         Move @end statement to beginning of line.
46543 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46546         static.
46547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46548         Likewise.
46550         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46551         (denorm): Likewise.
46552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46555 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46557         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46558         tail-call to the resolved function if pltexit isn't needed.
46560 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46563         or Y being zero as being unlikely.
46564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46565         Likewise.
46567 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46569         * manual/nss.texi (System Databases and Name Service Switch):
46570         Remove frobnicate @pxref.
46572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46575         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46577 2013-02-20  Petr Machata  <pmachata@redhat.com>
46579         * elf/elf.h (R_ARM_TARGET1): New macro.
46580         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46581         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46582         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46583         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46584         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46585         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46586         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46587         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46588         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46589         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46590         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46591         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46592         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46593         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46594         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46595         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46596         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46597         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46598         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46599         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46600         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46601         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46602         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46603         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46604         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46605         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46606         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46607         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46608         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46609         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46610         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46611         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46612         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46613         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46614         (R_ARM_THM_GOT_BREL12): Likewise.
46615         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46616         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46617         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46618         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46619         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46620         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46621         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46622         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46623         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46625 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46627         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46628         __attribute_used__ to __attribute__ ((unused)).
46630 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46632         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46633         powerpc mpa.c.
46634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46635         comment formatting.
46636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46638 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46640         [BZ #13550]
46641         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46642         Remove macro.
46643         (ENTER): Remove both macro definitions.
46644         (LEAVE): Likewise.
46645         (CHECK_BOUNDS_LOW): Likewise.
46646         (CHECK_BOUNDS_HIGH): Likewise.
46647         (CHECK_BOUNDS_BOTH): Likewise.
46648         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46649         (RETURN_BOUNDED_POINTER): Likewise.
46650         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46651         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46652         (POP_ERRNO_LOCATION_RETURN): Likewise.
46653         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46654         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46655         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46656         macros.
46657         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46658         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46659         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46660         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46661         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46662         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46663         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46664         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46665         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46666         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46667         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46668         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46669         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46670         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46671         removed macros.
46672         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46673         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46674         macros.
46675         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46676         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46677         * sysdeps/i386/i586/memset.S (memset): Likewise.
46678         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46679         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46680         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46681         macros.
46682         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46683         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46684         Change uses of L(2) to L(out).
46685         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46686         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46687         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46688         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46689         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46690         removed macros.
46691         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46692         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46693         macros.
46694         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46695         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46696         (RETURN): Do not use macro LEAVE.
46697         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46698         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46699         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46700         * sysdeps/i386/i686/memset.S (memset): Likewise.
46701         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46702         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46703         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46704         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46705         Likewise.
46706         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46707         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46708         L(1_2) and L(1_3) into L(1).
46709         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46710         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46711         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46712         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46713         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46714         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46715         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46716         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46717         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46718         macros.
46719         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46721         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46722         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46723         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46724         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46725         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46726         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46727         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46728         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46729         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46730         * sysdeps/i386/strspn.S (strspn): Likewise.
46731         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46732         conditional code.
46733         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46734         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46735         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46736         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46737         L(1_3) into L(1_1).
46738         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46739         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46740         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46741         macros.
46742         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46744 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46746         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46747         macro.
46749 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46751         * math/atest-exp.c (exp_mpn): Remove ROUND.
46752         * math/atest-exp2.c (exp_mpn): Likewise.
46753         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46755         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46756         * stdlib/tst-tls-atexit-lib.c: Likewise.
46757         * stdlib/tst-tls-atexit.c: Likewise.
46759 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46761         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46762         and __attribute_alloc_size__.
46764 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46766         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46767         __attribute_alloc_size__.
46768         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46769         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46771 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46773         * include/programs/xmalloc.h: New file.
46774         * catgets/gencat.c: Include it.
46775         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46776         * elf/pldd.c: Likewise.
46777         * iconv/iconv_charmap.c: Likewise.
46778         * iconv/iconvconfig.c: Likewise.
46779         * iconv/strtab.c: Likewise.
46780         * locale/programs/locale.c: Likewise.
46781         * locale/programs/localedef.h: Likewise.
46782         * locale/programs/simple-hash.c: Likewise.
46783         * nscd/nscd.h: Likewise.
46784         * nss/makedb.c: Likewise.
46785         * sysdeps/generic/ldconfig.h: Likewise.
46787 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46789         * Versions.def: Add GLIBC_2.18.
46790         * include/link.h (struct link_map): New member l_tls_dtor_count.
46791         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46792         (__call_tls_dtors): Likewise.
46793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46794         __cxa_thread_atexit_impl.
46795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46796         Likewise.
46797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46798         Likewise.
46799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46800         Likewise.
46801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46802         Likewise.
46803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46805         Likewise.
46806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46807         Likewise.
46808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46810         Likewise.
46811         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46812         (tests): Add test case tst-tls-atexit.
46813         (modules-names): Add shared library for tst-tls-atexit.
46814         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46815         (GLIBC_PRIVATE): Add __call_tls_dtors.
46816         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46817         for libstdc++.
46818         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46819         * stdlib/tst-tls-atexit.c: New test case.
46820         * stdlib/tst-tls-atexit-lib.c: New test case.
46822         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46824         * elf/Versions (ld): Add _dl_find_dso_for_object.
46825         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46826         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46827         (dl_open_worker): Use _dl_find_dso_for_object.
46828         * elf/dl-sym.c (do_sym): Likewise.
46829         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46831 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46833         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46834         Syntactic changes only.
46835         (_dl_runtime_profile): Do a tail-call to the resolved function.
46837 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46839         [BZ #13550]
46840         * sysdeps/x86_64/bp-asm.h: Remove file.
46841         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46842         <bp-sym.h> and <bp-asm.h>.
46843         (__clone): Do not use BP_SYM.
46844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46845         <bp-sym.h> and <bp-asm.h>.
46846         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46847         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46848         "bp-asm.h".
46849         (_setjmp): Do not use BP_SYM.
46850         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46851         "bp-asm.h".
46852         (setjmp): Do not use BP_SYM.
46853         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46854         libc_hidden_def.
46855         (mempcpy): Do not use BP_SYM in weak_alias.
46856         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46857         "bp-asm.h".
46858         (strchr): Do not use BP_SYM.
46859         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46860         "bp-asm.h".
46861         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46862         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46863         (_start): Do not use BP_SYM.
46864         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46865         "bp-asm.h".
46866         (strcat): Do not use BP_SYM.
46867         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46868         "bp-asm.h".
46869         (STRCMP): Do not use BP_SYM.
46870         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46871         "bp-asm.h".
46872         (STRCPY): Do not use BP_SYM.
46873         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46874         "bp-asm.h".
46875         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46876         "bp-asm.h".
46877         (FUNCTION): Do not use BP_SYM.
46878         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46879         weak_alias.
46880         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46882 2013-02-17  Andreas Jaeger  <aj@suse.de>
46884         * time/Versions: Sort entries.
46885         * string/Versions: Likewise.
46886         * resolv/Versions: Likewise.
46887         * posix/Versions: Likewise.
46888         * iconv/Versions: Likewise.
46889         * elf/Versions: Likewise.
46890         * wcsmbs/Versions: Likewise.
46892 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46894         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46895         loop termination condition.
46897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46898         variable to calculate EZ.
46899         (__sqr): Likewise.
46901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46902         the lower precision input.
46904 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46906         [BZ #13550]
46907         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46908         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46909         (run-via-rtld-prefix): Do not handle %-bp tests.
46910         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46911         (all-object-suffixes): Remove .ob.
46912         (bppfx): Remove variable.
46913         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46914         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46915         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46916         [$(build-bounded) = yes] (libtype.ob): Likewise.
46917         * Makerules (elide-routines.ob): Remove variable.
46918         (do-tests-clean): Do not handle *-bp.out.
46919         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46920         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46921         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46922         (tests): Do not include $(tests-bp.out).
46923         (xtests): Do not include $(xtests-bp.out).
46924         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46925         [$(build-bounded) = yes] ($(addprefix
46926         $(objpfx),$(binaries-bounded))): Remove rule.
46927         ($(objpfx)%-bp.out): Remove rule.
46928         * config.make.in (build-bounded): Remove variable.
46929         * crypt/Makefile [$(build-bounded) = yes]
46930         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46931         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46932         append to variable.
46933         [$(build-bounded) = yes] (install-lib): Likewise.
46934         [$(build-bounded) = yes] (generated): Likewise.
46935         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46936         Remove rule.
46937         * intl/Makefile [$(build-bounded) = yes]
46938         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46939         * math/Makefile [$(build-bounded) = yes]
46940         ($(tests:%=$(objpfx)%-bp): Likewise.
46941         * misc/Makefile [$(build-bounded) = yes]
46942         ($(objpfx)tst-tsearch-bp): Likewise.
46943         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46944         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46945         Remove dependency.
46946         * string/Makefile (o-objects.ob): Remove variable.
46947         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46948         (CFLAGS-.ob): Remove variable.
46949         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46950         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46951         both definitions of variable.
46952         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46953         (ASFLAGS-.ob): Remove variable.
46955 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46957         [BZ #13550]
46958         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46959         Remove __BOUNDED_POINTERS__ from condition.
46960         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46961         * string/bits/string2.h [!__NO_STRING_INLINES &&
46962         !__BOUNDED_POINTERS__]: Likewise.
46963         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46964         Likewise.
46965         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46966         Remove conditional code.
46967         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46968         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46969         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46970         condition.
46972         [BZ #13550]
46973         * csu/libc-start.c: Do not include <bp-sym.h>.
46974         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46975         * elf/dl-open.c: Do not include <bp-sym.h>.
46976         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46977         * math/fegetenv.c: Do not include <bp-sym.h>.
46978         (fegetenv): Do not use BP_SYM in versioned symbols.
46979         * nptl/sysdeps/pthread/bits/libc-lockP.h
46980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46981         <bp-sym.h>.
46982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46983         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46985         (__pthread_mutex_destroy): Likewise.
46986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46987         (__pthread_mutex_lock): Likewise.
46988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46989         (__pthread_mutex_trylock): Likewise.
46990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46991         (__pthread_mutex_unlock): Likewise.
46992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46993         (__pthread_mutexattr_init): Likewise.
46994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46995         (__pthread_mutexattr_destroy): Likewise.
46996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46997         (__pthread_mutexattr_settype): Likewise.
46998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46999         (__pthread_rwlock_init): Likewise.
47000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47001         (__pthread_rwlock_destroy): Likewise.
47002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47003         (__pthread_rwlock_rdlock): Likewise.
47004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47005         (__pthread_rwlock_tryrdlock): Likewise.
47006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47007         (__pthread_rwlock_wrlock): Likewise.
47008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47009         (__pthread_rwlock_trywrlock): Likewise.
47010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47011         (__pthread_rwlock_unlock): Likewise.
47012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47013         (__pthread_key_create): Likewise.
47014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47015         (__pthread_setspecific): Likewise.
47016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47017         (__pthread_getspecific): Likewise.
47018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47019         Likewise.
47020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47021         (_pthread_cleanup_push_defer): Likewise.
47022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47023         (_pthread_cleanup_pop_restore): Likewise.
47024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47025         (pthread_setcancelstate): Likewise.
47026         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47027         <bp-sym.h>.
47028         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47029         (memchr): Do not use BP_SYM in weak_alias.
47030         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47031         (fegetenv): Do not use BP_SYM in versioned symbols.
47032         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47033         (fesetenv): Do not use BP_SYM in versioned symbols.
47034         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47035         (feupdateenv): Do not use BP_SYM in versioned symbols.
47036         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47037         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47038         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47039         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47040         (open64): Do not use BP_SYM in weak_alias.
47041         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47042         (fegetenv): Do not use BP_SYM in versioned symbols.
47043         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47044         (fesetenv): Do not use BP_SYM in versioned symbols.
47045         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47046         (feupdateenv): Do not use BP_SYM in versioned symbols.
47047         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47048         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47049         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47050         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47051         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47052         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47054         <bp-sym.h>.
47055         (__libc_start_main): Do not use BP_SYM.
47057 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47060         redundant return line.
47061         (norm): Likewise.
47062         (denorm): Likewise.
47063         (dbl_mp): Likewise.
47064         (sub_magnitudes): Likewise.
47065         (__add): Likewise.
47066         (__sub): Likewise.
47067         (__mul): Likewise.
47068         (__inv): Likewise.
47069         (__dvd): Likewise.
47070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47071         (norm): Likewise.
47072         (denorm): Likewise.
47073         (dbl_mp): Likewise.
47074         (sub_magnitudes): Likewise.
47075         (__add): Likewise.
47076         (__sub): Likewise.
47077         (__mul): Likewise.
47078         (__inv): Likewise.
47079         (__dvd): Likewise.
47081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47082         instead of __mul.
47083         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47084         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47085         (cc32): Likewise.
47087         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47088         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47090         of __mul for squares.
47091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47092         function
47093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47094         Likewise.
47095         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47096         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47098 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47100         [BZ #13550]
47101         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47102         code.
47103         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47104         prototype or function definition.  Rename ubp_* variables and
47105         parameters.  Remove argv definitions conditional on
47106         [__BOUNDED_POINTERS__].
47107         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47108         * elf/dl-runtime.c (_dl_fixup): Likewise.
47109         * include/set-hooks.h (RUN_HOOK): Likewise.
47110         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47111         definition.
47112         * string/strcpy.c (strcpy): Do not use __unbounded.
47113         * sysdeps/generic/frame.h (struct layout): Likewise.
47114         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47115         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47116         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47117         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47118         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47119         (__backtrace): Likewise.
47120         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47121         use __ptrvalue.
47122         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47123         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47124         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47125         Likewise.
47126         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47127         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47128         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47129         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47130         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47131         Do not use __unbounded.
47132         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47133         Rename __unboundedrlimits parameter to rlimits in prototype.
47134         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47135         Do not use __unbounded.
47136         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47137         not use __ptrvalue.
47138         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47139         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47140         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47141         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47142         __ptrvalue or __unbounded.
47143         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47144         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47145         use __unbounded.
47146         (__new_msgctl): Do not use __ptrvalue.
47147         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47148         __unbounded.
47149         (__libc_msgrcv): Do not use __ptrvalue.
47150         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47151         startup_info): Do not use __unbounded.
47152         (__libc_start_main): Likewise.  Rename ubp_* variables and
47153         parameters.  Remove argv definitions conditional on
47154         [__BOUNDED_POINTERS__].
47155         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47156         __ptrvalue.
47157         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47158         use __unbounded.
47159         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47160         or __ptrvalue.
47161         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47162         use __unbounded.
47163         (__new_shmctl): Do not use __ptrvalue.
47164         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47165         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47166         Likewise.
47167         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47169         (__libc_sigaction): Likewise.
47170         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47172         Likewise.
47173         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47175 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47177         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47179         * string/mempcpy.c: Implement by calling memcpy.
47181 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47186         evaluation.
47188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47189         values in the mantissa.
47191         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47192         minimize writes to Z.
47193         (sub_magnitudes): Simplify code a bit.
47195 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47197         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47198         from the message.  The linker prefixes all warnings with that already.
47200 2013-02-12  Andreas Schwab  <schwab@suse.de>
47202         [BZ #15078]
47203         * posix/regexec.c (extend_buffers): Add parameter min_len.
47204         (check_matching): Pass minimum needed length.
47205         (clean_state_log_if_needed): Likewise.
47206         (get_subexp): Likewise.
47207         * posix/Makefile (tests): Add bug-regex34.
47208         (bug-regex34-ENV): Define.
47209         * posix/bug-regex34.c: New file.
47211         [BZ #11561]
47212         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47213         elements compare against the byte sequence of it, not its name.
47214         * posix/Makefile (tests): Add bug-regex35.
47215         (bug-regex35-ENV): Define.
47216         * posix/bug-regex35.c: New file.
47218 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47220         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47221         comment.
47222         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47223         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47224         (CHECK_EOL): Add undef.
47226 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47228         * bits/stdlib-bsearch.h: New file.
47229         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47230         * stdlib/stdlib.h: Likewise.
47232 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47234         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47235         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47236         declaration.
47237         * manual/search.texi (Array Search Function): Add missing const in
47238         lfind prototype.
47239         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47240         declaration to use rlim_t.
47241         (Basic Scheduling Functions): Remove erroneous const from
47242         sched_getparam prototype.  Remove erroneous * from
47243         sched_get_priority_max and sched_get_priority_min prototypes.
47244         (Resource Usage): Fix summary @comment on vtimes to refer to
47245         sys/vtimes.h rather than vtimes.h.
47246         Add missing *s in vtimes prototype.
47247         (Limits on Resources): Fix ulimit prototype to return long int.
47248         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47249         prototypes to use long int rather than double.
47250         (BSD Random): Fix initstate and setstate to use char *, not void *.
47251         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47252         prototype to make second argument 'struct aiocb64 *const[]'.
47253         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47254         (Status of AIO Operations): Remove erroneous const in aio_return and
47255         aio_return64 prototypes.
47256         (Synchronizing I/O): Fix sync prototype to return void.
47257         * manual/startup.texi (Suboptions): Remove an erroneous const in
47258         getsubopt prototype.
47259         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47260         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47261         use size_t rather than int.
47262         (Scanning All Users): Likewise for getpwent_r.
47263         (Setting Groups): Add missing const to setgroups prototype.
47264         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47265         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47266         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47267         'const void *' rather than 'const char *'.
47268         (Host Address Functions): Likewise for inet_ntop.
47269         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47270         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47271         ssize_t for return value.
47272         (Sending Data): Likewise for send, sendto, sendmsg.
47273         (Socket Option Functions): Add a missing const in setsockopt prototype.
47274         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47275         use wchar_t for the argument.
47276         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47277         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47278         take no arguments.
47279         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47280         double/float/long double for second argument.
47281         Fix return types of significand, significandf, significandl.
47282         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47283         argument in fchmod prototype.
47284         (File Owner): Use uid_t and gid_t in fchown prototype.
47285         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47286         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47287         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47288         use 'const struct dirent **' as argument types to CMP function pointer
47289         argument.
47290         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47291         (File Times): Fix summary magic @comment for struct utimbuf and utime
47292         to refer to utime.h, not time.h.
47293         * manual/string.texi (Argz Functions): Add missing const in
47294         argz_extract and argz_next prototypes.
47295         (Finding Tokens in a String): Likewise for basename.
47296         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47297         (Copying and Concatenation): Fix typo in wmemmove prototype.
47298         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47299         (Signal Stack): Remove erroneous const in sigstack prototype.
47300         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47301         prototype.
47302         (Simple Calendar Time): Likewise for stime.
47303         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47304         prototype.
47305         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47306         say sys/sysctl.h instead.
47307         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47308         and vsyslog prototypes.
47310 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47312         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47313         Remove.
47315 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47317         * misc/sys/mman.h: Fix typo in mremap comment.
47319 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47321         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47322         the '\0' terminator.
47324 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47326         [BZ #13550]
47327         * debug/segfault.c: Don't include <bp-checks.h>.
47328         * sysdeps/generic/bp-checks.h: Remove file.
47329         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47330         (__GETDENTS): Don't use CHECK_N.
47331         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47332         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47333         (__getgroups): Don't use CHECK_N.
47334         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47335         (setgroups): Don't use CHECK_N.
47336         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47337         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47338         (__libc_msgrcv): Don't use CHECK_N.
47339         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47340         (__libc_msgsnd): Don't use CHECK_N.
47341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47342         <bp-checks.h>.
47343         (__libc_pread): Don't use CHECK_N.
47344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47345         include <bp-checks.h>.
47346         (__libc_pread64): Don't use CHECK_N.
47347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47348         include <bp-checks.h>.
47349         (__libc_pwrite): Don't use CHECK_N.
47350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47351         include <bp-checks.h>.
47352         (__libc_pwrite64): Don't use CHECK_N.
47353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47354         <bp-checks.h>.
47355         (__libc_pread): Don't use CHECK_N.
47356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47357         include <bp-checks.h>.
47358         (__libc_pread64): Don't use CHECK_N.
47359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47360         include <bp-checks.h>.
47361         (__libc_pwrite): Don't use CHECK_N.
47362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47363         include <bp-checks.h>.
47364         (__libc_pwrite64): Don't use CHECK_N.
47365         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47366         (do_pread): Don't use CHECK_N.
47367         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47368         (do_pread64): Don't use CHECK_N.
47369         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47370         (do_pwrite): Don't use CHECK_N.
47371         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47372         (do_pwrite64): Don't use CHECK_N.
47373         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47374         (__libc_readv): Don't use CHECK_N.
47375         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47376         (semop): Don't use CHECK_N.
47377         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47378         <bp-checks.h>.
47379         (semtimedop): Don't use CHECK_N.
47380         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47381         (__libc_pread): Don't use CHECK_N.
47382         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47383         <bp-checks.h>.
47384         (__libc_pread64): Don't use CHECK_N.
47385         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47386         <bp-checks.h>.
47387         (__libc_pwrite): Don't use CHECK_N.
47388         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47389         <bp-checks.h>.
47390         (__libc_pwrite64): Don't use CHECK_N.
47391         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47392         <bp-checks.h>.
47393         (__libc_msgrcv): Don't use CHECK_N.
47394         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47395         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47396         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47397         (__libc_writev): Don't use CHECK_N.
47399 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47401         * string/strcpy.c: Removed unused variable.
47403         * Makeconfig (+sysdep-includes): Define with := rather than =.
47404         Use an existing include/ subdir of each sysdeps dir before it.
47406 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47408         * nscd/connection.c (register_traced_file): Comment function.
47409         [HAVE_INOTIFY] (union __inev): Define.
47410         [HAVE_INOTIFY] (inotify_check_files): New function.
47411         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47412         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47413         clear_db_cache.
47414         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47416 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47418         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47419         loaded if not already and that a failure is permanent.
47421 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47423         [BZ #15006]
47424         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47425         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47427 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47429         [BZ #13550]
47430         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47431         (CHECK_1_NULL_OK): Likewise.
47432         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47433         (__fxstat): Do not use CHECK_1.
47434         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47435         <bp-checks.h>.
47436         (___fxstat64): Do not use CHECK_1.
47437         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47438         <bp-checks.h>.
47439         (__fxstatat): Do not use CHECK_1.
47440         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47441         <bp-checks.h>.
47442         (__fxstatat64): Do not use CHECK_1.
47443         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47444         <bp-checks.h>.
47445         (__fxstat): Do not use CHECK_1.
47446         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47447         <bp-checks.h>.
47448         (__fxstatat): Do not use CHECK_1.
47449         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47450         <bp-checks.h>.
47451         (__getresgid): Do not use CHECK_1.
47452         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47453         <bp-checks.h>.
47454         (__getresuid): Do not use CHECK_1.
47455         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47456         <bp-checks.h>.
47457         (__lxstat): Do not use CHECK_1.
47458         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47459         <bp-checks.h>.
47460         (__old_msgctl): Do not use CHECK_1.
47461         (__new_msgctl): Likewise.
47462         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47463         <bp-checks.h>.
47464         (__new_setrlimit): Do not use CHECK_1.
47465         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47466         <bp-checks.h>.
47467         (__old_shmctl): Do not use CHECK_1.
47468         (__new_shmctl): Likewise.
47469         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47470         <bp-checks.h>.
47471         (__xstat): Do not use CHECK_1.
47472         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47473         (__lxstat): Do not use CHECK_1.
47474         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47475         <bp-checks.h>.
47476         (___lxstat64): Do not use CHECK_1.
47477         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47478         (__old_msgctl): Do not use CHECK_1.
47479         (__new_msgctl): Likewise.
47480         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47481         <bp-checks.h>.
47482         (__gettimeofday): Do not use CHECK_1.
47483         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47484         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47485         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47486         <bp-checks.h>.
47487         (__gettimeofday): Do not use CHECK_1.
47488         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47489         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47490         (__new_shmctl): Do not use CHECK_1.
47491         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47492         <bp-checks.h>.
47493         (do_sigtimedwait): Do not use CHECK_1.
47494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47495         <bp-checks.h>.
47496         (do_sigwaitinfo): Do not use CHECK_1.
47497         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47498         <bp-checks.h>.
47499         (msgctl): Do not use CHECK_1.
47500         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47501         <bp-checks.h>.
47502         (shmctl): Do not use CHECK_1.
47503         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47504         (ustat): Do not use CHECK_1.
47505         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47506         <bp-checks.h>.
47507         (__fxstat): Do not use CHECK_1.
47508         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47509         <bp-checks.h>.
47510         (__fxstatat): Do not use CHECK_1.
47511         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47512         <bp-checks.h>.
47513         (__lxstat): Do not use CHECK_1.
47514         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47515         <bp-checks.h>.
47516         (__xstat): Do not use CHECK_1.
47517         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47518         (__xstat): Do not use CHECK_1.
47519         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47520         (___xstat64): Do not use CHECK_1.
47522         [BZ #13550]
47523         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47524         definitions.
47525         (CHECK_BOUNDS_HIGH): Likewise.
47526         * string/strcpy.c: Do not include <bp-checks.h>.
47527         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47529 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47531         * nscd/nscd-client.h (__nscd_drop_map_ref):
47532         Add __attribute__ ((unused)).
47533         * nis/nss-nisplus.h (niserr2nss): Likewise.
47535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47536         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47538         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47539         Remove inline keyword.
47540         * include/rounding-mode.h (round_away): Likewise.
47541         * libio/wfileops.c (adjust_wide_data): Likewise.
47542         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47543         (__m128i_strloadu_tolower): Likewise.
47544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47545         (__m128i_strloadu_tolower): Likewise.
47546         * time/mktime.c (ydhms_diff): Likewise.
47547         * locale/elem-hash.h (elem_hash): Likewise.
47548         * locale/setlocale.c (setdata): Likewise.
47549         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47550         (re_string_wchar_at): Likewise.
47551         (bitset_not, bitset_merge, bitset_mask): Likewise.
47552         [!(__GNUC__ > 3)] (inline): Remove macro.
47553         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47554         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47555         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47556         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47557         * string/memcmp.c (memcmp_bytes): Likewise.
47558         * locale/programs/locarchive.c (compute_hashval): Likewise.
47559         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47560         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47561         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47562         * nss/getent.c (print_rpc, print_protocols): Likewise.
47563         (print_passwd, print_group, print_aliases): Likewise.
47564         * nis/nss-nisplus.h (niserr2nss): Likewise.
47565         * nscd/connections.c (restart_p): Likewise.
47566         Change return type to bool.
47568 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47570         * Makeconfig (all-Depend-files): Add existing
47571         $(sorted-subdirs:=/Depend) files.
47572         (all-subdirs): Remove nss.
47573         * sysdeps/unix/inet/Subdirs: Add it here instead.
47574         * hesiod/Depend: New file.
47576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47577         instead of calling alloca.
47579         * io/lseek.c (__lseek): Rename to __libc_lseek.
47580         Define __lseek as an alias.
47582         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47584 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47586         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47587         else clause and remove check for non-standard endianness.
47589 2013-02-04  David S. Miller  <davem@davemloft.net>
47591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47593 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47595         [BZ #13550]
47596         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47597         (__ubp_memchr): Remove prototype.
47598         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47599         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47600         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47601         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47602         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47603         Remove alias.
47604         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47605         (__ubp_memchr): Likewise.
47606         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47607         (__ubp_memchr): Likewise.
47608         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47609         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47610         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47612         CHECK_STRING.
47613         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47614         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47615         (__getcwd): Do not use CHECK_STRING.
47616         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47617         <bp-checks.h>.
47618         (__real_chown): Do not use CHECK_STRING.
47619         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47620         <bp-checks.h>.
47621         (fchownat): Do not use CHECK_STRING.
47622         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47623         CHECK_STRING.
47624         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47625         <bp-checks.h>.
47626         (__lchown): Do not use CHECK_STRING.
47627         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47628         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47629         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47630         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47632         include <bp-checks.h>.
47633         (truncate64): Do not use CHECK_STRING.
47634         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47635         <bp-checks.h>.
47636         (__real_chown): Do not use CHECK_STRING.
47637         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47638         <bp-checks.h>.
47639         (__lchown): Do not use CHECK_STRING.
47640         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47641         <bp-checks.h>.
47642         (__chown): Do not use CHECK_STRING.
47643         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47644         <bp-checks.h>.
47645         (truncate64): Do not use CHECK_STRING.
47646         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47647         Likewise.
47648         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47649         (__xmknod): Do not use CHECK_STRING.
47650         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47651         <bp-checks.h>.
47652         (__xmknodat): Do not use CHECK_STRING.
47653         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47654         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47656 2013-02-04  Andreas Schwab  <schwab@suse.de>
47658         [BZ #14142]
47659         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47660         * include/netdb.h: Likewise for h_errno.
47661         * elf/tst-stackguard1.c: Include <tls.h>.
47663 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47665         * elf/link.h (struct link_map): Extend the l_addr comment.
47666         * include/link.h (struct link_map): Likewise.
47668 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47670         [BZ #13550]
47671         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47672         (BOUNDED_1): Remove macro.
47673         * debug/backtrace.c: Don't include <bp-checks.h>.
47674         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47675         (__backtrace): Likewise.
47676         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47677         <bp-checks.h>.
47678         (__backtrace): Don't use BOUNDED_1.
47679         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47680         <bp-checks.h>.
47681         (__backtrace): Don't use BOUNDED_1.
47682         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47683         (__backtrace): Don't use BOUNDED_1.
47684         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47685         (shmat): Don't use BOUNDED_N.
47687 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47689         [BZ #13550]
47690         * sysdeps/generic/bp-start.h: Remove file.
47691         * csu/libc-start.c: Don't include <bp-start.h>.
47692         (LIBC_START_MAIN): Set up __environ directly instead of using
47693         INIT_ARGV_and_ENVIRON.
47694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47695         <bp-start.h>.
47697         [BZ #13550]
47698         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47699         definitions.
47700         (CHECK_FCNTL): Likewise.
47701         (CHECK_N_PAGES): Likewise.
47703         [BZ #13550]
47704         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47705         definitions.
47706         (CHECK_SIGSET_NULL_OK): Likewise.
47707         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47708         <bp-checks.h>.
47709         (sigpending): Don't use CHECK_SIGSET.
47710         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47711         <bp-checks.h>.
47712         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47713         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47714         <bp-checks.h>.
47715         (do_sigsuspend): Don't use CHECK_SIGSET.
47716         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47717         use CHECK_SIGSET.
47718         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47719         (do_sigwait): Don't use CHECK_SIGSET.
47720         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47721         use CHECK_SIGSET.
47722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47723         include <bp-checks.h>.
47724         (sigpending): Don't use CHECK_SIGSET.
47725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47726         include <bp-checks.h>.
47727         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47728         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47729         <bp-checks.h>.
47730         (sigpending): Don't use CHECK_SIGSET.
47731         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47732         <bp-checks.h>.
47733         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47735         [BZ #13550]
47736         * sysdeps/generic/bp-semctl.h: Remove file.
47737         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47738         <bp-checks.h> and <bp-semctl.h>.
47739         (__old_semctl): Don't use CHECK_SEMCTL.
47740         (__new_semctl): Likewise.
47741         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47742         and <bp-semctl.h>.
47743         (__old_semctl): Don't use CHECK_SEMCTL.
47744         (__new_semctl): Likewise.
47745         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47746         <bp-checks.h> and <bp-semctl.h>.
47747         (__old_semctl): Don't use CHECK_SEMCTL.
47748         (__new_semctl): Likewise.
47749         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47750         <bp-checks.h> and <bp-semctl.h>.
47751         (semctl): Don't use CHECK_SEMCTL.
47753         [BZ #13550]
47754         * Makerules (elide-bp-thunks): Remove variable.
47755         (elide-routines.oS): Don't use $(elide-bp-thunks).
47756         (elide-routines.os): Likewise.
47757         (elide-routines.o): Likewise.
47758         (elide-routines.op): Likewise.
47759         (elide-routines.og): Likewise.
47760         (objects): Don't use $(bp-thunks).
47761         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47762         include.
47763         (common-generated): Do not add s-proto-bp.d.
47764         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47765         (int): Likewise.
47766         (typ): Likewise.
47767         Do not generate makefile rules for bounded-pointer thunks.
47768         * sysdeps/generic/bp-thunks.h: Remove file.
47769         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47770         * sysdeps/unix/s-proto-bp.S: Likewise.
47772         [BZ #15062]
47773         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47774         parts of result separately when argument is not close to line from
47775         -i to i and one part of argument is small.
47776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47778         * math/libm-test.inc (cacos_test): Add more tests.
47779         (casin_test): Likewise.
47780         (casinh_test): Likewise.
47781         * sysdeps/i386/fpu/libm-test-ulps: Update.
47782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47784 2013-01-31  David S. Miller  <davem@davemloft.net>
47786         * po/de.po: Update from translation team.
47788 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47790         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47792 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47794         * configure.in (_AC_PROG_CC_C89): New definition.
47795         * configure: Regenerate.
47797         * configure.in (AC_PROG_CPP): New definition.
47798         * configure: Regenerate.
47800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47802         * debug/tst-backtrace.h: New file.
47803         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47804         (ret): Remove variable.
47805         (x): Likewise.
47806         (FAIL): Remove macro.
47807         (NO_INLINE): Likewise.
47808         (fn1): Use match function instead of strstr.
47809         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47810         (ret): Remove variable.
47811         (x): Likewise.
47812         (FAIL): Remove macro.
47813         (NO_INLINE): Likewise.
47814         (fn): Use match function instead of strstr.
47815         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47816         (ret): Remove variable.
47817         (x): Likewise.
47818         (FAIL): Remove macro.
47819         (NO_INLINE): Likewise.
47820         (handle_signal): Use match function instead of strstr.
47821         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47822         (ret): Remove variable.
47823         (x): Likewise.
47824         (FAIL): Remove macro.
47825         (NO_INLINE): Likewise.
47826         (handle_signal): Use match function instead of strstr.
47828 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47830         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47832 2013-01-23  David S. Miller  <davem@davemloft.net>
47834         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47835         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47836         argument of CAS if possible.
47837         * sysdeps/sparc/sparc64/bits/atomic.h
47838         (__arch_compare_and_exchange_val_32_acq): Likewise.
47839         (__arch_compare_and_exchange_val_64_acq): Likewise.
47841 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47843         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47844         * sysdeps/posix/ulimit.c: ... this.
47845         Include <limits.h>.
47846         * sysdeps/unix/bsd/ulimit.c: Remove file.
47848 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47850         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47851         (LDFLAGS-tst-array5): Likewise.
47853 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47855         [BZ #15036]
47856         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47857         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47858         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47859         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47861 2013-01-21  David S. Miller  <davem@davemloft.net>
47863         * sysdeps/sparc/backtrace.c: New file.
47864         * sysdeps/sparc/sparc32/backtrace.h: New file.
47865         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47866         * sysdeps/sparc/sparc64/backtrace.h: New file.
47867         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47868         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47869         -funwind-tables.
47871 2013-01-21  Andreas Schwab  <schwab@suse.de>
47873         [BZ #15020]
47874         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47875         closed its stdout.
47877 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47880         "mpa2.h".
47881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47883 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47884             Mark Mitchell  <mark@codesourcery.com>
47885             Tom de Vries  <tom@codesourcery.com>
47886             Paul Pluzhnikov  <ppluzhnikov@google.com>
47888         * debug/tst-backtrace2.c: New file.
47889         * debug/tst-backtrace3.c: Likewise.
47890         * debug/tst-backtrace4.c: Likewise.
47891         * debug/tst-backtrace5.c: Likewise.
47892         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47893         (CFLAGS-tst-backtrace3.c): Likewise.
47894         (CFLAGS-tst-backtrace4.c): Likewise.
47895         (CFLAGS-tst-backtrace5.c): Likewise.
47896         (LDFLAGS-tst-backtrace2): Likewise.
47897         (LDFLAGS-tst-backtrace3): Likewise.
47898         (LDFLAGS-tst-backtrace4): Likewise.
47899         (LDFLAGS-tst-backtrace5): Likewise.
47900         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47901         tst-backtrace4 and tst-backtrace5.
47903 2013-01-18  Anton Blanchard  <anton@samba.org>
47904             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47906         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47907         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47909         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47911         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47912         "+r" and remove output regs list as redundant.  Add explicit inline
47913         asm to specify register of return val to work around compiler codegen
47914         bug.  Remove (int) cast on return value.  Add return type parameter to
47915         use in macro so that this macro does not truncate return value for
47916         64-bit values.
47917         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47918         pass to INTERNAL_VSYSCALL_NCS.
47919         (INLINE_VSYSCALL): Add 'long int' as return type to
47920         INTERNAL_VSYSCALL_NCS macro invocation.
47921         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47922         INTERNAL_VSYSCALL_NCS macro invocation.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47925 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47927         [BZ #14496]
47928         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47929         Fix application of SIMD FP exception mask.
47931         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47932         mp_no from a power of two.
47933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47934         __mpexp_twomm1.  Use __pow_mp.
47936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47937         multiplication.
47939 2013-01-17  David S. Miller  <davem@davemloft.net>
47941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47943 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47945         [BZ #15023]
47946         * include/complex.h: Condition contents on [!_COMPLEX_H].
47947         (__kernel_casinhf): New prototype.
47948         (__kernel_casinh): Likewise.
47949         (__kernel_casinhl): Likewise.
47950         * math/Makefile (libm_calls): Add k_casinh.
47951         * math/k_casinh.c: New file.
47952         * math/k_casinhf.c: Likewise.
47953         * math/k_casinhl.c: Likewise.
47954         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47955         finite nonzero arguments.
47956         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47957         finite nonzero arguments.
47958         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47959         finite nonzero arguments.
47960         * math/s_casinh.c: Do not include <float.h>.
47961         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47962         * math/s_casinhf.c: Do not include <float.h>.
47963         (__casinhf): Move code for finite nonzero arguments to
47964         k_casinhf.c.
47965         * math/s_casinhl.c: Do not include <float.h>.
47966         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47967         redefine.
47968         (__casinhl): Move code for finite nonzero arguments to
47969         k_casinhl.c.
47970         * math/libm-test.inc (cacos_test): Add more tests.
47971         * sysdeps/i386/fpu/libm-test-ulps: Update.
47972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47974 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47976         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47977         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47978         [!HAVE_MREMAP]: Remove [defined linux] case.
47979         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47981 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47983         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47985 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47987         * elf/elf.h (R_386_SIZE32): New relocation.
47988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47989         R_386_SIZE32.
47990         (elf_machine_rela): Likewise.
47991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47992         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47994 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47996         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47997         (FP_FAST_FMA): Do not define.
47998         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47999         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48000         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48001         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48002         !_SOFT_FLOAT]: Likewise.
48003         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48004         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48005         value.
48006         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48007         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48009         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48010         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48011         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48012         file.
48014 2013-01-16  Andreas Schwab  <schwab@suse.de>
48016         [BZ #14327]
48017         * include/stdlib.h (__mktemp): Add declaration.
48018         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48019         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48021 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48023         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48024         definitions.
48025         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48026         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48027         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48028         definitions here.
48029         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48030         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48031         definitions.
48032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48033         and ONE.
48034         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48035         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48036         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48037         definitions.
48038         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48039         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48040         definitions.
48041         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48043         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48045 2013-01-15  David S. Miller  <davem@davemloft.net>
48047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48048         trunc{,f} to libm-sysdep_routes.
48049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48051         file.
48052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48054         file.
48055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48056         file.
48057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48059         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48060         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48061         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48062         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48063         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48064         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48067         nearbyint{,f} to libm-sysdep_routes.
48068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48070         New file.
48071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48072         file.
48073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48074         New file.
48075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48076         file.
48077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48079         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48080         file.
48081         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48082         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48083         file.
48084         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48085         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48086         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48088         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48089         libc_feholdexcept and libc_fesetenv.
48091 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48093         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48095 2013-01-14  David S. Miller  <davem@davemloft.net>
48097         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48098         (SPARC_ASM_VIS2_IFUNC): Likewise.
48099         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48101         use of 'siam' instruction.
48102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48103         Likewise.
48104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48105         Likewise.
48106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48107         Likewise.
48108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48113         file.
48114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48115         file.
48116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48117         file.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48119         file.
48120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48125         new VIS2 routines.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48129         Likewise.
48130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48135         routines to libm-sysdep_routines.
48136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48139         fdim/fdimf to libm-sysdep_routines.
48140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48141         file.
48142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48144         file.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48148         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48149         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48150         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48151         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48153 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48155         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48156         to optimize copies.
48158         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48163         local variable MPTWO.
48164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48165         Likewise.
48167 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48169         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48170         GLOB_NOESCAPE.
48172 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48174         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48176 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48178         * manual/pattern.texi (glob_t): Document gl_flags.
48179         (glob64_t): Likewise.
48181 2013-01-11  David S. Miller  <davem@davemloft.net>
48183         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48184         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48185         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48186         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48187         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48188         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48189         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48190         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48191         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48192         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48193         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48194         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48195         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48197         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48198         sparc V9 rather than using V8 code.
48199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48202         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48203         Move to...
48204         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48205         Here.
48207 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48209         [BZ #14941]
48210         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48211         not in the main loop.
48212         * configure: Regenerated.
48214 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48216         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48217         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48218         to just #else.
48219         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48220         [!__GLIBC_HAVE_LONG_LONG] case.
48221         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48222         condition to just #else.
48223         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48224         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48225         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48226         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48227         unconditional.
48228         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48229         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48230         #elif condition to just #else.
48231         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48232         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48233         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48234         #elif condition to just #else.
48236 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48238         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48239         (EF_MIPS_ARCH_64): Fix value.
48240         (EF_MIPS_ARCH_32R2): New.
48241         (EF_MIPS_ARCH_64R2): New.
48243 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48245         * Makeconfig (+link-pie-before-libc): New.
48246         (+link-pie-after-libc): Likewise.
48247         (+link-pie-tests): Likewise.
48248         (+link-pie): Rewritten.
48249         (link-before-libc): Remove $(config-LDFLAGS).
48250         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48251         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48252         (config-LDFLAGS): Renamed to ...
48253         (rtld-LDFLAGS): This.
48254         (rtld-tests-LDFLAGS): New macro.
48255         (link-libc-rpath-link): Likewise.
48256         (link-libc-tests-rpath-link): Likewise.
48257         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48258         (link-libc): Prepand $(link-libc-rpath-link).
48259         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48260         (test-program-prefix): New macro.
48261         (test-via-rtld-prefix): Likewise.
48262         (test-program-cmd): Likewise.
48263         (host-test-program-cmd): Likewise.
48264         * Makefile ($(common-objpfx)testrun.sh): Replace
48265         $(run-program-prefix) with $(test-program-prefix).
48266         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48267         $(rtld-LDFLAGS).
48268         ($(common-objpfx)shlib.lds): Likewise.
48269         (build-module-helper): Likewise.
48270         ($(common-objpfx)format.lds): Likewise.
48271         * Rules (binaries-pie-tests): New.
48272         (binaries-pie-notests): Likewise.
48273         (binaries-pie): Rewritten.
48274         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48275         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48276         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48277         (make-test-out): Replace $(host-built-program-cmd) with
48278         $(host-test-program-cmd).
48279         * config.make.in (build-hardcoded-path-in-tests): New variable.
48280         * configure.in (--enable-hardcoded-path-in-tests): New configure
48281         option.
48282         (hardcoded_path_in_tests): New AC_SUBST.
48283         * configure: Regenerated.
48284         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48285         $(built-program-cmd) with $(test-program-cmd).
48286         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48287         (test_program_cmd): This.
48288         * elf/Makefile ($(objpfx)order.out): Run test with
48289         $(test-program-prefix).
48290         ($(objpfx)order2.out): Likewise.
48291         ($(objpfx)tst-initorder.out): Likewise.
48292         ($(objpfx)tst-initorder2.out): Likewise.
48293         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48294         $(test-program-cmd).
48295         ($(objpfx)tst-array1-static.out): Likewise.
48296         ($(objpfx)tst-array2.out): Likewise.
48297         ($(objpfx)tst-array3.out): Likewise.
48298         ($(objpfx)tst-array4.out): Likewise.
48299         ($(objpfx)tst-array5.out): Likewise.
48300         ($(objpfx)tst-array5-static.out): Likewise.
48301         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48302         $(test-program-cmd).
48303         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48304         $(run-program-prefix) with $(test-program-prefix).
48305         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48306         (test_program_prefix): This.
48307         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48308         $(run-program-prefix) with $(test-program-prefix).
48309         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48310         (test_program_prefix): This.
48311         * iconvdata/tst-tables.sh: Likewise.
48312         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48313         $(run-program-prefix) with $(test-program-prefix).
48314         ($(objpfx)tst-translit.out): Likewise.
48315         ($(objpfx)tst-gettext2.out): Likewise.
48316         ($(objpfx)tst-gettext4.out): Likewise.
48317         ($(objpfx)tst-gettext6.out): Likewise.
48318         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48319         (test_program_prefix): This.
48320         * intl/tst-gettext2.sh: Likewise.
48321         * intl/tst-gettext4.sh  Likewise.
48322         * intl/tst-gettext6.sh: Likewise.
48323         * intl/tst-translit.sh: Likewise.
48324         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48325         with $(test-program-cmd).
48326         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48327         $(run-program-prefix) with $(test-program-prefix).
48328         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48329         (test_program_prefix): This.
48330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48331         $(run-program-prefix) with $(test-program-prefix).
48332         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48333         (test_program_prefix): This.
48334         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48335         * posix/Makefile ($(objpfx)globtest.out): Replace
48336         $(run-via-rtld-prefix) and $(test-wrapper) with
48337         $(test-program-prefix) and $(test-via-rtld-prefix).
48338         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48339         $(test-program-prefix).
48340         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48341         $(host-test-program-cmd).
48342         (tst-spawn-ARGS): Likewise.
48343         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48344         $(test-program-prefix).
48345         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48346         (test_via_rtld_prefix): This.
48347         (test_wrapper): Renamed to ...
48348         (test_program_prefix): This.
48349         (run_program_prefix): Replaced by test_program_prefix.
48350         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48351         (test_program_prefix): This.
48352         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48353         with $(host-test-program-cmd).
48354         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48355         $(run-program-prefix) with $(test-program-prefix).
48356         ($(objpfx)tst-printf.out): Likewise.
48357         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48358         $(test-program-cmd).
48359         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48360         (test_program_prefix): This.
48361         * stdio-common/tst-unbputc.sh: Likewise.
48362         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48363         $(run-program-prefix) with $(test-program-prefix).
48364         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48365         (test_program_prefix): This.
48366         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48367         $(built-program-cmd) with $(test-program-cmd).
48369 2013-01-11  Andreas Jaeger  <aj@suse.de>
48371         [BZ #15003]
48372         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48373         value. Sync with Linux 3.7.
48375 2013-01-10  David S. Miller  <davem@davemloft.net>
48377         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48378         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48379         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48381 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48383         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48384         never set.
48385         * configure: Regenerated.
48387 2013-01-10  David S. Miller  <davem@davemloft.net>
48389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48390         sparc V9 rather than using V8 code.
48391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48394 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48396         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48397         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48398         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48399         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48400         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48401         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48402         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48403         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48404         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48405         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48406         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48407         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48408         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48409         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48410         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48411         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48412         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48413         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48414         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48415         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48416         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48417         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48418         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48419         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48420         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48421         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48422         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48424 2013-01-10  David S. Miller  <davem@davemloft.net>
48426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48428 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48430         * posix/Makefile (tests-static): New variable.
48431         (tests): Add $(tests-static).
48432         (tst-exec-static-ARGS): New variable.
48433         (tst-spawn-static-ARGS): Likewise.
48434         * posix/tst-exec-static.c: New file.
48435         * posix/tst-spawn-static.c: Likewise.
48436         * posix/tst-exec.c: Support run directly.
48437         * posix/tst-spawn.c: Likewise.
48439 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48441         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48442         long.
48443         * math/bits/mathcalls.h (llrint): Likewise.
48444         (llround): Likewise.
48445         * stdlib/stdlib.h (struct drand48_data): Likewise.
48446         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48447         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48448         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48449         Likewise.
48450         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48451         Likewise.
48452         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48453         (elf_greg_t): Likewise.
48454         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48455         (__jmp_buf): Likewise.
48456         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48457         definitions.
48458         (llrint): Likewise, for all definitions.
48459         (llrintl): Likewise.
48461         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48462         Remove [__GNUC__] condition.
48463         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48464         condition to just [__USE_ISOC99].
48465         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48467 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48469         [BZ #14200]
48470         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48471         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48472         defined.
48473         (_POSIX_V6_ILP32_OFF32): Likewise.
48474         (_XBS5_ILP32_OFF32): Likewise.
48475         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48476         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48478 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48480         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48483         doubles __mpexp_twomm1.  Adjust usage.
48484         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48485         Remove.
48487 2013-01-10  Andreas Schwab  <schwab@suse.de>
48489         [BZ #14964]
48490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48491         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48493 2013-01-09  David S. Miller  <davem@davemloft.net>
48495         [BZ #15003]
48496         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48497         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48498         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48499         (TCP_FASTOPEN): Define.
48500         (tcp_repair_opt): New structure.
48501         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48502         enum values.
48503         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48504         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48505         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48506         (tcp_cookie_transactions): New structure.
48508 2013-01-09  Anton Blanchard  <anton@samba.org>
48510         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48511         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48513         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48515 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48517         * include/features.h (__USE_ANSI): Remove.
48519 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48521         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48523         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48525 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48527         * sysdeps/s390/fpu/libm-test-ulps: Update.
48529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48531         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48532         (__acr): Likewise.
48533         (__cpy): Likewise.
48534         (norm): Likewise.
48535         (denorm): Likewise.
48536         (__mp_dbl): Likewise.
48537         (__dbl_mp): Likewise.
48538         (add_magnitudes): Likewise.
48539         (sub_magnitudes): Likewise.
48540         (__add): Likewise.
48541         (__sub): Likewise.
48542         (__mul): Likewise.
48543         (__inv): Likewise.
48544         (__dvd): Likewise.
48545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48546         (__acr): Likewise.
48547         (__cpy): Likewise.
48548         (norm): Likewise.
48549         (denorm): Likewise.
48550         (__mp_dbl): Likewise.
48551         (__dbl_mp): Likewise.
48552         (add_magnitudes): Likewise.
48553         (sub_magnitudes): Likewise.
48554         (__add): Likewise.
48555         (__sub): Likewise.
48556         (__mul): Likewise.
48557         (__inv): Likewise.
48558         (__dvd): Likewise.
48559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48560         (__acr): Likewise.
48561         (__cpy): Likewise.
48562         (norm): Likewise.
48563         (denorm): Likewise.
48564         (__mp_dbl): Likewise.
48565         (__dbl_mp): Likewise.
48566         (add_magnitudes): Likewise.
48567         (sub_magnitudes): Likewise.
48568         (__add): Likewise.
48569         (__sub): Likewise.
48570         (__mul): Likewise.
48571         (__inv): Likewise.
48572         (__dvd): Likewise.
48574 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48576         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48577         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48578         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48579         2 && __USE_EXTERN_INLINES]: Likewise.
48581 2013-01-08  Andreas Jaeger  <aj@suse.de>
48583         [BZ# 14985]
48584         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48585         Remove.
48586         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48587         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48589 2013-01-07  Anton Blanchard  <anton@samba.org>
48591         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48592         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48593         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48594         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48595         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48596         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48597         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48598         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48601         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48602         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48605         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48606         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48607         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48609         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48610         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48611         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48612         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48613         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48614         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48615         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48617         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48618         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48620         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48621         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48623         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48624         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48625         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48626         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48627         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48628         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48629         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48631         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48633         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48635 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48637         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48638         (__MALLOC_PMT): Likewise.
48639         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48640         [__GNUC__], only on [_LIBC].
48641         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48642         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48643         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48644         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48645         forward declaration.
48646         (realloc_hook_ini): Likewise.
48647         (memalign_hook_ini): Likewise.
48648         (__libc_memalign): Do not use __MALLOC_PMT in variable
48649         declaration.
48650         (__libc_valloc): Likewise.
48651         (__libc_pvalloc): Likewise.
48652         (__libc_calloc): Likewise.
48653         (__posix_memalign): Likewise.
48655         [BZ #14996]
48656         * math/s_casinh.c: Include <float.h>.
48657         (__casinh): Do not do computation with squaring and square root
48658         for large arguments.
48659         * math/s_casinhf.c: Include <float.h>.
48660         (__casinhf): Do not do computation with squaring and square root
48661         for large arguments.
48662         * math/s_casinhl.c: Include <float.h>.
48663         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48664         (__casinhl): Do not do computation with squaring and square root
48665         for large arguments.
48666         * math/libm-test.inc (casin_test): Add more tests.
48667         (casinh_test): Likewise.
48668         * sysdeps/i386/fpu/libm-test-ulps: Update.
48669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48671 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48673         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48674         (__x86_64_raw_data_cache_size): Likewise.
48675         (__x86_64_data_cache_size_half): Likewise.
48676         (__x86_64_raw_data_cache_size_half): Likewise.
48677         (__x86_64_shared_cache_size): Likewise.
48678         (__x86_64_raw_shared_cache_size): Likewise.
48679         (__x86_64_shared_cache_size_half): Likewise.
48680         (__x86_64_raw_shared_cache_size_half): Likewise.
48681         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48682         to ...
48683         (__x86_data_cache_size): This.
48684         (__x86_64_raw_data_cache_size): Renamed to ...
48685         (__x86_raw_data_cache_size): This.
48686         (__x86_64_data_cache_size_half): Renamed to ...
48687         (__x86_data_cache_size_half): This.
48688         (__x86_64_raw_data_cache_size_half): Renamed to ...
48689         (__x86_raw_data_cache_size_half): This.
48690         (__x86_64_shared_cache_size): Renamed to ...
48691         (__x86_shared_cache_size): This.
48692         (__x86_64_raw_shared_cache_size): Renamed to ...
48693         (__x86_raw_shared_cache_size): This.
48694         (__x86_64_shared_cache_size_half): Renamed to ...
48695         (__x86_shared_cache_size_half): This.
48696         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48697         (__x86_raw_shared_cache_size_half): This.
48698         * sysdeps/x86_64/memcpy.S: Updated.
48699         * sysdeps/x86_64/memset.S: Likewise.
48700         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48701         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48704 2013-01-04  David S. Miller  <davem@davemloft.net>
48706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48708 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48710         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48711         1 to avoid redefinition warning.
48712         (__USE_GNU): Don't define.
48713         (init_signaling_nan): Protoize.
48715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48717 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48719         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48721         (__cpymn): Likewise.
48722         (norm): Remove commented code.
48723         (denorm): Likewise.
48724         (__mp_dbl): Likewise.
48725         (__inv): Likewise.
48726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48727         (__cpymn): Likewise.
48728         (norm): Remove commented code.
48729         (denorm): Likewise.
48730         (__mp_dbl): Likewise.
48731         (__inv): Likewise.
48733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48734         mp_no value for 1.0 and 2.0.
48735         (norm): Use RADIXI instead of radixi.d.
48736         (denorm): Likewise.
48737         (__mul): Use 0.0 instead of zero.d.
48738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48739         mp_no value for 1.0 and 2.0.
48740         (norm): Use RADIXI instead of radixi.d.
48741         (denorm): Likewise.
48742         (__mul): Use 0.0 instead of zero.d.
48744 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48746         [BZ #14994]
48747         * math/s_casinh.c (__casinh): Reduce finite argument to first
48748         quadrant then set signs of results at the end.
48749         * math/s_casinhf.c (__casinhf): Likewise.
48750         * math/s_casinhl.c (__casinhl): Likewise.
48751         * math/libm-test.inc (casin_test): Add more tests.
48752         (casinh_test): Likewise.
48753         * sysdeps/i386/fpu/libm-test-ulps: Update.
48754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48756 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48758         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48760         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48762         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48763         declarations.
48764         (denorm): Likewise.
48765         (__mp_dbl): Likewise.
48766         (__inv): Likewise.
48768         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48769         and adjust the header comment.
48771         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48772         variable name from declaration.
48774 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48777         Initialize COMMON_CPUID_INDEX_7 element.
48778         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48779         (CPUID_RTM): Likewise.
48780         (HAS_RTM): Likewise.
48781         (COMMON_CPUID_INDEX_7): New enum.
48783 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48785         [BZ #14981]
48786         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48787         size is zero, record memory as freed.
48789 2013-01-03  Andreas Jaeger  <aj@suse.de>
48791         * po/ia.po: Add new Interlingua translation.
48793 2012-01-03  Allan McRae  <allan@archlinux.org>
48795         * locale/programs/localedef.c: Fix description of '--posix' flag.
48797 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48799         * NEWS: Update dates in second copyright notice.
48800         * README: Update copyright dates in example.
48801         * manual/libc.texinfo: Update copyright dates.
48802         * scripts/test-installation.pl: Update copyright date in --version
48803         output.
48805         * hurd/ctty-input.c: Fix copyright notice formatting.
48806         * hurd/ctty-output.c: Likewise.
48807         * hurd/dtable.c: Likewise.
48808         * hurd/hurd-raise.c: Likewise.
48809         * hurd/hurdprio.c: Likewise.
48810         * hurd/msgportdemux.c: Likewise.
48811         * misc/sys/file.h: Likewise.
48812         * misc/sys/ioctl.h: Likewise.
48813         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48814         * sysdeps/mach/hurd/chdir.c: Likewise.
48815         * sysdeps/mach/hurd/fchdir.c: Likewise.
48816         * sysdeps/mach/hurd/rename.c: Likewise.
48817         * sysdeps/mach/hurd/rmdir.c: Likewise.
48818         * sysdeps/mach/hurd/seekdir.c: Likewise.
48819         * sysdeps/mach/hurd/setsid.c: Likewise.
48820         * sysdeps/posix/wait3.c: Likewise.
48822         * All files with FSF copyright notices: Update copyright dates
48823         using scripts/update-copyrights.
48824         * intl/plural.c: Regenerated.
48825         * locale/programs/charmap-kw.h: Likewise.
48826         * locale/programs/locfile-kw.h: Likewise.
48828 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48830         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48831         four values.
48833         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48834         calculation loop and add branch prediction.
48836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48837         check access beyond bounds of m1np.
48839         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48840         MPTWO.
48841         (__inv): Remove local variable MPTWO to use the global
48842         constant.
48843         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48844         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48845         variable MPTWO.
48846         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48847         MP3HALFS static const.
48849 2013-01-01  David S. Miller  <davem@davemloft.net>
48851         * po/ca.po: Update from translation team.
48853 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48855         * scripts/update-copyrights: New file.
48856         * Makeconfig: Reformat copyright notice.
48857         * ctype/ctype.h: Likewise.
48858         * debug/swprintf_chk.c: Likewise.
48859         * elf/dl-cache.c: Likewise.
48860         * elf/dl-debug.c: Likewise.
48861         * elf/dl-object.c: Likewise.
48862         * grp/initgroups.c: Likewise.
48863         * hurd/Makefile: Likewise.
48864         * hurd/hurd/signal.h: Likewise.
48865         * hurd/hurdfault.c: Likewise.
48866         * hurd/hurdioctl.c: Likewise.
48867         * hurd/hurdlookup.c: Likewise.
48868         * hurd/intr-msg.c: Likewise.
48869         * iconv/gconv_open.c: Likewise.
48870         * libio/swprintf.c: Likewise.
48871         * locale/lc-ctype.c: Likewise.
48872         * locale/nl_langinfo.c: Likewise.
48873         * mach/Machrules: Likewise.
48874         * mach/Makefile: Likewise.
48875         * malloc/obstack.h: Likewise.
48876         * manual/Makefile: Likewise.
48877         * manual/tsort.awk: Likewise.
48878         * misc/bits/stab.def: Likewise.
48879         * nis/nis_print_group_entry.c: Likewise.
48880         * nis/nis_table.c: Likewise.
48881         * nis/nss_compat/compat-pwd.c: Likewise.
48882         * nis/nss_compat/compat-spwd.c: Likewise.
48883         * po/Makefile: Likewise.
48884         * posix/fnmatch.c: Likewise.
48885         * posix/regex.h: Likewise.
48886         * resolv/Makefile: Likewise.
48887         * resolv/nss_dns/dns-network.c: Likewise.
48888         * resolv/res_hconf.c: Likewise.
48889         * scripts/gen-sorted.awk: Likewise.
48890         * soft-fp/soft-fp.h: Likewise.
48891         * stdio-common/printf.h: Likewise.
48892         * stdlib/monetary.h: Likewise.
48893         * stdlib/random.c: Likewise.
48894         * stdlib/random_r.c: Likewise.
48895         * sysdeps/generic/Makefile: Likewise.
48896         * sysdeps/gnu/Makefile: Likewise.
48897         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48905         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48909         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48920         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48921         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48922         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48924         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48925         * sysdeps/mach/hurd/errnos.awk: Likewise.
48926         * sysdeps/mach/hurd/fork.c: Likewise.
48927         * sysdeps/mach/hurd/getcwd.c: Likewise.
48928         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48929         * sysdeps/mach/hurd/mmap.c: Likewise.
48930         * sysdeps/mach/hurd/utimes.c: Likewise.
48931         * sysdeps/mach/hurd/xmknod.c: Likewise.
48932         * sysdeps/posix/profil.c: Likewise.
48933         * sysdeps/posix/readdir_r.c: Likewise.
48934         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48935         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48936         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48941         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48943         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48944         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48945         * sysdeps/pthread/lio_listio.c: Likewise.
48946         * sysdeps/sparc/dl-procinfo.h: Likewise.
48947         * sysdeps/unix/i386/sysdep.S: Likewise.
48948         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48949         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48950         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48951         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48953         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48954         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48955         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48956         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48957         * sysdeps/wordsize-32/divdi3.c: Likewise.
48958         * time/sys/time.h: Likewise.
48959         * wcsmbs/Makefile: Likewise.
48961 2013-01-01  David S. Miller  <davem@davemloft.net>
48963         * po/fr.po: Update from translation team.
48965         * catgets/gencat.c: Update copyright year.
48966         * csu/version.c: Likewise.
48967         * debug/catchsegv.sh: Likewise.
48968         * debug/pcprofiledump.c: Likewise.
48969         * debug/xtrace.sh: Likewise.
48970         * elf/ldconfig.c: Likewise.
48971         * elf/ldd.bash.in: Likewise.
48972         * elf/pldd.c: Likewise.
48973         * elf/sotruss.ksh: Likewise.
48974         * elf/sprof.c: Likewise.
48975         * iconv/iconv_prog.c: Likewise.
48976         * iconv/iconvconfig.c: Likewise.
48977         * locale/programs/locale.c: Likewise.
48978         * locale/programs/localedef.c: Likewise.
48979         * login/programs/pt_chown.c: Likewise.
48980         * malloc/memusage.sh: Likewise.
48981         * malloc/memusagestat.c: Likewise.
48982         * malloc/mtrace.pl: Likewise.
48983         * nscd/nscd.c: Likewise.
48984         * nss/getent.c: Likewise.
48985         * nss/makedb.c: Likewise.
48986         * posix/getconf.c: Likewise.
48988 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48990         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48991         numbers.
48993 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48995         * math/bits/mathcalls.h (modf): Use __nonnull.
48997 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48999         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49000         (split): Use macro CN instead of the bare value.
49001         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49002         could be used.
49003         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49004         instead of the bare value.
49005         (power1): Likewise.
49007 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49009         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49010         __ATAN_TWOM.
49011         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49013         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49014         their values.
49015         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49017         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49018         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49020 2012-12-28  Andreas Jaeger  <aj@suse.de>
49022         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49023         values are from Linux 3.7.
49025         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49026         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49028 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49030         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49031         TRUE case.
49033         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49034         (norm): Likewise.
49035         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49036         variables with preprocessor constants.
49037         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49038         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49039         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49041 2012-12-27  Bruno Haible  <bruno@clisp.org>
49043         [BZ #14317]
49044         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49045         only if needed.
49047 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49050         and use variable directly.
49051         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49053         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49054         MPONE.
49055         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49057         variable MPONE.
49058         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49059         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49060         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49061         include directive.  Remove local variable MPONE.
49062         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49063         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49064         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49066 2012-12-25  David S. Miller  <davem@davemloft.net>
49068         * version.h (RELEASE): Set to "development".
49069         (VERSION): Set to "2.17.90".
49070         * NEWS: Add 2.18 section.
49072 2012-12-21  David S. Miller  <davem@davemloft.net>
49074         * po/hr.po: Update from translation team.
49076 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49078         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49080 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49082         * NEWS:  Mention new memcpy for MIPS.
49084 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49086         * manual/contrib.texi (Contributors): Spelling correction.
49088 2012-12-15  David S. Miller  <davem@davemloft.net>
49090         * po/ru.po: Update from translation team.
49092 2012-12-13  David S. Miller  <davem@davemloft.net>
49094         * NEWS: Mention IFUNC testsuite enhancements.
49096         * po/pl.po: Update from translation team.
49097         * po/bg.po: Likewise.
49099         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49100         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49102 2012-12-11  David S. Miller  <davem@davemloft.net>
49104         * po/sv.po: Update from translation team.
49106         * po/vi.po: Update from translation team.
49108         * po/cs.po: Update from translation team.
49110         * po/de.po: Update from translation team.
49111         * po/eo.po: Likewise.
49112         * po/nl.po: Likewise.
49114 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49116         [BZ #14246]
49117         * manual/argp.texi (Argp Helper Functions): Move node to follow
49118         Argp Parsing State.
49120         [BZ #14872]
49121         * manual/conf.texi (Limits on File System Capacity): Mention if
49122         terminating null is included in the max size.
49124 2012-12-10  Andreas Jaeger  <aj@suse.de>
49126         * po/cs.po: Update from translation team.
49128 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49130         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49131         void pointer and cast to uintptr_t.
49132         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49133         path.
49134         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49135         * sysdeps/s390/s390-64/memset.S: Likewise.
49137 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49139         [BZ #14833]
49140         * menual/message.texi (Message Translation): Fix typos.
49141         (Helper programs for gettext): Likewise.
49143 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49145         [BZ #14898]
49146         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49147         Change to -1.
49149 2012-12-07  David S. Miller  <davem@davemloft.net>
49151         * po/libc.pot: Update.
49153 2012-12-07  Richard Henderson  <rth@redhat.com>
49155         [BZ #10114]
49156         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49157         normal/normal case to before the switch.
49158         (_FP_DIV): Likewise.
49160 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49161             Mike Frysinger  <vapier@gentoo.org>
49163         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49164         check for __NR_fadvise64_64.
49166 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49168         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49169         0, not just to plain "0" as a statement.
49170         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49171         with cw.
49173 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49175         * NEWS: Use sourceware.org in Bugzilla URL.
49177 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49180         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49182         * stdio-common/tst-put-error.c (do_test): Add newline to the
49183         padded test to ensure flush.
49185 2012-12-05  Jeff Law  <law@redhat.com>
49187         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49189 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49191         * README: Don't refer to ports add-on as distributed separately.
49192         Mention AArch64 in list of systems supported in the ports add-on.
49194         * LICENSES: Add more non-FSF copyright and license notices.
49196         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49197         ((unused)).
49199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49201         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49202         10000 as width of padded output.
49204 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49206         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49209         variable LX with __attribute__ ((unused)).
49210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49211         Likewise.
49212         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49215         with __attribute__ ((unused)).
49217 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49219         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49221 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49223         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49224         (CFLAGS-nldbl-acos.c): New variable.
49225         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49226         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49227         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49228         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49229         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49230         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49231         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49232         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49233         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49234         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49235         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49236         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49237         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49238         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49239         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49240         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49241         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49242         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49243         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49244         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49245         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49246         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49247         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49248         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49249         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49250         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49251         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49252         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49253         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49254         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49255         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49256         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49257         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49258         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49259         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49260         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49261         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49262         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49263         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49264         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49265         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49266         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49267         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49268         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49269         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49270         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49271         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49272         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49273         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49274         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49275         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49276         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49277         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49278         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49279         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49280         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49281         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49282         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49283         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49284         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49285         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49286         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49287         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49288         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49289         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49290         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49291         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49292         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49293         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49294         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49295         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49296         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49297         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49298         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49299         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49300         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49301         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49302         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49303         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49304         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49305         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49306         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49307         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49308         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49309         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49310         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49311         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49312         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49313         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49314         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49315         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49316         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49317         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49318         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49319         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49320         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49321         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49324         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49326         [BZ #14914]
49327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49328         whole low double instead of just low 47 bits when splitting values
49329         into two parts.
49331 2012-12-03  Allan McRae  <allan@archlinux.org>
49333         * manual/stdio.texi (Predefined Printf Handlers): Remove
49334         @hsep and @vsep usage.
49336 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49338         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49339         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49341 2012-12-03  Jeff Law  <law@redhat.com>
49343         * time/sys/time.h (settimeofday): Do not mark TV argument
49344         as __nonnull.
49346 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49348         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49349         when currently writing and seek to current position when not.
49350         * libio/Makefile (tests): Remove bug-fclose1.
49351         * libio/bug-fclose1.c: Delete.
49353 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49355         * manual/arith.texi (feenableexcept): Fix typo.
49356         (fedisableexcept): Likewise.
49358 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49360         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49361         second, differently-typed declaration, rather than a cast.
49363 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49365         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49366         * include/rpc/svc.h: ... here.
49368 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49370         [BZ #13013]
49371         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49372         depending n and resplen2 to catch cases where answer
49373         equals answerp2.
49375 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49377         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49378         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49380 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49382         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49384 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49386         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49388 2012-11-28  Jeff Law  <law@redhat.com>
49390         [BZ #13761]
49391         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49392         dataset_temporary.  Track alloca usage into alloca_used.
49393         If dataset is large allocate and release it via malloc/free.
49395 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49397         [BZ #14197]
49398         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49400 2012-11-28  David S. Miller  <davem@davemloft.net>
49402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49404 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49406         [BZ #14803]
49407         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49408         of pi/2 rounded to nearest to 64 bits.
49409         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49410         nearest to 64 bits.
49411         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49412         bits.
49414 2012-11-28  Jeff Law <law@redhat.com>
49415             Martin Osvald <mosvald@redhat.com>
49417         [BZ #14889]
49418         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49419         * sunrpc/svc.c: Include time.h.
49420         (__svc_accept_failed): New function.
49421         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49422         any reason other than EINTR, call __svc_accept_failed.
49423         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49424         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49426 2012-11-28  Andreas Schwab  <schwab@suse.de>
49428         * scripts/abilist.awk: Also handle indirect functions in .opd
49429         section.
49431 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49433         [BZ #13881]
49434         * sysdeps/x86/fpu/powl_helper.c: New file.
49435         * sysdeps/x86/fpu/Makefile: Likewise.
49436         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49437         (p3): New object.
49438         (__ieee754_powl): Use __powl_helper for finite arguments except
49439         integer exponents below 8.
49440         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49441         (p3): New object.
49442         (__ieee754_powl): Use __powl_helper for finite arguments except
49443         integer exponents below 8.
49444         * math/libm-test.inc (pow_test): Add more tests and enable some
49445         previously disabled tests.
49446         * sysdeps/i386/fpu/libm-test-ulps: Update.
49447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49449 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49450             Carlos O'Donell  <carlos_odonell@mentor.com>
49452         * nss/makedb.c (is_prime): Assert that input is odd and greater
49453         than 4.  Note that fact in a comment too.
49454         (next_prime): Add 4 to input.
49456 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49458         [BZ #11741]
49459         * libio/Makefile (tests): Add test case tst-fwrite-error.
49460         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49461         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49462         * libio/tst-fwrite-error.c: New test case.
49464 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49466         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49467         before casting to void *.
49468         * include/libc-internal.h (__pointer_type): New macro.
49469         (__integer_if_pointer_type_sub): Likewise.
49470         (__integer_if_pointer_type): Likewise.
49471         (cast_to_integer): Likewise.
49472         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49473         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49474         before casting to atomic64_t.
49475         (atomic_exchange_acq): Likewise.
49476         (__arch_exchange_and_add_body): Likewise.
49477         (__arch_add_body): Likewise.
49478         (atomic_add_negative): Likewise.
49479         (atomic_add_zero): Likewise.
49481 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49483         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49484         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49485         (add_fdes): Likewise.
49486         (linear_search_fdes): Likewise.
49487         (binary_search_unencoded_fdes): Likewise.
49489 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49491         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49493 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49495         * configure.in: Autodetect C++ header directories.
49496         * configure: Regenerated.
49498 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49500         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49502 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49506 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49508         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49509         LDBL_MANT_DIG == 106]: Disable some tests.
49510         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49511         Likewise.
49512         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49513         Likewise.
49515         [BZ #14871]
49516         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49517         input for small inputs.  Return +/- pi/2 for large inputs.
49518         * math/libm-test.inc (atan_test): Add more tests.
49520         * sysdeps/generic/unwind-dw2-fde-glibc.c
49521         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49522         __attribute__ ((unused)).
49524         [BZ #14645]
49525         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49526         x * y if x and y are nonzero and z is zero.
49528         [BZ #14811]
49529         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49530         nonzero exponents with absolute value below 0x1p-117 to +/-
49531         0x1p-117.
49533         [BZ #14869]
49534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49535         up arguments below 2**-450, not just those below 2**-500.
49536         * math/libm-test.inc (hypot_test): Add another test.
49538         [BZ #14868]
49539         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49540         Return a+b for ratio over 2**120, not 2**60.
49541         * math/libm-test.inc (hypot_test): Add another test.
49543         * math/libm-test.inc (clog_test): Use
49544         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49545         (clog10_test): Likewise.
49547         [BZ #6778]
49548         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49550 2012-11-22  Andreas Schwab  <schwab@suse.de>
49552         * sysdeps/i386/fpu/libm-test-ulps: Update.
49554 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49556         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49557         printf output with newline.
49559 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49561         [BZ #14865]
49562         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49563         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49564         -z nodlopen, -z initfirst and -z execstack support.
49565         * configure: Regenerated.
49567         * elf/elf.h (DF_1_NODIRECT): New macro.
49568         (DF_1_IGNMULDEF): Likewise.
49569         (DF_1_NOKSYMS): Likewise.
49570         (DF_1_NOHDR): Likewise.
49571         (DF_1_EDITED): Likewise.
49572         (DF_1_NORELOC): Likewise.
49573         (DF_1_SYMINTPOSE): Likewise.
49574         (DF_1_GLOBAUDIT): Likewise.
49575         (DF_1_SINGLETON): Likewise.
49576         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49577         DT_1_SUPPORTED_MASK bits.
49578         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49580 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49582         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49584 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49586         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49587         macro.
49589         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49590         (sendmmsg): Move declarations...
49591         * socket/sys/socket.h: ... here.
49592         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49593         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49594         include it from...
49595         * socket/recvmmsg.c: ... this new file.
49596         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49597         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49598         definition of __sendmmsg hidden.
49599         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49600         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49601         Move ENOSYS stub into and include it from...
49602         * socket/sendmmsg.c: ... this new file.
49603         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49604         (sysdep_routines): Move recvmmsg and sendmmsg...
49605         * socket/Makefile (routines): ... here.
49606         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49607         (GLIBC_PRIVATE): Add __sendmmsg.
49608         * include/sys/socket.h (__sendmmsg): Add declarations.
49609         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49610         sendmmsg.
49612 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49615         variable I1 with __attribute__ ((unused)).
49616         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49618 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49620         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49621         DUMMY variables with __attribute__ ((unused)).
49623         * bits/byteswap.h: Include <bits/types.h>.
49624         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49626 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49628         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49629         string_t.  Do not manually set errno.
49630         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49631         length with __strnlen.  Make sure to both set errno and return it on
49632         failure.
49634 2012-11-19  David S. Miller  <davem@davemloft.net>
49636         With help from Joseph Myers.
49637         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49638         very large arguments properly.
49639         * math/libm-test.inc (atan_test): New tests.
49640         (atan2_test): New tests.
49641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49644 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49646         [BZ #14856]
49647         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49648         Define to 3.
49650         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49651         [POSIX] (EADDRNOTAVAIL): Likewise.
49652         [POSIX] (EAFNOSUPPORT): Likewise.
49653         [POSIX] (EALREADY): Likewise.
49654         [POSIX] (ECONNABORTED): Likewise.
49655         [POSIX] (ECONNREFUSED): Likewise.
49656         [POSIX] (ECONNRESET): Likewise.
49657         [POSIX] (EDESTADDRREQ): Likewise.
49658         [POSIX] (EDQUOT): Likewise.
49659         [POSIX] (EHOSTUNREACH): Likewise.
49660         [POSIX] (EIDRM): Likewise.
49661         [POSIX] (EISCONN): Likewise.
49662         [POSIX] (ELOOP): Likewise.
49663         [POSIX] (EMULTIHOP): Likewise.
49664         [POSIX] (ENETDOWN): Likewise.
49665         [POSIX] (ENETUNREACH): Likewise.
49666         [POSIX] (ENOBUFS): Likewise.
49667         [POSIX] (ENODATA): Likewise.
49668         [POSIX] (ENOLINK): Likewise.
49669         [POSIX] (ENOMSG): Likewise.
49670         [POSIX] (ENOPROTOOPT): Likewise.
49671         [POSIX] (ENOSR): Likewise.
49672         [POSIX] (ENOSTR): Likewise.
49673         [POSIX] (ENOTCONN): Likewise.
49674         [POSIX] (ENOTSOCK): Likewise.
49675         [POSIX] (EOPNOTSUPP): Likewise.
49676         [POSIX] (EOVERFLOW): Likewise.
49677         [POSIX] (EPROTO): Likewise.
49678         [POSIX] (EPROTONOSUPPORT): Likewise.
49679         [POSIX] (EPROTOTYPE): Likewise.
49680         [POSIX] (ESTALE): Likewise.
49681         [POSIX] (ETIME): Likewise.
49682         [POSIX] (ETXTBSY): Likewise.
49683         [POSIX] (EWOULDBLOCK): Likewise.
49684         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49685         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49686         [POSIX] (SEEK_CUR): Likewise.
49687         [POSIX] (SEEK_END): Likewise.
49688         [POSIX || UNIX98] (mode_t): Do not require.
49689         [POSIX] (off_t): Likewise.
49690         [POSIX] (pid_t): Likewise.
49691         [POSIX] (sys/stat.h): Do not allow header.
49692         [POSIX] (unistd.h): Likewise.
49693         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49694         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49695         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49696         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49697         require.
49698         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49699         sigevent): Specify elements.
49700         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49701         entry.
49702         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49703         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49705         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49706         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49707         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49708         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49709         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49710         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49711         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49712         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49713         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49714         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49715         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49716         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49717         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49718         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49719         Likewise.
49720         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49721         Likewise.
49722         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49723         Likewise.
49724         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49725         Likewise.
49726         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49727         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49728         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49729         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49730         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49731         Specify lower bound on value.
49732         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49733         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49734         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49735         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49736         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49737         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
49738         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49739         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49740         value.
49741         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49742         as optional.
49743         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49744         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49745         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49746         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49747         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49748         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49749         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49750         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49751         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49752         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49753         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49754         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49755         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49756         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49757         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49758         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49759         entry.
49760         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49761         optional.
49762         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49763         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49764         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49765         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49766         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49767         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49768         Likewise.
49769         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49770         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49771         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49772         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49773         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49774         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49775         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49776         as optional.
49777         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49778         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49779         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49780         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49781         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49782         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49783         specify as optional.
49784         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49785         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49786         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49787         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49788         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49789         [XPG3] (NL_LANGMAX): Likewise.
49790         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49791         [POSIX || XPG3] (NL_NMAX): Likewise.
49792         [POSIX || XPG3] (NL_SETMAX): Likewise.
49793         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49794         [XPG3] (NZERO): Likewise.
49795         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49796         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49797         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49798         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49799         (REG_ERANGE): Expect.
49800         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49801         optional-constant.
49802         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49803         Use (void) in prototype.
49804         [POSIX] (*_t): Allow.
49805         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49806         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49807         (WRDE_BADVAL): Expect.
49809         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49810         expect.
49811         [XPG3 || XPG4] (O_RSYNC): Likewise.
49812         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49813         Likewise.
49814         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49815         [XPG3 || XPG4] (sigqueue): Likewise.
49816         [XPG3 || XPG4] (sigtimedwait): Likewise.
49817         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49818         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49819         [XPG3 || XPG4] (vsnprintf): Likewise.
49820         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49821         Likewise.
49822         [XPG3 || XPG4] (blksize_t): Likewise.
49823         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49824         Likewise.
49825         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49826         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49827         [XPG3 || XPG4] (struct itimerspec): Likewise.
49828         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49829         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49830         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49831         [XPG3 || XPG4] (clockid_t): Likewise.
49832         [XPG3 || XPG4] (timer_t): Likewise.
49833         [XPG3 || XPG4] (clock_getres): Likewise.
49834         [XPG3 || XPG4] (clock_gettime): Likewise.
49835         [XPG3 || XPG4] (clock_settime): Likewise.
49836         [XPG3 || XPG4] (nanosleep): Likewise.
49837         [XPG3 || XPG4] (timer_create): Likewise.
49838         [XPG3 || XPG4] (timer_delete): Likewise.
49839         [XPG3 || XPG4] (timer_gettime): Likewise.
49840         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49841         [XPG3 || XPG4] (timer_settime): Likewise.
49842         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49843         [XPG3 || XPG4] (getlogin_r): Likewise.
49844         [XPG3 || XPG4] (pread): Likewise.
49845         [XPG3 || XPG4] (pthread_atfork): Likewise.
49846         [XPG3 || XPG4] (pwrite): Likewise.
49848         [BZ #14835]
49849         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49850         <bits/siginfo.h>.
49852 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49854         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49855         finalizing MALLSTREAM.
49857         * sysdeps/mach/hurd/syncfs.c: New file.
49859 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49861         [BZ #14719]
49862         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49863         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49865         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49866         (_nss_dns_gethostbyname4_r): Likewise.
49867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49868         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49870 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49872         [BZ #13763]
49873         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49875 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49877         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49878         * elf/cache.c (print_entry): Print ",AArch64" for
49879         FLAG_AARCH64_LIB64
49881         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49882         * elf/cache.c (print_entry): Print ",hard-float" for
49883         FLAG_ARM_LIBHF.
49885 2012-11-18  David S. Miller  <davem@davemloft.net>
49887         With help from Joseph Myers.
49888         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49889         cutoff to 2**-13.
49890         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49891         cutoff to 2**-25.
49892         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49893         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49894         small.
49895         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49896         * math/libm-test.inc (y0_test): New tests.
49897         (y1_test): New tests.
49898         * sysdeps/i386/fpu/libm-test-ulps: Update.
49899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49902 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49904         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49905         64-bit targets.
49906         * configure: Regenerated.
49908 2012-11-17  David S. Miller  <davem@davemloft.net>
49910         [BZ #14811]
49911         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49912         nonzero exponents with absolute value below 0x1p-128 to +/-
49913         0x1p-128.
49915 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49917         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49919         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49921         * posix/getconf-speclist.c: New file.
49922         * posix/posix-envs.def: Likewise.
49923         * posix/confstr.c (START_ENV_GROUP): New macro.
49924         (END_ENV_GROUP): Likewise.
49925         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49926         (KNOWN_PRESENT_ENV_STRING): Likewise.
49927         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49928         (UNKNOWN_ENVIRONMENT): Likewise.
49929         (confstr): Include posix-envs.def instead of handling
49930         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49931         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49932         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49933         (END_ENV_GROUP): Likewise.
49934         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49935         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49936         (UNKNOWN_ENVIRONMENT): Likewise.
49937         (__sysconf): Include posix-envs.def instead of handling associated
49938         cases directly here.
49939         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49940         preprocessing getconf-speclist.c rather than running getconf or
49941         generating empty file.
49943 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49945         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49947 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49949         [BZ #14672]
49950         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49952 2012-11-16  David S. Miller  <davem@davemloft.net>
49954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49955         smaller than LDBL_EPSILON/2.0L, just return xm1.
49957 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49959         * elf/tst-array1.c (init): Set constructor priority to 1000.
49960         (fini): Set destructor priority to 1000.
49961         * elf/tst-array2dep.c: Likewise.
49963 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49965         [BZ #11741]
49966         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49967         (_IO_new_file_xsputn): Also return EOF if none of the input
49968         data was written when overflow failed.
49969         * libio/iopadn.c (_IO_padn): Likewise.
49970         * libio/iowpadn.c (_IO_wpadn): Likewise.
49971         * stdio-common/tst-put-error.c: Add copyright notice.
49972         (do_test): Add case for printing padded string.
49973         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49974         _IO_padn returned error.
49975         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49976         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49977         return EOF.
49979 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49981         * libio/libioP.h: Add comment note that the references to C++
49982         bits are now obsolete.
49984 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49986         * math/libm-test.inc (check_complex): Use asprintf.
49988 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49990         * debug/pcprofiledump.c (print_version): Update copyright year.
49991         * malloc/memusagestat.c (print_version): Likewise.
49993 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49995         [BZ #14831]
49996         * elf/Makefile (tests): Add tst-audit8.
49997         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49998         ($(objpfx)tst-audit8.out): New target.
49999         (tst-audit8-ENV): New variable.
50000         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50001         audit if l_reloc_result is NULL.
50002         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50003         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50004         * elf/tst-audit8.c: New file.
50006 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50008         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50009         * misc/Makefile (CFLAGS-select.c): Define.
50010         * posix/Makefile (CFLAGS-pause.c): Define.
50012 2012-11-13  David S. Miller  <davem@davemloft.net>
50014         * crypt/Makefile: Move test targets after toplevel Rules
50015         inclusion.  Grab any necessary sysdep routines when linking.
50016         * crypt/md5.c (md5_process_block): Remove define, we will always
50017         name it __md5_process_block.
50018         (md5_finish_ctx): Update md5_process_block call.
50019         (md5_stream): Likewise.
50020         (md5_process_bytes): Likewise.
50021         (md5_process_block): Rename to __md5_process_block and move to ...
50022         * crypt/md5-block.c: ... here.
50023         * crypt/sha256.c (sha256_process_block): Move to ...
50024         * crypt/sha256-block.c: ... here.
50025         * crypt/sha512.c (sha512_process_block): Move to ...
50026         * crypt/sha512-block.c: ... here.
50027         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50028         path.
50029         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50030         * sysdeps/sparc/sparc64/multiarch/Makefile
50031         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50032         crypt subdir.
50033         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50034         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50035         multiarch changes.
50036         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50037         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50038         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50039         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50040         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50041         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50042         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50043         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50044         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50045         file.
50046         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50047         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50048         file.
50049         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50051 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50053         * timezone/tzselect.ksh: Update from tzcode git revision
50054         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50055         * timezone/zdump.c: Likewise.
50056         * timezone/zic.c: Likewise.
50057         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50058         in TZVERSION setting, not $(PKGVERSION).
50059         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50060         REPORT_BUGS_TO settings.
50062         [BZ #14838]
50063         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50064         macro.
50066 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50068         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50069         detection to immediately after _FP_ROUND().
50070         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50071         bits are 0.
50073 2012-11-11  David S. Miller  <davem@davemloft.net>
50075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50076         inttypes.h
50077         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50078         __close rather than their public counterparts.
50080 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50082         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50083         file.
50084         [UNIX98] (sem_timedwait): Do not expect.
50085         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50086         [XPG4 || UNIX98] (sockatmark): Do not expect.
50087         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50088         (clock_getcpuclockid): Do not expect.
50089         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50090         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50091         Do not expect.
50092         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50093         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50094         [UNIX98] (vwscanf): Likewise.
50095         [UNIX98] (vswscanf): Likewise.
50097 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50099         * timezone/version.h: Remove file.
50100         * timezone/README: Do not refer to version.h.
50101         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50102         $(objpfx)version.h.
50103         ($(objpfx)zdump.o): Likewise.
50104         ($(objpfx)version.h): New target.
50106         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50107         2012i.
50108         * timezone/README: Don't mention modification to tzselect.ksh.
50109         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50110         work on unmodified tzselect.ksh.  Substitute version numbers in
50111         tzselect.ksh.
50113         * Makefile (format-me): Remove.
50114         (INSTALL): Adjust indentation.  Use commands directly instead of
50115         using $(format-me).
50117         * aclocal.m4 (ACX_PKGVERSION): New macro.
50118         (ACX_BUGURL): Likewise.
50119         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50120         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50121         (REPORT_BUGS_TO): Likewise.
50122         * configure: Regenerated.
50123         * config.h.in (PKGVERSION): New macro.
50124         (REPORT_BUGS_TO): Likewise.
50125         * config.make.in (PKGVERSION): New variable.
50126         (PKGVERSION_TEXI): Likewise.
50127         (REPORT_BUGS_TO): Likewise.
50128         (REPORT_BUGS_TEXI): Likewise.
50129         * Makefile (format-me): Use -I$(common-objpfx)manual.
50130         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50131         ($(common-objpfx)manual/%): New target.
50132         (manual/%): Remove target.
50133         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50134         (print_version): Use PKGVERSION.
50135         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50136         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50137         and REPORT_BUGS_TO.
50138         ($(objpfx)xtrace): Likewise.
50139         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50140         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50141         (print_version): Use PKGVERSION.
50142         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50143         (do_version): Use PKGVERSION.
50144         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50145         REPORT_BUGS_TO.
50146         (common-ldd-rewrite): Likewise.
50147         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50148         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50149         (print_version): Use PKGVERSION.
50150         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50151         * elf/pldd.c (argp_program_bug_address): Remove variable.
50152         (more_help): New function.
50153         (argp): Use more_help.
50154         (print_version): Use PKGVERSION.
50155         * elf/sln.c (main): Use PKGVERSION.
50156         (usage): Use REPORT_BUGS_TO.
50157         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50158         (top level): Use PKGVERSION.
50159         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50160         (print_version): Use PKGVERSION.
50161         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50162         (print_version): Use PKGVERSION.
50163         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50164         (print_version): Use PKGVERSION.
50165         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50166         (print_version): Use PKGVERSION.
50167         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50168         (print_version): Use PKGVERSION.
50169         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50170         (print_version): Use PKGVERSION.
50171         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50172         and BUGURL.
50173         ($(objpfx)memusage): Likewise.
50174         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50175         (do_version): Use PKGVERSION.
50176         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50177         (print_version): Use PKGVERSION.
50178         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50179         ($PKGVERSION): New variable.
50180         ($REPORT_BUGS_TO): Likewise.
50181         (usage): Use $REPORT_BUGS_TO.
50182         (top level): Use $PKGVERSION.
50183         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50184         ($(objpfx)pkgvers.texi): New rule.
50185         ($(objpfx)stamp-pkgvers): Likewise.
50186         * manual/install.texi: Include pkgvers.texi.
50187         (--with-pkgversion): Document new configure option.
50188         (--with-bugurl): Likewise.
50189         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50190         than necessarily for this particular distribution.  Use
50191         REPORT_BUGS_TO for where to report bugs.
50192         * INSTALL: Regenerated.
50193         * manual/libc.texinfo: Include pkgvers.texi.
50194         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50195         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50196         (print_version): Use PKGVERSION.
50197         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50198         (print_version): Use PKGVERSION.
50199         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50200         (print_version): Use PKGVERSION.
50201         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50202         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50203         macro.
50204         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50205         (print_version): Use PKGVERSION.
50206         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50207         (print_version): Use PKGVERSION.
50208         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50209         and PKGVERSION.
50211         * timezone/checktab.awk: Update from tzcode 2012i.
50212         * timezone/ialloc.c: Likewise.
50213         * timezone/private.h: Likewise.
50214         * timezone/scheck.c: Likewise.
50215         * timezone/tzfile.h: Likewise.
50216         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50217         (TZVERSION): Hardcode tzcode version number.
50218         * timezone/zdump.c: Update from tzcode 2012i.
50219         * timezone/zic.c: Likewise.
50220         * timezone/version.h: New file.
50221         * timezone/README: Describe version.h.  Update upstream location.
50223         [BZ #14824]
50224         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50225         (mktemp): Enable declaration.
50226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50227         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50230         Likewise.
50231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50232         Likewise.
50233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50234         Likewise.
50235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50236         Likewise.
50237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50238         Likewise.
50239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50240         Likewise.
50242         [BZ #14821]
50243         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50244         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50245         for copies of such integer values.
50246         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50247         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50249 2012-11-09  Andreas Jaeger  <aj@suse.de>
50251         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50252         definitions and declarations that are provided by
50253         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50255 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50257         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50258         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50259         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50260         definition.
50262 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50264         * elf/elf.h: Update comment before AArch64 relocations.
50266 2012-11-07  David S. Miller  <davem@davemloft.net>
50268         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50269         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50270         (__start_context): Declare.
50271         (__makecontext_ret): Delete.
50272         (__makecontext): Hook up __start_context instead of
50273         __makecontext_ret.
50274         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50275         (sysdep_routines): Add __start_context when in stdlib.
50277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50279         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50280         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50281         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50282         hardcoded "nm".
50283         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50284         (READELF): New variable.  Use it instead of hardcoded "readelf".
50286 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50288         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50289         * sysdeps/x86/Makefile: Here.
50290         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50291         * sysdeps/x86/tst-xmmymm.sh: This.
50293 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50295         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50296         expectations.
50297         [UNIX98] (pthread_barrier_t): Do not expect.
50298         [UNIX98] (pthread_barrierattr_t): Likewise.
50299         [UNIX98] (pthread_spinlock_t): Likewise.
50300         [UNIX98] (pthread_barrier_destroy): Likewise.
50301         [UNIX98] (pthread_barrier_init): Likewise.
50302         [UNIX98] (pthread_barrier_wait): Likewise.
50303         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50304         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50305         [UNIX98] (pthread_barrierattr_init): Likewise.
50306         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50307         [UNIX98] (pthread_getcpuclockid): Likewise.
50308         [UNIX98] (pthread_mutex_timedlock): Likewise.
50309         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50310         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50311         [UNIX98] (pthread_sigmask): Likewise.
50312         [UNIX98] (pthread_spin_destroy): Likewise.
50313         [UNIX98] (pthread_spin_init): Likewise.
50314         [UNIX98] (pthread_spin_lock): Likewise.
50315         [UNIX98] (pthread_spin_trylock): Likewise.
50316         [UNIX98] (pthread_spin_unlock): Likewise.
50317         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50318         Do not expect.
50319         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50320         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50321         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50322         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50323         [XPG3 || XPG4] (pthread_key_t): Likewise.
50324         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50325         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50326         [XPG3 || XPG4] (pthread_once_t): Likewise.
50327         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50328         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50329         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50330         [XPG3 || XPG4] (pthread_t): Likewise.
50332         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50333         not expect.
50334         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50336         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50337         Change function return type to int.
50339         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50340         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50341         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50342         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50343         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50344         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50345         [!POSIX] (posix_madvise): Likewise.
50346         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50347         && !UNIX98].
50348         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50349         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50350         (mode_t): Likewise.
50351         (posix_mem_offset): Likewise.
50352         (posix_typed_mem_get_info): Likewise.
50353         (posix_typed_mem_open): Likewise.
50355         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50356         Change condition to [XOPEN2K8].
50358         * conform/conformtest.pl: Preprocess allow-header data with -x c
50359         instead of from stdin.
50360         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50361         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50362         [C99-based standards] (cerfc): Likewise.
50363         [C99-based standards] (cexp2): Likewise.
50364         [C99-based standards] (cexpm1): Likewise.
50365         [C99-based standards] (clog10): Likewise.
50366         [C99-based standards] (clog1p): Likewise.
50367         [C99-based standards] (clog2): Likewise.
50368         [C99-based standards] (clgamma): Likewise.
50369         [C99-based standards] (ctgamma): Likewise.
50370         [C99-based standards] (cerff): Likewise.
50371         [C99-based standards] (cerfcf): Likewise.
50372         [C99-based standards] (cexp2f): Likewise.
50373         [C99-based standards] (cexpm1f): Likewise.
50374         [C99-based standards] (clog10f): Likewise.
50375         [C99-based standards] (clog1pf): Likewise.
50376         [C99-based standards] (clog2f): Likewise.
50377         [C99-based standards] (clgammaf): Likewise.
50378         [C99-based standards] (ctgammaf): Likewise.
50379         [C99-based standards] (cerfl): Likewise.
50380         [C99-based standards] (cerfcl): Likewise.
50381         [C99-based standards] (cexp2l): Likewise.
50382         [C99-based standards] (cexpm1l): Likewise.
50383         [C99-based standards] (clog10l): Likewise.
50384         [C99-based standards] (clog1pl): Likewise.
50385         [C99-based standards] (clog2l): Likewise.
50386         [C99-based standards] (clgammal): Likewise.
50387         [C99-based standards] (ctgammal): Likewise.
50388         * conform/data/inttypes.h-data [C99-based standards]: Include
50389         stdint.h-data.  Remove all expectations for stdint.h contents.
50390         [C99-based standards] (PRI*): Do not allow.
50391         [C99-based standards] (SCN*): Likewise.
50392         [C99-based standards] (*_t): Likewise.
50393         [C99-based-standards] (PRId8): Expect macro.
50394         [C99-based-standards] (PRIi8): Likewise.
50395         [C99-based-standards] (PRIo8): Likewise.
50396         [C99-based-standards] (PRIu8): Likewise.
50397         [C99-based-standards] (PRIx8): Likewise.
50398         [C99-based-standards] (PRIX8): Likewise.
50399         [C99-based-standards] (SCNd8): Likewise.
50400         [C99-based-standards] (SCNi8): Likewise.
50401         [C99-based-standards] (SCNo8): Likewise.
50402         [C99-based-standards] (SCNu8): Likewise.
50403         [C99-based-standards] (SCNx8): Likewise.
50404         [C99-based-standards] (PRIdLEAST8): Likewise.
50405         [C99-based-standards] (PRIiLEAST8): Likewise.
50406         [C99-based-standards] (PRIoLEAST8): Likewise.
50407         [C99-based-standards] (PRIuLEAST8): Likewise.
50408         [C99-based-standards] (PRIxLEAST8): Likewise.
50409         [C99-based-standards] (PRIXLEAST8): Likewise.
50410         [C99-based-standards] (SCNdLEAST8): Likewise.
50411         [C99-based-standards] (SCNiLEAST8): Likewise.
50412         [C99-based-standards] (SCNoLEAST8): Likewise.
50413         [C99-based-standards] (SCNuLEAST8): Likewise.
50414         [C99-based-standards] (SCNxLEAST8): Likewise.
50415         [C99-based-standards] (PRIdFAST8): Likewise.
50416         [C99-based-standards] (PRIiFAST8): Likewise.
50417         [C99-based-standards] (PRIoFAST8): Likewise.
50418         [C99-based-standards] (PRIuFAST8): Likewise.
50419         [C99-based-standards] (PRIxFAST8): Likewise.
50420         [C99-based-standards] (PRIXFAST8): Likewise.
50421         [C99-based-standards] (SCNdFAST8): Likewise.
50422         [C99-based-standards] (SCNiFAST8): Likewise.
50423         [C99-based-standards] (SCNoFAST8): Likewise.
50424         [C99-based-standards] (SCNuFAST8): Likewise.
50425         [C99-based-standards] (SCNxFAST8): Likewise.
50426         [C99-based-standards] (PRId16): Likewise.
50427         [C99-based-standards] (PRIi16): Likewise.
50428         [C99-based-standards] (PRIo16): Likewise.
50429         [C99-based-standards] (PRIu16): Likewise.
50430         [C99-based-standards] (PRIx16): Likewise.
50431         [C99-based-standards] (PRIX16): Likewise.
50432         [C99-based-standards] (SCNd16): Likewise.
50433         [C99-based-standards] (SCNi16): Likewise.
50434         [C99-based-standards] (SCNo16): Likewise.
50435         [C99-based-standards] (SCNu16): Likewise.
50436         [C99-based-standards] (SCNx16): Likewise.
50437         [C99-based-standards] (PRIdLEAST16): Likewise.
50438         [C99-based-standards] (PRIiLEAST16): Likewise.
50439         [C99-based-standards] (PRIoLEAST16): Likewise.
50440         [C99-based-standards] (PRIuLEAST16): Likewise.
50441         [C99-based-standards] (PRIxLEAST16): Likewise.
50442         [C99-based-standards] (PRIXLEAST16): Likewise.
50443         [C99-based-standards] (SCNdLEAST16): Likewise.
50444         [C99-based-standards] (SCNiLEAST16): Likewise.
50445         [C99-based-standards] (SCNoLEAST16): Likewise.
50446         [C99-based-standards] (SCNuLEAST16): Likewise.
50447         [C99-based-standards] (SCNxLEAST16): Likewise.
50448         [C99-based-standards] (PRIdFAST16): Likewise.
50449         [C99-based-standards] (PRIiFAST16): Likewise.
50450         [C99-based-standards] (PRIoFAST16): Likewise.
50451         [C99-based-standards] (PRIuFAST16): Likewise.
50452         [C99-based-standards] (PRIxFAST16): Likewise.
50453         [C99-based-standards] (PRIXFAST16): Likewise.
50454         [C99-based-standards] (SCNdFAST16): Likewise.
50455         [C99-based-standards] (SCNiFAST16): Likewise.
50456         [C99-based-standards] (SCNoFAST16): Likewise.
50457         [C99-based-standards] (SCNuFAST16): Likewise.
50458         [C99-based-standards] (SCNxFAST16): Likewise.
50459         [C99-based-standards] (PRId32): Likewise.
50460         [C99-based-standards] (PRIi32): Likewise.
50461         [C99-based-standards] (PRIo32): Likewise.
50462         [C99-based-standards] (PRIu32): Likewise.
50463         [C99-based-standards] (PRIx32): Likewise.
50464         [C99-based-standards] (PRIX32): Likewise.
50465         [C99-based-standards] (SCNd32): Likewise.
50466         [C99-based-standards] (SCNi32): Likewise.
50467         [C99-based-standards] (SCNo32): Likewise.
50468         [C99-based-standards] (SCNu32): Likewise.
50469         [C99-based-standards] (SCNx32): Likewise.
50470         [C99-based-standards] (PRIdLEAST32): Likewise.
50471         [C99-based-standards] (PRIiLEAST32): Likewise.
50472         [C99-based-standards] (PRIoLEAST32): Likewise.
50473         [C99-based-standards] (PRIuLEAST32): Likewise.
50474         [C99-based-standards] (PRIxLEAST32): Likewise.
50475         [C99-based-standards] (PRIXLEAST32): Likewise.
50476         [C99-based-standards] (SCNdLEAST32): Likewise.
50477         [C99-based-standards] (SCNiLEAST32): Likewise.
50478         [C99-based-standards] (SCNoLEAST32): Likewise.
50479         [C99-based-standards] (SCNuLEAST32): Likewise.
50480         [C99-based-standards] (SCNxLEAST32): Likewise.
50481         [C99-based-standards] (PRIdFAST32): Likewise.
50482         [C99-based-standards] (PRIiFAST32): Likewise.
50483         [C99-based-standards] (PRIoFAST32): Likewise.
50484         [C99-based-standards] (PRIuFAST32): Likewise.
50485         [C99-based-standards] (PRIxFAST32): Likewise.
50486         [C99-based-standards] (PRIXFAST32): Likewise.
50487         [C99-based-standards] (SCNdFAST32): Likewise.
50488         [C99-based-standards] (SCNiFAST32): Likewise.
50489         [C99-based-standards] (SCNoFAST32): Likewise.
50490         [C99-based-standards] (SCNuFAST32): Likewise.
50491         [C99-based-standards] (SCNxFAST32): Likewise.
50492         [C99-based-standards] (PRId64): Likewise.
50493         [C99-based-standards] (PRIi64): Likewise.
50494         [C99-based-standards] (PRIo64): Likewise.
50495         [C99-based-standards] (PRIu64): Likewise.
50496         [C99-based-standards] (PRIx64): Likewise.
50497         [C99-based-standards] (PRIX64): Likewise.
50498         [C99-based-standards] (SCNd64): Likewise.
50499         [C99-based-standards] (SCNi64): Likewise.
50500         [C99-based-standards] (SCNo64): Likewise.
50501         [C99-based-standards] (SCNu64): Likewise.
50502         [C99-based-standards] (SCNx64): Likewise.
50503         [C99-based-standards] (PRIdLEAST64): Likewise.
50504         [C99-based-standards] (PRIiLEAST64): Likewise.
50505         [C99-based-standards] (PRIoLEAST64): Likewise.
50506         [C99-based-standards] (PRIuLEAST64): Likewise.
50507         [C99-based-standards] (PRIxLEAST64): Likewise.
50508         [C99-based-standards] (PRIXLEAST64): Likewise.
50509         [C99-based-standards] (SCNdLEAST64): Likewise.
50510         [C99-based-standards] (SCNiLEAST64): Likewise.
50511         [C99-based-standards] (SCNoLEAST64): Likewise.
50512         [C99-based-standards] (SCNuLEAST64): Likewise.
50513         [C99-based-standards] (SCNxLEAST64): Likewise.
50514         [C99-based-standards] (PRIdFAST64): Likewise.
50515         [C99-based-standards] (PRIiFAST64): Likewise.
50516         [C99-based-standards] (PRIoFAST64): Likewise.
50517         [C99-based-standards] (PRIuFAST64): Likewise.
50518         [C99-based-standards] (PRIxFAST64): Likewise.
50519         [C99-based-standards] (PRIXFAST64): Likewise.
50520         [C99-based-standards] (SCNdFAST64): Likewise.
50521         [C99-based-standards] (SCNiFAST64): Likewise.
50522         [C99-based-standards] (SCNoFAST64): Likewise.
50523         [C99-based-standards] (SCNuFAST64): Likewise.
50524         [C99-based-standards] (SCNxFAST64): Likewise.
50525         [C99-based-standards] (PRIdMAX): Likewise.
50526         [C99-based-standards] (PRIiMAX): Likewise.
50527         [C99-based-standards] (PRIoMAX): Likewise.
50528         [C99-based-standards] (PRIuMAX): Likewise.
50529         [C99-based-standards] (PRIxMAX): Likewise.
50530         [C99-based-standards] (PRIXMAX): Likewise.
50531         [C99-based-standards] (SCNdMAX): Likewise.
50532         [C99-based-standards] (SCNiMAX): Likewise.
50533         [C99-based-standards] (SCNoMAX): Likewise.
50534         [C99-based-standards] (SCNuMAX): Likewise.
50535         [C99-based-standards] (SCNxMAX): Likewise.
50536         [C99-based-standards] (PRIdPTR): Likewise.
50537         [C99-based-standards] (PRIiPTR): Likewise.
50538         [C99-based-standards] (PRIoPTR): Likewise.
50539         [C99-based-standards] (PRIuPTR): Likewise.
50540         [C99-based-standards] (PRIxPTR): Likewise.
50541         [C99-based-standards] (PRIXPTR): Likewise.
50542         [C99-based-standards] (SCNdPTR): Likewise.
50543         [C99-based-standards] (SCNiPTR): Likewise.
50544         [C99-based-standards] (SCNoPTR): Likewise.
50545         [C99-based-standards] (SCNuPTR): Likewise.
50546         [C99-based-standards] (SCNxPTR): Likewise.
50547         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50548         allow.
50549         * conform/data/stdint.h-data: Update comments to clarify
50550         requirements.
50551         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50552         type.
50553         [C99-based standards] (INT8_MAX): Likewise.
50554         [C99-based standards] (INT16_MIN): Likewise.
50555         [C99-based standards] (INT16_MAX): Likewise.
50556         [C99-based standards] (INT32_MIN): Likewise.
50557         [C99-based standards] (INT32_MAX): Likewise.
50558         [C99-based standards] (INT64_MIN): Likewise.
50559         [C99-based standards] (INT64_MAX): Likewise.
50560         [C99-based standards] (UINT8_MAX): Likewise.
50561         [C99-based standards] (UINT16_MAX): Likewise.
50562         [C99-based standards] (UINT32_MAX): Likewise.
50563         [C99-based standards] (UINT64_MAX): Likewise.
50564         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50565         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50566         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50567         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50568         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50569         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50570         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50571         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50572         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50573         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50574         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50575         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50576         [C99-based standards] (INT_FAST8_MIN): Likewise.
50577         [C99-based standards] (INT_FAST8_MAX): Likewise.
50578         [C99-based standards] (INT_FAST16_MIN): Likewise.
50579         [C99-based standards] (INT_FAST16_MAX): Likewise.
50580         [C99-based standards] (INT_FAST32_MIN): Likewise.
50581         [C99-based standards] (INT_FAST32_MAX): Likewise.
50582         [C99-based standards] (INT_FAST64_MIN): Likewise.
50583         [C99-based standards] (INT_FAST64_MAX): Likewise.
50584         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50585         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50586         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50587         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50588         [C99-based standards] (INTPTR_MIN): Likewise.
50589         [C99-based standards] (INTPTR_MAX): Likewise.
50590         [C99-based standards] (UINTPTR_MAX): Likewise.
50591         [C99-based standards] (INTMAX_MIN): Likewise.
50592         [C99-based standards] (INTMAX_MAX): Likewise.
50593         [C99-based standards] (UINTMAX_MAX): Likewise.
50594         [C99-based standards] (PTRDIFF_MIN): Likewise.
50595         [C99-based standards] (PTRDIFF_MAX): Likewise.
50596         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50597         [C99-based standards] (SIZE_MAX): Likewise.
50598         [C99-based standards] (WCHAR_MAX): Likewise.
50599         [C99-based standards] (WINT_MAX): Likewise.
50600         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50601         constraint on value.
50602         [C99-based standards] (WCHAR_MIN): Likewise.
50603         [C99-based standards] (WINT_MIN): Likewise.
50604         [C99-based standards] (*_t): Allow.
50605         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50606         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50607         Include math.h-data and complex.h-data.  Remove all expectations
50608         of math.h and complex.h contents.
50609         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50610         at end of line.
50611         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50612         (struct tm): Expect tag.
50613         [C99-based-standards] (wcstof): Expect function.
50614         [C99-based-standards] (wcstold): Likewise.
50615         [C99-based-standards] (wcstoll): Likewise.
50616         [C99-based-standards] (wcstoull): Likewise.
50617         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50618         macro-int-constant.  Specify type.
50619         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50620         constraint on value.
50621         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50622         Specify type.
50623         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50624         Specify value.
50625         [ISO C standards]: Do not allow headers.
50626         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50627         wcs[abcdefghijklmnopqrstuvwxyz]*.
50628         [ISO C standards] (*_t): Do not allow.
50629         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50630         Expect function.
50631         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50632         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50633         Specify type.
50634         [ISO C standards]: Do not allow headers.
50635         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50636         is[abcdefghijklmnopqrstuvwxyz]*.
50637         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50638         to[abcdefghijklmnopqrstuvwxyz]*.
50639         [ISO C standards] (*_t): Do not allow.
50640         * conform/data/stdalign.h-data: New file.
50641         * conform/data/stdbool.h-data: Likewise.
50642         * conform/data/stdnoreturn.h-data: Likewise.
50644 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50646         [BZ #14815]
50647         * manual/filesys.texi (Directory Entries): Typo fix.
50648         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50650 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50652         * elf/elf.h (EM_AARCH64): New macro.
50653         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50654         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50655         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50656         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50657         (R_AARCH64_TLSDESC): Likewise.
50658         (NT_ARM_TLS): Likewise.
50659         (NT_ARM_HW_BREAK): Likewise.
50660         (NT_ARM_HW_WATCH): Likewise.
50662 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50664         [BZ #14811]
50665         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50666         (__ieee754_powl): Saturate nonzero exponents with absolute value
50667         below 0x1p-79 to +/- 0x1p-79.
50668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50669         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50670         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50671         nonzero exponents with absolute value below 0x1p-32 to +/-
50672         0x1p-32.
50673         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50674         (__ieee754_powl): Saturate nonzero exponents with absolute value
50675         below 0x1p-79 to +/- 0x1p-79.
50676         * math/libm-test.inc (pow_test): Add more tests.
50678 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50680         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50681         _dl_s390_cap_flags with kernel. Increase string length.
50682         (_dl_s390_platforms): Add z196 and zEC12.
50684 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50686         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50687         Change XOPEN21K to XOPEN2K.
50689 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50691         * string/memmove.c: Use memcpy when possible.
50693 2012-11-06  Andreas Jaeger  <aj@suse.de>
50695         * po/eo.po: Update from translation team.
50697 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50699         [BZ #14793]
50700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50701         exponent and small x and y exponents, scale x or y up.  Increase
50702         by 2 the exponent used in scaling up.
50703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50704         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50705         * math/libm-test.inc (fma_test): Add more tests.
50706         (fma_test_towardzero): Likewise.
50707         (fma_test_downward): Likewise.
50708         (fma_test_upward): Likewise.
50710 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50712         [BZ #14805]
50713         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50714         fenv_t *.
50716         [BZ #14801]
50717         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50718         namespace for names of struct fields.
50719         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50720         fenv_t fields.
50721         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50722         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50724 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50726         [BZ #3665]
50727         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50729 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50731         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50732         PTR_DEMANGLE.
50734         [BZ #5246]
50735         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50736         PTR_DEMANGLE.
50738 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50740         [BZ #14797]
50741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50742         definitely overflow as x * y not x * y + z.
50743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50745         * math/libm-test.inc (fma_test): Add more tests.
50746         (fma_test_towardzero): Likewise.
50747         (fma_test_downward): Likewise.
50748         (fma_test_upward): Likewise.
50750 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50752         [BZ #157]
50754         * include/stub-tag.h: Remove file.
50755         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50756         '#include' of it.
50757         * manual/maint.texi (Porting): Don't reference it.
50758         * Makerules ($(objpfx)stubs): Likewise.
50759         * dirent/closedir.c: Don't include <stub-tag.h>.
50760         * dirent/dirfd.c: Likewise.
50761         * dirent/fdopendir.c: Likewise.
50762         * dirent/getdents.c: Likewise.
50763         * dirent/getdents64.c: Likewise.
50764         * dirent/opendir.c: Likewise.
50765         * dirent/readdir.c: Likewise.
50766         * dirent/readdir64.c: Likewise.
50767         * dirent/readdir64_r.c: Likewise.
50768         * dirent/readdir_r.c: Likewise.
50769         * dirent/rewinddir.c: Likewise.
50770         * dirent/seekdir.c: Likewise.
50771         * dirent/telldir.c: Likewise.
50772         * gmon/profil.c: Likewise.
50773         * grp/setgroups.c: Likewise.
50774         * inet/if_index.c: Likewise.
50775         * io/access.c: Likewise.
50776         * io/chdir.c: Likewise.
50777         * io/chmod.c: Likewise.
50778         * io/chown.c: Likewise.
50779         * io/close.c: Likewise.
50780         * io/dup.c: Likewise.
50781         * io/dup2.c: Likewise.
50782         * io/dup3.c: Likewise.
50783         * io/euidaccess.c: Likewise.
50784         * io/faccessat.c: Likewise.
50785         * io/fchdir.c: Likewise.
50786         * io/fchmod.c: Likewise.
50787         * io/fchmodat.c: Likewise.
50788         * io/fchown.c: Likewise.
50789         * io/fchownat.c: Likewise.
50790         * io/fcntl.c: Likewise.
50791         * io/flock.c: Likewise.
50792         * io/fstatfs.c: Likewise.
50793         * io/fstatfs64.c: Likewise.
50794         * io/fstatvfs.c: Likewise.
50795         * io/fstatvfs64.c: Likewise.
50796         * io/futimens.c: Likewise.
50797         * io/fxstat.c: Likewise.
50798         * io/fxstat64.c: Likewise.
50799         * io/fxstatat.c: Likewise.
50800         * io/fxstatat64.c: Likewise.
50801         * io/getcwd.c: Likewise.
50802         * io/isatty.c: Likewise.
50803         * io/lchmod.c: Likewise.
50804         * io/lchown.c: Likewise.
50805         * io/link.c: Likewise.
50806         * io/linkat.c: Likewise.
50807         * io/lseek.c: Likewise.
50808         * io/lseek64.c: Likewise.
50809         * io/lxstat64.c: Likewise.
50810         * io/mkdir.c: Likewise.
50811         * io/mkdirat.c: Likewise.
50812         * io/mkfifo.c: Likewise.
50813         * io/mkfifoat.c: Likewise.
50814         * io/open.c: Likewise.
50815         * io/open64.c: Likewise.
50816         * io/openat.c: Likewise.
50817         * io/openat64.c: Likewise.
50818         * io/pipe.c: Likewise.
50819         * io/pipe2.c: Likewise.
50820         * io/poll.c: Likewise.
50821         * io/posix_fadvise.c: Likewise.
50822         * io/posix_fadvise64.c: Likewise.
50823         * io/posix_fallocate.c: Likewise.
50824         * io/posix_fallocate64.c: Likewise.
50825         * io/read.c: Likewise.
50826         * io/readlink.c: Likewise.
50827         * io/readlinkat.c: Likewise.
50828         * io/rmdir.c: Likewise.
50829         * io/sendfile.c: Likewise.
50830         * io/sendfile64.c: Likewise.
50831         * io/statfs.c: Likewise.
50832         * io/statfs64.c: Likewise.
50833         * io/statvfs.c: Likewise.
50834         * io/statvfs64.c: Likewise.
50835         * io/symlink.c: Likewise.
50836         * io/symlinkat.c: Likewise.
50837         * io/ttyname.c: Likewise.
50838         * io/ttyname_r.c: Likewise.
50839         * io/umask.c: Likewise.
50840         * io/unlink.c: Likewise.
50841         * io/unlinkat.c: Likewise.
50842         * io/utime.c: Likewise.
50843         * io/utimensat.c: Likewise.
50844         * io/write.c: Likewise.
50845         * io/xmknod.c: Likewise.
50846         * io/xmknodat.c: Likewise.
50847         * io/xstat.c: Likewise.
50848         * io/xstat64.c: Likewise.
50849         * login/getpt.c: Likewise.
50850         * login/grantpt.c: Likewise.
50851         * login/unlockpt.c: Likewise.
50852         * math/e_acoshl.c: Likewise.
50853         * math/e_acosl.c: Likewise.
50854         * math/e_asinl.c: Likewise.
50855         * math/e_atan2l.c: Likewise.
50856         * math/e_atanhl.c: Likewise.
50857         * math/e_coshl.c: Likewise.
50858         * math/e_expl.c: Likewise.
50859         * math/e_fmodl.c: Likewise.
50860         * math/e_gammal_r.c: Likewise.
50861         * math/e_hypotl.c: Likewise.
50862         * math/e_j0l.c: Likewise.
50863         * math/e_j1l.c: Likewise.
50864         * math/e_jnl.c: Likewise.
50865         * math/e_lgammal_r.c: Likewise.
50866         * math/e_log10l.c: Likewise.
50867         * math/e_log2l.c: Likewise.
50868         * math/e_logl.c: Likewise.
50869         * math/e_powl.c: Likewise.
50870         * math/e_rem_pio2l.c: Likewise.
50871         * math/e_sinhl.c: Likewise.
50872         * math/e_sqrtl.c: Likewise.
50873         * math/fclrexcpt.c: Likewise.
50874         * math/fedisblxcpt.c: Likewise.
50875         * math/feenablxcpt.c: Likewise.
50876         * math/fegetenv.c: Likewise.
50877         * math/fegetexcept.c: Likewise.
50878         * math/fegetround.c: Likewise.
50879         * math/feholdexcpt.c: Likewise.
50880         * math/fesetenv.c: Likewise.
50881         * math/fesetround.c: Likewise.
50882         * math/feupdateenv.c: Likewise.
50883         * math/fgetexcptflg.c: Likewise.
50884         * math/fraiseexcpt.c: Likewise.
50885         * math/fsetexcptflg.c: Likewise.
50886         * math/ftestexcept.c: Likewise.
50887         * math/k_cosl.c: Likewise.
50888         * math/k_rem_pio2l.c: Likewise.
50889         * math/k_sinl.c: Likewise.
50890         * math/k_tanl.c: Likewise.
50891         * math/s_asinhl.c: Likewise.
50892         * math/s_atanl.c: Likewise.
50893         * math/s_cbrtl.c: Likewise.
50894         * math/s_erfl.c: Likewise.
50895         * math/s_expm1l.c: Likewise.
50896         * math/s_log1pl.c: Likewise.
50897         * math/s_tanhl.c: Likewise.
50898         * misc/acct.c: Likewise.
50899         * misc/brk.c: Likewise.
50900         * misc/chflags.c: Likewise.
50901         * misc/chroot.c: Likewise.
50902         * misc/fchflags.c: Likewise.
50903         * misc/fgetxattr.c: Likewise.
50904         * misc/flistxattr.c: Likewise.
50905         * misc/fremovexattr.c: Likewise.
50906         * misc/fsetxattr.c: Likewise.
50907         * misc/fsync.c: Likewise.
50908         * misc/ftruncate.c: Likewise.
50909         * misc/futimes.c: Likewise.
50910         * misc/futimesat.c: Likewise.
50911         * misc/getdomain.c: Likewise.
50912         * misc/getdtsz.c: Likewise.
50913         * misc/gethostid.c: Likewise.
50914         * misc/gethostname.c: Likewise.
50915         * misc/getloadavg.c: Likewise.
50916         * misc/getpagesize.c: Likewise.
50917         * misc/getsysstats.c: Likewise.
50918         * misc/getxattr.c: Likewise.
50919         * misc/gtty.c: Likewise.
50920         * misc/ioctl.c: Likewise.
50921         * misc/lgetxattr.c: Likewise.
50922         * misc/listxattr.c: Likewise.
50923         * misc/llistxattr.c: Likewise.
50924         * misc/lremovexattr.c: Likewise.
50925         * misc/lsetxattr.c: Likewise.
50926         * misc/lutimes.c: Likewise.
50927         * misc/madvise.c: Likewise.
50928         * misc/mincore.c: Likewise.
50929         * misc/mlock.c: Likewise.
50930         * misc/mlockall.c: Likewise.
50931         * misc/mmap.c: Likewise.
50932         * misc/mprotect.c: Likewise.
50933         * misc/msync.c: Likewise.
50934         * misc/munlock.c: Likewise.
50935         * misc/munlockall.c: Likewise.
50936         * misc/munmap.c: Likewise.
50937         * misc/preadv.c: Likewise.
50938         * misc/preadv64.c: Likewise.
50939         * misc/ptrace.c: Likewise.
50940         * misc/pwritev.c: Likewise.
50941         * misc/pwritev64.c: Likewise.
50942         * misc/readv.c: Likewise.
50943         * misc/reboot.c: Likewise.
50944         * misc/remap_file_pages.c: Likewise.
50945         * misc/removexattr.c: Likewise.
50946         * misc/revoke.c: Likewise.
50947         * misc/select.c: Likewise.
50948         * misc/setdomain.c: Likewise.
50949         * misc/setegid.c: Likewise.
50950         * misc/seteuid.c: Likewise.
50951         * misc/sethostid.c: Likewise.
50952         * misc/sethostname.c: Likewise.
50953         * misc/setregid.c: Likewise.
50954         * misc/setreuid.c: Likewise.
50955         * misc/setxattr.c: Likewise.
50956         * misc/sstk.c: Likewise.
50957         * misc/stty.c: Likewise.
50958         * misc/swapoff.c: Likewise.
50959         * misc/swapon.c: Likewise.
50960         * misc/sync.c: Likewise.
50961         * misc/syncfs.c: Likewise.
50962         * misc/syscall.c: Likewise.
50963         * misc/truncate.c: Likewise.
50964         * misc/ualarm.c: Likewise.
50965         * misc/usleep.c: Likewise.
50966         * misc/ustat.c: Likewise.
50967         * misc/utimes.c: Likewise.
50968         * misc/vhangup.c: Likewise.
50969         * misc/writev.c: Likewise.
50970         * posix/_exit.c: Likewise.
50971         * posix/alarm.c: Likewise.
50972         * posix/execve.c: Likewise.
50973         * posix/fexecve.c: Likewise.
50974         * posix/fork.c: Likewise.
50975         * posix/fpathconf.c: Likewise.
50976         * posix/getaddrinfo.c: Likewise.
50977         * posix/getegid.c: Likewise.
50978         * posix/geteuid.c: Likewise.
50979         * posix/getgid.c: Likewise.
50980         * posix/getgroups.c: Likewise.
50981         * posix/getlogin.c: Likewise.
50982         * posix/getlogin_r.c: Likewise.
50983         * posix/getpgid.c: Likewise.
50984         * posix/getpid.c: Likewise.
50985         * posix/getppid.c: Likewise.
50986         * posix/getresgid.c: Likewise.
50987         * posix/getresuid.c: Likewise.
50988         * posix/getsid.c: Likewise.
50989         * posix/getuid.c: Likewise.
50990         * posix/glob64.c: Likewise.
50991         * posix/nanosleep.c: Likewise.
50992         * posix/pathconf.c: Likewise.
50993         * posix/pause.c: Likewise.
50994         * posix/posix_madvise.c: Likewise.
50995         * posix/pread.c: Likewise.
50996         * posix/pread64.c: Likewise.
50997         * posix/pwrite.c: Likewise.
50998         * posix/pwrite64.c: Likewise.
50999         * posix/sched_getaffinity.c: Likewise.
51000         * posix/sched_getp.c: Likewise.
51001         * posix/sched_gets.c: Likewise.
51002         * posix/sched_primax.c: Likewise.
51003         * posix/sched_primin.c: Likewise.
51004         * posix/sched_rr_gi.c: Likewise.
51005         * posix/sched_setaffinity.c: Likewise.
51006         * posix/sched_setp.c: Likewise.
51007         * posix/sched_sets.c: Likewise.
51008         * posix/sched_yield.c: Likewise.
51009         * posix/setgid.c: Likewise.
51010         * posix/setlogin.c: Likewise.
51011         * posix/setpgid.c: Likewise.
51012         * posix/setresgid.c: Likewise.
51013         * posix/setresuid.c: Likewise.
51014         * posix/setsid.c: Likewise.
51015         * posix/setuid.c: Likewise.
51016         * posix/sleep.c: Likewise.
51017         * posix/spawni.c: Likewise.
51018         * posix/sysconf.c: Likewise.
51019         * posix/times.c: Likewise.
51020         * posix/wait.c: Likewise.
51021         * posix/wait3.c: Likewise.
51022         * posix/wait4.c: Likewise.
51023         * posix/waitpid.c: Likewise.
51024         * resolv/gai_sigqueue.c: Likewise.
51025         * resource/getpriority.c: Likewise.
51026         * resource/getrlimit.c: Likewise.
51027         * resource/getrusage.c: Likewise.
51028         * resource/nice.c: Likewise.
51029         * resource/setpriority.c: Likewise.
51030         * resource/setrlimit.c: Likewise.
51031         * resource/ulimit.c: Likewise.
51032         * rt/aio_cancel.c: Likewise.
51033         * rt/aio_fsync.c: Likewise.
51034         * rt/aio_read.c: Likewise.
51035         * rt/aio_sigqueue.c: Likewise.
51036         * rt/aio_suspend.c: Likewise.
51037         * rt/aio_write.c: Likewise.
51038         * rt/clock_getres.c: Likewise.
51039         * rt/clock_gettime.c: Likewise.
51040         * rt/clock_nanosleep.c: Likewise.
51041         * rt/clock_settime.c: Likewise.
51042         * rt/lio_listio.c: Likewise.
51043         * rt/mq_close.c: Likewise.
51044         * rt/mq_getattr.c: Likewise.
51045         * rt/mq_notify.c: Likewise.
51046         * rt/mq_open.c: Likewise.
51047         * rt/mq_receive.c: Likewise.
51048         * rt/mq_send.c: Likewise.
51049         * rt/mq_setattr.c: Likewise.
51050         * rt/mq_timedreceive.c: Likewise.
51051         * rt/mq_timedsend.c: Likewise.
51052         * rt/mq_unlink.c: Likewise.
51053         * rt/shm_open.c: Likewise.
51054         * rt/shm_unlink.c: Likewise.
51055         * rt/timer_create.c: Likewise.
51056         * rt/timer_delete.c: Likewise.
51057         * rt/timer_getoverr.c: Likewise.
51058         * rt/timer_gettime.c: Likewise.
51059         * rt/timer_settime.c: Likewise.
51060         * setjmp/__longjmp.c: Likewise.
51061         * setjmp/setjmp.c: Likewise.
51062         * signal/kill.c: Likewise.
51063         * signal/killpg.c: Likewise.
51064         * signal/raise.c: Likewise.
51065         * signal/sigaction.c: Likewise.
51066         * signal/sigaltstack.c: Likewise.
51067         * signal/sigblock.c: Likewise.
51068         * signal/sigignore.c: Likewise.
51069         * signal/sigintr.c: Likewise.
51070         * signal/signal.c: Likewise.
51071         * signal/sigpause.c: Likewise.
51072         * signal/sigpending.c: Likewise.
51073         * signal/sigqueue.c: Likewise.
51074         * signal/sigreturn.c: Likewise.
51075         * signal/sigset.c: Likewise.
51076         * signal/sigsetmask.c: Likewise.
51077         * signal/sigstack.c: Likewise.
51078         * signal/sigsuspend.c: Likewise.
51079         * signal/sigtimedwait.c: Likewise.
51080         * signal/sigvec.c: Likewise.
51081         * signal/sigwait.c: Likewise.
51082         * signal/sigwaitinfo.c: Likewise.
51083         * signal/sysv_signal.c: Likewise.
51084         * socket/accept.c: Likewise.
51085         * socket/accept4.c: Likewise.
51086         * socket/bind.c: Likewise.
51087         * socket/connect.c: Likewise.
51088         * socket/getpeername.c: Likewise.
51089         * socket/getsockname.c: Likewise.
51090         * socket/getsockopt.c: Likewise.
51091         * socket/isfdtype.c: Likewise.
51092         * socket/listen.c: Likewise.
51093         * socket/recv.c: Likewise.
51094         * socket/recvfrom.c: Likewise.
51095         * socket/recvmsg.c: Likewise.
51096         * socket/send.c: Likewise.
51097         * socket/sendmsg.c: Likewise.
51098         * socket/sendto.c: Likewise.
51099         * socket/setsockopt.c: Likewise.
51100         * socket/shutdown.c: Likewise.
51101         * socket/sockatmark.c: Likewise.
51102         * socket/socket.c: Likewise.
51103         * socket/socketpair.c: Likewise.
51104         * stdio-common/ctermid.c: Likewise.
51105         * stdio-common/cuserid.c: Likewise.
51106         * stdio-common/remove.c: Likewise.
51107         * stdio-common/rename.c: Likewise.
51108         * stdio-common/renameat.c: Likewise.
51109         * stdio-common/tempname.c: Likewise.
51110         * stdlib/getcontext.c: Likewise.
51111         * stdlib/makecontext.c: Likewise.
51112         * stdlib/setcontext.c: Likewise.
51113         * stdlib/swapcontext.c: Likewise.
51114         * stdlib/system.c: Likewise.
51115         * streams/fattach.c: Likewise.
51116         * streams/fdetach.c: Likewise.
51117         * streams/getmsg.c: Likewise.
51118         * streams/getpmsg.c: Likewise.
51119         * streams/putmsg.c: Likewise.
51120         * streams/putpmsg.c: Likewise.
51121         * sysdeps/unix/bsd/getpt.c: Likewise.
51122         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51123         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51124         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51126         Likewise.
51127         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51128         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51129         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51130         * sysvipc/msgctl.c: Likewise.
51131         * sysvipc/msgget.c: Likewise.
51132         * sysvipc/msgrcv.c: Likewise.
51133         * sysvipc/msgsnd.c: Likewise.
51134         * sysvipc/semctl.c: Likewise.
51135         * sysvipc/semget.c: Likewise.
51136         * sysvipc/semop.c: Likewise.
51137         * sysvipc/semtimedop.c: Likewise.
51138         * sysvipc/shmat.c: Likewise.
51139         * sysvipc/shmctl.c: Likewise.
51140         * sysvipc/shmdt.c: Likewise.
51141         * sysvipc/shmget.c: Likewise.
51142         * termios/tcdrain.c: Likewise.
51143         * termios/tcflow.c: Likewise.
51144         * termios/tcflush.c: Likewise.
51145         * termios/tcgetattr.c: Likewise.
51146         * termios/tcgetpgrp.c: Likewise.
51147         * termios/tcsendbrk.c: Likewise.
51148         * termios/tcsetattr.c: Likewise.
51149         * termios/tcsetpgrp.c: Likewise.
51150         * time/adjtime.c: Likewise.
51151         * time/clock.c: Likewise.
51152         * time/getitimer.c: Likewise.
51153         * time/gettimeofday.c: Likewise.
51154         * time/setitimer.c: Likewise.
51155         * time/settimeofday.c: Likewise.
51156         * time/stime.c: Likewise.
51157         * time/time.c: Likewise.
51159 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51161         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51162         /usr/old/bin.
51164         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51165         instead of spaces.
51166         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51168 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51170         [BZ #14796]
51171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51172         FE_TONEAREST before applying Dekker multiplication and Knuth
51173         addition.  Clear inexact exceptions and check for exact zero
51174         results afterwards.
51175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51178         * math/libm-test.inc (fma_test): Add more tests.
51179         (fma_test_towardzero): Likewise.
51180         (fma_test_downward): Likewise.
51181         (fma_test_upward): Likewise.
51182         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51183         function.
51184         (libc_fesetround): New macro.
51185         (libc_fesetroundf): Likewise.
51186         (libc_fesetroundl): Likewise.
51187         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51188         function.
51189         (libc_fesetround_387): Likewise.
51190         (libc_fesetroundf): New macro.
51191         (libc_fesetround): Likewise.
51192         (libc_fesetroundl): Likewise.
51193         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51194         function.
51195         (libc_fesetroundf): New macro.
51196         (libc_fesetround): Likewise.
51197         (libc_fesetroundl): Likewise.
51198         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51199         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51200         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51201         libm_hidden_ver.
51202         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51203         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51204         libm_hidden_def.
51205         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51206         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51207         libm_hidden_ver.
51208         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51209         libm_hidden_def.
51211         [BZ #3439]
51212         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51213         integer constant usable in #if and use that to give value to enum
51214         constant.
51215         (FE_DIVBYZERO): Likewise.
51216         (FE_UNDERFLOW): Likewise.
51217         (FE_OVERFLOW): Likewise.
51218         (FE_INVALID): Likewise.
51219         (FE_INVALID_SNAN): Likewise.
51220         (FE_INVALID_ISI): Likewise.
51221         (FE_INVALID_IDI): Likewise.
51222         (FE_INVALID_ZDZ): Likewise.
51223         (FE_INVALID_IMZ): Likewise.
51224         (FE_INVALID_COMPARE): Likewise.
51225         (FE_INVALID_SOFTWARE): Likewise.
51226         (FE_INVALID_SQRT): Likewise.
51227         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51228         (FE_TONEAREST): Likewise.
51229         (FE_TOWARDZERO): Likewise.
51230         (FE_UPWARD): Likewise.
51231         (FE_DOWNWARD): Likewise.
51232         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51233         (FE_DIVBYZERO): Likewise.
51234         (FE_OVERFLOW): Likewise.
51235         (FE_UNDERFLOW): Likewise.
51236         (FE_INEXACT): Likewise.
51237         (FE_TONEAREST): Likewise.
51238         (FE_DOWNWARD): Likewise.
51239         (FE_UPWARD): Likewise.
51240         (FE_TOWARDZERO): Likewise.
51241         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51242         (FE_UNDERFLOW): Likewise.
51243         (FE_OVERFLOW): Likewise.
51244         (FE_DIVBYZERO): Likewise.
51245         (FE_INVALID): Likewise.
51246         (FE_TONEAREST): Likewise.
51247         (FE_TOWARDZERO): Likewise.
51248         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51249         (FE_OVERFLOW): Likewise.
51250         (FE_UNDERFLOW): Likewise.
51251         (FE_DIVBYZERO): Likewise.
51252         (FE_INEXACT): Likewise.
51253         (FE_TONEAREST): Likewise.
51254         (FE_TOWARDZERO): Likewise.
51255         (FE_UPWARD): Likewise.
51256         (FE_DOWNWARD): Likewise.
51257         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51258         (FE_DIVBYZERO): Likewise.
51259         (FE_OVERFLOW): Likewise.
51260         (FE_UNDERFLOW): Likewise.
51261         (FE_INEXACT): Likewise.
51262         (FE_TONEAREST): Likewise.
51263         (FE_DOWNWARD): Likewise.
51264         (FE_UPWARD): Likewise.
51265         (FE_TOWARDZERO): Likewise.
51267 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51269         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51271 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51273         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51274         commands.  Quote $PWD.
51275         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51276         -x" by "export".
51277         (remove_newlines): Remove.
51279 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51281         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51282         * stdlib/stdlib.h (atof): Moved to ...
51283         * include/bits/stdlib-float.h: Here.  New file.
51284         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51285         * stdlib/bits/stdlib-float.h: New file.
51286         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51287         -mno-sse -mno-mmx.
51288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51289         <xmmintrin.h>.
51291 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51293         * conform/conformtest.pl (@headers): Add fenv.h.
51294         * conform/data/fenv.h-data: New file.
51295         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51296         include of <math/fenv.h>.
51298         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51299         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51300         && !UNIX98].  Enables tests for XOPEN2K8.
51301         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51302         POSIX2008]: Likewise.
51304         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51305         (struct rusage): Do not expect type or its members.
51307         [BZ #3439]
51308         * math/math.h (FP_NAN): Define macro to integer constant usable in
51309         #if and use that to give value to enum constant.
51310         (FP_INFINITE): Likewise.
51311         (FP_ZERO): Likewise.
51312         (FP_SUBNORMAL): Likewise.
51313         (FP_NORMAL): Likewise.
51315 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51317         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51318         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51319         arguments.
51321 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51323         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51324         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51325         autoconf-time if not.
51326         * configure.in: Remove AC_PREREQ.
51328 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51330         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51331         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51332         of the internal implementation.
51334 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51336         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51337         except include of <misc/sys/syslog.h>.
51339 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51342         function returns with a NULL context exit with zero.
51344 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51346         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51348 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51350         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51351         (run_program_cmd): This.
51352         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51353         (tst_langinfo): New variable.  Use it.
51355 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51357         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51358         floating point opcodes.
51360 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51362         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51363         variable.
51365         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51367         * sysdeps/mach/hurd/powerpc: Remove directory.
51368         * sysdeps/mach/powerpc: Likewise.
51370 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51372         * scripts/check-local-headers.sh: Ignore c++ headers.
51374 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51376         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51377         __libc_cleanup_region_start argument.
51379 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51381         [BZ #14784]
51382         [BZ #14785]
51383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51384         x * y using scaling, not as x * y + z.
51385         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51386         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51387         * math/libm-test.inc (fma_test): Add more tests.
51388         (fma_test_towardzero): Likewise.
51389         (fma_test_downward): Likewise.
51390         (fma_test_upward): Likewise.
51392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51394         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51396 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51398         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51399         New variable.
51401 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51403         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51405 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51408         Fix sort order.
51409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51410         Likewise.
51412 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51415         Fix the order of the list for glibc 2.17.
51416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51417         Likewise.
51419 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51423 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51425         [BZ #14610]
51426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51427         for low part of x being zero before using __atanl (y).
51428         * math/libm-test.inc (atan2_test): Add another test.
51430         * manual/install.texi (Configuring and compiling): Document
51431         general use of test-wrapper and test-wrapper-env.
51432         * INSTALL: Regenerated.
51434         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51435         (__fma): Do not extract and scale down low bits on after-rounding
51436         systems when result rounded to normal precision would have normal
51437         exponent.
51438         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51439         (__fmal): Do not extract and scale down low bits on after-rounding
51440         systems when result rounded to normal precision would have normal
51441         exponent.
51442         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51443         (__fmal): Do not extract and scale down low bits on after-rounding
51444         systems when result rounded to normal precision would have normal
51445         exponent.
51446         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51447         macro.
51448         (fma_test): Add more tests.
51449         (fma_test_towardzero): Likewise.
51450         (fma_test_downward): Likewise.
51451         (fma_test_upward): Likewise.
51453 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51455         * sysdeps/i386/tininess.h: Renamed to ...
51456         * sysdeps/x86/tininess.h: This.
51457         * sysdeps/x86_64/tininess.h: Removed.
51459 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51461         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51462         input.  Use $(build-program-cmd).
51463         ($(objpfx)tst-array1-static.out): Likewise.
51464         ($(objpfx)tst-array2.out): Likewise.
51465         ($(objpfx)tst-array3.out): Likewise.
51466         ($(objpfx)tst-array4.out): Likewise.
51467         ($(objpfx)tst-array5.out): Likewise.
51468         ($(objpfx)tst-array5-static.out): Likewise.
51470 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51472         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51473         if defined.
51475         * nss/nsswitch.h (nss_interface_function): Provide new
51476         macro for use with NSS functions.
51477         * grp/initgroups.c: Use new macro.
51478         * nss/getXXbyYY.c: Likewise.
51479         * nss/getXXbyYY_r.c: Likewise.
51480         * nss/getXXent.c: Likewise.
51481         * nss/getXXent_r.c: Likewise.
51482         * sysdeps/posix/getaddrinfo.c: Likewise.
51484 2012-10-30  Andreas Jaeger  <aj@suse.de>
51486         * po/ru.po: Update Russion translation from translation project.
51488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51490         [BZ #14152]
51491         [BZ #14783]
51492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51493         result and shift together with sticky bit instead of replicating
51494         round-to-nearest rounding.
51495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51497         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51498         missing underflow exceptions.
51499         (fma_test_towardzero): Add more tests.
51500         (fma_test_downward): Likewise.
51501         (fma_test_upward): Likewise.
51503         [BZ #14047]
51504         * sysdeps/generic/tininess.h: New file.
51505         * sysdeps/i386/tininess.h: Likewise.
51506         * sysdeps/sh/tininess.h: Likewise.
51507         * sysdeps/x86_64/tininess.h: Likewise.
51508         * stdlib/tst-strtod-underflow.c: Likewise.
51509         * stdlib/tst-tininess.c: Likewise.
51510         * stdlib/strtod_l.c: Include <tininess.h>.
51511         (round_and_return): Do not set errno for exact underflow cases.
51512         Force an underflow exception when setting errno for underflow.
51513         Determine underflow based on rounding to normal precision if
51514         TININESS_AFTER_ROUNDING.
51515         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51516         ERANGE for exact underflow cases.
51517         * stdlib/Makefile (tests): Add tst-tininess and
51518         tst-strtod-underflow.
51519         ($(objpfx)tst-tininess): Use $(link-libm).
51520         ($(objpfx)tst-strtod-underflow): Likewise.
51522 2012-10-30  Andreas Jaeger  <aj@suse.de>
51524         [BZ#14767]
51525         * elf/Makefile (tests): Remove conditional for have-initfini-array
51526         since this is now always required and the variable does not exist
51527         anymore.
51528         (tests-static): Likewise.
51529         (modules-names): Likewise.
51531         * po/eo.po: Add Esperanto translation from translation project.
51533         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51534         merged with constructor/destructor.
51535         (init_array): Likewise.
51536         * elf/tst-array2dep.c (fini_array): Likewise.
51537         (init_array): Likewise.
51539 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51541         * manual/message.texi: Delete @cartouche tags.
51543 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51545         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51546         EOPNOTSUPP.
51547         * sysdeps/mach/hurd/fsync.c: Likewise.
51549         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51550         [_POSIX_REALTIME_SIGNALS]: Change condition to
51551         [_POSIX_REALTIME_SIGNALS > 0].
51553 2012-10-27  Andreas Jaeger  <aj@suse.de>
51555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51556         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51558         [__WORDSIZE != 64]: Likewise.
51560 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51562         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51563         *  iconvdata/tst-tables.sh: Likewise.
51565 2012-10-25  David S. Miller  <davem@davemloft.net>
51567         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51568         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51569         of strtoull.
51571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51572         ifunc-impl-list.c
51573         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51574         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51575         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51576         file.
51578 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51581         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51582         __getdirentries.
51584 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51585             Jim Blandy  <jimb@codesourcery.com>
51587         * scripts/cross-test-ssh.sh: New file.
51588         * manual/install.texi (Configuring and compiling): Document use of
51589         cross-test-ssh.sh.
51590         * INSTALL: Regenerated.
51592 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51594         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51595         EOPNOTSUPP.
51597 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51599         * Makeconfig (run-program-prefix): Fix comment.
51601 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51602             Jim Blandy  <jimb@codesourcery.com>
51604         * Makeconfig (test-wrapper): New variable,
51605         (test-wrapper-env): Likewise.
51606         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51607         (run-built-tests): Define to yes.
51608         (run-program-prefix): Use $(test-wrapper).
51609         (built-program-cmd): Likewise.
51610         * Rules (make-test-out): Use $(test-wrapper-env) and
51611         $(host-built-program-cmd).
51612         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51613         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51614         tst-pathopt.sh.
51615         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51616         $(test-wrapper-env) to tst-rtld-load-self.sh.
51617         ($(objpfx)order2.out): Use $(test-wrapper).
51618         ($(objpfx)tst-initorder.out): Likewise.
51619         ($(objpfx)tst-initorder2.out): Likewise.
51620         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51621         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51622         (test_wrapper_env): New variable.  Use it to run ld.so.
51623         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51624         Use it to run ld.so.
51625         (test_wrapper_env): Likewise.
51626         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51627         $(test-wrapper) to run-iconv-test.sh.
51628         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51629         (ICONV): Use $test_wrapper.
51630         * posix/Makefile ($(objpfx)globtest.out): Pass
51631         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51632         globtest.sh, not $(run-program-prefix).
51633         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51634         (test_wrapper): Likewise.
51635         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51636         set together with run_via_rtld_prefix.
51637         (run_program_prefix): Define in terms of test_wrapper and
51638         run_via_rtld_prefix.
51640 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51642         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51643         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51644         Targets removed.
51646         [BZ #14743]
51647         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51648         Declare __clock_getres, __clock_gettime, __clock_settime,
51649         __clock_nanosleep, and __clock_getcpuclockid.
51650         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51651         Remove librt_hidden_def (clock_gettime).
51652         * sysdeps/unix/clock_gettime.c: Likewise.
51653         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51654         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51655         * rt/clock_getres.c: Define __clock_getres as an alias.
51656         * sysdeps/posix/clock_getres.c: Likewise.
51657         * rt/clock_settime.c: Define __clock_settime as an alias.
51658         * sysdeps/unix/clock_settime.c: Likewise.
51659         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51660         * sysdeps/unix/clock_nanosleep.c: Likewise.
51661         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51662         * rt/clock-compat.c: New file.
51663         * rt/Makefile (librt-routines): Add clock-compat and move
51664         $(clock-routines) to ...
51665         (routines): ... here, new variable.
51666         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51667         Don't add get_clockfreq here.
51668         * rt/Versions (libc: GLIBC_2.17): New version set.
51669         Add clock_* symbols here.
51670         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51672         (GLIBC_2.17): Add clock_* symbols.
51673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51677         Likewise.
51678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51679         Likewise.
51680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51684         * NEWS: Mention the move.
51686         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51687         Use __open, __read, __close rather than their public counterparts.
51688         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51689         (__get_clockfreq_via_cpuinfo): Likewise.
51690         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51691         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51693         * config.h.in (HAVE_IFUNC): New #undef.
51694         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51695         was successful.
51696         * configure: Regenerated.
51698 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51700         * configure.in: Move READELF check to start of file.
51701         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51702         libc_cv_asm_gnu_indirect_function in the process.
51703         * configure: Regenerated.
51705 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51707         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51708         send the output to /dev/null.
51709         (libc_cv_cc_with_libunwind): Likewise.
51710         (libc_cv_as_noexecstack): Likewise.
51711         * configure: Regenerate.
51713 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51715         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51717         * posix/globtest.sh (TMPDIR): Do not set.
51718         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51719         (testout): Likewise.
51721 2012-10-24  Andreas Jaeger  <aj@suse.de>
51723         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51724         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51725         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51726         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51727         posix_fadvise64, posix_fallocate64.
51729         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51730         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51731         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51732         Likewise.
51733         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51734         Likewise.
51735         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51737         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51738         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51739         <bits/fcntl-linux.h>.
51740         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51743         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51744         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51745         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51746         [__WORDSIZE != 64]: Likewise.
51748 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51750         * Makeconfig (run-built-tests): New variable.
51751         * Rules [$(cross-compiling) = yes]: Change condition to
51752         [$(run-built-tests) = no].
51753         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51754         to [$(run-built-tests) = yes].
51755         * elf/Makefile [$(cross-compiling) = no]: Likewise.
51756         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51757         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51758         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51759         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51760         * io/Makefile [$(cross-compiling) = no]: Likewise.
51761         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51762         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51763         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51764         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51765         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51766         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51767         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51768         * string/Makefile [$(cross-compiling) = no]: Likewise.
51770         * posix/Makefile ($(objpfx)globtest.out): Pass
51771         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51772         $(rtld-installed-name).
51773         * posix/globtest.sh (elf_objpfx): Remove variable.
51774         (rtld_installed_name): Likewise.
51775         (library_path): Likewise.
51776         (run_program_prefix): New variable.  Use for running globtest
51777         binary.
51779 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51780             Joseph Myers  <joseph@codesourcery.com>
51782         * Makeconfig (host-built-program-cmd): New variable.
51783         * elf/Makefile (tst-stackguard1-ARGS): Use
51784         $(host-built-program-cmd).
51785         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51786         (tst-spawn-ARGS): Likewise.
51787         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51789 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51790             Jim Blandy  <jimb@codesourcery.com>
51792         * Makeconfig (run-via-rtld-prefix): New variable.
51793         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51794         (built-program-cmd): Likewise.
51796 2012-10-22  Andreas Jaeger  <aj@suse.de>
51798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51799         __O_RSYNC if it exists, otherwise to O_SYNC.
51801 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51802             Joseph Myers  <joseph@codesourcery.com>
51804         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51805         /dev/null.
51806         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51807         from /dev/null
51808         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51809         /dev/null.
51811 2012-10-22  Andreas Jaeger  <aj@suse.de>
51813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51814         Define always.
51815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51818         bits/fcntl-linux.h.
51820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51821         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51823         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51824         to __O_LARGEFILE.
51825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51826         to __O_LARGEFILE.
51828 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51829             Joseph Myers  <joseph@codesourcery.com>
51831         * config.make.in (NM): New variable.
51833 2012-10-21  Andreas Jaeger  <aj@suse.de>
51835         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51836         definitions and declarations that are provided by
51837         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51839 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51841         [BZ #14683]
51842         * elf/Makefile (tests-static): Add tst-leaks1-static.
51843         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51844         ($(objpfx)tst-leaks1-static): New rule.
51845         ($(objpfx)tst-leaks1-static-mem): Likewise.
51846         (tst-leaks1-static-ENV): New macro.
51847         * elf/dl-open.c (dl_open_worker): Check the main application
51848         only if SHARED is defined.
51849         * elf/tst-leaks1-static.c: New file.
51851 2012-10-20  Andreas Jaeger  <aj@suse.de>
51853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51854         generic values for Linux.
51855         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51856         and declarations that are provided by <bits/fcntl-linux.h> and
51857         include <bits/fcntl-linux.h>.
51858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51861 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51863         * io/fcntl.h: Move include of <bits/types.h> to the top and
51864         include it unconditionally.
51866 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51868         * wcsmbs/Makefile (tests-ifunc): New variable.
51869         (tests): Add $(tests-ifunc).
51870         * wcsmbs/test-wcschr-ifunc.c: New file.
51871         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51872         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51873         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51874         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51875         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51877         * string/Makefile (tests-ifunc): New variable.
51878         (tests): Add $(tests-ifunc).
51879         * string/test-memccpy.c (TEST_NAME): New macro.
51880         * string/test-memchr.c (TEST_NAME): Likewise.
51881         * string/test-memcmp.c (TEST_NAME): Likewise.
51882         * string/test-memcpy.c (TEST_NAME): Likewise.
51883         * string/test-memmem.c (TEST_NAME): Likewise.
51884         * string/test-memmove.c (TEST_NAME): Likewise.
51885         * string/test-memset.c (TEST_NAME): Likewise.
51886         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51887         * string/test-stpcpy.c (TEST_NAME): Likewise.
51888         * string/test-stpncpy.c (TEST_NAME): Likewise.
51889         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51890         * string/test-strcasestr.c (TEST_NAME): Likewise.
51891         * string/test-strcat.c (TEST_NAME): Likewise.
51892         * string/test-strchr.c (TEST_NAME): Likewise.
51893         * string/test-strcmp.c(TEST_NAME): Likewise.
51894         * string/test-strcpy.c (TEST_NAME): Likewise.
51895         * string/test-strcspn.c (TEST_NAME): Likewise.
51896         * string/test-strlen.c (TEST_NAME): Likewise.
51897         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51898         * string/test-strncmp.c (TEST_NAME): Likewise.
51899         * string/test-strncpy.c (TEST_NAME): Likewise.
51900         * string/test-strnlen.c (TEST_NAME): Likewise.
51901         * string/test-strpbrk.c (TEST_NAME): Likewise.
51902         * string/test-strrchr.c (TEST_NAME): Likewise.
51903         * string/test-strspn.c (TEST_NAME): Likewise.
51904         * string/test-strstr.c (TEST_NAME): Likewise.
51905         * string/test-bcopy-ifunc.c: New file.
51906         * string/test-bzero-ifunc.c: Likewise.
51907         * string/test-memccpy-ifunc.c: Likewise.
51908         * string/test-memchr-ifunc.c: Likewise.
51909         * string/test-memcmp-ifunc.c: Likewise.
51910         * string/test-memcpy-ifunc.c: Likewise.
51911         * string/test-memmem-ifunc.c: Likewise.
51912         * string/test-memmove-ifunc.c: Likewise.
51913         * string/test-mempcpy-ifunc.c: Likewise.
51914         * string/test-memset-ifunc.c: Likewise.
51915         * string/test-rawmemchr-ifunc.c: Likewise.
51916         * string/test-stpcpy-ifunc.c: Likewise.
51917         * string/test-stpncpy-ifunc.c: Likewise.
51918         * string/test-strcasecmp-ifunc.c: Likewise.
51919         * string/test-strcasestr-ifunc.c: Likewise.
51920         * string/test-strcat-ifunc.c: Likewise.
51921         * string/test-strchr-ifunc.c: Likewise.
51922         * string/test-strchrnul-ifunc.c: Likewise.
51923         * string/test-strcmp-ifunc.c: Likewise.
51924         * string/test-strcpy-ifunc.c: Likewise.
51925         * string/test-strcspn-ifunc.c: Likewise.
51926         * string/test-strlen-ifunc.c: Likewise.
51927         * string/test-strncasecmp-ifunc.c: Likewise.
51928         * string/test-strncat-ifunc.c: Likewise.
51929         * string/test-strncmp-ifunc.c: Likewise.
51930         * string/test-strncpy-ifunc.c: Likewise.
51931         * string/test-strnlen-ifunc.c: Likewise.
51932         * string/test-strpbrk-ifunc.c: Likewise.
51933         * string/test-strrchr-ifunc.c: Likewise.
51934         * string/test-strspn-ifunc.c: Likewise.
51935         * string/test-strstr-ifunc.c: Likewise.
51937         * debug/Makefile (tests-ifunc): New variable.
51938         (tests): Add $(tests-ifunc).
51939         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51940         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51941         * debug/test-stpcpy_chk-ifunc.c: New file.
51942         * debug/test-strcpy_chk-ifunc.c: Likewise.
51944 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51946         [BZ #13601]
51947         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51948         header is not read in.
51950 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51952         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51953         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51954         directly.  Pass built executable to script as
51955         $(built-program-cmd).
51956         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51957         $testprogram without using LD_LIBRARY_PATH and $ldso.
51959         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51960         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51961         $(rtld-installed-name).
51962         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51963         (rtld_installed_name): Likewise.
51964         (library_path): Likewise.
51965         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51966         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51967         $(run-program-prefix) to tst-tables.sh.
51968         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51969         it to run tst-table-from and tst-table-to.
51970         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51971         Pass it to tst-table.sh.
51972         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51973         $(run-program-prefix) to tst-gettext.sh.
51974         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51975         tst-translit.sh.
51976         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51977         tst-gettext2.sh.
51978         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51979         to run tst-gettext.
51980         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51981         to run tst-gettext2.
51982         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51983         to run tst-translit.
51984         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51985         $(run-program-prefix) to tst-mtrace.sh.
51986         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51987         to run tst-mtrace.
51988         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51989         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51990         $(rtld-installed-name).
51991         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51992         (rtld_installed_name): Likewise.
51993         (run_program_prefix): New variable.  Use it to run wordexp-test.
51995         * Makeconfig (ARCH): Remove all definitions.
51996         (machine): Likewise.
51997         [ARCH]: Remove conditional code.
51998         [!objdir]: Give error.
51999         [!objdir] (objpfx): Remove.
52000         [!objdir] (common-objpfx): Likewise.
52001         [!objdir] (common-objdir): Likewise.
52002         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52003         AC_CONFIG_FILES call.
52004         * configure: Regenerated.
52006         [BZ #13888]
52007         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52008         or TMPDIR.
52009         (testout): Likewise.
52011         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52012         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52013         $(rtld-installed-name).
52014         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52015         (rtld_installed_name): Likwise.
52016         (runit): Remove function.
52017         (run_getconf): New variable,  Use it for running getconf binary.
52019 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52021         [BZ #14716]
52022         * string/test-memmem.c (check_result): New function.
52023         (do_one_test): Use it.
52024         (check1): New function.
52025         (test_main): Use it.
52027 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52029         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52031 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52033         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52034         (_G_LSEEK64): Likewise.
52035         (_G_MMAP64): Likewise.
52036         (_G_FSTAT64): Likewise.
52037         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52038         (_G_LSEEK64): Likewise.
52039         (_G_MMAP64): Likewise.
52040         (_G_FSTAT64): Likewise.
52041         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52042         unconditional.  Call __mmap64 directly.
52043         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52044         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52045         __lseek64 directly.
52046         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52047         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52048         __mmap64 directly.
52049         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52050         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52051         __lseek64 directly.
52052         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52053         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52054         __lseek64 directly.
52055         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52056         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52057         __lseek64 directly.
52058         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52059         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52060         __fxstat64 directly.
52061         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52062         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52063         unconditional.
52064         (freopen64) [!_G_OPEN64]: Remove conditional code.
52065         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52066         unconditional.
52067         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52068         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52069         unconditional.
52070         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52071         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52072         unconditional.
52073         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52074         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52075         unconditional.
52076         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52077         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52078         unconditional.
52079         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52080         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52081         unconditional.
52082         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52083         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52084         unconditional.
52085         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52087 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52089         [BZ #12140]
52090         * manual/memory.texi (Malloc Tunable Parameters): Add note
52091         about free list pointers overwriting some perturb bytes.
52092         Wording suggested by Roland McGrath.
52094 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52096         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52097         (lgamma_test): Likewise.
52098         (tgamma_test): Likewise.
52100 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52102         [BZ #14700]
52103         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52104         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52106 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52108         * NEWS: Mention BZ #14716.
52109         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52110         when removing AVAILABLE1_USES_J macro.
52112 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52114         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52115         (__bswap_64): __uint64_t for unsigned 64-bit int.
52117 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52119         * include/string.h (memmem): Declare libc hidden alias.
52120         * string/memmem.c (memmem): Define libc hidden alias.
52121         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52122         __read, __close instead of open, read, close.
52124 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52127         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52128         global and hidden.
52129         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52130         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52131         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52132         Likewise.
52133         (__rawmemchr_sse2): Likewise.
52134         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52135         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52136         (__strchr_sse2): Likewise.
52137         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52138         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52139         (__strcasecmp_sse2): Likewise.
52140         (__strncasecmp_sse2): Likewise.
52141         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52142         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52143         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52144         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52145         (__strrchr_sse2): Likewise.
52146         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52147         ifunc-impl-list.c.
52148         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52149         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52150         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52151         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52152         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52154         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52155         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52156         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52157         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52158         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52159         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52160         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52161         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52162         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52163         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52164         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52165         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52166         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52167         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52168         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52169         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52170         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52171         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52172         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52173         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52174         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52175         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52176         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52177         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52179         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52180         global and hidden.
52181         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52182         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52183         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52184         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52185         Likewise.
52186         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52187         Likewise.
52188         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52189         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52190         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52191         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52192         ifunc-impl-list.c.
52193         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52194         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52195         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52196         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52197         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52198         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52199         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52200         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52201         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52202         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52203         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52204         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52205         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52206         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52207         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52208         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52209         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52210         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52211         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52212         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52213         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52214         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52215         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52216         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52217         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52218         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52219         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52220         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52221         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52223         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52224         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52225         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52226         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52227         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52228         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52229         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52230         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52231         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52232         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52233         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52235         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52236         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52237         * include/ifunc-impl-list.h: New file.
52238         * misc/ifunc-impl-list.c: Likewise.
52239         * misc/Makefile (routines): Add ifunc-impl-list.
52240         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52241         * string/test-string.h: Include <ifunc-impl-list.h>.
52242         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52243         TEST_NAME]: New variables.
52244         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52245         are defined.
52246         (test_init): Call __libc_ifunc_impl_list to initialize
52247         func_list if TEST_IFUNC and TEST_NAME are defined.
52249         * string/Makefile (strop-tests): Add bcopy and bzero.
52250         * string/test-bcopy.c: New file.
52251         * string/test-bzero.c: Likewise.
52252         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52253         defined.
52254         * string/test-memset.c: Support bzero test if TEST_BZERO is
52255         defined.
52256         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52257         __libc_memmove.
52258         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52259         __libc_memset.
52260         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52261         of memset.
52263 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52265         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52266         * configure: Regenerated.
52268         * Makeconfig (+link-static-before-libc): Don't include
52269         $(link-static-libc).
52271         * libio/libio.h (_IO_pos_t): Remove.
52273 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52275         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52276         McGrath.
52278 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52280         * crypt/crypt-entry.c: Include fips-private.h.
52281         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52282         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52283         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52284         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52286 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52288         * crypt/crypt-private.h: Include stdbool.h.
52289         (_ufc_setup_salt_r): Return bool.
52290         * crypt/crypt-entry.c: Include errno.h.
52291         (__crypt_r): Return NULL with EINVAL for bad salt.
52292         * crypt/crypt_util.c (bad_for_salt): New.
52293         (_ufc_setup_salt_r): Check that salt is long enough and within
52294         the specified alphabet.
52295         * crypt/badsalttest.c: New file.
52296         * crypt/Makefile (tests): Add it.
52297         ($(objpfx)badsalttest): New.
52299 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52301         * NEWS: Add entry for BZ #14602.
52303 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52305         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52306         type-generic.
52307         * math/libm-test.inc: Update comment listing what functions and
52308         macros are tested.
52309         (isgreater_test): New function.
52310         (isgreaterequal_test): Likewise.
52311         (isless_test): Likewise.
52312         (islessequal_test): Likewise.
52313         (islessgreater_test): Likewise.
52314         (isunordered_test): Likewise.
52315         (main): Call the new functions.
52317 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52319         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52320         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52321         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52322         * sysdeps/i386/configure: Regenerated.
52323         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52324         * sysdeps/mach/configure: Regenerated.
52325         * sysdeps/mach/hurd/configure: Regenerated.
52326         * sysdeps/powerpc/configure: Regenerated.
52327         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52328         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52329         * sysdeps/s390/s390-32/configure: Regenerated.
52330         * sysdeps/s390/s390-64/configure: Regenerated.
52331         * sysdeps/sh/configure: Regenerated.
52332         * sysdeps/sparc/configure: Regenerated.
52333         * sysdeps/unix/sysv/linux/configure: Regenerated.
52334         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52335         * sysdeps/x86_64/configure: Regenerated.
52337         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52338         defined.  Don't check if MAP is NULL.
52340 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52342         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52343         (_G_stat64): Likewise.
52344         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52345         (_G_stat64): Likewise.
52346         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52347         instead of struct _G_stat64.
52348         * libio/fileops.c (mmap_remap_check): Likewise.
52349         (decide_maybe_mmap): Likewise.
52350         (_IO_new_file_seekoff): Likewise.
52351         (_IO_file_stat): Likewise.
52352         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52353         _G_off64_t.
52354         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52355         instead of struct _G_stat64.
52356         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52358 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52360         [BZ #14602]
52361         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52362         Replace with ...
52363         (CHECK_EOL): New macro.
52364         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52365         CHECK_EOL.
52366         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52367         Replace with CHECK_EOL.
52368         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52369         Replace with CHECK_EOL.
52371 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52373         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52374         type-generic.
52375         * math/libm-test.inc: Update comment listing what functions and
52376         macros are tested.
52377         (finite_test): New function.
52378         (isinf_test): Likewise.
52379         (isnan_test): Likewise.
52380         (fpclassify_test): Test subnormal input.
52381         (isfinite_test): Likewise.
52382         (isnormal_test): Likewise.
52383         (main): Call the new functions.
52385 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52387         [BZ #14660]
52388         * Makerules (%.dynsym): Force C locale when running
52389         $(OBJDUMP) --dynamic-syms.
52391 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52393         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52394         <stdint.h>.
52396 2012-10-06  David S. Miller  <davem@davemloft.net>
52398         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52399         upper 32-bits of the length value in %o2 since we use branch-on-register
52400         tests which consider the entire 64-bit register.
52402 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52404         * string/test-strstr.c (check2): Add a test for page boundary.
52406 2012-10-05  David S. Miller  <davem@davemloft.net>
52408         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52409         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52410         file.
52411         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52412         sysdep_routines.
52413         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52414         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52415         and bzero when HWCAP_SPARC_CRYPTO is present.
52417 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52419         [BZ #14602]
52420         * string/test-strstr.c (check2): New function.
52421         (test_main): Call check2.
52423         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52424         and bug-strchr1.
52425         * string/bug-strcasestr1.c (do_test): Moved to ...
52426         * string/test-strcasestr.c (check1): Here.  New function.
52427         (do_one_test): Break out result checking code into ...
52428         (check_result): This.  New function.
52429         (do_one_test): Call check_result.
52430         (test_main): Call check1.
52431         * string/bug-strchr1.c (do_test): Moved to ...
52432         * string/test-strchr.c (check1): Here.  New function.
52433         (do_one_test): Break out result checking code into ...
52434         (check_result): This.  New function.
52435         (do_one_test): Call check_result.
52436         (test_main): Call check1.
52437         * string/bug-strstr1.c (main): Moved to ...
52438         * string/test-strstr.c (check1): Here.  New function.
52439         (do_one_test): Break out result checking code into ...
52440         (check_result): This.  New function.
52441         (do_one_test): Call check_result.
52442         (test_main): Call check1.
52443         * string/bug-strcasestr1.c: Removed.
52444         * string/bug-strchr1.c: Likewise.
52445         * string/bug-strstr1.c: Likewise.
52447         * elf/Makefile (dl-routines): Add hwcaps.
52448         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52449         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52450         (_dl_important_hwcaps): Moved to ...
52451         * elf/dl-hwcaps.c: Here.  New file.
52452         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52454         [BZ #14557]
52455         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52456         if IS_IN_rtld isn't defined.
52458         * elf/dl-support.c (_dl_sysinfo_map): New.
52459         Include "get-dynamic-info.h" and "setup-vdso.h".
52460         (_dl_non_dynamic_init): Call setup_vdso.
52461         * elf/dynamic-link.h: Don't include <assert.h>.
52462         (elf_get_dynamic_info): Moved to ...
52463         * elf/get-dynamic-info.h: Here.  New file.
52464         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52465         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52466         * elf/setup-vdso.h: Here.  New file.
52467         * elf/rtld.c: Include "setup-vdso.h".
52468         (dl_main): Call setup_vdso.
52470 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52472         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52473         creal in comment listing functions tested.  List finite, isinf,
52474         isnan, isless, islessequal, isgreater, isgreaterequal,
52475         islessgreater, isunordered, lgamma_r and pow10 as functions and
52476         macros not tested.  Mention which functions not tested are aliases
52477         for other functions.  Fix typo.  Note that signs of NaNs are not
52478         tested.
52480         * scripts/config.guess: Update from config.git.
52481         * scripts/config.sub: Likewise.
52483 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52485         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52486         * misc/madvise.c (madvise): Renamed to __madvise.
52487         Make madvise a weak alias.
52488         * include/sys/mman.h: Declare __madvise.
52489         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52490         * sysdeps/unix/syscalls.list
52491         (madvise): Make __madvise the strong name, and madvise a weak alias.
52492         * sysdeps/unix/sysv/linux/syscalls.list
52493         (madvise, mmap): Remove redundant entries.
52494         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52495         * malloc/malloc.c (mtrim): Likewise.
52496         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52498 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52500         * sysdeps/mach/hurd/dl-cache.c: File removed.
52501         * config.h.in (USE_LDCONFIG): New #undef.
52502         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52503         * configure: Regenerated.
52504         * elf/Makefile (dl-routines): Add dl-cache only under
52505         [$(use-ldconfig) = yes].
52506         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52507         cache on [USE_LDCONFIG].
52508         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52509         [USE_LDCONFIG].
52510         * elf/rtld.c (dl_main): Likewise.
52512 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52514         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52515         _SC_LEVEL4_CACHE_LINESIZE.
52517 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52519         * sysdeps/unix/bsd/confstr.h: File removed.
52521 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52523         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52524         sys/sdt-config.h.
52526 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52528         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52529         Make 'mapoff' field ElfW(Off) rather than off_t.
52531 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52533         * nscd/Makefile: Remove nscd-cflags and all its users.
52534         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52535         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52537         [BZ #10631]
52538         * malloc.c (malloc_printerr): Clarify error message.
52540 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52542         [BZ #14648]
52543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52544         Set bit_FMA_Usable if FMA is supported.
52545         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52546         macro.
52547         (bit_FMA4_Usable): Updated.
52548         (index_FMA_Usable): New macro.
52549         (CPUID_FMA): Likewise.
52550         (HAS_FMA): Defined with bit_FMA_Usable.
52552 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52554         * bits/types.h (__swblk_t): Type removed.
52555         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52556         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52558         (__SWBLK_T_TYPE): Likewise.
52559         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52560         (__SWBLK_T_TYPE): Likewise.
52561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52562         (__SWBLK_T_TYPE): Likewise.
52563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52564         (__SWBLK_T_TYPE): Likewise.
52566 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52567             Honza Horak <hhorak@redhat.com>
52569         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52570         (xdr_mapname): Use YPMAXMAP as maxsize.
52571         (xdr_peername): Use YPMAXPEER as maxsize.
52572         (xdr_keydat): Use YPAXRECORD as maxsize.
52573         (xdr_valdat): Use YPMAXRECORD as maxsize.
52575 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52577         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52579         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52580         * csu/init-first.c: ... here.
52581         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52582         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52583         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52584         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52585         * sysdeps/i386/init-first.c: File removed.
52586         * sysdeps/sh/init-first.c: File removed.
52588 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52590         [BZ #14645]
52591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52592         if x * y might underflow to zero and z is zero.
52593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52595         * math/libm-test.inc (min_subnorm_value): New variable.
52596         (fma_test): Add more tests.
52597         (fma_test_towardzero): Likewise.
52598         (fma_test_downward): Likewise.
52599         (fma_test_upward): Likewise.
52600         (initialize): Set min_subnorm_value.
52602 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52604         [BZ #14638]
52605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52606         0 + 0.
52607         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52608         mode for addition resulting in exact zero.
52609         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52611         exact 0 + 0.
52612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52614         * math/libm-test.inc (fma_test): Add more tests.
52615         (fma_test_towardzero): New function.
52616         (fma_test_downward): Likewise.
52617         (fma_test_upward): Likewise.
52618         (main): Call the new functions.
52620 2012-09-28  David S. Miller  <davem@davemloft.net>
52622         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52624 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52626         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52627         instead of SIGALRM.
52629         * sysdeps/gnu/_G_config.h: Moved to ...
52630         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52631         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52632         * sysdeps/generic/_G_config.h: ... here.
52634         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52636         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52638         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52639         Conditionalize target on [libnss_test1.so-version].
52641         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52643         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52644         (elfobjdir): Move out of conditionals.
52646         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52647         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52648         (__nss_lookup_function): Conditionalize label remove_from_tree on
52649         [!DO_STATIC_NSS || SHARED], matching its only use.
52651 2012-09-28  David S. Miller  <davem@davemloft.net>
52653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52654         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52655         file.
52656         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52657         sysdep_routines.
52658         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52660         when HWCAP_SPARC_CRYPTO is present.
52662 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52664         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52666 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52668         [BZ #6530]
52669         * stdio-common/vfprintf.c (process_string_arg): Revert
52670         2000-07-22 change.
52672 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52674         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52675         for testcase.
52676         * stdio-common/tst-sprintf.c: Include <locale.h>
52677         (main): Test sprintf's handling of incomplete multibyte
52678         characters.
52680 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52682         * elf/dl-runtime.c (VERSYMIDX): Removed.
52683         * elf/dl-version.c (VERSYMIDX): Likewise.
52684         * elf/do-rel.h (VERSYMIDX): Likewise.
52685         (VALIDX): Likewise.
52686         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52687         * elf/rtld.c (VALIDX): Likewise.
52688         (ADDRIDX): Likewise.
52689         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52690         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52691         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52692         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52693         (VALIDX): Likewise.
52694         (ADDRIDX): Likewise.
52696 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52698         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52700 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52702         [BZ #11438]
52703         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52704         to global scope.
52705         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52706         addresses are in the same scope as 192.0.2/24.
52707         * posix/gai.conf: Document new scope table defaults.
52709 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52711         [BZ #5298]
52712         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52713         for ftell.  Compute offsets from write pointers instead.
52714         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52716 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52718         [BZ #14543]
52719         * libio/Makefile (tests): New test case tst-fseek.
52720         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52721         combination works in wide mode.
52722         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52723         state when the external buffer state changes.
52725 2012-09-27  David S. Miller  <davem@davemloft.net>
52727         [BZ #14376]
52728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52729         pass reloc->r_addend in as the 'high' argument to
52730         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52736         * rt/tst-aio2.c: Include <pthread.h>.
52737         * rt/tst-aio3.c: Likewise.
52739 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52741         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52743 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52745         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52746         contents on [SHARED].
52748 2012-09-26  Marek Polacek  <polacek@redhat.com>
52750         [BZ #14530]
52751         [BZ #13741]
52752         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52753         for C++ and GCC <4.3 as well as for non GCC compilers.
52755 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52759 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52761         * Makefile.in (all, install): Declare with .PHONY.
52762         Reported by Michael Hope <michael.hope@linaro.org>.
52764 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52766         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52767         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52768         system header.
52769         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52770         Likewise.
52771         (sydep_routines): Add the new and the internal functions.
52772         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52773         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52775         (GLIBC_2.17): Add the new function.
52776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52777         (GLIBC_2.17): Likewise.
52778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52779         (GLIBC_2.17): Likewise.
52780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52781         (GLIBC_2.17): Likewise.
52782         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52784 2012-09-25  Alan Modra  <amodra@gmail.com>
52786         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52787         Add release barrier before setting once_control to say
52788         initialisation is done.  Add hints on lwarx.  Use macro in
52789         place of isync.
52790         (clear_once_control): Add release barrier.
52792 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52794         [BZ #13629]
52795         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52796         specially.
52797         * math/s_clog10.c (__clog10): Likewise.
52798         * math/s_clog10f.c (__clog10f): Likewise.
52799         * math/s_clog10l.c (__clog10l): Likewise.
52800         * math/s_clogf.c (__clogf): Likewise.
52801         * math/s_clogl.c (__clogl): Likewise.
52802         * math/Makefile (libm-calls): Add x2y2m1.
52803         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52804         (__x2y2m1): Likewise.
52805         (__x2y2m1l): Likewise.
52806         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52807         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52808         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52809         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52810         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52811         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52812         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52813         * sysdeps/i386/fpu/libm-test-ulps: Update.
52814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52816         [BZ #14621]
52817         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52818         int as type of variable DEPTH.
52819         (glob): Use size_t instead of int as type of variables NEWCOUNT
52820         and OLD_PATHC.
52822 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52824         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52825         Add s_sincosf-sse2.
52826         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52827         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52828         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52829         macros for using routine as __sincosf_ia32.
52830         Use macro for function declaration and weak_alias.
52831         * sysdeps/i386/fpu/libm-test-ulps: Update.
52833         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52836         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52837         subnormal argument.
52838         * math/s_cexpf.c (__cexpf): Likewise.
52839         * math/s_csinf.c (__csinf): Likewise.
52840         * math/s_csinhf.c (__csinhf): Likewise.
52841         * math/s_ctanf.c (__ctanf): Likewise.
52842         * math/s_ctanhf.c (__ctanhf): Likewise.
52843         * math/s_ccosh.c (__ccoshf): Likewise.
52844         * math/s_cexp.c (__cexpl): Likewise.
52845         * math/s_csin.c (__csin): Likewise.
52846         * math/s_csinh.c (__csinh): Likewise.
52847         * math/s_ctan.c (__ctan): Likewise.
52848         * math/s_ctanh.c (ctanh): Likewise.
52849         * math/s_ccoshl.c (__ccoshl): Likewise.
52850         * math/s_cexpl.c (__cexpl): Likewise.
52851         * math/s_csinl.c (__csinl): Likewise.
52852         * math/s_csinhl.c (__csinhl): Likewise.
52853         * math/s_ctanl.c (__ctanl): Likewise.
52854         * math/s_ctanhl.c (__ctanhl): Likewise.
52856 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52858         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52859         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52860         (_IO_off_t): Define to __off_t, not _G_off_t.
52861         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52862         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52863         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52864         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52865         type of __dummy and __dummy2 fields.
52866         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52867         (_G_ssize_t): Likewise.
52868         (_G_off_t): Likewise.
52869         (_G_pid_t): Likewise.
52870         (_G_uid_t): Likewise.
52871         (_G_wchar_t): Likewise.
52872         (_G_wint_t): Likewise.
52873         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52874         (_G_ssize_t): Likewise.
52875         (_G_off_t): Likewise.
52876         (_G_pid_t): Likewise.
52877         (_G_uid_t): Likewise.
52878         (_G_wchar_t): Likewise.
52879         (_G_wint_t): Likewise.
52880         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52881         (_G_ssize_t): Likewise.
52882         (_G_off_t): Likewise.
52883         (_G_pid_t): Likewise.
52884         (_G_uid_t): Likewise.
52885         (_G_wchar_t): Likewise.
52886         (_G_wint_t): Likewise.
52888 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52890         * malloc/arena.c: Include malloc-sysdep.h.
52891         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52892         is sufficient to shrink the heap or an unmap is needed.
52893         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52894         new function check_may_shrink_heap.
52895         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52896         new function check_may_shrink_heap.
52898 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52900         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52901         comments.
52903 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52905         * catgets/test-gencat.sh: Add "set -e".
52906         * elf/tst-pathopt.sh: Likewise.
52907         * grp/tst_fgetgrent.sh: Likewise.
52908         * iconvdata/run-iconv-test.sh: Likewise.
52909         * intl/tst-gettext.sh: Likewise.
52910         * intl/tst-gettext2.sh: Likewise.
52911         * intl/tst-gettext4.sh: Likewise.
52912         * intl/tst-gettext6.sh: Likewise.
52913         * intl/tst-translit.sh: Likewise.
52914         * io/ftwtest-sh: Likewise.
52915         * libio/test-freopen.sh: Likewise.
52916         * malloc/tst-mtrace.sh: Likewise.
52917         * posix/globtest.sh: Likewise.
52918         * posix/tst-getconf.sh: Likewise.
52919         * posix/wordexp-tst.sh: Likewise.
52920         * stdio-common/tst-printf.sh: Likewise.
52921         * stdio-common/tst-unbputc.sh: Likewise.
52922         * stdlib/tst-fmtmsg.sh: Likewise.
52923         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52924         * catgets/Makefile: Do not specify -e option when running
52925         testsuite shell scripts.
52926         * elf/Makefile: Likewise.
52927         * grp/Makefile: Likewise.
52928         * iconvdata/Makefile: Likewise.
52929         * intl/Makefile: Likewise.
52930         * io/Makefile: Likewise.
52931         * libio/Makefile: Likewise.
52932         * malloc/Makefile: Likewise.
52933         * posix/Makefile: Likewise.
52934         * stdio-common/Makefile: Likewise.
52935         * stdlib/Makefile: Likewise.
52936         * sysdeps/x86_64/Makefile: Likewise.
52938         * io/ftwtest-sh: Add copyright header.
52939         * posix/globtest.sh: Likewise.
52940         * posix/tst-getconf.sh: Likewise.
52941         * posix/wordexp-tst.sh: Likewise.
52942         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52944 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52946         [BZ #13679]
52947         * Makeconfig (+link): Defined as $(+link-static) if
52948         $(build-shared) isn't yes.
52949         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52950         isn't yes.
52951         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52953         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52955         [BZ #14562]
52956         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52957         new chunk size with MALLOC_ALIGN_MASK.
52959 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52961         [BZ #5044]
52962         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52963         <rounding-mode.h>.
52964         (__printf_fphex): Determine rounding using get_rounding_mode and
52965         round_away.
52966         * stdio-common/tst-printf-round.c (struct hex_test): New
52967         structure.
52968         (hex_tests): New variable.
52969         (test_hex_in_one_mode): New function.
52970         (do_test): Also run tests for hex float output.
52972 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52974         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52975         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52976         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52977         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52978         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52979         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52980         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52981         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52983 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52985         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52986         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52987         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52988         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52990 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52992         [BZ #14579]
52993         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52994         mode only.
52995         * elf/tst-rtld-load-self.sh: New test.
52996         * elf/Makefile: Run it.
52998 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53000         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53001         (tst-writev-ENV): Remove.
53002         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53004 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53006         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53008 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53010         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53011         unconditional.
53012         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53013         Likewise.
53014         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53015         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53016         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53017         Likewise.
53019 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53021         [BZ #14587]
53022         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53023         * config.make.in (have-cpp-asm-debuginfo): Removed.
53024         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53025         * configure: Regenerated.
53027 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53029         [BZ #5044]
53030         * stdio-common/printf_fp.c: Include <stdbool.h> and
53031         <rounding-mode.h>.
53032         (___printf_fp): Determine rounding using get_rounding_mode and
53033         round_away.
53034         * stdio-common/tst-printf-round.c: New file.
53035         * stdio-common/Makefile (tests): Add tst-printf-round.
53036         (link-libm): New variable.
53037         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53039 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53041         [BZ #14576]
53042         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53043         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53044         Likewise.
53045         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53046         Likewise.
53048 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53050         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53051         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53052         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53055 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53057         [BZ #14518]
53058         * include/rounding-mode.h: New file.
53059         * sysdeps/generic/get-rounding-mode.h: Likewise.
53060         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53061         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53062         (MAX_VALUE): New macro.
53063         (MIN_VALUE): Likewise.
53064         (overflow_value): New function.
53065         (underflow_value): Likewise.
53066         (round_and_return): Use overflow_value and underflow_value to
53067         determine return values in overflow and underflow cases.  Use
53068         round_away to determine rounding depending on rounding mode.
53069         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53070         determine return values in overflow and underflow cases.
53071         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53072         (struct test_results): New structure.
53073         (struct test): Use struct test_results to store expected results
53074         for all rounding modes.
53075         (TEST): Include expected results for all rounding modes.
53076         (test_in_one_mode): New function.
53077         (do_test): Use test_in_one_mode to compute and check results.
53078         Check results for all rounding modes.
53079         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53080         $(link-libm).
53082 2012-12-09  Allan McRae  <allan@archlinux.org>
53084         * sysdeps/i386/fpu/libm-test-ulps: Update
53086 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53088         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53089         (_G_int32_t): Likewise.
53090         (_G_uint16_t): Likewise.
53091         (_G_uint32_t): Likewise.
53092         (_G_HAVE_BOOL): Likewise.
53093         (_G_HAVE_ATEXIT): Likewise.
53094         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53095         (_G_HAVE_IO_FILE_OPEN): Likewise.
53096         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53097         (_G_int32_t): Likewise.
53098         (_G_uint16_t): Likewise.
53099         (_G_uint32_t): Likewise.
53100         (_G_HAVE_BOOL): Likewise.
53101         (_G_HAVE_ATEXIT): Likewise.
53102         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53103         (_G_HAVE_IO_FILE_OPEN): Likewise.
53104         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53105         (_G_int32_t): Likewise.
53106         (_G_uint16_t): Likewise.
53107         (_G_uint32_t): Likewise.
53108         (_G_HAVE_BOOL): Likewise.
53109         (_G_HAVE_ATEXIT): Likewise.
53110         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53111         (_G_HAVE_IO_FILE_OPEN): Likewise.
53113 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53115         * csu/libc-tls.c: Update copyright years.
53117 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53119         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53120         [!_G_USING_THUNKS]: Remove conditional code.
53121         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53122         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53124         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53125         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53126         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53127         (_G_VTABLE_LABEL_PREFIX): Likewise.
53128         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53129         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53130         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53131         (_G_VTABLE_LABEL_PREFIX): Likewise.
53132         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53133         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53134         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53135         (_G_VTABLE_LABEL_PREFIX): Likewise.
53136         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53138 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53140         * libio/Makefile: Include ../Makeconfig before tests.
53141         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53142         only if $(build-shared) is yes.
53144         * iconv/gconv_db.c: Update copyright years.
53146 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53148         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53149         unwind info if defined PIC. Fix special cases description.
53150         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53152         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53153         DP_HI_MASK entry.
53154         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53156 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53158         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53160         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53161         is NULL.
53163         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53164         (LDLIBS-tst-chk4): This.
53165         (LDFLAGS-tst-chk5): Renamed to ...
53166         (LDLIBS-tst-chk5): This.
53167         (LDFLAGS-tst-chk6): Renamed to ...
53168         (LDLIBS-tst-chk6): This.
53169         (LDFLAGS-tst-lfschk4): Renamed to ...
53170         (LDLIBS-tst-lfschk4): This.
53171         (LDFLAGS-tst-lfschk5): Renamed to ...
53172         (LDLIBS-tst-lfschk5): This.
53173         (LDFLAGS-tst-lfschk6): Renamed to ...
53174         (LDLIBS-tst-lfschk6): This.
53176         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53177         on $(common-objpfx)soversions.mk.
53179 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53181         [BZ #10014]
53182         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53183         example host name.
53185 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53187         * malloc/arena.c (arena_get_retry): New function that gets
53188         another arena for the caller to try its request on.
53189         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53190         current arena cannot fulfill the request.
53191         (__libc_memalign): Likewise.
53192         (__libc_memalign): Likewise.
53193         (__libc_pvalloc): Likewise.
53194         (__libc_calloc): Likewise.
53196 2012-09-05  John Tobey  <john.tobey@gmail.com>
53198         [BZ #13542]
53199         * manual/arith.texi (Operations on Complex): Fix description
53200         of carg branch cut.
53202 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53204         [BZ #10014]
53205         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53206         host name.
53208         [BZ #10038]
53209         * manual/memory.texi (Memory): Make order of menu items match
53210         order of sections.
53212 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53214         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53215         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53216         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53218 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53220         * csu/libc-tls.c (static_dtv): Renamed to ...
53221         (_dl_static_dtv): This.  Make it global.
53222         (_dl_initial_dtv): Removed.
53223         (__libc_setup_tls): Updated.
53224         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53225         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53226         DL_INITIAL_DTV.
53228 2012-09-06  Petr Machata  <pmachata@redhat.com>
53230         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53231         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53232         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53233         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53235 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53237         [BZ #14545]
53238         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53239         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53240         freeing dtv[-1].
53242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53244         [BZ #14544]
53245         * Makeconfig (link-static-before-libc): Replace $(+prector)
53246         with $(+prectorT).
53247         (link-static-after-libc): Replace $(+postctor) with
53248         $(+postctorT).
53249         (link-bounded): Replace $(+prector)/$(+postctor) with
53250         $(+prectorT)/$(+postctorT).
53251         (+prectorT): New macro.
53252         (+postctorT): Likewise.
53254 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53256         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53257         (round_str): Handle values above the maximum for IBM long double
53258         as inexact.
53259         * stdlib/tst-strtod-round.c (tests): Regenerated.
53261 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53263         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53264         assembler flag.
53265         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53266         zarch_nohighgprs around the zarch optimized routines.
53267         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53268         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53269         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53270         for zarch.
53272 2012-09-05  David S. Miller  <davem@davemloft.net>
53274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53276         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53277         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53278         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53279         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53280         entries.
53282 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53284         * malloc/arena.c: Fold copyright years.
53285         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53287 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53289         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53293         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53297         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53298         change internal state upon failure.
53300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53302         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53303         * malloc/memusage.c (mmap): Likewise.
53304         (mmap64, mremap): Likewise.  Adjust name in comment.
53306 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53308         * libio/fileops.c: Fix typos in comments.
53309         * libio/oldfileops.c: Likewise.
53310         * libio/wfileops.c: Likewise.
53312 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53314         [BZ #1349]
53315         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53316         (tst-malloc-usable-ENV): Set environment for test case.
53317         * malloc/hooks.c (malloc_check_get_size): New function to get
53318         requested size.
53319         * malloc/malloc.c (musable): Use malloc_check_get_size.
53320         * malloc/tst-malloc-usable.c: New test case.
53322 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53324         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53326 2012-09-05  Allan McRae  <allan@archlinux.org>
53328         [BZ #13966]
53329         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53330         determine header location.
53331         * configure: Regenerated.
53333 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53335         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53336         float format.
53337         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53338         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53339         format.
53340         (test): Regenerate.
53342 2012-09-04  David S. Miller  <davem@davemloft.net>
53344         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53345         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53346         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53348 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53350         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53351         failures.
53353         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53355 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53357         [BZ #9914]
53358         * libio/iogetdelim.c: Include <limits.h>.
53359         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53360         + len + 1 would overflow.
53362 2012-09-03  Andreas Jaeger  <aj@suse.de>
53364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53365         * sysdeps/i386/fpu/libm-test-ulps: Update.
53367 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53369         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53370         Add s_sinf-sse2, s_conf-sse2.
53372         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53373         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53374         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53375         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53377         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53378         for using routine as __sinf_ia32.
53379         Use macro for function declaration and weak_alias.
53380         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53381         for using routine as __cosf_ia32.
53382         Use macro for function declaration and weak_alias.
53384         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53385         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53387         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53388         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53391         * math/libm-test.inc (cos_test): Add more test cases.
53392         (sin_test): Likewise.
53393         (sincos_test): Likewise.
53395 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53398         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53399         hidden.
53400         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53402 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53404         [BZ #14538]
53405         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53406         first element of the GOT.
53407         (elf_machine_load_address): Return the difference between
53408         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53410 2012-09-01  Allan McRae  <allan@archlinux.org>
53412         [BZ #13412]
53413         * configure.in (AWK): Require gawk version 3.0 or later.
53414         * configure: Regenerated.
53416 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53418         * sysdeps/unix/sysv/linux/kernel-features.h
53419         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53421         [__NR_clock_getres]: Make code unconditional.
53422         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53423         (clock_getcpuclockid): Remove code left unreachable by removal of
53424         conditionals.
53425         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53426         code unconditional.
53427         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53428         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53429         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53430         Make code unconditional.
53431         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53433         * sysdeps/unix/sysv/linux/clock_settime.c
53434         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53435         conditional code.
53436         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53437         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53439 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53441         [BZ #14476]
53442         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53443         scripts/test-installation.pl.
53445         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53446         and $ld_so_version if it is set.
53448 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53450         [BZ #14516]
53451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53452         failure if reading from procfs failed.
53453         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53455 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53457         * sysdeps/unix/sysv/linux/kernel-features.h
53458         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53459         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53460         Remove conditional code.
53461         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53462         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53463         Remove conditional code.
53464         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53465         * sysdeps/unix/sysv/linux/i386/fxstat.c
53466         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53467         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53468         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53469         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53470         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53471         * sysdeps/unix/sysv/linux/i386/lxstat.c
53472         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53473         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53474         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53475         Remove conditional code.
53476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53477         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53478         Remove conditional code.
53479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53480         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53481         <kernel-features.h>.
53482         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53483         Remove.
53484         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53485         Remove conditional code.
53486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53487         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53488         Remove conditional.
53490 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53492         [BZ #5400]
53493         * NEWS: Add fixed bug number.
53495 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53497         [BZ #14519]
53498         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53499         underflowing exponent in case of negative sign.
53500         * stdlib/tst-strtod-round-data: Add more tests.
53501         * stdlib/tst-strtod-round.c (tests): Regenerated.
53503         [BZ #3479]
53504         * stdlib/strtod_l.c (NDIG): Remove.
53505         (HEXNDIG): Likewise.
53506         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53507         smallest representable value.
53508         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53509         lie within an exact representation of 1/2 ulp of the result.
53510         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53511         unconditionally.
53512         (TENS_P9_IDX): Define unconditionally.
53513         (TENS_P9_SIZE): Likewise.
53514         (TENS_P10_IDX): Likewise.
53515         (TENS_P10_SIZE): Likewise.
53516         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53517         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53518         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53519         entries for 10^2^13 and 10^2^14.
53520         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53521         (TENS_P13_IDX): Define.
53522         (TENS_P13_SIZE): Likewise.
53523         (TENS_P14_IDX): Likewise.
53524         (TENS_P14_SIZE): Likewise.
53525         (_fpioconst_pow10): Change array size to
53526         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53527         unconditional.
53528         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53529         1024]: Add entries for 10^2^13 and 10^2^14.
53530         [LAST_POW10 > _LAST_POW10]: Remove #error.
53531         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53532         (_fpioconst_pow10): Change array size to
53533         FPIOCONST_POW10_ARRAY_SIZE.
53534         * stdlib/gen-fpioconst.c: New file.
53535         * stdlib/gen-tst-strtod-round.c: Likewise.
53536         * stdlib/tst-strtod-round-data: Likewise.
53537         * stdlib/tst-strtod-round.c: Likewise.
53538         * stdlib/Makefile (tests): Add tst-strtod-round.
53540         [BZ #14459]
53541         * stdlib/strtod_l.c: Include <stdint.h>.
53542         (NDEBUG): Do not define.
53543         (round_and_return): Change EXPONENT parameter to type intmax_t.
53544         Rearrange calculations to avoid internal overflow possibilities.
53545         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53546         Rearrange calculations to avoid internal overflow possibilities.
53547         Assert that number fits inside MPNSIZE limbs.
53548         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53549         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53550         calculations and add assertions to avoid internal overflow
53551         possibilities.  Add casts to avoid signed/unsigned operations.
53552         * stdlib/tst-strtod-overflow.c: New file.
53553         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53555 2012-08-25  Marek Polacek  <polacek@redhat.com>
53557         * time/time.h: Fix some typos in comments.
53559 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53561         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53562         * posix/tst-rfc3484-2.c: Likewise.
53563         * posix/tst-rfc3484-3.c: Likewise.
53565 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53567         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53568         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53570 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53572         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53573         #include of fxstatat64.c.
53575 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53577         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53578         * shadow/getspent_r.c: Likewise.
53579         * shadow/getspnam.c: Likewise.
53580         * shadow/getspnam_r.c: Likewise.
53581         * gshadow/getsgent.c: Likewise.
53582         * gshadow/getsgent_r.c: Likewise.
53583         * gshadow/getsgnam.c: Likewise.
53584         * gshadow/getsgnam_r.c: Likewise.
53585         * inet/getnetbyad.c: Likewise.
53586         * inet/getnetbyad_r.c: Likewise.
53587         * inet/getnetbynm.c: Likewise.
53588         * inet/getnetbynm_r.c: Likewise.
53589         * inet/getnetent.c: Likewise.
53590         * inet/getnetent_r.c: Likewise.
53591         * inet/getproto.c: Likewise.
53592         * inet/getproto_r.c: Likewise.
53593         * inet/getprtent.c: Likewise.
53594         * inet/getprtent_r.c: Likewise.
53595         * inet/getprtname.c: Likewise.
53596         * inet/getprtname_r.c: Likewise.
53597         * inet/getrpcbyname.c: Likewise.
53598         * inet/getrpcbyname_r.c: Likewise.
53599         * inet/getrpcbynumber.c: Likewise.
53600         * inet/getrpcbynumber_r.c: Likewise.
53601         * inet/getrpcent.c: Likewise.
53602         * inet/getrpcent_r.c: Likewise.
53603         * inet/getaliasent.c: Likewise.
53604         * inet/getaliasent_r.c: Likewise.
53605         * inet/getaliasname.c: Likewise.
53606         * inet/getaliasname_r.c: Likewise.
53607         * nscd/getgrgid_r.c: Likewise.
53608         * nscd/getgrnam_r.c: Likewise.
53609         * nscd/gethstbyad_r.c: Likewise.
53610         * nscd/gethstbynm3_r.c: Likewise.
53611         * nscd/getpwnam_r.c: Likewise.
53612         * nscd/getpwuid_r.c: Likewise.
53613         * nscd/getsrvbynm_r.c: Likewise.
53614         * nscd/getsrvbypt_r.c: Likewise.
53615         * nscd/gai.c: Likewise.
53617         * configure.in (build_nscd): New substituted variable, set
53618         by --disable-build-nscd and defaults to $use_nscd.
53619         * configure: Regenerated.
53620         * config.make.in (build-nscd): New substituted variable.
53621         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53622         Change conditional to require [$(build-nscd) = yes] as well.
53623         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53625         [BZ# 13696]
53626         * configure.in (use_nscd): New substituted variable, set by
53627         --disable-nscd.  If enabled, define USE_NSCD.
53628         * configure: Regenerated.
53629         * config.h.in: Add USE_NSCD.
53630         * config.make.in (use-nscd): New substituted variable.
53631         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53632         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53633         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53634         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53635         (CFLAGS-getgrnam_r.c): Likewise.
53636         (CFLAGS-initgroups.c): Likewise.
53637         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53638         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53639         Variables removed.
53640         * inet/getnetgrent_r.c
53641         (nscd_setnetgrent): New function, broken out of ...
53642         (setnetgrent): ... here.  Call it.
53643         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53644         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53645         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53646         * nscd/Makefile (routines, aux): Move definitions after include of
53647         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53648         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53649         Conditionalize on [USE_NSCD].
53650         (is_nscd, nscd_init_cb): Likewise.
53651         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53652         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53653         * nss/nss_db/db-init.c: Likewise.
53654         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53655         [USE_NSCD].
53656         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53657         (make_request): Use it.
53658         (cache_valid_p): New function.
53659         (__check_pf): Use it.
53660         * NEWS: Add item for --disable-nscd.
53662 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53664         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53665         to support sed >= 4.2.1-20-ga9bf076.
53666         * configure: Regenerated.
53668 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53670         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53671         Conditionalize whole body on [IREL].
53673 2012-08-22  Jeff Law <law@redhat.com>
53675         [BZ #14505]
53676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53677         if the family is PF_UNSPEC.
53679 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53681         * Makerules (lib-version): Rename from V.
53682         (install-lib-nosubdir): Change V to lib-version.
53684 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53686         [BZ #14252]
53687         * powerpc32/power6/wcschr.c: New file.
53688         * powerpc32/power6/wcscpy.c: New file.
53689         * powerpc32/power6/wcsrchr.c: New file.
53690         * powerpc64/power6/wcschr.c: New file.
53691         * powerpc64/power6/wcscpy.c: New file.
53692         * powerpc64/power6/wcsrchr.c: New file.
53694 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53696         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53697         (two_way_short_needle): Use it.
53698         * string/strstr.c (AVAILABLE1_USES_J): Define.
53699         * string/strcasestr.c: Likewise.
53701         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53702         array references.
53703         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53705         [BZ #11607]
53706         * NEWS: Add an entry.
53707         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53708         define their defaults.
53709         (two_way_short_needle): Detect end-of-string on-the-fly.
53710         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53711         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53712         * string/bug-strcasestr1.c: New test.
53713         * string/Makefile: Run it.
53715 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53717         [BZ #11607]
53718         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53719         the first character.
53721 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53723         * csu/elf-init.c (__libc_csu_irel): Function removed.
53724         * csu/libc-start.c (apply_irel): New function.
53725         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53727 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53729         * sysdeps/unix/sysv/linux/kernel-features.h
53730         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53731         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53732         <kernel-features.h>.
53733         [__NR_fadvise64_64]: Make code unconditional.
53734         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53735         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53736         !__NR_fadvise64_64)]: Likewise.
53737         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53738         !__NR_fadvise64_64))]: Likewise.
53739         [__NR_fadvise64]: Make code unconditional.
53740         [!__NR_fadvise64]: Remove conditional code.
53741         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53742         <kernel-features.h>.
53743         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53744         unconditional.
53745         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53746         conditional code.
53747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53748         not include <kernel-features.h>.
53749         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53750         unconditional.
53751         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53752         conditional code.
53753         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53754         include <kernel-features.h>.
53755         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53756         unconditional.
53757         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53758         conditional code.
53760 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53763         slight instruction rearrangements per scrollpipe analysis.
53764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53766 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53768         * manual/syslog.texi (syslog; vsyslog, closelog):
53769         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53770         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53772         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53773         DSOCAPS to match condition on defining it.
53775 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53777         * sysdeps/unix/sysv/linux/kernel-features.h
53778         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53780         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53781         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53783         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53784         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53786         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53787         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53789         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53790         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53792         * sysdeps/unix/sysv/linux/kernel-features.h
53793         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53794         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53795         unconditional.
53796         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53797         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53798         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53799         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53800         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53801         Make code unconditional.
53802         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53803         (__mmap64) [!__NR_mmap2]: Likewise.
53804         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53805         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53806         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53808         [__NR_mmap2]: Make code unconditional.
53809         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53810         (__mmap64) [!__NR_mmap2]: Likewise.
53812 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53814         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53816 2012-08-18  Andreas Jaeger  <aj@suse.de>
53818         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53820 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53822         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53823         * include/unistd.h (__have_sock_cloexec): Likewise.
53824         (__have_pipe2): Likewise.
53825         (__have_dup3): Likewise.
53827 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53829         [BZ #9685]
53830         * include/unistd.h (__have_pipe2): Change define into an extern int.
53831         (__have_dup3): Likewise.
53832         * socket/have_sock_cloexec.c: Include fcntl.h.
53833         (__have_pipe2): New variable.
53834         (__have_dup3): Likewise.
53836 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53838         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53840 2012-08-17  Marek Polacek  <polacek@redhat.com>
53842         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53843         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53845 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53847         * configure.in: Add AC_SUBST for sysheaders.
53848         * configure: Regenerated.
53849         * config.make.in (sysheaders): New substituted variable.
53851         * sysdeps/unix/mkfifo.c: Moved ...
53852         * sysdeps/posix/mkfifo.c: ... here.
53853         * sysdeps/unix/mkfifoat.c: Moved ...
53854         * sysdeps/posix/mkfifoat.c: ... here.
53856         * sysdeps/unix/utime.c: Moved ...
53857         * sysdeps/posix/utime.c: ... here.
53859         * sysdeps/unix/time.c: Moved ...
53860         * sysdeps/posix/time.c: ... here.
53861         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53862         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53864         * sysdeps/unix/nice.c: Moved ...
53865         * sysdeps/posix/nice.c: ... here.
53867         * sysdeps/unix/alarm.c: Moved ...
53868         * sysdeps/posix/alarm.c: ... here.
53870         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53872 2012-08-17  Jeff Law <law@redhat.com>
53874         * intl/Makefile (codeset_mo): New variable.
53875         ($(codeset_mo)): New target.
53876         (tst-codeset.out): Depend on that.  Remove explicit rule.
53877         (tst-gettext3.out, tst-gettext5.out): Likewise.
53878         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53879         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53880         * intl/tst-codeset.sh: Remove.
53881         * intl/tst-gettext3.sh: Likewise.
53882         * intl/tst-gettext5.sh: Likewise.
53884 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53886         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53887         * sysdeps/unix/syscalls.list: ... here.
53889         * sysdeps/posix/getaddrinfo.c
53890         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53891         (gaiconf_init, gaiconf_reload): Use them.
53892         [!_STATBUF_ST_NSEC]
53893         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53894         Define using time_t rather than struct timespec.
53896         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53897         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53898         Macros removed.
53899         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53900         [!NO_THREADS].
53901         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53902         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53903         Likewise.
53905         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53906         __libc_cleanup_push argument.
53908         * bits/param.h: New file.
53909         * misc/sys/param.h: New file.
53910         * include/sys/param.h: New file.
53911         * misc/Makefile (headers): Add bits/param.h.
53912         * sysdeps/generic/sys/param.h: File removed.
53913         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53914         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53915         * sysdeps/mach/hurd/bits/param.h: New file.
53916         * sysdeps/mach/hurd/sys/param.h: File removed.
53918         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53919         last change.
53921         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53922         [_IO_MTSAFE_IO].
53923         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53924         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53925         New macros.
53927         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53928         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53929         rather than -D_IO_MTSAFE_IO conditionally.
53930         * stdio-common/Makefile (CPPFLAGS): Likewise.
53931         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53932         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53933         Use $(libio-mtsafe).
53934         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53935         of -D_IO_MTSAFE_IO.
53936         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53937         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53938         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53939         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53940         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53941         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53942         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53943         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53944         (CFLAGS-fread_u_chk.c): Likewise.
53945         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53946         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53947         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53948         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53949         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53950         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53951         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53952         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53953         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53955         * libio/Makefile: Test [$(libc-reentrant) = yes]
53956         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53958         * Makeconfig
53959         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53960         * sysdeps/pthread/configure: File removed.
53961         * sysdeps/pthread/Makeconfig: New file.
53962         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53963         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53965 2012-08-16  Gary Benson  <gbenson@redhat.com>
53967         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53968         unmapping the first object in a namespace.
53970 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53972         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53973         (__internal_setnetgrent): ... this.  Add internal_function to
53974         definition.  Add libc_hidden_def.
53975         (setnetgrent): Update caller.
53976         (internal_endnetgrent): Renamed to ...
53977         (__internal_endnetgrent): ... this.  Add internal_function to
53978         definition.  Add libc_hidden_def.
53979         (endnetgrent): Update caller.
53980         (internal_getnetgrent_r): Renamed to ...
53981         (__internal_getnetgrent_r): ... this.  Add internal_function to
53982         definition.  Add libc_hidden_def.
53983         (__getnetgrent_r): Update caller.
53984         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53986 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53988         * stdlib/longlong.h: Update from GCC.
53990 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53992         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53993         on _QL, which is set by umul_ppmm but never used.
53994         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53995         variables, which are set by GMP macros but never used.
53996         * stdio-common/_itowa.c (_itowa): Likewise.
53997         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53998         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54000 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54002         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54003         struct La_sh_regs is not constant.
54004         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54005         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54006         and struct La_sparc64_regs are not constant.
54008 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54010         * sysdeps/unix/sysv/linux/kernel-features.h
54011         (__ASSUME_POSIX_TIMERS): Remove.
54012         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54013         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54014         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54015         Make code unconditional.
54016         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54017         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54018         Make code unconditional.
54019         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54020         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54021         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54022         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54023         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54024         Make code unconditional.
54025         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54026         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54027         (__libc_missing_posix_timers): Remove.
54029 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54031         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54032         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54034         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54036         * elf/dl-sym.c: Include <stdlib.h>.
54038         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54039         constants, which avoids warnings in 32-bit builds.
54041         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54042         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54044         * misc/lseek.c: File moved to ...
54045         * io/lseek.c: ... here.
54047         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54049         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54050         shifting LEN more than 31 bits at once.
54052 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54054         [BZ #14195]
54055         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54056         segmentation fault for a case of two empty input strings.
54057         * string/test-strncasecmp.c (check1): Renamed to...
54058         (bz12205): ...this.
54059         (bz14195): Add new testcase for two empty input strings and N > 0.
54060         (test_main): Call new testcase, adapt for renamed function.
54062 2012-08-15  Andreas Jaeger  <aj@suse.de>
54064         [BZ #14090]
54065         * crypt/md5test2.c: New test, based on test supplied by Serge
54066         Belyshev <belyshev@depni.sinp.msu.ru>.
54067         * crypt/Makefile (xtests): Add md5test-giant..
54068         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54070 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54072         [BZ #14090]
54073         * crypt/md5.c (md5_process_block): Don't assume the buffer
54074         length is less than 2**32.
54075         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54076         length is less than 2**64.
54078 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54080         * string/str-two-way.h: Include <sys/param.h>.
54081         (MAX): Macro removed.
54083         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54084         Move #define and #undef of memmove to just before and after
54085         including <string.h>.
54087         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54088         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54089         and after including <string.h>.  Move declarations of
54090         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54091         to before #include "string/memmove.c".
54093         * include/dirent.h: Declare __getdirentries.
54095         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54096         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54098 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54100         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54101         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54102         * sysdeps/i386/configure: Regenerated.
54103         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54104         STABS_CURRENT_FILE, and STABS_FUN.
54105         (END): Remove call to STABS_FUN_END.
54106         (STABS_CURRENT_FILE1): Delete.
54107         (STABS_CURRENT_FILE): Likewise.
54108         (STABS_FUN): Likewise.
54109         (STABS_FUN_END): Likewise.
54110         (STABS_FUN2): Likewise.
54111         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54112         * sysdeps/x86_64/configure: Regenerated.
54114 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54116         * elf/dl-open.c: Include <atomic.h>.
54117         * elf/dl-lookup.c: Likewise.
54119 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54121         * sysdeps/unix/sysv/linux/kernel-features.h
54122         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54123         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54124         unconditionally.
54125         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54126         unconditionally.
54127         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54128         condition on __ASSUME_CLONE_THREAD_FLAGS.
54130 2012-08-14  Andreas Jaeger  <aj@suse.de>
54132         * sysdeps/i386/fpu/libm-test-ulps: Update.
54134 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54136         * include/atomic.h (atomic_exchange_and_add): Split into ...
54137         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54138         New atomic macros.
54140 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54144 2012-08-13  Jeff Law <law@redhat.com>
54146         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54147         null byte in the output string.
54149 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54151         * sysdeps/unix/sysv/linux/kernel-features.h
54152         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54153         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54154         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54155         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54156         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54157         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54158         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54160 2012-08-09  Jeff Law <law@redhat.com>
54162         [BZ #13939]
54163         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54164         When avoid_arena is set, don't retry in the that arena.  Pick the
54165         next one, whatever it might be.
54166         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54167         (arena_lock): Pass in new parameter to arena_get2.
54168         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54169         arena_get2.
54170         (__libc_malloc): Unify retrying after main arena failure with
54171         __libc_memalign version.
54172         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54174 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54176         [BZ #14166]
54177         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54178         to __redirect_strstr.
54179         (__strstr_sse42): Use typeof __redirect_strstr.
54180         (__strstr_ia32): Likewise.
54181         (__libc_strstr): New prototype.
54182         (strstr): Renamed to ...
54183         (__libc_strstr): This.
54184         (strstr): New strong alias of __libc_strstr.
54185         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54186         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54187         __redirect_time.
54188         Include <time.h>.
54189         (__libc_time): New prototype.
54190         (time_ifunc): Replace time with __libc_time.
54191         (time): New strong alias and hidden definition of __libc_time.
54192         (__GI_time): Remove strong alias.
54193         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54194         Include <stddef.h>.
54195         (memmove): Redefined to __redirect_memmove.
54196         (__memmove_sse2): Use typeof __redirect_memmove.
54197         (__memmove_ssse3): Likewise.
54198         (__memmove_ssse3_back): Likewise.
54199         (__libc_memmove): New prototype.
54200         (memmove): Renamed to ...
54201         (__libc_memmove): This.
54202         (memmove): New strong alias of __libc_memmove.
54204 2012-08-08  Mark Salter  <msalter@redhat.com>
54206         * elf/elf.h
54207         (R_MN10300_TLS_GD): Define.
54208         (R_MN10300_TLS_LD): Likewise.
54209         (R_MN10300_TLS_LDO): Likewise.
54210         (R_MN10300_TLS_GOTIE): Likewise.
54211         (R_MN10300_TLS_IE): Likewise.
54212         (R_MN10300_TLS_LE): Likewise.
54213         (R_MN10300_TLS_DTPMOD): Likewise.
54214         (R_MN10300_TLS_DTPOFF): Likewise.
54215         (R_MN10300_TLS_TPOFF): Likewise.
54216         (R_MN10300_SYM_DIFF): Likewise.
54217         (R_MN10300_ALIGN): Likewise.
54218         (R_MN10300_NUM): Update.
54220 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54223         Remove.
54225 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54227         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54229         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54230         sysdeps/unix -> sysdeps/posix move.
54231         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54233 2012-08-07      Allan McRae     <allan@archlinux.org>
54235         [BZ #14303]
54236         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54237         (SUNOS_CPP): Likewise.
54238         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54239         not found.
54240         (open_input): Call CPP using execvp.
54242 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54244         * sysdeps/unix/sysv/linux/kernel-features.h
54245         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54246         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54247         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54248         (__ASSUME_WAITID_SYSCALL): Likewise.
54249         * sysdeps/unix/sysv/linux/dl-execstack.c
54250         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54251         code unconditional.
54252         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54253         conditional code.
54254         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54255         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54256         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54257         code.
54258         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54259         unconditional.
54260         [__ASSUME_WAITID_SYSCALL]: Likewise.
54261         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54263 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54265         * sysdeps/unix/closedir.c: Renamed to ...
54266         * sysdeps/posix/closedir.c: ... here.
54267         * sysdeps/unix/dirfd.c: Renamed to ...
54268         * sysdeps/posix/dirfd.c: ... here.
54269         * sysdeps/unix/dirstream.h: Renamed to ...
54270         * sysdeps/posix/dirstream.h: ... here.
54271         * sysdeps/unix/fdopendir.c: Renamed to ...
54272         * sysdeps/posix/fdopendir.c: ... here.
54273         * sysdeps/unix/opendir.c: Renamed to ...
54274         * sysdeps/posix/opendir.c: ... here.
54275         * sysdeps/unix/readdir.c: Renamed to ...
54276         * sysdeps/posix/readdir.c: ... here.
54277         * sysdeps/unix/readdir_r.c: Renamed to ...
54278         * sysdeps/posix/readdir_r.c: ... here.
54279         * sysdeps/unix/rewinddir.c: Renamed to ...
54280         * sysdeps/posix/rewinddir.c: ... here.
54281         * sysdeps/unix/seekdir.c: Renamed to ...
54282         * sysdeps/posix/seekdir.c: ... here.
54283         * sysdeps/unix/telldir.c: Renamed to ...
54284         * sysdeps/posix/telldir.c: ... here.
54285         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54286         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54287         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54288         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54290         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54291         * bits/fcntl.h: ... here.
54293         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54294         not 0.
54295         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54296         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54297         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54298         (struct flock): Move l_start, l_len to the beginning.
54299         Use __pid_t for l_pid.
54300         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54301         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54302         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54303         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54304         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54305         [__USE_LARGEFILE64] (struct flock64): New type.
54306         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54308         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54309         * bits/dirent.h: ... here.
54311         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54312         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54314 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54317         Change from 2.6.0 to 2.6.16.
54318         * sysdeps/unix/sysv/linux/configure: Regenerated.
54319         * sysdeps/unix/sysv/linux/kernel-features.h
54320         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54321         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54322         version.
54323         (__ASSUME_UTIMES): Likewise.
54324         (__ASSUME_CLONE_STOPPED): Remove.
54325         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54326         architectures, not kernel version.
54327         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54328         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54329         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54330         (__ASSUME_WAITID_SYSCALL): Likewise.
54331         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54332         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54333         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54334         refer to older versions.
54336 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54338         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54339         Define alphasort64 as an alias.
54340         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54341         Define versionsort64 as an alias.
54342         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54343         Define scandir64 as an alias.
54344         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54345         Define scandirat64 as an alias.
54346         * dirent/alphasort64.c (alphasort64):
54347         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54348         * dirent/versionsort64.c: Likewise.
54349         * dirent/scandir64.c: Likewise.
54350         * dirent/scandirat64.c: Likewise.
54351         * sysdeps/wordsize-64/alphasort.c: File removed.
54352         * sysdeps/wordsize-64/alphasort64.c: File removed.
54353         * sysdeps/wordsize-64/scandir.c: File removed.
54354         * sysdeps/wordsize-64/scandir64.c: File removed.
54355         * sysdeps/wordsize-64/scandirat.c: File removed.
54356         * sysdeps/wordsize-64/scandirat64.c: File removed.
54357         * sysdeps/wordsize-64/versionsort.c: File removed.
54358         * sysdeps/wordsize-64/versionsort64.c: File removed.
54359         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54360         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54361         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54362         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54363         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54364         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54365         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54366         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54368         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54370         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54372         [defined __arch64__ || defined __sparcv9]
54373         (__INO_T_MATCHES_INO64_T): New macro.
54374         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54375         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54376         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54377         * sysdeps/unix/sysv/linux/bits/dirent.h
54378         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54379         (_DIRENT_MATCHES_DIRENT64): New macro.
54381         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54382         Define lockf64 as an alias.
54383         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54384         Define fseeko64 as an alias.
54385         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54386         Define ftello64 as an alias.
54387         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54388         Define _IO_fgetpos64 and fgetpos64 as aliases.
54389         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54390         Define _IO_fsetpos64 and fsetpos64 as aliases.
54391         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54392         Conditionalize body on this.
54393         * libio/fseeko64.c: Likewise.
54394         * libio/ftello64.c: Likewise.
54395         * libio/iofgetpos64.c: Likewise.
54396         * libio/iofsetpos64.c: Likewise.
54397         * sysdeps/wordsize-64/lockf.c: File removed.
54398         * sysdeps/wordsize-64/lockf64.c: File removed.
54399         * sysdeps/wordsize-64/fseeko.c: File removed.
54400         * sysdeps/wordsize-64/fseeko64.c: File removed.
54401         * sysdeps/wordsize-64/ftello.c: File removed.
54402         * sysdeps/wordsize-64/ftello64.c: File removed.
54403         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54404         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54405         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54406         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54407         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54408         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54409         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54410         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54411         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54412         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54413         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54414         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54416         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54418         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54419         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54420         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54422         [defined __arch64__ || defined __sparcv9]
54423         (__OFF_T_MATCHES_OFF64_T): New macro.
54424         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54425         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54427         (__OFF_T_MATCHES_OFF64_T): New macro.
54429 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54431         * stdlib/secure-getenv.c (__secure_getenv): Replace
54432         GLIBC_2_16 with GLIBC_2_17.
54434 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54436         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54437         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54439 2012-08-03  David S. Miller  <davem@davemloft.net>
54441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54443 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54445         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54446         Remove.
54447         (__ASSUME_CORRECT_SI_PID): Likewise.
54448         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54449         (__ASSUME_TMPFS_NAME): Likewise.
54450         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54451         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54452         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54453         (HAVE_AUX_SECURE): Make definition unconditional.
54454         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54455         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54457 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54459         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54460         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54461         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54462         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54463         __eloop_threshold instead of SYMLOOP_MAX.
54465         * sysdeps/generic/eloop-threshold.h: New file.
54466         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54467         of MAXSYMLINKS.
54468         * elf/chroot_canon.c (chroot_canon): Likewise.
54470 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54472         [BZ #13717]
54473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54474         Change to 2.6.0 everywhere.
54475         * sysdeps/unix/sysv/linux/configure: Regenerated.
54476         * sysdeps/unix/sysv/linux/kernel-features.h
54477         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54478         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54479         kernel versions.
54480         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54481         (__ASSUME_FUTEX_REQUEUE): Remove.
54482         (__ASSUME_STATFS64): Define unconditionally.
54483         (__ASSUME_AT_SECURE): Likewise.
54484         (__ASSUME_CORRECT_SI_PID): Likewise.
54485         (__ASSUME_TGKILL): Define without depending on kernel version for
54486         i386.
54487         (__ASSUME_UTIMES): Likewise.
54488         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54489         kernel version.
54490         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54491         (__ASSUME_TMPFS_NAME): Likewise.
54492         * README: Update reference to Linux kernel versions.
54494 2012-08-02  Marek Polacek  <polacek@redhat.com>
54496         [BZ# 14150]
54497         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54498         libc_cv_asm_type_prefix with %.
54499         * configure: Regenerated.
54500         * include/libc-symbols.h: Remove comment about
54501         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54502         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54503         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54504         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54505         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54506         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54507         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54508         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54509         * elf/tst-unique2mod1.c: Likewise.
54510         * elf/tst-unique1mod2.c: Likewise.
54511         * elf/tst-unique1mod1.c: Likewise.
54512         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54513         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54514         Replace ASM_TYPE_DIRECTIVE with .type.
54515         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54516         * sysdeps/i386/sysdep.h: Likewise.
54517         * sysdeps/x86_64/sysdep.h: Likewise.
54518         * sysdeps/sh/sysdep.h: Likewise.
54519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54520         Do not define ASM_TYPE_DIRECTIVE.
54521         * sysdeps/powerpc/sysdep.h: Likewise.
54522         * sysdeps/powerpc/powerpc32/sysdep.h:
54523         Replace ASM_TYPE_DIRECTIVE with .type.
54524         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54525         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54526         * sysdeps/i386/fpu/e_powf.S: Likewise.
54527         * sysdeps/i386/fpu/e_expl.S: Likewise.
54528         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54530         * sysdeps/i386/fpu/e_pow.S: Likewise.
54531         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54533         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54534         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54535         * sysdeps/i386/fpu/e_log2.S: Likewise.
54536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54538         * sysdeps/i386/fpu/e_powl.S: Likewise.
54539         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54540         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54541         * sysdeps/i386/fpu/e_logl.S: Likewise.
54542         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54543         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54544         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54545         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54546         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54547         * sysdeps/i386/fpu/e_log.S: Likewise.
54548         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54549         * sysdeps/i386/fpu/e_logf.S: Likewise.
54550         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54551         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54552         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54553         * sysdeps/i386/fpu/e_log10.S: Likewise.
54554         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54555         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54556         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54557         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54558         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54559         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54560         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54561         * sysdeps/i386/i686/strtok.S: Likewise.
54562         * sysdeps/i386/i386-mcount.S: Likewise.
54563         * sysdeps/i386/strtok.S: Likewise.
54564         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54565         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54566         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54567         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54568         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54569         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54570         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54571         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54572         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54573         * sysdeps/x86_64/_mcount.S: Likewise.
54574         * sysdeps/x86_64/strtok.S: Likewise.
54575         * sysdeps/sh/_mcount.S: Likewise.
54577 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54579         * libio/iofopen.c: Include <fcntl.h>.
54580         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54581         (_IO_fopen64, fopen64): Define as aliases.
54582         * libio/iofopen64.c: Include <fcntl.h>.
54583         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54584         Conditionalize body on this.
54585         * sysdeps/wordsize-64/iofopen.c: File removed.
54586         * sysdeps/wordsize-64/iofopen64.c: File removed.
54588 2012-08-01  Marek Polacek  <polacek@redhat.com>
54590         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54591         Use dlfcn directly instead of a variable.
54592         (binfmt-subdir): Do not define.
54593         (dlfcn): Likewise.
54595 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54598         Remove all definitions.
54599         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54600         <kernel-features.h>.
54601         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54602         (miss_F_GETOWN_EX): Remove all definitions.
54603         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54604         macro definition.
54605         [!__ASSUME_FCNTL64]: Remove conditional code.
54606         [__ASSUME_FCNTL64]: Make code unconditional.
54607         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54608         <kernel-features.h>.
54609         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54610         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54611         (lockf64) [__NR_fcntl64]: Make code unconditional.
54612         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54614         * sysdeps/unix/sysv/linux/kernel-features.h
54615         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54616         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54617         Make code unconditional.
54618         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54619         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54621         [__NR_vfork]: Make code unconditional.
54622         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54623         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54625         [__NR_vfork]: Make code unconditional.
54626         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54627         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54629 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54631         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54632         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54634         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54635         Define mkstemp64 as an alias.
54636         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54637         Define mkstemps64 as an alias.
54638         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54639         Define mkostemp64 as an alias.
54640         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54641         Define mkostemps64 as an alias.
54642         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54643         Conditionalize body on this.
54644         * misc/mkostemp64.c: Likewise.
54645         * misc/mkostemps64.c: Likewise.
54646         * misc/mkstemps64.c: Likewise.
54647         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54648         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54649         * sysdeps/wordsize-64/mkostemp.c: File removed.
54650         * sysdeps/wordsize-64/mkstemp.c: File removed.
54651         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54653         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54656         [BZ #14138]
54657         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54658         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54659         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54660         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54662         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54663         compat_symbol macros from <shlib-compat.h> rather than the underlying
54664         default_symbol_version and symbol_version macros, so that DEFAULT
54665         lines in shlib-versions are respected.
54666         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54668 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54670         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54671         Declare with warn_unused_result.
54672         (setgid, setregid, setegid, setresgid): Likewise.
54673         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54674         Likewise.
54675         * WUR-REPORT: Remove set*id functions.
54677 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54679         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54681 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54683         [BZ #10191]
54684         * include/sys/socket.h (__libc_accept, __libc_accept4):
54685         Add attribute_hidden.
54686         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54688         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54689         use of PTR_MANGLE.
54690         * inet/getnetgrent_r.c (setup): Likewise.
54692         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54694 2012-07-31  David S. Miller  <davem@davemloft.net>
54696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54698 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54700         [BZ #13629]
54701         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54702         value between 1.0 and 2.0 and smaller part has absolute value less
54703         than 1.0.
54704         * math/s_clog10.c (__clog10): Likewise.
54705         * math/s_clog10f.c (__clog10f): Likewise.
54706         * math/s_clog10l.c (__clog10l): Likewise.
54707         * math/s_clogf.c (__clogf): Likewise.
54708         * math/s_clogl.c (__clogl): Likewise.
54709         * math/libm-test.inc (clog_test): Add more tests.
54710         (clog10_test): Likewise.
54711         * sysdeps/i386/fpu/libm-test-ulps: Update.
54712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54714 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54716         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54717         Exit with zero in case no suitable GID is found, and write a
54718         message to standard error.
54720 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54722         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54723         rather than to 1.
54724         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54725         (MAXPATHLEN): Removed.
54726         (NOGROUP, NODEV): New macros.
54727         (setbit, clrbit, isset, isclr): New macros.
54728         (howmany, roundup, powerof2): New macros.
54729         (DEV_BSIZE): New macro.
54731         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54732         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54734         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54735         definition on [!__NO_LONG_DOUBLE_MATH].
54737         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54738         PTR_MANGLE and PTR_DEMANGLE.
54740         * socket/accept4.c (accept4): Rename to __libc_accept4.
54741         Define accept4 as a weak alias.
54743         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54744         on [_DIRENT_HAVE_D_TYPE].
54745         * io/ftw.c (ftw_dir): Likewise.
54747         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54749         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54751         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54752         Use the BSD numbers rather than the arbitrary ones we had.
54753         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54754         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54755         (SIGXCPU, SIGXFSZ): New macros.
54756         (_NSIG): Now 32.
54758         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54759         initializer on [_LIBC_REENTRANT].
54761         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54762         definitions inside [_POSIX_MAPPED_FILES].
54764         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54766         * dirent/opendir.c: Include <fcntl.h>.
54768         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54769         (__libc_getspecific): Likewise.
54770         (__libc_key_create): Likewise.
54772         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54773         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54774         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54775         (tmpfile64): Define as alias.
54776         * sysdeps/wordsize-64/tmpfile.c: File removed.
54777         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54778         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54779         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54781         * stdio-common/vfscanf.c: Include <stdbool.h>.
54782         * nss/makedb.c: Likewise.
54783         * stdio-common/_i18n_number.h: Likewise.
54784         * argp/argp-help.c: Likewise.
54785         * posix/wordexp.c: Likewise.
54786         * sysdeps/posix/spawni.c: Likewise.
54787         * nss/nss_files/files-initgroups.c: Likewise.
54788         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54789         * nss/nss_files/files-initgroups.c: Likewise.
54790         * nss/nss_db/db-netgrp.c: Likewise.
54791         * nss/nss_db/db-initgroups.c: Likewise.
54792         * io/fchmodat.c: Include <sys/stat.h>.
54794         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54795         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54797         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54798         [HAVE_MMAP].
54800         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54801         Add multiple inclusion protection.
54803 2012-07-27  David S. Miller  <davem@davemloft.net>
54805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54807 2012-07-27  Gary Benson  <gbenson@redhat.com>
54809         [BZ #14298]
54810         * elf/rtld.c: Include <stap-probe.h>.
54811         (dl_main): Added static probes "init_start" and "init_complete".
54812         * elf/dl-load.c: Include <stap-probe.h>.
54813         (lose): Take new parameter "nsid".
54814         Added static probe "map_failed".
54815         (_dl_map_object_from_fd): Pass namespace id to lose.
54816         Added static probe "map_start".
54817         (open_verify): Pass namespace id to lose.
54818         * elf/dl-open.c: Include <stap-probe.h>.
54819         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54820         and "reloc_complete".
54821         * elf/dl-close.c: Include <stap-probe.h>.
54822         (_dl_close_worker): Added static probes "unmap_start" and
54823         "unmap_complete".
54824         * elf/rtld-debugger-interface.txt: New file documenting the above.
54826 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54828         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54829         rather than a string variable.
54830         * sunrpc/rpc_main.c (h_output): Likewise.
54831         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54833 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54835         * inet/check_native.c: New file.
54837 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54839         [BZ #13629]
54840         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54841         if larger part has absolute value 1.0.
54842         * math/s_clog10.c (__clog10): Likewise.
54843         * math/s_clog10f.c (__clog10f): Likewise.
54844         * math/s_clog10l.c (__clog10l): Likewise.
54845         * math/s_clogf.c (__clogf): Likewise.
54846         * math/s_clogl.c (__clogl): Likewise.
54847         * math/libm-test.inc (clog_test): Add more tests.
54848         (clog10_test): Likewise.
54849         * sysdeps/i386/fpu/libm-test-ulps: Update.
54850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54852         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54853         (pltexit): Likewise.
54854         (La_regs): Likewise.
54855         (La_retval): Likewise.
54856         (int_retval): Likewise.
54857         Update #error for removed macros to refer only to definitions in
54858         tst-audit.h.
54859         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54860         macro.
54861         (pltexit): Likewise.
54862         (La_regs): Likewise.
54863         (La_retval): Likewise.
54864         (int_retval): Likewise.
54865         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54866         macro.
54867         (pltexit): Likewise.
54868         (La_regs): Likewise.
54869         (La_retval): Likewise.
54870         (int_retval): Likewise.
54871         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54872         macro.
54873         (pltexit): Likewise.
54874         (La_regs): Likewise.
54875         (La_retval): Likewise.
54876         (int_retval): Likewise.
54877         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54878         macro.
54879         (pltexit): Likewise.
54880         (La_regs): Likewise.
54881         (La_retval): Likewise.
54882         (int_retval): Likewise.
54883         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54884         macro.
54885         (pltexit): Likewise.
54886         (La_regs): Likewise.
54887         (La_retval): Likewise.
54888         (int_retval): Likewise.
54889         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54890         macro.
54891         (pltexit): Likewise.
54892         (La_regs): Likewise.
54893         (La_retval): Likewise.
54894         (int_retval): Likewise.
54895         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54896         macro definitions in tst-audit.h.
54897         * sysdeps/i386/tst-audit.h: New file.
54898         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54899         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54900         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54901         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54902         * sysdeps/sh/tst-audit.h: Likewise.
54903         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54904         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54905         * sysdeps/x86_64/tst-audit.h: Likewise.
54907 2012-07-26  Andreas Jaeger  <aj@suse.de>
54909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54910         ptrace.
54912         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54913         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54914         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54915         PTRACE_O_MASK.
54916         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54917         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54918         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54920         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54921         value.
54923         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54924         _sigsys.
54925         (si_call_addr, si_syscall, si_arch): Define new macro.
54926         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54927         _sigsys.
54928         (si_call_addr, si_syscall, si_arch): Define new marcro.
54929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54930         _sigsys.
54931         (si_call_addr, si_syscall, si_arch): Define new macro.
54932         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54933         _sigsys.
54934         (si_call_addr, si_syscall, si_arch): Define new macro.
54936 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54938         [BZ #13717]
54939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54940         Change to 2.4.21 where previously 2.4.1.
54941         * sysdeps/unix/sysv/linux/configure: Regenerated.
54942         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54943         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54944         Linux kernel version.
54945         (__ASSUME_STD_AUXV): Remove.
54946         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54947         kernel version.
54948         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54949         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54950         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54951         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54952         (__ASSUME_NETLINK_SUPPORT): Likewise.
54953         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54954         (__no_netlink_support): Remove conditional definition.
54955         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54956         Remove.
54957         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54958         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54959         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54960         (if_nameindex_ioctl): Remove.
54961         (if_nameindex_netlink): Do not handle __no_netlink_support.
54962         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54963         code.
54964         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54965         Remove conditional code.
54966         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54967         code.
54968         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54969         unconditional.
54970         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54971         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54972         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54973         Remove.
54974         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54975         [!__ASSUME_STD_AUXV]: Remove conditional code.
54976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54977         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54978         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54980         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54981         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54982         code.
54983         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54985         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54986         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54987         conditional code.
54988         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54990         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54991         code.
54992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54993         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54994         conditional code.
54995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54996         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54997         code unconditional.
54998         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54999         conditional code.
55000         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55001         unconditional.
55002         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55003         conditional code.
55004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55005         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55006         unconditional.
55007         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55008         conditional code.
55009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55010         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55011         code unconditional.
55012         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55013         conditional code.
55014         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55015         unconditional.
55016         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55017         conditional code.
55018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55019         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55020         code unconditional.
55021         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55022         conditional code.
55023         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55024         unconditional.
55025         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55026         conditional code.
55028 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55030         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55031         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55032         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55033         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55034         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55035         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55036         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55037         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55038         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55039         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55040         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55041         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55042         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55043         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55044         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55045         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55046         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55047         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55048         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55050         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55051         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55054 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55056         * Versions.def: Add GLIBC_2.17.
55057         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55058         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55059         Introduce __libc_secure_getenv.
55060         * stdlib/Versions (2.17): Add secure_getenv
55061         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55062         * stdlib/secure-getenv.c: Rename __secure_getenv to
55063         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55064         symbol __secure_getenv for GLIBC_2.0.
55065         * stdlib/tst-secure-getenv.c: New.
55066         * stdlib/Makefile (tests): Add testcase.
55067         * manual/startup.texi (Environment Access): Document
55068         secure_getenv.
55069         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55070         __libc_secure_getenv.
55071         * inet/ruserpass.c (ruserpass): Likewise.
55072         * malloc/mtrace.c (mtrace): Likewise.
55073         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55074         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55075         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55076         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55077         HAVE_SECURE_GETENV.
55078         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55079         __secure_getenv to __libc_secure_getenv.
55080         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55082         Likewise.
55083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55084         Likewise.
55085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55093 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55095         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55096         (struct La_i86_retval): Likewise.
55097         (struct La_x86_64_regs): Likewise.
55098         (struct La_x86_64_retval): Likewise.
55099         (struct La_x32_regs): Likewise.
55100         (struct La_x32_retval): Likewise.
55101         (struct La_ppc32_regs): Likewise.
55102         (struct La_ppc32_retval): Likewise.
55103         (struct La_ppc64_regs): Likewise.
55104         (struct La_ppc64_retval): Likewise.
55105         (struct La_sh_regs): Likewise.
55106         (struct La_sh_retval): Likewise.
55107         (struct La_s390_32_regs): Likewise.
55108         (struct La_s390_32_retval): Likewise.
55109         (struct La_s390_64_regs): Likewise.
55110         (struct La_s390_64_retval): Likewise.
55111         (struct La_sparc32_regs): Likewise.
55112         (struct La_sparc32_retval): Likewise.
55113         (struct La_sparc64_regs): Likewise.
55114         (struct La_sparc64_retval): Likewise.
55115         (struct audit_ifaces): Remove architecture-specific pltenter and
55116         pltexit members.
55117         * sysdeps/i386/ldsodefs.h: New file.
55118         * sysdeps/powerpc/ldsodefs.h: Likewise.
55119         * sysdeps/s390/ldsodefs.h: Likewise.
55120         * sysdeps/sh/ldsodefs.h: Likewise.
55121         * sysdeps/sparc/ldsodefs.h: Likewise.
55122         * sysdeps/x86_64/ldsodefs.h: Likewise.
55124 2012-07-25  Marek Polacek  <polacek@redhat.com>
55126         [BZ #6808]
55127         * math/libm-test.inc (yn_test): Add another test.
55128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55129         to ERANGE when the result is +-Inf.
55130         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55131         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55132         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55133         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55135 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55137         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55138         equal to 0.
55139         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55140         clock_t.
55141         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55143 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55145         * configure.in <sysdeps resolving>: Correct printing
55146         Implies_before.
55147         * configure: Regenerate.
55149 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55151         * math/w_ilogb.c: Include <limits.h>.
55152         * math/w_ilogbl.c: Likewise.
55154 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55156         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55157         va_copy.  Document allowing for unavailable va_copy only as
55158         pre-C99 compatibility.
55159         * manual/string.texi (Copying and Concatenation): Use va_copy
55160         instead of __va_copy in concat example.
55162 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55164         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55165         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55166         it if not null.
55168         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55169         with O_NOLINK passed to __file_name_lookup.
55171         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55172         with O_NOLINK passed to __file_name_lookup.
55174         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55175         negative N or less than NGIDS.
55177         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55178         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55179         enough.  Use memcpy instead of strncpy.
55181 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55183         * elf/Makefile (check-data): Remove.
55184         (localplt.data): New vpath directive.
55185         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55186         instead of $(check-data).
55187         * scripts/data/localplt-generic.data: Move to ...
55188         * sysdeps/generic/localplt.data: ... here.
55189         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55190         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55191         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55193         ... here.
55194         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55196         ... here.
55197         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55199         ... here.
55200         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55202         ... here.
55203         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55205         ... here.
55206         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55208         ... here.
55210 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55212         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55213         PPC32 and PPC64 files.
55214         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55215         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55217 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55219         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55220         __makecontext_ret to ...
55221         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55222         ... here and call exit if uc_link is NULL.  New file.
55223         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55224         __makecontext_ret.S.
55225         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55226         __makecontext_ret to ...
55227         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55228         ... here and call exit if uc_link is NULL.  New file.
55229         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55230         __makecontext_ret.S.
55232 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55234         * elf/elf.h (R_390_IRELATIVE): New definition.
55235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55236         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55237         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55238         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55239         (elf_machine_lazy_rel): Likewise.
55240         * sysdeps/s390/dl-irel.h: New file.
55241         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55242         * sysdeps/s390/s390-64/memset.S: New asm code.
55243         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55244         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55245         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55246         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55247         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55248         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55249         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55250         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55251         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55252         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55253         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55254         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55255         * sysdeps/s390/s390-32/memset.S: New asm code.
55256         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55258 2012-07-17  Marek Polacek  <polacek@redhat.com>
55260         [BZ #14349]
55261         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55262         * sysdeps/s390/s390-64/configure.in: Likewise.
55263         * sysdeps/sparc/configure.in: Likewise.
55264         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55265         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55266         * sysdeps/i386/configure.in: Likewise.
55267         * sysdeps/x86_64/configure.in: Likewise.
55268         * sysdeps/sh/configure.in: Likewise.
55269         * sysdeps/s390/s390-32/configure: Regenerated.
55270         * sysdeps/s390/s390-64/configure: Likewise.
55271         * sysdeps/x86_64/configure: Likewise.
55272         * sysdeps/sh/configure: Likewise.
55273         * sysdeps/powerpc/powerpc64/configure: Likewise.
55274         * sysdeps/powerpc/powerpc32/configure: Likewise.
55275         * sysdeps/sparc/configure: Likwise.
55276         * sysdeps/i386/configure: Likewise.
55278         * elf/dl-open.c: Comment fixes.
55280 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55282         * Makefile [CXX] (check-data): Remove.
55283         [CXX] (c++-types.data): New vpath directive.
55284         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55285         vpath.  Do not allow for C++ type data being missing.
55286         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55287         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55288         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55289         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55290         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55291         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55292         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55294         ... here.
55295         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55297         ... here.
55298         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55300         ... here.
55301         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55303         ... here.
55304         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55306         ... here.
55307         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55309         ... here.
55310         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55312         ... here.
55313         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55316         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55317         definitions to architecture-specific files.
55318         (TLS_IE): Likewise.
55319         (TLS_LD): Likewise.
55320         (TLS_GD): Likewise.
55321         * sysdeps/i386/tls-macros.h: New file.
55322         * sysdeps/powerpc/tls-macros.h: Likewise.
55323         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55324         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55325         * sysdeps/sh/tls-macros.h: Likewise.
55326         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55327         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55328         * sysdeps/x86_64/tls-macros.h: Likewise.
55330 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55332         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55333         zero value for regular exit case.
55335         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55336         (__start_context): Preserve zero value for regular exit case.
55338 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55339             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55341         * manual/setjmp.texi (setcontext): Clarify normal process
55342         termination when uc_link is the null pointer.
55343         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55344         exit call.
55346 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55348         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55349         preprocessor.  Test for each exception mask separately.
55351 2012-07-16  Andreas Jaeger  <aj@suse.de>
55353         * po/ru.po: Update from translation team.
55355 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55357         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55358         equal to 0.
55359         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55360         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55361         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55362         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55363         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55365 2012-07-13  Andreas Jaeger  <aj@suse.de>
55367         * po/fr.po: Update from translation team.
55369 2012-07-12  Marek Polacek  <polacek@redhat.com>
55371         [BZ #14173]
55372         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55373         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55374         loop condition.
55376 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55378         [BZ #13717]
55379         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55380         Change to 2.4.1 where previously 2.4.0.
55381         * sysdeps/unix/sysv/linux/configure: Regenerated.
55382         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55383         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55384         version.
55385         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55386         (__ASSUME_AT_CLKTCK): Remove.
55387         (__ASSUME_AT_PAGESIZE): Likewise.
55388         (__ASSUME_AT_XID): Likewise.
55389         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55390         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55391         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55392         unconditionally.
55393         (HAVE_AUX_PAGESIZE): Likewise.
55394         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55395         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55396         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55398 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55400         [BZ #14307]
55401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55402         the temporary buffer used to invoke __gethostbyname2_r,
55403         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55404         host_data / struct gaih_addrtuple.
55405         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55406         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55407         header file nss/nsswitch.h.
55408         * nss/nsswitch.h (global scope): Add definition of implementation
55409         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55410         resolv/nss_dns/dns-host.c).
55412 2012-07-11  Andreas Jaeger  <aj@suse.de>
55414         * po/fr.po: Update from translation team.
55416         * po/sv.po: Update from translation team
55417         * po/fr.po: Another update from translation team.
55419 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55422         for subnormals or multiply small sinh result by itself.
55423         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55426 2012-07-11  David S. Miller  <davem@davemloft.net>
55428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55430 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55432         [BZ #14347]
55433         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55434         (INTERNAL_MARK): Shift it here.
55436 2012-07-10  Marek Polacek  <polacek@redhat.com>
55438         [BZ #14151]
55439         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55440         libc_cv_asm_global_directive with .globl.
55441         * configure: Regenerated.
55442         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55443         with .globl.
55444         * sysdeps/i386/configure: Regenerated.
55445         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55446         with .globl.
55447         * sysdeps/x86_64/configure: Regenerated.
55448         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55449         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55450         * elf/tst-unique2mod2.c: Likewise.
55451         * elf/tst-unique2mod1.c: Likewise.
55452         * elf/tst-unique1mod2.c: Likewise.
55453         * elf/tst-unique1mod1.c: Likewise.
55454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55455         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55456         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55457         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55458         * sysdeps/mach/sysdep.h: Likewise.
55459         * sysdeps/i386/sysdep.h: Likewise.
55460         * sysdeps/i386/i386-mcount.S: Likewise.
55461         * sysdeps/x86_64/_mcount.S: Likewise.
55462         * sysdeps/x86_64/sysdep.h: Likewise.
55463         * sysdeps/sh/_mcount.S: Likewise.
55464         * sysdeps/sh/sysdep.h: Likewise.
55465         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55466         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55467         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55468         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55469         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55470         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55471         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55472         * locale/localeinfo.h: Likewise.
55473         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55474         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55476 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55478         [BZ #14336]
55479         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55480         system".
55481         * manual/message.texi (The Uniforum approach): Likewise.
55482         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55483         (glibc iconv Implementation): Likewise.
55485 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55487         [BZ #14337]
55488         * math/s_clog.c (__clog): Avoid scaling a value down where that
55489         could result in underflow.
55490         * math/s_clog10.c (__clog10): Likewise.
55491         * math/s_clog10f.c (__clog10f): Likewise.
55492         * math/s_clog10l.c (__clog10l): Likewise.
55493         * math/s_clogf.c (__clogf): Likewise.
55494         * math/s_clogl.c (__clogl): Likewise.
55495         * math/libm-test.inc (clog_test): Add more tests.
55496         (clog10_test): Likewise.
55497         * sysdeps/i386/fpu/libm-test-ulps: Update.
55498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55500 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55502         [BZ #14283]
55503         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55504         by 7 not 8 to examine high bit of fractional part.
55506         [BZ #14042]
55507         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55508         for call to __mcount_internal.
55509         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55510         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55511         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55513 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55515         [BZ #14154]
55516         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55517         approximation for values within 0x1p-13f of an odd multiple of
55518         pi/4.
55519         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55520         exception.  Add more tests.
55521         * sysdeps/i386/fpu/libm-test-ulps: Update.
55523         [BZ #6778]
55524         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55525         inputs and return -1 for them.  Do not check for +Inf in case not
55526         reachable for +Inf.
55527         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55528         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55529         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55530         and return -1 for them.  Do not check for +Inf in case not
55531         reachable for +Inf.
55532         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55533         define.
55534         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55535         and return -1 for them.  Do not check for +Inf in case not
55536         reachable for +Inf.
55537         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55538         spurious underflow.
55539         * sysdeps/i386/fpu/libm-test-ulps: Update.
55540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55542 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55544         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55546 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55548         [BZ #14157]
55549         [BZ #14331]
55550         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55551         could result in spurious underflow.  Scale down values above
55552         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55553         * math/s_csqrtf.c (__csqrtf): Likewise.
55554         * math/s_csqrtl.c (__csqrtl): Likewise.
55555         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55556         spurious underflow.
55557         * sysdeps/i386/fpu/libm-test-ulps: Update.
55558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55560 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55562         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55563         xopen-msg.sed.
55564         * catgets/xopen-msg.awk: New file.
55565         * catgets/xopen-msg.sed: Removed.
55567         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55568         po2text.sed.
55569         * intl/po2test.awk: New file.
55570         * intl/po2test.sed: Removed.
55572 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55574         [BZ #14328]
55575         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55576         or multiply small sinh result by itself.
55577         * math/s_ctanf.c (__ctanf): Likewise.
55578         * math/s_ctanh.c (__ctanh): Likewise.
55579         * math/s_ctanhf.c (__ctanhf): Likewise.
55580         * math/s_ctanhl.c (__ctanhl): Likewise.
55581         * math/s_ctanl.c (__ctanl): Likewise.
55582         * math/libm-test.inc (ctan_test_tonearest): New function.
55583         (ctan_test_towardzero): Likewise.
55584         (ctan_test_downward): Likewise.
55585         (ctan_test_upward): Likewise.
55586         (ctanh_test_tonearest): Likewise.
55587         (ctanh_test_towardzero): Likewise.
55588         (ctanh_test_downward): Likewise.
55589         (ctanh_test_upward): Likewise.
55590         (main): Call these new functions.
55591         * sysdeps/i386/fpu/libm-test-ulps: Update.
55592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55594 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55596         * .gitignore: Delete /ports entry.
55598 2012-07-03  Andreas Jaeger  <aj@suse.de>
55600         * po/bg.po: Update from translation team.
55601         * po/cs.po: Likewise.
55602         * po/de.po: Likewise.
55603         * po/hr.po: Likewise.
55604         * po/nl.pl: Likewise.
55605         * po/pl.po: Likewise.
55606         * po/vi.po: Likewise.
55608 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55610         * Makeconfig [!+link] (+link-before-libc): New variable.
55611         [!+link] (+link-after-libc): Likewise.
55612         [!+link] (+link-tests): Likewise.
55613         [!+link] (+link): Define in terms of $(+link-before-libc) and
55614         $(+link-after-libc).
55615         [!+link-static] (+link-static-before-libc): New variable.
55616         [!+link-static] (+link-static-after-libc): Likewise.
55617         [!+link-static] (+link-static-tests): Likewise.
55618         [!+link-static] (+link-static): Define in terms of
55619         $(+link-static-before-libc) and $(+link-static-after-libc).
55620         [build-shared] (link-libc-before-gnulib): New variable.
55621         [build-shared] (link-libc-tests): Likewise.
55622         [build-shared] (link-libc): Define in terms of
55623         $(link-libc-before-gnulib).
55624         [!build-shared] (link-libc-tests): New variable.
55625         (link-libc-static-tests): New variable.
55626         [!gnulib] (gnulib-arch): New variable.
55627         [!gnulib] (gnulib-tests): Likewise.
55628         [!gnulib] (static-gnulib-arch): Likewise.
55629         [!gnulib] (static-gnulib-tests): Likewise.
55630         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55631         Define with "=" instead of ":=".
55632         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55633         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55634         * Rules (binaries-all-notests): New variable.
55635         (binaries-all-tests): Likewise.
55636         (binaries-static-notests): Likewise.
55637         (binaries-static-tests): Likewise.
55638         (binaries-all): Define using $(binaries-all-notests) and
55639         $(binaries-all-tests).
55640         (binaries-static): Define using $(binaries-static-notests) and
55641         $(binaries-static-tests).
55642         (binaries-shared-tests): New variable.
55643         (binaries-shared-notests): Likewise.
55644         (binaries-shared): Remove variable.
55645         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55646         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55647         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55648         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55649         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55650         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55651         * elf/Makefile (sln-modules): New variable.
55652         (extra-objs): Add $(sln-modules:=.o).
55653         (ldconfig-modules): Add static-stubs.
55654         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55655         * elf/static-stubs.c: New file.
55657         [BZ #14283]
55658         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55659         by 7 not 8 to examine high bit of fractional part.  Use volatile
55660         variables when splitting into final array of floats if
55661         __FLT_EVAL_METHOD__ != 0.
55662         * math/libm-test.inc (cos_test): Add another test.
55663         (sin_test): Likewise.
55664         * sysdeps/i386/fpu/libm-test-ulps: Update.
55666         [BZ #14273]
55667         * math/libm-test.inc (cosh_test): Add more tests.
55669         * version.h (RELEASE): Set to "development".
55670         (VERSION): Set to "2.16.90".
55672 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55674         * NEWS: Update copyright. Remove last-updated date.
55675         Mention math library bug fixes and timezone data changes.
55676         * README: Mention GNU/Hurd, x32, and HPPA support status.
55678 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55680         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55682 2012-06-27  Andreas Jaeger  <aj@suse.de>
55684         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55686 2012-06-25  Andreas Jaeger  <aj@suse.de>
55688         * sysdeps/s390/fpu/libm-test-ulps: Update.
55690 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55691             Thomas Schwinge  <thomas@codesourcery.com>
55693         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55694         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55695         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55696         fanotify_mark.
55698 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55700         * sysdeps/mach/start.c: Remove file.
55701         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55702         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55703         * sysdeps/sh/init-first.c: Likewise.
55705         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55706         registers for frame unwinding purposes, add CFI directives.
55707         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55708         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
55709         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55710         Likewise.
55712         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55713         __fortify_fail returning.
55714         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55716         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55717         sysdeps/sh/____longjmp_chk.S.
55718         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55719         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55720         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55721         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55723         * sysdeps/sh/abort-instr.h: New file.
55724         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55725         process in case exit returns.
55727         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55728         initialize the GOT register before use.
55730         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55731         calculation of ARGC > 4.
55733         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55734         meaningful names to some local labels.
55736 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55737             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55739         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55740         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55741         (__arch_compare_and_exchange_val_16_acq): Likewise.
55742         (__arch_compare_and_exchange_val_32_acq): Likewise.
55743         (atomic_exchange_and_add): Fix gUSA sequence.
55744         (atomic_add): Likewise.
55745         (atomic_add_negative): Likewise.
55746         (atomic_add_zero): Likewise.
55747         (atomic_bit_test_set): Likewise.
55749 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55751         [BZ #13579]
55752         * include/link.h (struct link_map): Add l_free_initfini.
55753         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55754         l_initfini.
55755         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55756         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55757         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55758         set.
55760 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55762         * configure.in: Use AC_LANG_SOURCE.
55763         * configure: Regenerate.
55765 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55767         * configure.in (libc_cv_localstatedir): New substituted variable.
55768         * configure: Regenerated.
55769         * config.make.in (localstatedir): New variable, substituted from
55770         libc_cv_localstatedir.
55771         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55772         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55773         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55774         * sysdeps/gnu/configure: Regenerated.
55776 2012-06-21  Jeff Law  <law@redhat.com>
55778         [BZ #14277]
55779         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55780         free.  Simplify list management for _LIBC case.
55782 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55784         [BZ #14273]
55785         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55786         Clear sign bit of 64-bit integer value before comparing against
55787         overflow value.
55789         * sysdeps/mach/configure: Regenerated.
55791 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55793         [BZ #14278]
55794         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55796 2012-06-21  Jeff Law  <law@redhat.com>
55798         [BZ #13882]
55799         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55800         uint16_t for elements in the "seen" array to avoid char overflows.
55801         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55802         * elf/dl-open.c (dl_open_worker): Likewise.
55804 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55806         * scripts/list-sources.sh: Scan PORTS for translations.
55807         * po/libc.pot: Regenerated.
55809 2012-06-21  Andreas Jaeger  <aj@suse.de>
55811         [BZ #12194]
55812         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55813         warning.
55814         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55815         * bits/byteswap-16.h (__bswap_16): Likewise.
55816         * bits/byteswap.h (__bswap_constant_16): Likewise.
55818 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55820         [BZ #14117]
55821         * sysdeps/i386/fpu_control.h: Removed.
55822         * sysdeps/x86_64/fpu_control.h: Moved to ...
55823         * sysdeps/x86/fpu_control.h: Here.
55825         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55826         (_FPU_SETCW): Likewise.
55828 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55830         [BZ #14117]
55831         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55832         * sysdeps/x86/fpu/bits/mathinline.h: This.
55833         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55835         [BZ #14050]
55836         [BZ #14117]
55837         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55838         functions if __x86_64__ is defined.
55840 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55842         * string/endian.h: Add !__ASSEMBLER__ condition for including
55843         conversion interfaces.
55845 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55847         [BZ #14241]
55848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55849         of ABS(x) in calculating zero to negative powers other than odd
55850         integers.
55851         * math/libm-test.inc (pow_test): Add more tests.
55853 2012-06-15  Andreas Jaeger  <aj@suse.de>
55855         * manual/contrib.texi (Contributors): Update entry of Liubov
55856         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55857         Machado Filho.
55859 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55861         * string/string.h: Add __wur to GNU version of strerror_r.
55863 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55865         [BZ #14229]
55866         * string/Makefile (tests): Add tst-strtok_r.
55867         * string/tst-strtok_r.c: New file.
55868         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55869         RAX_LP/RDX_LP on SAVE_PTR.
55871 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55873         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55875 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55877         * libm_test.inc (csqrt_test): Allow more spurious underflow
55878         exceptions.
55879         (j0_test): Likewise.
55880         (j1_test): Likewise.
55881         (y0_test): Likewise.
55882         (y1_test): Likewise.
55884 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55886         * po/Makefile (libc.pot): Use UTF-8 charset.
55888 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55890         [BZ #14210]
55891         Suppress sign-conversion warning from FD_SET.
55892         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55893         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55894         not unsigned long int.
55895         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55897 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55899         [BZ #14050]
55900         [BZ #14117]
55901         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55902         __extern_always_inline instead of __extern_inline.
55903         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55904         (__signbit): Likewise.
55905         (__signbitl): Support C++ namespace.
55906         (lrintf): New inline function.
55907         (lrint): Likewise.
55908         (llrintf): Likewise.
55909         (llrint): Likewise.
55910         (fmaxf): Likewise.
55911         (fmax): Likewise.
55912         (fminf): Likewise.
55913         (fmin): Likewise.
55914         (rint): Likewise.
55915         (rintf): Likewise.
55916         (ceil): Likewise.
55917         (ceilf): Likewise.
55918         (floor): Likewise.
55919         (floorf): Likewise.
55920         (nearbyint): Likewise.
55921         (nearbyintf): Likewise.
55923 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55926         non-default versions.
55928 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55930         [BZ #14218]
55931         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55933 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55935         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55936         (FE_UPWARD, FE_DOWNWARD): Don't define.
55937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55938         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55940         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55941         reading it.
55942         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55943         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55945 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55947         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55949         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55952 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55954         [BZ #14117]
55955         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55956         * sysdeps/i386/fpu/Implies: New file.
55957         * sysdeps/x86_64/fpu/Implies: Likewise.
55958         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55959         * sysdeps/x86/fpu/bits/fenv.h: This.
55961         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55962         __SSE_MATH__.
55964 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55966         [BZ #14134]
55967         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55968         character 0xffff that matches the last element of the
55969         conversion table.
55971 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55973         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55974         fmodl commit.
55976 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55979         values higher than 25.6283.
55981 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55983         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55984         subnormal exponent extraction and add some __builtin_expect.
55985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55986         Fix for subnormal mantissa calculation.
55988 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55990         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55991         cpu2 is -1 and errno is not ENOSYS.
55993 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55995         [BZ #14117]
55996         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55997         * sysdeps/x86/bits/string.h: This.
55998         * sysdeps/x86_64/bits/string.h: Removed.
56000         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56001         if not compiling for x86-64, but compiling for >= i486.
56003         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56004         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56006         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56007         New macro from Linux kernel 3.4.0.
56008         (FP_XSTATE_MAGIC2): Likewise.
56009         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56010         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56011         (struct _fpx_sw_bytes): New struct.
56012         (struct _xsave_hdr): Likewise.
56013         (struct _ymmh_state): Likewise.
56014         (struct _xstate): Likewise.
56016         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56017         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56018         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56019         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56020         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56021         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56023         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56024         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56025         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56026         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56027         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56028         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56030 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56032         [BZ #13743]
56033         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56034         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56035         (sysdep_headers): Include sys/platform/ppc.h.
56036         * sysdeps/powerpc/test-gettimebase.c: Test for
56037         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56038         * manual/Makefile (appendices): Include platform.texi.
56039         * manual/contrib.texi (Contributors): Update @node pointers.
56040         * manual/maint.texi (Maintenance): Likewise.
56041         (Platform): New node.
56042         * manual/platform.texi: New file.  Document the new features.
56044 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56045             Jakub Jelinek  <jakub@redhat.com>
56047         [BZ #14188]
56048         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56049         where __builtin_expect is unavailable.
56051 2012-06-03  David S. Miller  <davem@davemloft.net>
56053         * stdlib/longlong.h: Updated from GCC.
56055 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56057         [BZ #14042]
56058         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56059         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56060         __mcount_internal.
56061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56062         (GLIBC_2.16): Likewise.
56064 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56066         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56068 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56071         (default-abi): New variable.
56072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56073         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56074         variable.
56075         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56076         Likewise.
56077         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56078         Likewise.
56079         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56080         Likewise.
56082         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56083         definition.  Document in comment.
56085 2012-06-01  David S. Miller  <davem@davemloft.net>
56087         * stdlib/longlong.h: Updated from GCC.
56089 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56091         [BZ #14117]
56092         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56093         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56094         sys/debugreg.h sys/io.h here.
56095         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56096         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56097         sys/io.h.
56098         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56099         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56100         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56101         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56102         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56103         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56105         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56106         Define only if __x86_64__ is defined.
56108 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56110         [BZ #14048]
56111         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56112         Use int64_t for variable i.
56113         * math/libm-test.inc (fmod_test): Add more tests.
56115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56116         z computation is not scheduled after fetestexcept.
56117         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56118         Use math_force_eval instead of asm to ensure calculation scheduled
56119         before exception test.
56120         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56121         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56123 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56126         computation is not scheduled after fetestexcept.
56128 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56130         [BZ #14117]
56131         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56132         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56134 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56136         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56137         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56139 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56141         [BZ #14117]
56142         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56143         <bits/wordsize.h>.
56144         (__WCHAR_MIN): Support __WORDSIZE == 64.
56145         (__WCHAR_MAX): Likewise.
56147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56150         [BZ #14183]
56151         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56152         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56154         [BZ #14117]
56155         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56156         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56158         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56159         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56161         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56162         Defined to 1 if __x86_64__ isn't defined.
56163         (_STAT_VER_LINUX_OLD): New.
56164         (st_atime): Remove duplicate.
56165         (st_mtime): Likewise.
56166         (st_ctime): Likewise.
56168 2012-05-31  David S. Miller  <davem@davemloft.net>
56170         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56171         entries.
56173 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56175         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56176         gen-libm-test.pl.
56178         [BZ #14132]
56179         * elf/dl-reloc.c: Include <_itoa.h>.
56180         (_dl_reloc_bad_type): Remove use of INTUSE.
56181         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56182         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56183         * stdio-common/psiginfo.c (psiginfo): Likewise.
56184         * stdio-common/psignal.c (psignal): Likewise.
56185         * string/strsignal.c (strsignal): Likewise.
56186         * include/signal.h (_sys_siglist): Declare hidden proto.
56187         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56188         INTVARDEF with libc_hidden_data_def.
56189         * stdio-common/itoa-udigits.c: Likewise.
56190         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56191         (_itoa_lower_digits_internal): Remove declaration.
56192         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56193         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56194         (_sys_sigabbrev_internal): Remove aliases.
56195         (_sys_siglist): Define hidden alias.
56197 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56200         bits/sysctl.h.
56202 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56204         [BZ #14117]
56205         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56206         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56208         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56210         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56211         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56212         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56213         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56215         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56216         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56217         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56219         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56220         with __addr.
56221         (insw): Likewise.
56222         (insl): Likewise.
56223         (outsb): Likewise.
56224         (outsw): Likewise.
56225         (outsl): Likewise.
56227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56229         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56231         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56232         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56234         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56235         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56236         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56238         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56239         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56241         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56242         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56245         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56246         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56248         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56249         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56250         to ...
56251         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56253         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56254         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56255         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56257         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56258         for x86-64.
56259         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56261 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56263         * math/math.h (M_El): Use two more decimal places.
56264         (M_LOG2El): Likewise.
56265         (M_LOG10El): Likewise.
56266         (M_LN2l): Likewise.
56267         (M_LN10l): Likewise.
56268         (M_PIl): Likewise.
56269         (M_PI_2l): Likewise.
56270         (M_PI_4l): Likewise.
56271         (M_1_PIl): Likewise.
56272         (M_2_PIl): Likewise.
56273         (M_2_SQRTPIl): Likewise.
56274         (M_SQRT2l): Likewise.
56275         (M_SQRT1_2l): Likewise.
56277 2012-05-31  David S. Miller  <davem@davemloft.net>
56279         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56280         values between float registers.
56281         * sysdeps/sparc/sparc64/memset.S: Likewise.
56282         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56284 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56286         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56287         -D_FORTIFY_SOURCE=1.
56288         (CPPFLAGS-tst-longjmp_chk.c): Define.
56289         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56290         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56291         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56292         CFLAGS-tst-wchar-h.c.
56294 2012-05-31  Marek Polacek  <polacek@redhat.com>
56296         [BZ #14132]
56297         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56298         __endmntent_internal): Remove declaration.
56299         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56300         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56301         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56303 2012-05-30  David S. Miller  <davem@davemloft.net>
56305         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56306         (___Q_simulate_exceptions): Use real FP ops rather than writing
56307         into the %fsr.
56308         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56309         Likewise.
56311 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56313         [BZ #14117]
56314         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56315         * sysdeps/x86/bits/xtitypes.h: This.
56317         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56318         * sysdeps/x86/bits/wordsize.h: This.
56320         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56321         * sysdeps/x86/bits/huge_vall.h: This.
56323         * sysdeps/i386/bits/select.h: Removed.
56324         * sysdeps/x86_64/bits/select.h: Renamed to ...
56325         * sysdeps/x86/bits/select.h: This.
56327         * sysdeps/i386/bits/setjmp.h: Removed.
56328         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56329         * sysdeps/x86/bits/setjmp.h: This.
56331         * sysdeps/i386/bits/mathdef.h: Removed.
56332         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56333         * sysdeps/x86/bits/mathdef.h: This.
56335 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56337         [BZ #14132]
56338         * include/sys/socket.h (__connect_internal)
56339         (__libc_sa_len_internal): Remove declaration.
56340         (__connect, __libc_sa_len): Declare hidden_proto.
56341         (SA_LEN): Remove use of INTUSE.
56342         * socket/connect.c: Add libc_hidden_def.
56343         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56344         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56345         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56346         alias.
56347         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56349         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56350         of adding _internal alias.
56352 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56354         [BZ #14117]
56355         * sysdeps/i386/bits/link.h: Removed.
56356         * sysdeps/i386/bits/linkmap.h: Likewise.
56357         * sysdeps/x86_64/bits/link.h: Renamed to ...
56358         * sysdeps/x86/bits/link.h: This.
56359         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56360         * sysdeps/x86/bits/linkmap.h: This.
56362         * sysdeps/i386/bits/endian.h: Removed.
56363         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56364         * sysdeps/x86/bits/endian.h: This.
56366         * sysdeps/i386/bits/byteswap.h: Removed.
56367         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56368         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56369         * sysdeps/x86/bits/byteswap.h: This.
56370         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56371         * sysdeps/x86/bits/byteswap-16.h: This.
56372         * sysdeps/i386/Implies: Add x86.
56373         * sysdeps/x86_64/Implies: Likewise.
56375 2012-05-30  David S. Miller  <davem@davemloft.net>
56377         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56378         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56379         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56380         (FP_TRAPPING_EXCEPTIONS): Define.
56381         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56382         (FP_TRAPPING_EXCEPTIONS): Define.
56383         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56384         subnormals only when inexact has been signalled or underflow
56385         exceptions are enabled.
56386         (_FP_PACK_CANONICAL): Likewise.
56388 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56390         [BZ #14183]
56391         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56392         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56394 2012-05-30  Richard Henderson  <rth@twiddle.net>
56396         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56397         with #ifndef NOT_IN_libc.
56399         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56400         marked to avoid plt entry.
56402 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56404         [BZ #14112]
56405         * Makeconfig (default-abi): New macro.
56406         (abi-includes): Likewise.
56407         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56408         $(abi-$(default-abi)-lib-soname) for soname if defined.
56409         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56410         abi-variants.
56411         * Makefile (installed-stubs): Likewise.
56412         * include/stubs-biarch.h: Removed.
56413         * scripts/lib-names.awk: Only handle one library at a time.
56414         * scripts/soversions.awk: Remove WORDSIZE support.
56415         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56416         entries.
56417         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56418         Removed.
56419         (syscall-list-default-condition): Likewise.
56420         (syscall-list-default-condition): Likewise.
56421         (syscall-list-includes): Likewise.
56422         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56423         syscall-list-* with abi-*.  Handle undefined abi-variants.
56424         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56425         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56426         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56427         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56428         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56429         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56430         Removed.
56431         (syscall-list-32-options): Likewise.
56432         (syscall-list-32-condition): Likewise.
56433         (syscall-list-64-options): Likewise.
56434         (syscall-list-64-condition): Likewise.
56435         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56436         macro.
56437         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56438         Renamed to ...
56439         (abi-*): This.
56440         (abi-64-ld-soname): New macro.
56441         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56442         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56443         Renamed to ...
56444         (abi-*): This.
56445         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56446         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56448 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56450         * sysdeps/unix/sysv/linux/kernel-features.h
56451         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56452         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56453         include <kernel-features.h>.
56454         [!__NR_ftruncate64]: Remove conditional code.
56455         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56456         [__NR_ftruncate64]: Make code unconditional.
56457         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56458         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56459         include <kernel-features.h>.
56460         [!__NR_ftruncate64]: Remove conditional code.
56461         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56462         [__NR_ftruncate64]: Make code unconditional.
56463         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56465         include <kernel-features.h>.
56466         [!__NR_ftruncate64]: Remove conditional code.
56467         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56468         [__NR_ftruncate64]: Make code unconditional.
56469         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56471         include <kernel-features.h>.
56472         [!__NR_ftruncate64]: Remove conditional code.
56473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56474         [__NR_ftruncate64]: Make code unconditional.
56475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56477         * configure.in (libc_cv_fpie): Weaken to a compile test using
56478         LIBC_TRY_CC_OPTION.
56479         * configure: Regenerated.
56481 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56487         Refreshed.
56488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56494         Refreshed.
56496 2012-05-27  David S. Miller  <davem@davemloft.net>
56498         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56499         (___Q_zero): New.
56500         (__Q_simulate_exceptions): Return void.  Change to simulate
56501         exceptions by writing into the %fsr.
56502         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56503         (__Qp_handle_exceptions): Likewise.
56504         (numbers): Delete.
56505         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56506         __Qp_handle_exceptions.
56507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56508         __Qp_handle_exceptions.
56509         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56510         as unused and give dummy FP_RND_NEAREST initializer.
56511         (FP_INHIBIT_RESULTS): Define.
56512         (___Q_simulate_exceptions): Update declaration.
56513         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56514         formatting.
56515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56516         as unused and give dummy FP_RND_NEAREST initializer.
56517         (__Qp_handle_exceptions): Update declaration.
56518         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56519         formatting.
56521 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56523         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56524         the temporary FPU control word.
56525         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56526         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56527         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56528         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56529         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56530         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56531         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56532         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56533         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56534         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56535         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56537 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56539         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56540         fields.
56542 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56544         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56545         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56546         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56547         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56548         Likewise.
56549         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56550         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56551         Likewise.
56553 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56555         * po/h.po: Update from translation team.
56557 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56559         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56561         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56562         handling of denormals.
56563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56564         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56565         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56566         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56570         Likewise.
56572 2012-05-26  Marek Polacek  <polacek@redhat.com>
56574         [BZ #14152]
56575         * math/libm-test.inc (fma_test): Don't always expect underflow
56576         exception.
56578 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56580         [BZ #12416]
56581         * elf/tst-execstack.c: Include stackinfo.h.
56582         (do_test): Adjust test case to ensure that pthread_getattr_np
56583         behaviour remains the same after marking stack executable.
56585 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56587         * sysdeps/unix/sysv/linux/kernel-features.h
56588         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56589         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56590         kernel-features.h.
56591         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56592         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56593         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56594         kernel-features.h.
56595         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56596         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56598 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56600         * configure.in: Define the default includes to being none.
56601         * configure: Regenerated.
56603 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56605         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56606         * sysdeps/x86_64/setjmp.S: Likewise.
56607         * sysdeps/i386/bsd-setjmp.S: Likewise.
56608         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56609         * sysdeps/i386/setjmp.S: Likewise.
56610         * sysdeps/i386/__longjmp.S: Likewise.
56611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56612         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56614         * include/stap-probe.h: New file.
56615         * configure.in: Handle --enable-systemtap.
56616         * configure: Regenerated.
56617         * config.h.in (USE_STAP_PROBE): New #undef.
56618         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56619         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56620         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56622 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56624         [BZ #13717]
56625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56626         to 2.4.0 where earlier.
56627         * sysdeps/unix/sysv/linux/configure: Regenerated.
56628         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56629         <kernel-features.h>.
56630         [__ASSUME_32BITUIDS]: Make code unconditional.
56631         [!__ASSUME_32BITUIDS]: Remove conditional code.
56632         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56633         <kernel-features.h>.
56634         [__ASSUME_32BITUIDS]: Make code unconditional.
56635         [!__ASSUME_32BITUIDS]: Remove conditional code.
56636         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56637         [__ASSUME_32BITUIDS]: Make code unconditional.
56638         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56639         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56640         <kernel-features.h>.
56641         [__ASSUME_32BITUIDS]: Make code unconditional.
56642         [!__ASSUME_32BITUIDS]: Remove conditional code.
56643         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56644         <kernel-features.h>.
56645         [__ASSUME_32BITUIDS]: Make code unconditional.
56646         [!__ASSUME_32BITUIDS]: Remove conditional code.
56647         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56648         <kernel-features.h>.
56649         [__ASSUME_32BITUIDS]: Make code unconditional.
56650         [!__ASSUME_32BITUIDS]: Remove conditional code.
56651         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56652         <kernel-features.h>.
56653         [__ASSUME_32BITUIDS]: Make code unconditional.
56654         [!__ASSUME_32BITUIDS]: Remove conditional code.
56655         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56656         <kernel-features.h>.
56657         [__ASSUME_32BITUIDS]: Make code unconditional.
56658         [!__ASSUME_32BITUIDS]: Remove conditional code.
56659         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56660         <kernel-features.h>.
56661         [__ASSUME_32BITUIDS]: Make code unconditional.
56662         [!__ASSUME_32BITUIDS]: Remove conditional code.
56663         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56664         <kernel-features.h>.
56665         [__ASSUME_32BITUIDS]: Make code unconditional.
56666         [!__ASSUME_32BITUIDS]: Remove conditional code.
56667         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56668         <kernel-features.h>.
56669         [__ASSUME_32BITUIDS]: Make code unconditional.
56670         [!__ASSUME_32BITUIDS]: Remove conditional code.
56671         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56672         <kernel-features.h>.
56673         [__ASSUME_32BITUIDS]: Make code unconditional.
56674         [!__ASSUME_32BITUIDS]: Remove conditional code.
56675         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56676         <kernel-features.h>.
56677         [__ASSUME_32BITUIDS]: Make code unconditional.
56678         [!__ASSUME_32BITUIDS]: Remove conditional code.
56679         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56680         <kernel-features.h>.
56681         [__NR_setresgid] (__setresgid): Do not declare.
56682         [__ASSUME_32BITUIDS]: Make code unconditional.
56683         [!__ASSUME_32BITUIDS]: Remove conditional code.
56684         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56685         <kernel-features.h>.
56686         [__NR_setresuid] (__setresuid): Do not declare.
56687         [__ASSUME_32BITUIDS]: Make code unconditional.
56688         [!__ASSUME_32BITUIDS]: Remove conditional code.
56689         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56690         <kernel-features.h>.
56691         [__ASSUME_32BITUIDS]: Make code unconditional.
56692         [!__ASSUME_32BITUIDS]: Remove conditional code.
56693         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56694         <kernel-features.h>.
56695         [__ASSUME_32BITUIDS]: Make code unconditional.
56696         [!__ASSUME_32BITUIDS]: Remove conditional code.
56697         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56698         <kernel-features.h>.
56699         [__ASSUME_32BITUIDS]: Make code unconditional.
56700         [!__ASSUME_32BITUIDS]: Remove conditional code.
56701         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56702         <kernel-features.h>.
56703         [__ASSUME_32BITUIDS]: Make code unconditional.
56704         [!__ASSUME_32BITUIDS]: Remove conditional code.
56705         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56706         <kernel-features.h>.
56707         [__ASSUME_32BITUIDS]: Make code unconditional.
56708         [!__ASSUME_32BITUIDS]: Remove conditional code.
56709         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56710         <kernel-features.h>.
56711         [__ASSUME_32BITUIDS]: Make code unconditional.
56712         [!__ASSUME_32BITUIDS]: Remove conditional code.
56713         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56714         <kernel-features.h>.
56715         [__ASSUME_32BITUIDS]: Make code unconditional.
56716         [!__ASSUME_32BITUIDS]: Remove conditional code.
56717         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56718         <kernel-features.h>.
56719         [__ASSUME_32BITUIDS]: Make code unconditional.
56720         [!__ASSUME_32BITUIDS]: Remove conditional code.
56721         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56722         <kernel-features.h>.
56723         [__ASSUME_32BITUIDS]: Make code unconditional.
56724         [!__ASSUME_32BITUIDS]: Remove conditional code.
56725         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56726         <kernel-features.h>.
56727         [__ASSUME_32BITUIDS]: Make code unconditional.
56728         [!__ASSUME_32BITUIDS]: Remove conditional code.
56729         * sysdeps/unix/sysv/linux/kernel-features.h
56730         (__ASSUME_SETRESUID_SYSCALL): Remove.
56731         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56732         (__ASSUME_32BITUIDS): Likewise.
56733         (__ASSUME_LDT_WORKS): Likewise.
56734         (__ASSUME_O_DIRECTORY): Likewise.
56735         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56736         architecture but not kernel version.
56737         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56738         (__ASSUME_MMAP2_SYSCALL): Likewise.
56739         (__ASSUME_STAT64_SYSCALL): Likewise.
56740         (__ASSUME_IPC64): Likewise.
56741         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56742         <kernel-features.h>.
56743         [__ASSUME_32BITUIDS]: Make code unconditional.
56744         [!__ASSUME_32BITUIDS]: Remove conditional code.
56745         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56746         <kernel-features.h>.
56747         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56748         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56749         132096]: Remove conditional code.
56750         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56751         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56752         <kernel-features.h>.
56753         [__ASSUME_32BITUIDS]: Make code unconditional.
56754         [!__ASSUME_32BITUIDS]: Remove conditional code.
56755         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56756         <kernel-features.h>.
56757         [__ASSUME_32BITUIDS]: Make code unconditional.
56758         [!__ASSUME_32BITUIDS]: Remove conditional code.
56759         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56760         <kernel-features.h>.
56761         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56762         unconditional.
56763         (__setresgid): Do not declare.
56764         [__ASSUME_32BITUIDS]: Make code unconditional.
56765         [!__ASSUME_32BITUIDS]: Remove conditional code.
56766         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56767         <kernel-features.h>.
56768         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56769         unconditional.
56770         (__setresuid): Do not declare.
56771         [__ASSUME_32BITUIDS]: Make code unconditional.
56772         [!__ASSUME_32BITUIDS]: Remove conditional code.
56773         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56774         <kernel-features.h>.
56775         [__ASSUME_32BITUIDS]: Make code unconditional.
56776         [!__ASSUME_32BITUIDS]: Remove conditional code.
56777         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56778         <kernel-features.h>.
56779         [__ASSUME_32BITUIDS]: Make code unconditional.
56780         [!__ASSUME_32BITUIDS]: Remove conditional code.
56782 2012-05-25  Richard Henderson  <rth@twiddle.net>
56784         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56785         dl_hwcap to ifunc resolver.
56786         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56787         elf_ifunc_invoke.
56788         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56789         dl_hwcap to ifunc resolver.
56790         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56792 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56794         [BZ #14153]
56795         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56796         for |x| <= 2**-26, not 2**-57.
56797         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56798         exception.
56800 2012-05-24  Jeff Law  <law@redhat.com>
56802         * stdio-common/Makefile (tests): Add bug25.
56803         * stdio-common/bug25.c: New test.
56805 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56807         [BZ #13576]
56808         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56809         multiple of MALLOC_ALIGNMENT in size.
56810         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56812 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56814         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56815         Require >= 256.
56816         (FILENAME_MAX): Use macro-int-constant.
56817         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56818         (_IOFBF): Use macro-int-constant.
56819         (_IOLBF): Likewise.
56820         (_IONBF): Likewise.
56821         (SEEK_CUR): Likewise.
56822         (SEEK_END): Likewise.
56823         (SEEK_SET): Likewise.
56824         (TMP_MAX): Likewise.
56825         (EOF): Use macro-int-constant.  Require < 0.
56826         (NULL): Use macro-constant.  Require == 0.
56827         (stdin): Require type to be FILE *.
56828         (stdout): Likewise.
56829         (stderr): Likewise.
56830         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56831         macro-int-constant.
56832         (EXIT_SUCCESS): Likewise.
56833         (NULL): Use macro-constant.  Require == 0.
56834         (RAND_MAX): Use macro-int-constant.
56835         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56836         [C99-based standards] (strtof): Require function.
56837         [C99-based standards] (strtold): Likewise.
56838         [C99-based standards] (strtoll): Likewise.
56839         [C99-based standards] (strtoull): Likewise.
56840         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56841         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56842         [ISO || ISO99 || ISO11] (math.h): Likewise.
56843         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56844         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56847 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56849         [BZ #14132]
56850         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56851         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56852         * intl/dgettext.c (DCGETTEXT): Likewise.
56853         * intl/gettext.c (DCGETTEXT): Likewise.
56854         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56855         * posix/regex_internal.h (gettext): Likewise.
56856         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56857         Remove declaration.
56858         * include/argz.h (__argz_count_internal)
56859         (__argz_stringify_internal): Remove declaration.
56860         (__argz_count, __argz_stringify): Declare hidden proto.
56861         * intl/dcgettext.c: Remove use of INTDEF.
56862         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56863         * string/argz-stringify.c: Likewise.
56864         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56865         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56866         Declare hidden proto.
56867         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56868         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56869         Declare hidden proto.
56870         * include/stdio.h (__asprintf_internal): Don't declare.
56871         (__asprintf): Don't define as macro.  Declare hidden proto.
56872         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56873         (__fsetlocking): Declare hidden proto.
56874         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56875         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56876         hidden proto.
56877         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56878         (_IO_setlinebuf): Remove use of INTUSE.
56879         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56880         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56881         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56882         Remove declaration.
56883         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56884         (_IO_do_flush): Remove use of INTUSE.
56885         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56886         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56887         (_IO_adjust_column, _IO_least_wmarker)
56888         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56889         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56890         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56891         (_IO_default_doallocate, _IO_wdefault_doallocate)
56892         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56893         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56894         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56895         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56896         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56897         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56898         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56899         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56900         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56901         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56902         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56903         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56904         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56905         proto.
56906         (_IO_flush_all_internal, _IO_adjust_column_internal)
56907         (_IO_default_uflow_internal, _IO_default_finish_internal)
56908         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56909         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56910         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56911         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56912         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56913         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56914         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56915         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56916         (_IO_file_close_internal, _IO_file_close_it_internal)
56917         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56918         (_IO_file_init_internal, _IO_file_attach_internal)
56919         (_IO_file_fopen_internal, _IO_file_read_internal)
56920         (_IO_file_sync_internal, _IO_file_seek_internal)
56921         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56922         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56923         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56924         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56925         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56926         (_IO_list_all_internal, _IO_link_in_internal)
56927         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56928         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56929         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56930         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56931         (_IO_do_write_internal, _IO_padn_internal)
56932         (_IO_getline_info_internal, _IO_getline_internal)
56933         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56934         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56935         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56936         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56937         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56938         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56939         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56940         with libc_hidden_ver, remove use of INTUSE.
56941         * libio/genops.c: Likewise.
56942         * libio/freopen.c: Likewise.
56943         * libio/freopen64.c: Likewise.
56944         * libio/iofclose.c: Likewise.
56945         * libio/iofdopen.c: Likewise.
56946         * libio/iofflush.c: Likewise.
56947         * libio/iofflush_u.c: Likewise.
56948         * libio/iofgets.c: Likewise.
56949         * libio/iofgets_u.c: Likewise.
56950         * libio/iofopen.c: Likewise.
56951         * libio/iofopncook.c: Likewise.
56952         * libio/iofread.c: Likewise.
56953         * libio/iofread_u.c: Likewise.
56954         * libio/ioftell.c: Likewise.
56955         * libio/iofwrite.c: Likewise.
56956         * libio/iogetline.c: Likewise.
56957         * libio/iogets.c: Likewise.
56958         * libio/iogetwline.c: Likewise.
56959         * libio/iopadn.c: Likewise.
56960         * libio/iopopen.c: Likewise.
56961         * libio/ioseekoff.c: Likewise.
56962         * libio/ioseekpos.c: Likewise.
56963         * libio/iosetbuffer.c: Likewise.
56964         * libio/iosetvbuf.c: Likewise.
56965         * libio/ioungetc.c: Likewise.
56966         * libio/ioungetwc.c: Likewise.
56967         * libio/iovdprintf.c: Likewise.
56968         * libio/iovsprintf.c: Likewise.
56969         * libio/iovsscanf.c: Likewise.
56970         * libio/memstream.c: Likewise.
56971         * libio/obprintf.c: Likewise.
56972         * libio/oldfileops.c: Likewise.
56973         * libio/oldiofclose.c: Likewise.
56974         * libio/oldiofdopen.c: Likewise.
56975         * libio/oldiofopen.c: Likewise.
56976         * libio/oldiopopen.c: Likewise.
56977         * libio/oldstdfiles.c: Likewise.
56978         * libio/putc.c: Likewise.
56979         * libio/setbuf.c: Likewise.
56980         * libio/setlinebuf.c: Likewise.
56981         * libio/stdfiles.c: Likewise.
56982         * libio/strops.c: Likewise.
56983         * libio/vasprintf.c: Likewise.
56984         * libio/vscanf.c: Likewise.
56985         * libio/vsnprintf.c: Likewise.
56986         * libio/vswprintf.c: Likewise.
56987         * libio/wfiledoalloc.c: Likewise.
56988         * libio/wfileops.c: Likewise.
56989         * libio/wgenops.c: Likewise.
56990         * libio/wmemstream.c: Likewise.
56991         * libio/wstrops.c: Likewise.
56992         * libio/__fpurge.c: Likewise.
56993         * libio/__fsetlocking.c: Likewise.
56994         * assert/assert.c: Likewise.
56995         * debug/fgets_chk.c: Likewise.
56996         * debug/fgets_u_chk.c: Likewise.
56997         * debug/fread_chk.c: Likewise.
56998         * debug/fread_u_chk.c: Likewise.
56999         * debug/gets_chk.c: Likewise.
57000         * debug/obprintf_chk.c: Likewise.
57001         * debug/vasprintf_chk.c: Likewise.
57002         * debug/vdprintf_chk.c: Likewise.
57003         * debug/vsnprintf_chk.c: Likewise.
57004         * debug/vsprintf_chk.c: Likewise.
57005         * malloc/mtrace.c: Likewise.
57006         * misc/error.c: Likewise.
57007         * misc/syslog.c: Likewise.
57008         * stdio-common/asprintf.c: Likewise.
57009         * stdio-common/fxprintf.c: Likewise.
57010         * stdio-common/getw.c: Likewise.
57011         * stdio-common/isoc99_fscanf.c: Likewise.
57012         * stdio-common/isoc99_scanf.c: Likewise.
57013         * stdio-common/isoc99_vfscanf.c: Likewise.
57014         * stdio-common/isoc99_vscanf.c: Likewise.
57015         * stdio-common/isoc99_vsscanf.c: Likewise.
57016         * stdio-common/printf-prs.c: Likewise.
57017         * stdio-common/printf_fp.c: Likewise.
57018         * stdio-common/printf_fphex.c: Likewise.
57019         * stdio-common/printf_size.c: Likewise.
57020         * stdio-common/putw.c: Likewise.
57021         * stdio-common/scanf.c: Likewise.
57022         * stdio-common/sprintf.c: Likewise.
57023         * stdio-common/tmpfile.c: Likewise.
57024         * stdio-common/vfprintf.c: Likewise.
57025         * stdio-common/vfscanf.c: Likewise.
57026         * stdlib/strfmon_l.c: Likewise.
57027         * sunrpc/openchild.c: Likewise.
57028         * sunrpc/xdr_stdio.c: Likewise.
57029         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57030         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57032 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57034         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57036         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57037         in the third column, to generate for the shared library an IFUNC
57038         that uses _dl_vdso_vsym.
57039         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57040         * Makeconfig (object-suffixes-noshared): New variable.
57042         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57043         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57044         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57045         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57047         [BZ #14132]
57048         * include/sys/time.h (__gettimeofday): Remove macro.
57049         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57050         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57051         Remove INTDEF.
57052         (__gettimeofday): Add libc_hidden_def.
57053         (gettimeofday): Add libc_hidden_weak.
57054         * sysdeps/mach/gettimeofday.c: Likewise.
57055         * sysdeps/posix/gettimeofday.c: Likewise.
57056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57057         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57059         (__gettimeofday_internal): Remove strong_alias.
57060         (__gettimeofday): Add libc_hidden_def.
57061         (gettimeofday): Add libc_hidden_weak.
57062         * sysdeps/unix/syscalls.list (gettimeofday):
57063         Remove __gettimeofday_internal alias.
57065 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57066             H.J. Lu  <hongjiu.lu@intel.com>
57068         [BZ #12495]
57069         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57070         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57071         (largebin_index_32_big): New.
57072         (largebin_index): Use it for 16-byte alignment.
57073         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57074         correction with front_misalign.
57076 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57080         Likewise.
57081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57082         Likewise.
57083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57084         Likewise.
57085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57086         Likewise.
57087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57088         Likewise.
57089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57090         Likewise.
57091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57092         Likewise.
57093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57094         Likewise.
57095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57096         Likewise.
57097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57098         Likewise.
57099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57100         Likewise.
57101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57102         Likewise.
57104         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57105         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57107 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57109         [BZ #10846]
57110         [BZ #14036]
57111         * math/libm-test.inc (exp_test): Add test from bug 14036.
57112         (pow_test): Add test from bug 10846.
57114         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57115         and other flags.
57116         (special_function): Do not include flags in test name.
57117         (parse_args): Likewise.
57118         * sysdeps/i386/fpu/libm-test-ulps: Update.
57119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57121         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57124         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57125         exceptions.
57126         * math/libm-test.inc ("Philosophy"): Update comment about
57127         exception testing.
57128         (UNDERFLOW_EXCEPTION): New macro.
57129         (UNDERFLOW_EXCEPTION_OK): Likewise.
57130         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57131         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57132         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57133         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57134         (INVALID_EXCEPTION_OK): Update value.
57135         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57136         (OVERFLOW_EXCEPTION_OK): Likewise.
57137         (IGNORE_ZERO_INF_SIGN): Likewise.
57138         (test_exceptions): Handle underflow exceptions.
57139         (acos_test): Update for underflow exception expectations.
57140         (cexp_test): Likewise.
57141         (clog_test): Likewise.
57142         (clog10_test): Likewise.
57143         (csqrt_test): Likewise.
57144         (ctan_test): Likewise.
57145         (ctanh_test): Likewise.
57146         (exp_test): Likewise.
57147         (exp10_test): Likewise.
57148         (exp2_test): Likewise.
57149         (expm1_test): Likewise.
57150         (fma_test): Likewise.
57151         (j0_test): Likewise.
57152         (jn_test): Likewise.
57153         (nexttoward_test): Likewise.
57154         (pow_test): Likewise.
57155         (scalbn_test): Likewise.
57156         (scalbln_test): Likewise.
57157         (tan_test): Likewise.
57158         (y1_test): Likewise.
57159         * sysdeps/i386/fpu/libm-test-ulps: Update.
57160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57162 2012-05-23  David S. Miller  <davem@davemloft.net>
57164         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57165         (__libc_sigaction): Remove unused local variables.
57167 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57169         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57171 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57173         mktime: avoid signed integer overflow
57174         * time/mktime.c (__mktime_internal): Do not mishandle the case
57175         where diff == INT_MIN.
57177         mktime: simplify computation of average
57178         * time/mktime.c (ranged_convert): Use new time_t_avg function
57179         instead of rolling our own (probably-slower) code.
57181         mktime: do not assume signed right shift propagates sign bit
57182         * time/mktime.c (isdst_differ): New static function.
57183         (__mktime_internal): No need to normalize tm_isdst now.
57184         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57185         tm_isdst values.
57187         mktime: merge another wrapv change from gnulib
57188         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57189         from some compilers.
57191         mktime: remove incorrect attempt at unusual arithmetics
57192         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57193         The code didn't really work on such machines anyway.
57194         (TYPE_MINIMUM): Assume two's complement.
57195         (twos_complement_arithmetic): Verify that long_int and time_t
57196         are two's complement (or unsigned, in the latter case).
57198         mktime: check signed shifts on long_int and time_t, too
57199         * time/mktime.c (SHR): Check that shifts work as desired
57200         on the types long_int and time_t too, as SHR is used on
57201         such types.
57203         mktime: do not assume 'long' is wide enough
57204         * time/mktime.c (verify): Move decl up.
57205         (long_int): New type.
57206         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57207         to remove assumption in the code that 'long' is wide enough to
57208         store year values.  This assumption is not true on x32 and on
57209         some non-glibc platforms.
57211         mktime: merge wrapv change from gnulib
57212         * time/mktime.c (WRAPV): New macro.
57213         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57214         (guess_time_tm, __mktime_internal): Do not assume that signed
57215         integer overflow wraps around; modern compilers generate code
57216         where this assumption is no longer valid.
57218 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57220         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57221         Replace "jmp L(pseudo_end)" with "ret".
57222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57223         Likewise.
57225 2012-05-23  Andreas Jaeger  <aj@suse.de>
57227         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57228         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57230 2012-05-23  Andreas Jaeger  <aj@suse.de>
57231             Maximilian Attems  <max@stro.at>
57233         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57234         New macros.
57236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57239         code so that pseudo_end is just ret and the stack pointer is
57240         correct also for static library in error case.
57242 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57244         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57245         move to syscalls.list.
57246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57251         * manual/install.texi (Running make install): Do not mention Linux
57252         kernel version for which pt_chown is not needed.
57253         (Linux): Do not mention problems with nscd with 2.0 kernels.
57254         * INSTALL: Regenerated.
57256 2012-05-23  Andreas Jaeger  <aj@suse.de>
57258         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57259         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57260         macro.
57261         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57262         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57263         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57264         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57265         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57268         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57269         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57271         * sysdeps/unix/sysv/linux/bits/in.h
57272         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57274 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57276         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57277         (PREPARE_VERSION): Just use assert instead, it will be elided
57278         under [NDEBUG] anyway.
57280 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57282         * sysdeps/unix/sysv/linux/Makefile: Include
57283         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57284         (sysdep_routines): Remove sysctl.
57285         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57286         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57287         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57288         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57289         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57291 2012-05-22  Andreas Jaeger  <aj@suse.de>
57293         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57294         that pseudo_end is just ret and the stack pointer is correct also
57295         for static library in error case.
57297 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57299         [BZ #14122]
57300         * nss/nsswitch.c (defconfig_entries): New variable.
57301         (__nss_database_lookup): Don't leak defconfig entries.
57302         (nss_parse_service_list): Don't leak on error paths.
57303         (free_database_entries): New function.
57304         (free_defconfig): New function.
57305         (free_mem): Move common code to free_database_entries.
57307 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57309         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57310         Add arch_prctl.
57311         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57313         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57314         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57316         New macro.
57317         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57318         (INTERNAL_SYSCALL_TYPES): Likewise.
57319         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57320         (LOAD_REGS_TYPES_[1-6]): Likewise.
57321         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57322         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57324 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57326         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57327         copysignl for GLIBC_2_0.
57328         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57329         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57331         logbl for GLIBC_2_0.
57332         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57333         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57335 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57338         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57340         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57341         Use "neg %eax".
57343         * time/mktime.c: Update copyright years.
57345 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57347         mktime: merge comment-quoting-style change from gnulib
57348         * time/mktime.c: Quote 'like this' in comments.
57349         The GNU coding standards suggest that we no longer quote `like this',
57350         as "`" and "'" are typically rendered asymmetrically nowadays.
57351         The typical gnulib style is to quote 'like this' when quoting
57352         code, and "like this" when quoting English.
57354         * time/mktime.c (compile-command): Add "-I.".
57356         mktime: merge mktime-internal.h change from gnulib
57357         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57359         mktime: merge time_r change from gnulib
57360         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57362         mktime: merge DEBUG change from gnulib
57363         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57364         case system <time.h> has a #define.
57366         mktime: merge <sys/types.h> change from gnulib
57367         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57368         since <time.t> is now guaranteed to define time_t.
57370         mktime: merge HAVE_CONFIG_H change from gnulib
57371         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57376         Use "neg %eax".
57378         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57379         __rlim_t cast.
57380         (struct rusage): Use anonymous union to pad each field to
57381         __syscall_slong_t.
57383 2012-05-21  David S. Miller  <davem@davemloft.net>
57385         * Makefules (o-iterator): Remove .s cases.
57386         (compile-command.s): Delete.
57387         (COMPILE.s): Delete.
57388         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57390 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57392         * configure.in (libc_cv_predef_stack_protector): Only consider
57393         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57394         * configure: Regenerated.
57396 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57399         New macro.  Use R*LP on int and pointer.
57400         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57401         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57402         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57403         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57405         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57406         [__WORDSIZE_TIME64_COMPAT32] instead of
57407         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57408         (struct utmp): Likewise.
57409         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57410         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57411         Renamed to ...
57412         (__WORDSIZE_TIME64_COMPAT32): This.
57413         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57414         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57415         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57416         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57417         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57418         (__WORDSIZE_TIME64_COMPAT32): New macro.
57420 2012-05-21  Andreas Jaeger  <aj@suse.de>
57422         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57423         only if [SHARED]. Add prototype for __wcschr_ia32.
57425 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57427         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57428         of %rbp unmolested in the jmp_buf while mangling the low bits.
57429         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57430         unmolested high bits of %rbp while demangling the low bits.
57431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57433 2012-05-21  Andreas Jaeger  <aj@suse.de>
57435         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57436         * sunrpc/svc_simple.c: Use it for registerrpc.
57437         * sunrpc/xcrypt.c: Use it for passwd2des.
57439         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57441 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57443         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57444         Don't define if [__SYSCALL_WORDSIZE != 32].
57445         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57446         New macro.
57448 2012-05-21  Bruno Haible  <bruno@clisp.org>
57449             Andreas Jaeger  <aj@suse.de>
57451         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57452         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57453         inptr and inend for must_buffer_ch.
57454         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57455         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57456         * stdio-common/Makefile (tests): Remove bug15.
57457         (bug15-ENV): Remove macro.
57458         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57459         anymore.
57461 2012-05-19  Andreas Jaeger  <aj@suse.de>
57462             Roland McGrath  <roland@hack.frob.com>
57464         * manual/contrib.texi: Completely rewritten. It contains now an
57465         alphabetical list of contributors and their contributions.
57467 2012-05-21  Richard Henderson  <rth@twiddle.net>
57469         * misc/getauxval.c (__getauxval): Use unsigned long int.
57470         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57471         (getauxval): Use unsigned long int.
57473 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57475         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57477 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57479         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57480         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57481         __alignof__ (long double).
57483 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57487 2012-05-20  Richard Henderson  <rth@twiddle.net>
57489         * misc/getauxval.c: New file.
57490         * misc/sys/auxv.h: New file.
57491         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57492         (routines): Add getauxval.
57493         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57494         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57495         * elf/dl-sysdep.c (_dl_auxv): Remove.
57496         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57497         * elf/dl-support.c (_dl_auxv): New variable.
57498         (_dl_aux_init): Initialize it.
57499         * manual/startup.texi (Auxiliary Vector): New node.
57500         * sysdeps/generic/bits/hwcap.h: New file.
57501         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57502         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57503         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57504         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57505         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57506         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57508         Update.
57509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57512         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57518 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57522 2012-05-19  David S. Miller  <davem@davemloft.net>
57524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57526 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57528         [BZ #14123]
57529         * math/s_ccosh.c: Include <float.h>
57530         (__ccosh): Avoid internal overflow calculating sinh and cosh
57531         values before multiplying by sin and cos values.
57532         * math/s_ccoshf.c: Likewise.
57533         * math/s_ccoshl.c: Likewise.
57534         * math/s_csin.c: Likewise.
57535         * math/s_csinf.c: Likewise.
57536         * math/s_csinl.c: Likewise.
57537         * math/s_csinh.c: Likewise.
57538         * math/s_csinhf.c: Likewise.
57539         * math/s_csinhl.c: Likewise.
57540         * math/libm-test.inc (ccos_test): Add more tests.
57541         (ccosh_test): Likewise.
57542         (csin_test): Likewise.
57543         (csinh_test): Likewise.
57544         * sysdeps/i386/fpu/libm-test-ulps: Update.
57545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57547 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57549         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57550         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57552         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57554 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57556         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57557         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57558         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57559         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57560         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57561         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57562         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57563         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57564         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57565         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57566         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57567         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57568         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57569         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57570         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57571         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57572         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57573         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57574         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57575         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57576         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57577         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57578         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57579         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57580         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57581         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57582         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57583         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57584         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57585         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57586         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57588 2012-05-18  Andreas Jaeger  <aj@suse.de>
57590         * csu/.gitignore: Delete.
57592 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57594         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57595         (timex): Use __syscall_slong_t.
57597 2012-05-18  Andreas Jaeger  <aj@suse.de>
57598             Carlos O'Donell  <carlos_odonell@mentor.com>
57600         * manual/install.texi (Configuring and compiling): Update
57601         description about files modified in the source directory.
57602         * INSTALL: Regenerated.
57604 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57606         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57607         value.  Use "or" to set return value to -1.
57608         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57609         negate return value.
57611 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57613         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57614         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57615         failure if the compiler has Graphite support disabled.
57616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57617         Likewise.
57618         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57619         (CFLAGS-memmove.c): Likewise.
57620         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57621         Likewise.
57623 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57625         * sysdeps/x86_64/x32/_itoa.h: New file.
57627         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57628         getdents system call only if kernel and user dirents have the
57629         same d_ino and d_off.
57631         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57632         LLONG_MAX != LONG_MAX.
57633         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57634         (_fitoa_word): Likewise.
57636         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57637         years.
57638         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57640         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57642         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57643         include <bits/wordsize.h>.  Check __x86_64__ instead of
57644         __WORDSIZE.
57645         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57646         if __x86_64__ is defined.  Use anonymous union on fpstate.
57648         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57649         anonymous union.
57651 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57653         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57654         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57655         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57656         Refer to _rtld_local_ro instead of _rtld_global_ro.
57657         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57658         Likewise.
57659         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57660         Likewise.
57661         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57662         Likewise.
57663         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57664         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57665         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57667         [BZ #10882]
57668         * sysdeps/powerpc/powerpc32/dl-machine.c
57669         (__elf_machine_runtime_setup) [PROF]: Don't reference
57670         _dl_prof_resolve.
57672 2012-05-18  Andreas Jaeger  <aj@suse.de>
57674         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57675         function only available for GCCs before 3.4 since GCC 3.4
57676         introduced a builtin.
57677         (lrint): Likewise.
57678         (llrintf): Likewise.
57679         (llrint): Likewise.
57680         (fmaxf): Likewise.
57681         (fmax): Likewise.
57682         (fminf): Likewise.
57683         (fmin): Likewise.
57684         (rint): Likewise.
57685         (rintf): Likewise.
57686         (nearbyint): Likewise.
57687         (nearbyintf): Likewise.
57688         (ceil): Likewise.
57689         (ceilf): Likewise.
57690         (floor): Likewise.
57691         (floorf): Likewise.
57693 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57695         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57696         on both fields and cast pointer to __syscall_ulong_t.
57698         * bits/types.h (__fsword_t): New type.
57699         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57700         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57702         (__FSWORD_T_TYPE): Likewise.
57703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57704         (__FSWORD_T_TYPE): Likewise.
57705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57706         (__FSWORD_T_TYPE): Likewise.
57707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57708         (__FSWORD_T_TYPE): Likewise.
57709         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57710         __SWORD_TYPE with __fsword_t.
57711         (statfs64): Likewise.
57713 2012-05-17  David S. Miller  <davem@davemloft.net>
57715         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57717 2012-05-17  Andreas Jaeger  <aj@suse.de>
57719         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57720         warning.
57722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57724         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57726 2012-05-17  Andreas Jaeger  <aj@suse.de>
57728         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57729         when it is used.
57731 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57733         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57735 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57737         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57738         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57740 2012-05-17  Andreas Jaeger  <aj@suse.de>
57741             Carlos O'Donell  <carlos_odonell@mentor.com>
57743         [BZ #14059]
57744         * sysdeps/x86_64/multiarch/init-arch.h
57745         (bit_YMM_Usable): Rename to...
57746         (bit_AVX_Usable): ... this.
57747         (bit_FMA4_Usable): New macro.
57748         (bit_XMM_state): New macro.
57749         (bit_YMM_state): New macro.
57750         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57751         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57752         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57753         (CPUID_OSXSAVE): New macro.
57754         (CPUID_AVX): New macro.
57755         (CPUID_FMA4): New macro.
57756         (index_YMM_Usable): Rename to...
57757         (index_AVX_Usable): ... this.
57758         (HAS_AVX): Use HAS_ARCH_FEATURE.
57759         (HAS_FMA4): Likewise.
57760         (HAS_YMM_USABLE): Remove.
57761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57762         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57763         are present.
57764         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57765         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57766         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57767         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57768         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57770 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57772         * math/libm-test.c: Support platforms without multiple rounding modes.
57773         * math/bug-nextafter.c: Support platforms without FP exceptions.
57774         * math/bug-nexttoward.c: Likewise.
57775         * math/test-fenv.c: Likewise.
57776         * math/test-misc.c: Likewise.
57777         * stdlib/bug-getcontext.c: Likewise.
57779 2012-05-17  Andreas Jaeger  <aj@suse.de>
57781         * manual/examples/search.c (critter_cmp): Change signature to
57782         avoid warnings.
57783         * manual/string.texi (Collation Functions): Likewise.
57785 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57787         * bits/types.h: Fold copyright years.
57788         * bits/typesizes.h: Likewise.
57789         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57791         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57793         * time/time.h: Likewise.
57795 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57797         [BZ #208]
57798         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57799         in instead of returning them.  Return void.
57800         (__libc_mallinfo): Accumulate over all arenas.
57801         (__malloc_stats): Adjust for change in int_mallinfo interface.
57803 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57805         [BZ #10375]
57806         * configure.in (NM): Add AC_CHECK_TOOL for it.
57807         (libc_extra_cflags): New substituted variable.
57808         Check for -fstack-protector being used implicitly.
57809         * configure: Regenerated.
57810         * config.make.in (config-extra-cflags): New variable,
57811         gets @libc_extra_cflags@.
57812         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57814         [BZ #10375]
57815         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57816         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57817         * configure: Regenerated.
57818         * config.make.in (CPPUNDEFS): New substituted variable.
57819         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57820         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57821         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57825         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57826         (mq_attr): Use __syscall_slong_t.
57828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57830         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57831         Check __x86_64__ instead of __WORDSIZE.
57832         (_STAT_VER_LINUX): Likewise.
57833         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57834         __syscall_ulong_t and __syscall_slong_t.
57835         (stat64): Likewise.
57837 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57839         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57843         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57847         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57848         __syscall_ulong_t.
57850         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57851         include <bits/wordsize.h>.  Check __x86_64__ instead of
57852         __WORDSIZE.
57853         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57854         defined.
57855         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57857         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57858         include <bits/wordsize.h>.  Check __x86_64__ instead of
57859         __WORDSIZE.
57860         (user_regs_struct): Use "__extension__ unsigned long long"
57861         instead of "unsigned long" if __x86_64__ is defined.
57862         (user): Likewise.  Pad after pointer field if __ILP32__ is
57863         defined.
57865 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57867         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57868         versions 5 to 9.
57869         * configure: Regenerated.
57870         * manual/install.texi (texinfo): Increase version requirement to
57871         4.5 or later.
57872         * INSTALL: Regenerated.
57874         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57878         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57880         * sysdeps/x86_64/x32/ffs.c: New file.
57882         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57883         __syscall_ulong_t.
57884         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57885         defined.  Use __syscall_ulong_t.
57886         (shminfo): Use __syscall_ulong_t.
57887         (shm_info): Likewise.
57889         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57890         __syscall_ulong_t.
57892         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57893         <bits/wordsize.h>.
57894         (msgqnum_t): Use __syscall_ulong_t.
57895         (msglen_t): Likewise.
57896         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57897         __syscall_ulong_t.
57899         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57900         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57902         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57904         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57905         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57907         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57908         __syscall_slong_t.
57910         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57911         include <bits/wordsize.h>.  Check __x86_64__ instead of
57912         __WORDSIZE.
57914         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57915         "unsigned long long int" if __x86_64__ is defined.
57916         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57918         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57919         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57920         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57922         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57923         <stdint.h>.
57924         (GET_PC): Cast to uintptr_t first.
57925         (GET_FRAME): Likewise.
57926         (GET_STACK): Likewise.
57928         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57929         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57931         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57933         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57934         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57935         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57936         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57937         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57938         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57939         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57940         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57941         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57942         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57943         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57944         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57945         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57946         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57947         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57948         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57949         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57950         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57951         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57952         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57953         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57955         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57956         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57958 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57960         * Makerules (+depfiles): Also collect depfiles from .oS in
57961         $(extra-objs).
57962         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57963         .oS, $(libnldbl-routines)).
57965         * Makerules (native-compile-mkdep-flags): Define.
57966         * sunrpc/Makefile (extra-objs): Add $(addprefix
57967         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57968         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57969         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57970         calling $(make-target-directory).
57972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57974         * bits/types.h (__snseconds_t): Removed.
57975         * time/time.h (struct timespec): Replace __snseconds_t with
57976         __syscall_slong_t.
57977         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57978         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57979         Likewise.
57980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57981         (__SNSECONDS_T_TYPE): Likewise.
57982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57983         (__SNSECONDS_T_TYPE): Likewise.
57984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57985         (__SNSECONDS_T_TYPE): Likewise.
57987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57989         * sysdeps/mach/hurd/bits/typesizes.h
57990         (__SYSCALL_SLONG_TYPE): New macro.
57991         (__SYSCALL_ULONG_TYPE): Likewise.
57993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57995         * bits/types.h (__syscall_slong_t): New type.
57996         (__syscall_ulong_t): Likewise.
57998         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57999         (__SYSCALL_ULONG_TYPE): Likewise.
58000         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58001         (__SYSCALL_SLONG_TYPE): Likewise.
58002         (__SYSCALL_ULONG_TYPE): Likewise.
58003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58004         (__SYSCALL_SLONG_TYPE): Likewise.
58005         (__SYSCALL_ULONG_TYPE): Likewise.
58006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58007         (__SYSCALL_SLONG_TYPE): Likewise.
58008         (__SYSCALL_ULONG_TYPE): Likewise.
58010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58012         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58013         Add sigaltstack-offsets.sym.
58014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58015         <sigaltstack-offsets.h>.
58016         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58017         longjmp_msg pointer.
58018         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58019         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58020         signal stack.
58021         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58023 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58025         * elf/stackguard-macros.h: Remove file.
58026         * sysdeps/generic/stackguard-macros.h: New file.
58027         * sysdeps/i386/stackguard-macros.h: Likewise.
58028         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58029         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58030         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58031         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58032         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58033         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58034         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58035         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58036         <elf/stackguard-macros.h>.
58038         [BZ #14109]
58039         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58040         __aligned__ in attribute.
58041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58042         (gregset_t): Likewise.
58044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58046         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58047         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58048         * sysdeps/x86_64/x32/Implies-after: New file.
58050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58052         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58053         and access return value for _dl_profile_fixup.  Use R10_LP to
58054         load frame size.
58056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58058         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58062         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58063         * sysdeps/x86_64/x32/sysdep.h: New file.
58065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58067         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58068         * sysdeps/x86_64/setjmp.S: Likewise.
58070 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58072         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58073         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58074         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58075         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58076         remove unused global constant.
58078 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58080         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58081         include of <not-cancel.h>.
58083 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58085         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58087 2012-05-15  Jeff Law  <law@redhat.com>
58088             Andreas Jaeger  <aj@suse.de>
58090         [BZ #13594]
58091         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58092         out from...
58093         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58094         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58095         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58096         code changing __hst_map_handle.map.
58098 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58100         * configure.in (sysnames): Look for Implies-before and Implies-after
58101         files.
58102         * configure: Regenerated.
58104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58106         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58107         8-byte data alignment with LP_SIZE alignment.
58109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58111         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58112         into R10_LP.
58114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58116         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58120         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58121         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58123         Likewise.
58124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58128         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58129         (stackinfo_sub_sp): Likewise.
58131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58133         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58134         RAX_LP.
58136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58139         into R*_LP.
58141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58143         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58144         sizes into R*_LP.
58146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58148         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58152         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58153         into R11_LP and load __x86_64_shared_cache_size_half into
58154         R8_LP.
58156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58159         R8_LP.
58161 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58164         logb for POWER7.
58165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58166         logbf for POWER7.
58167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58168         logbl for POWER7.
58169         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58170         powerpc32/power7/fpu/s_logb.c via #include.
58171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58172         powerpc32/power7/fpu/s_logbf.c via #include.
58173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58174         powerpc32/power7/fpu/s_logbl.c via #include.
58176 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58178         * README.libm: Remove file.
58180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58182         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58183         count for x32.  Use R*_LP and omit operand-size suffix.
58185 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58187         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58188         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58189         * sysdeps/x86_64/x32/shlib-versions: New file.
58191 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58193         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58194         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58195         Use _dl_fatal_printf instead.
58197 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58199         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58200         set if not set by the user.  Do not allow for being unset.
58201         * sysdeps/unix/sysv/linux/configure: Regenerated.
58203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58205         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58206         the `q' suffix from lea and replace .quad with ASM_ADDR.
58208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58211         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58212         instead of $17.
58213         (PTR_DEMANGLE): Likewise.
58215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58217         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58218         (LP_OP): Likewise.
58219         (ASM_ADDR): Likewise.
58220         (RAX_LP): Likewise.
58221         (RBP_LP): Likewise.
58222         (RBX_LP): Likewise.
58223         (RCX_LP): Likewise.
58224         (RDI_LP): Likewise.
58225         (RSI_LP): Likewise.
58226         (RSP_LP): Likewise.
58227         (R8_LP): Likewise.
58228         (R9_LP): Likewise.
58229         (R10_LP): Likewise.
58230         (R10_LP): Likewise.
58231         (R11_LP): Likewise.
58232         (R12_LP): Likewise.
58233         (R13_LP): Likewise.
58234         (R14_LP): Likewise.
58235         (R15_LP): Likewise.
58237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58239         * sysdeps/x86_64/x32/dl-machine.h: New file.
58241 2012-05-14  Andreas Jaeger  <aj@suse.de>
58243         * manual/Makefile (subdir): Remove export of subdir.
58244         (all): Remove target.
58245         (.PHONY): Remove all from list.
58246         (mkinstalldirs): Remove.
58247         (.PHONY): Remove installdirs from list.
58248         ($(inst_infodir)/libc.info): Use make-target-directory.
58249         (installdirs): Remove.
58250         (subdir_%): Remove.
58251         (glibc-targets): Remove.
58252         (lib): Remove.
58253         (stubs): Remove.
58254         ($(objpfx)stubs ../po/manual.pot): Remove.
58255         ($(objpfx)stamp%): Remove.
58256         (make-target-directory): Remove.
58257         (subdir_install): Remove.
58258         (routines): Remove.
58259         (aux): Remove.
58260         (sources): Remove.
58261         (objects): Remove.
58262         (headers): Remove.
58264         [BZ #13750]
58265         * manual/.gitignore: Remove, it's not needed anymore.
58266         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58267         all files in it.
58268         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58269         directory.
58270         (texis): Renamed to $(objpfx)texis.
58271         (texis-path): New, contains path to generated files.
58272         (chapters.%): Use texis-path for complete path, add extra argument
58273         libc-texinfo.sh.
58274         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58275         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58276         (summary,texi, stamp-summary): Use complete path of
58277         files. Generate files in build dir.
58278         (dir-add.texi): Build in build dir.
58279         (libm-err.texi,stamp-libm-err): Likewise.
58280         (version.texi, stamp-version): Likewise.
58281         (.%c.texi): Likewise.
58282         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58283         (mostlyclean): Remove target.
58284         (realclean): Remove target.
58285         (generated): Add new variable with contents from mostlyclean and
58286         realclean, remove entries duplicated in common-mostlyclean, add
58287         stamp-libm-err and stamp-version.
58288         (generated-dirs): Add libc directory.
58289         ($(inst_infodir)/libc.info): Install files from build dir.
58291         * manual/install.texi (Configuring and compiling): Adjust since
58292         the info files are not part of the tar ball anymore.
58294 2012-05-14  Andreas Jaeger  <aj@suse.de>
58296         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58297         variable.
58299 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58301         [BZ #13717]
58302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58303         to 2.2.0 where earlier.
58304         * sysdeps/unix/sysv/linux/configure: Regenerated.
58305         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58306         Remove conditional code.
58307         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58308         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58309         Remove conditional code.
58310         [!__NR_lchown]: Likewise.
58311         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58312         [__NR_lchown]: Likewise.
58313         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58314         comment referencing __ASSUME_LCHOWN_SYSCALL.
58315         * sysdeps/unix/sysv/linux/i386/sigaction.c
58316         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58317         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58318         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58319         Remove conditional code.
58320         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58321         (__protocol_available): Remove #if 0 code.
58322         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58323         conditional code.
58324         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58325         * sysdeps/unix/sysv/linux/kernel-features.h
58326         (__ASSUME_GETCWD_SYSCALL): Don't define.
58327         (__ASSUME_REALTIME_SIGNALS): Likewise.
58328         (__ASSUME_PREAD_SYSCALL): Likewise.
58329         (__ASSUME_PWRITE_SYSCALL): Likewise.
58330         (__ASSUME_POLL_SYSCALL): Likewise.
58331         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58332         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58333         non-SPARC.
58334         (__ASSUME_SIOCGIFNAME): Don't define.
58335         (__ASSUME_MSG_NOSIGNAL): Likewise.
58336         (__ASSUME_SENDFILE): Define unconditionally.
58337         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58338         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58339         conditional code.
58340         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58341         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58342         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58343         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58344         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58345         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58346         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58348         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58349         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58354         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58360         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58363         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58366         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58369         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58371         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58372         Remove conditional code.
58373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58374         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58375         Remove conditional code.
58376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58377         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58378         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58379         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58380         Remove conditional code.
58381         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58382         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58383         Remove conditional code.
58384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58385         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58386         Remove conditional code.
58387         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58388         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58389         Remove conditional code.
58390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58391         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58392         Remove conditional code.
58393         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58394         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58397         * sysdeps/unix/sysv/linux/sigaction.c
58398         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58399         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58400         * sysdeps/unix/sysv/linux/sigpending.c
58401         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58402         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58403         * sysdeps/unix/sysv/linux/sigprocmask.c
58404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58406         * sysdeps/unix/sysv/linux/sigsuspend.c
58407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58409         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58410         (__libc_missing_rt_sigs): Remove.
58411         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58412         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58413         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58414         Remove conditional code.
58415         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58416         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58417         return 1.
58418         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58419         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58420         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58421         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58423 2012-05-14  Andreas Jaeger  <aj@suse.de>
58425         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58426         it's not used in glibc.
58427         (__coshm1): Likewise.
58428         (__acosh1p): Likewise.
58429         (__sgn): Likewise.
58431         * manual/string.texi (Copying and Concatenation): Add missing
58432         variable in concat example.
58433         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58437         [BZ #14103]
58438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58439         __builtin_clzl with __builtin_clzll.
58441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58443         [BZ #14104]
58444         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58445         libc_freeres_ptr.
58447 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58449         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58450         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58451         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58452         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58454 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58456         * NEWS: Update ia64 info.
58458 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58460         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58461         used as bcopy.
58463 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58465         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58466         * sysdeps/unix/syscalls.list (dup3): Likewise.
58467         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58468         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58470 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58472         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58473         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58475 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58477         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58478         thread pointer.
58479         (TLS_IE): Use mov/add instead of movq/addq to load thread
58480         pointer.
58481         (TLS_GD_PREFIX): New.
58482         (TLS_GD): Use it.
58484 2012-05-11  David S. Miller  <davem@davemloft.net>
58486         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58487         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58488         (_FPU_SETCW): Likewise.
58490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58492         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58493         is 32-byte aligned.
58495 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58497         [BZ #11837]
58498         * iconvdata/gb18030.c: Update tables.
58499         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58500         characters specially.
58501         (BODY for TO_LOOP): Add encoding of missing ranges.
58503 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58505         [BZ #13673]
58506         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58507         * sysdeps/mach/hurd/dup3.c: Likewise.
58508         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58509         * sysdeps/powerpc/memmove.c:: Likewise.
58511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58514         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58516 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58518         * elf/elf.h (R_X86_64_RELATIVE64): New.
58519         (R_X86_64_NUM): Updated.
58520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58521         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58522         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58523         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58524         tst-quad1pie tst-quad2pie
58525         (modules-names): Add tst-quadmod1 tst-quadmod2.
58526         ($(objpfx)tst-quad1): New dependency.
58527         ($(objpfx)tst-quad2): Likewise.
58528         ($(objpfx)tst-quad1pie): Likewise.
58529         ($(objpfx)tst-quad2pie): Likewise.
58530         * sysdeps/x86_64/tst-quad1.c: New file.
58531         * sysdeps/x86_64/tst-quad1pie.c: New file.
58532         * sysdeps/x86_64/tst-quad2.c: Likewise.
58533         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58534         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58535         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58536         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58537         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58541         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58542         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58543         * streams/stropts.h (t_scalar_t): Define type.
58545         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58546         (_PATH_PRESERVE): Set to "/var/lib".
58547         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58549         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58550         instead of int.
58552         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58553         if __dir_mkfile succeeded.
58555         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58556         checking for _hurd_dtablesize.  Unlock it right after having
58557         finished _hurd_dtable allocation.
58559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58561         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58562         * sysdeps/mach/hurd/configure: Regenerated.
58563         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58564         special-casing to...
58565         * sysdeps/gnu/configure.in: ... this new file.
58566         * sysdeps/unix/sysv/linux/configure: Regenerated.
58567         * sysdeps/gnu/configure: New generated file.
58569         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58570         for Linux: use nsec instead of usec, as well as:
58571         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58572         members of type struct timespec.
58573         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58574         New macros.
58575         (struct stat64): Likewise.
58576         (_STATBUF_ST_NSEC): New macro.
58577         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58579         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58580         __strtoul_internal rather than strtoul.
58582 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58584         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58585         and reject them.
58587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58589         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58590         which preserves existing values.
58591         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58593 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58595         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58596         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58597         greater than FD_SETSIZE.
58599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58601         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58602         allocated, call __vm_protect to finish enabling the existing space, and
58603         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58604         allocate the remainder.
58606 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58608         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58609         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58613         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58614         sysdeps/mach/hurd/readlink.c.
58616         * posix/tst-sysconf.c (posix_options): Only use
58617         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58618         _POSIX_SYNCHRONIZED_IO when they are defined
58619         * sysdeps/mach/hurd/bits/posix_opt.h:
58620         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58621         (_XOPEN_REALTIME): Undefine macro.
58622         (_XOPEN_REALTIME_THREADS): Undefine macro.
58623         (_XOPEN_SHM): Undefine macro.
58624         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58625         macro to -1.
58626         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58627         macro to -1.
58628         (_POSIX_ASYNC_IO): Undefine macro.
58629         (_POSIX_PRIORITIZED_IO): Undefine macro.
58630         (_POSIX_SPIN_LOCKS): Define macro to -1.
58632         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58633         SA_NODEFER, SA_RESETHAND.
58634         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58635         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58636         F_DUPFD_CLOEXEC.
58638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58640         * elf/Makefile (pldd-modules): Define unconditionally.
58642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58644         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58648         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58649         Return ENOENT when name is empty.
58650         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58654         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58656         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58660         Fix mlock in all cases except non-readable pages.
58661         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58662         instead of VM_PROT_ALL as parameter to __vm_wire function.
58664         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58665         (__mkdir): When path is `/', just fail with EEXIST.
58666         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58670         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58671         <sys/uio.h> (for writev).
58672         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58673         and <sys/param.h> (for MIN).
58675 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58677         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58678         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58679         if interrupted.
58681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58683         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58684         Depend on against $(link-rpcuserlibs).
58686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58688         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58689         (__libc_stack_end): Do not use attribute_relro.
58690         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58691         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58692         to libthread-provided value.
58693         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58694         attribute_relro.
58696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58698         [BZ #3748]
58699         * bits/libc-lock.h (__libc_once_get): New macro.
58700         * sysdeps/mach/bits/libc-lock.h: Likewise.
58701         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58702         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58703         instead of using implementation details.
58705         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58706         * libio/freopen.c: Likewise.
58707         * libio/freopen64.c: Likewise.
58708         * misc/syslog.c: Likewise.
58709         * nscd/connections.c: Likewise.
58710         * nscd/netgroupcache.c: Likewise.
58711         * sysdeps/posix/getcwd.c: Likewise.
58713 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58715         * math/w_ilogbf.c: Add #include <limits.h>.
58717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58719         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58720         path instead of returning without unlocking.
58722         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58723         immediate-write ioctls.
58724         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58728         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58729         __builtin_frame_address instead of making assumptions about the
58730         location of the return address relative to DATA.  Force early load of
58731         the return address.
58732         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58733         __builtin_frame_address.
58735         dup3 for GNU Hurd.
58736         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58737         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58738         implement dup3 and do some further code clean-ups.
58739         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58740         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58744         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58746         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58747         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58748         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58749         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58750         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58751         d->port.lock.
58753         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58754         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58755         when handler == SIG_ERR, not when handler != SIG_ERR.
58757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58759         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58760         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58761         definitions.
58763         accept4 for GNU Hurd.
58764         * include/sys/socket.h (__libc_accept4): New prototype.
58765         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58766         to implement __libc_accept4.
58767         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58768         __libc_accept4.
58769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58771         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58772         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58773         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58774         signal-defines.sym.
58776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58778         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58780 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58782         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58783         assertion on O_CLOEXEC flag.
58784         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58785         * hurd/intern-fd.c: Likewise.
58786         * hurd/port2fd.c: Likewise.
58788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58790         [BZ #3906]
58791         * bits/in.h (IPV6_PKTINFO): Define new macro.
58792         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58794 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58796         [BZ #13954]
58797         [BZ #13955]
58798         [BZ #13956]
58799         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58800         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58801         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58802         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58804         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58805         * math/libm-test.inc (logb_test) : Additional logb tests.
58807 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58808             Andreas Jaeger  <aj@suse.de>
58810         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58811         * configure: Regenerated.
58812         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58813         * config.make.in (link-obsolete-rpc): New substituted variable.
58814         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58815         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58816         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58817         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58818         so that libc.a contains the symbols.
58819         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58820         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58821         * sunrpc/auth_none.c: Likewise.
58822         * sunrpc/auth_unix.c: Likewise.
58823         * sunrpc/authdes_prot.c: Likewise.
58824         * sunrpc/authuxprot.c: Likewise.
58825         * sunrpc/clnt_gen.c: Likewise.
58826         * sunrpc/clnt_perr.c: Likewise.
58827         * sunrpc/clnt_raw.c: Likewise.
58828         * sunrpc/clnt_simp.c: Likewise.
58829         * sunrpc/clnt_tcp.c: Likewise.
58830         * sunrpc/clnt_udp.c: Likewise.
58831         * sunrpc/clnt_unix.c: Likewise.
58832         * sunrpc/des_crypt.c: Likewise.
58833         * sunrpc/des_soft.c: Likewise.
58834         * sunrpc/get_myaddr.c: Likewise.
58835         * sunrpc/key_call.c: Likewise.
58836         * sunrpc/key_prot.c: Likewise.
58837         * sunrpc/netname.c: Likewise.
58838         * sunrpc/pm_getmaps.c: Likewise.
58839         * sunrpc/pm_getport.c: Likewise.
58840         * sunrpc/pmap_clnt.c: Likewise.
58841         * sunrpc/pmap_prot.c: Likewise.
58842         * sunrpc/pmap_prot2.c: Likewise.
58843         * sunrpc/pmap_rmt.c: Likewise.
58844         * sunrpc/publickey.c: Likewise.
58845         * sunrpc/rpc_cmsg.c: Likewise.
58846         * sunrpc/rpc_common.c: Likewise.
58847         * sunrpc/rpc_dtable.c: Likewise.
58848         * sunrpc/rpc_prot.c: Likewise.
58849         * sunrpc/rpc_thread.c: Likewise.
58850         * sunrpc/rtime.c: Likewise.
58851         * sunrpc/svc.c: Likewise.
58852         * sunrpc/svc_auth.c: Likewise.
58853         * sunrpc/svc_raw.c: Likewise.
58854         * sunrpc/svc_run.c: Likewise.
58855         * sunrpc/svc_tcp.c: Likewise.
58856         * sunrpc/svc_udp.c: Likewise.
58857         * sunrpc/svc_unix.c: Likewise.
58858         * sunrpc/svcauth_des.c: Likewise.
58859         * sunrpc/xcrypt.c: Likewise.
58860         * sunrpc/xdr.c: Likewise.
58861         * sunrpc/xdr_array.c: Likewise.
58862         * sunrpc/xdr_float.c: Likewise.
58863         * sunrpc/xdr_intXX_t.c: Likewise.
58864         * sunrpc/xdr_mem.c: Likewise.
58865         * sunrpc/xdr_rec.c: Likewise.
58866         * sunrpc/xdr_ref.c: Likewise.
58867         * sunrpc/xdr_sizeof.c: Likewise.
58868         * sunrpc/xdr_stdio.c: Likewise.
58870 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58873         change.  Update copyright years.
58875 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58877         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58879 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58880             Joseph Myers  <joseph@codesourcery.com>
58881             Paul Pluzhnikov  <ppluzhnikov@google.com>
58883         [BZ #14012]
58884         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58885         requiring rpcgen.
58886         [cross-compiling] (extra-libs): Likewise.
58887         [cross-compiling] (extra-libs-others): Likewise.
58888         [cross-compiling] (librpcsvc-routines): Likewise.
58889         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58890         [cross-compiling] (omit-deps): Likewise.
58891         (sunrpc-CPPFLAGS): New variable.
58892         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58893         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58894         (cross-rpcgen-objs): New variable.
58895         (extra-objs): Append $(cross-rpcgen-objs).
58896         ($(cross-rpcgen-objs)): New rule.
58897         ($(objpfx)cross-rpcgen): Likewise.
58898         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58899         comment.
58900         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58901         ($(objpfx)x%.stmp): Likewise.
58902         * sunrpc/proto.h [IS_IN_build] (_): Define.
58903         [IS_IN_build] (_libc_intl_domainname): Likewise.
58905 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58908         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58909         and R_X86_64_TPOFF64.
58911 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58913         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58914         sysdeps/unix/sysv/syscalls.list.
58915         (stime): Likewise.
58916         (utime): Likewise.
58917         * sysdeps/unix/sysv/syscalls.list: Remove file.
58919 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58921         [BZ #3440]
58922         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58923         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58924         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58925         (__LC_IDENTIFICATION): Make these macros useful in #if
58926         expressions, as required by C99.
58928 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58930         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58931         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58932         after this.
58934 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58936         * stdlib/longlong.h: Updated from GCC.
58938 2012-05-09  Andreas Jaeger  <aj@suse.de>
58940         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58941         default is first entry.
58942         (run_mode): Set type.
58943         (main): Remove informal message about syslog.
58944         (options): Fix typo.
58946         [BZ #14053]
58947         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58948         to asm.
58949         (lrint): Likewise.
58950         (llrintf): Likewise.
58951         (llrint): Likewise.
58952         (rint): Likewise.
58953         (rintf): Likewise.
58954         (nearbyint): Likewise.
58955         (nearbyintf): Likewise.
58957 2012-05-09  Andreas Jaeger  <aj@suse.de>
58958             Pedro Alves  <palves@redhat.com>
58960         * nscd/nscd.c (run_mode): Use enum.
58961         (main): Cleanup coding style issue.
58963 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58964             Andreas Jaeger  <aj@suse.de>
58966         * nscd/nscd.c (go_background): Replaced with...
58967         (run_mode): ... this.
58968         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58969         (options): Add -F --foreground.
58970         (main): Implement it.
58971         (parse_opt): Parse it.
58973 2012-05-09  Andreas Jaeger  <aj@suse.de>
58975         [BZ #14083]
58976         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58977         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58978         -Wconversion warning.
58979         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58980         Likewise.
58982 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58984         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58985         == 0.
58986         (LC_ALL): Use macro-int-constant.
58987         (LC_COLLATE): Likewise.
58988         (LC_CTYPE): Likewise.
58989         (LC_MESSAGES): Likewise.
58990         (LC_MONETARY): Likewise.
58991         (LC_NUMERIC): Likewise.
58992         (LC_TIME): Likewise.
58993         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58994         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58995         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58996         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58997         Specify type.
58998         [C99-based standards] (float_t): Expect type.
58999         [C99-based standards] (double_t): Expect type.
59000         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59001         type.
59002         [C99-based standards] (HUGE_VALL): Likewise.
59003         [C99-based standards] (INFINITY): Likewise.
59004         [C99-based standards] (NAN): Likewise.
59005         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59006         [C99-based standards] (FP_NAN): Likewise.
59007         [C99-based standards] (FP_NORMAL): Likewise.
59008         [C99-based standards] (FP_SUBNORMAL): Likewise.
59009         [C99-based standards] (FP_ZERO): Likewise.
59010         [C99-based standards] (FP_FAST_FMA): Use
59011         optional-macro-int-constant.  Specify type.  Require == 1.
59012         [C99-based standards] (FP_FAST_FMAF): Likewise.
59013         [C99-based standards] (FP_FAST_FMAL): Likewise.
59014         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59015         [C99-based standards] (FP_ILOGBNAN): Likewise.
59016         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59017         Specify type.
59018         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59019         [C99-based standards] (math_errhandling): Specify type.
59020         [ISO99 || ISO11] (signgam): Do not allow.
59021         [non-C99-based standards] (copysignf): Do not allow.
59022         [non-C99-based standards] (exp2f): Likewise.
59023         [non-C99-based standards] (log2f): Likewise.
59024         [non-C99-based standards] (modff): Allow.
59025         [non-C99-based standards] (erff): Do not allow.
59026         [non-C99-based standards] (erfcf): Likewise.
59027         [non-C99-based standards] (gammaf): Likewise.
59028         [non-C99-based standards] (hypotf): Likewise.
59029         [non-C99-based standards] (j0f): Likewise.
59030         [non-C99-based standards] (j1f): Likewise.
59031         [non-C99-based standards] (jnf): Likewise.
59032         [non-C99-based standards] (lgammaf): Likewise.
59033         [non-C99-based standards] (tgammaf): Likewise.
59034         [non-C99-based standards] (y0f): Likewise.
59035         [non-C99-based standards] (y1f): Likewise.
59036         [non-C99-based standards] (ynf): Likewise.
59037         [non-C99-based standards] (isnanf): Likewise.
59038         [non-C99-based standards] (acoshf): Likewise.
59039         [non-C99-based standards] (asinhf): Likewise.
59040         [non-C99-based standards] (atanhf): Likewise.
59041         [non-C99-based standards] (cbrtf): Likewise.
59042         [non-C99-based standards] (expm1f): Likewise.
59043         [non-C99-based standards] (ilogbf): Likewise.
59044         [non-C99-based standards] (log1pf): Likewise.
59045         [non-C99-based standards] (logbf): Likewise.
59046         [non-C99-based standards] (nextafterf): Likewise.
59047         [non-C99-based standards] (remainderf): Likewise.
59048         [non-C99-based standards] (rintf): Likewise.
59049         [non-C99-based standards] (scalbf): Likewise.
59050         [non-C99-based standards] (copysignl): Likewise.
59051         [non-C99-based standards] (exp2l): Likewise.
59052         [non-C99-based standards] (log2l): Likewise.
59053         [non-C99-based standards] (modfl): Allow.
59054         [non-C99-based standards] (erfl): Do not allow.
59055         [non-C99-based standards] (erfcl): Likewise.
59056         [non-C99-based standards] (gammal): Likewise.
59057         [non-C99-based standards] (hypotl): Likewise.
59058         [non-C99-based standards] (j0l): Likewise.
59059         [non-C99-based standards] (j1l): Likewise.
59060         [non-C99-based standards] (jnl): Likewise.
59061         [non-C99-based standards] (lgammal): Likewise.
59062         [non-C99-based standards] (tgammal): Likewise.
59063         [non-C99-based standards] (y0l): Likewise.
59064         [non-C99-based standards] (y1l): Likewise.
59065         [non-C99-based standards] (ynl): Likewise.
59066         [non-C99-based standards] (isnanl): Likewise.
59067         [non-C99-based standards] (acoshl): Likewise.
59068         [non-C99-based standards] (asinhl): Likewise.
59069         [non-C99-based standards] (atanhl): Likewise.
59070         [non-C99-based standards] (cbrtl): Likewise.
59071         [non-C99-based standards] (expm1l): Likewise.
59072         [non-C99-based standards] (ilogbl): Likewise.
59073         [non-C99-based standards] (log1pl): Likewise.
59074         [non-C99-based standards] (logbl): Likewise.
59075         [non-C99-based standards] (nextafterl): Likewise.
59076         [non-C99-based standards] (remainderl): Likewise.
59077         [non-C99-based standards] (rintl): Likewise.
59078         [non-C99-based standards] (scalbl): Likewise.
59079         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59080         [non-C99-based standards] (FP_*): Do not allow.
59081         [C99-based standards] (FP_*): Change to
59082         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59083         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59084         allow.
59085         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59086         (SIG_ERR): Likewise.
59087         [X/Open-based standards] (SIG_HOLD): Likewise.
59088         (SIG_IGN): Likewise.
59089         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59090         positive value.
59091         (SIGFPE): Likewise.
59092         (SIGILL): Likewise.
59093         (SIGINT): Likewise.
59094         (SIGSEGV): Likewise.
59095         (SIGTER): Likewise.
59096         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59097         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59098         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59099         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59100         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59101         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59102         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59103         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59104         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59105         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59106         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59107         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59108         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59109         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59110         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59111         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59112         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59113         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59114         [X/Open-based standards] (SIGTRAP): Likewise.
59115         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59116         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59117         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59118         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59119         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59120         allow.
59122 2012-05-08  Ian Wienand  <ianw@vmware.com>
59124         [BZ #14080]
59125         * time/tzset.c (__tzset_parse_tz): Update default rules for
59126         daylight time changes in the Energy Policy Act of 2005.
59128 2012-05-09  Andreas Jaeger  <aj@suse.de>
59130         [BZ #13983]
59131         * elf/ldconfig.c (parse_conf): Change string to make clear that
59132         ldconfig only issued a warning if ld.so.conf does not exist.
59134 2012-05-08  David S. Miller  <davem@davemloft.net>
59136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59137         movxtod instead of popping the value on the stack.
59139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59141 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59143         * config.h.in: Add HAVE_ARM_PCS_VFP.
59145 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59147         [BZ #13979]
59148         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59149         checking but the checks are disabled for any reason.
59151 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59153         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59154         and ELF64_R_TYPE with ELFW(R_TYPE).
59156 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59158         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59159         (ulimit): Likewise.
59161         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59162         (settimeofday): Likewise.
59164 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59166         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59167         a struct th_u2 inside the union, and move tu_block/tu_code into
59168         a new th_u3 union of tu_block/tu_code inside of that.  Move
59169         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59170         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59171         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59172         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59173         (th_stuff): Change to th_u1.tu_stuff.
59174         (th_data): Define.
59175         (th_msg): Change to th_u1.th_u2.tu_data.
59177 2012-05-07  David S. Miller  <davem@davemloft.net>
59179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59181         [BZ #14074]
59182         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59183         (SETUP_PIC_REG): Use it.
59184         (SETUP_PIC_REG_LEAF): Use it.
59186 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59188         [BZ #13885]
59189         [BZ #13923]
59190         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59191         USE_AS_EXPM1L.
59192         (EXPL_FINITE): Likewise.
59193         (FLDLOG): Likewise.
59194         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59195         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59196         e_expl.S.
59197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59198         USE_AS_EXPM1L.
59199         (EXPL_FINITE): Likewise.
59200         (FLDLOG): Likewise.
59201         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59202         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59203         e_expl.S.
59204         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59205         test of -max_value argument for long double.
59206         * sysdeps/i386/fpu/libm-test-ulps: Update.
59207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59209 2012-05-06  David S. Miller  <davem@davemloft.net>
59211         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59212         quad soft-float symbols whose references which are compiler
59213         generated.
59214         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59216 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59218         [BZ #13884]
59219         [BZ #13914]
59220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59221         USE_AS_EXP10L.
59222         (EXPL_FINITE): Likewise.
59223         (FLDLOG): Likewise.
59224         (c0): Likewise.
59225         (c1): Likewise.
59226         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59227         Adjust comments for base varying.
59228         (__expl_finite): Change alias to EXPL_FINITE.
59229         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59230         e_expl.S.
59231         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59232         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59233         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59234         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59236         USE_AS_EXP10L.
59237         (EXPL_FINITE): Likewise.
59238         (FLDLOG): Likewise.
59239         (c0): Likewise.
59240         (c1): Likewise.
59241         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59242         Adjust comments for base varying.
59243         (__expl_finite): Change alias to EXPL_FINITE.
59244         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59245         tests for bugs.
59246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59248         [BZ #14064]
59249         * math/libm-test.inc (check_float_internal): Correct ulp
59250         calculation for subnormal expected results.
59252 2012-05-06  Andreas Jaeger  <aj@suse.de>
59254         * Makeconfig (+math-flags): New, set to -frounding-math.
59255         (+cflags): Add +math-flags so that all of glibc gets compiled with
59256         it.
59258         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59260 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59262         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59263         Disable one test.
59265         [BZ #13787]
59266         [BZ #13922]
59267         [BZ #14036]
59268         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59269         (__ieee754_expl): Allow for and saturate large arguments.
59270         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59271         (u_threshold): Likewise.
59272         (__exp): Call __ieee754_exp before checking for overflow and
59273         underflow.
59274         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59275         (u_threshold): Likewise.
59276         (__expf): Call __ieee754_expf before checking for overflow and
59277         underflow.
59278         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59279         (u_threshold): Likewise.
59280         (__expl): Call __ieee754_expl before checking for overflow and
59281         underflow.
59282         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59283         (__ieee754_expl): Allow for and saturate large arguments.
59284         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59285         missing overflow exception on overflow.
59286         (expm1_test): Do not allow missing overflow exception on overflow.
59288         * sysdeps/i386/fpu/e_expl.c: Move to ...
59289         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59290         rather than using inline asm.
59291         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59292         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59293         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59295         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59296         (nice): Likewise.
59297         (poll): Likewise.
59298         (signal): Likewise.
59299         (time): Likewise.
59300         (times): Likewise.
59302 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59304         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59305         sysdeps/unix/common/syscalls.list.
59306         (fchmod): Likewise.
59307         (fchown): Likewise.
59308         (ftruncate): Likewise.
59309         (getrusage): Likewise.
59310         (gettimeofday): Likewise.
59311         (setpgid): Likewise.
59312         (setregid): Likewise.
59313         (setreuid): Likewise.
59314         (sigaction): Likewise.
59315         (truncate): Likewise.
59316         (vhangup): Likewise.
59317         * sysdeps/unix/common/syscalls.list: Remove file.
59318         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59319         * sysdeps/unix/sysv/linux/Implies: Likewise.
59321 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59323         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59325         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59326         Moved to ...
59327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59328         Here.
59329         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59330         to ...
59331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59332         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59333         to ...
59334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59335         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59336         to ...
59337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59338         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59339         to ...
59340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59341         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59342         to ...
59343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59344         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59345         to ...
59346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59347         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59348         to ...
59349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59350         Here.
59351         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59352         to ...
59353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59354         Here.
59355         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59356         to ...
59357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59358         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59359         Moved to ...
59360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59361         Here.
59362         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59363         to ...
59364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59366 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59368         * sysdeps/unix/common/bits/dirent.h: Remove file.
59369         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59371         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59372         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59373         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59374         * sysdeps/unix/bsd/isatty.c: Likewise.
59375         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59376         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59377         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59379 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59381         [BZ #13563]
59382         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59383         long double comparison inaccuracies.
59384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59387 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59389         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59390         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59392 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59394         [BZ #14049]
59395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59396         nonzero digits before rounding a hex value.
59397         * stdlib/tst-strtod.c (tests): Add another test.
59399 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59401         * sysdeps/s390/fpu/libm-test-ulps: Update.
59403 2012-05-03  Andreas Jaeger  <aj@suse.de>
59405         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59406         does not get optimized out.
59407         (malloc_opt_barrier): New.
59409 2012-05-03  Andreas Jaeger  <aj@suse.de>
59410             Roland McGrath  <roland@hack.frob.com>
59412         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59413         intermediate file deletion.
59414         (generated): Add .symlist files.
59416 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59418         [BZ #13775]
59419         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59420         Redirect under this condition.
59421         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59422         [__USE_GNU] (__dprintf_chk): Not under this condition.
59423         [__USE_GNU] (__vdprintf_chk): Likewise.
59424         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59425         under this condition.
59426         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59427         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59428         [__USE_XOPEN2K8] (vdprintf): Likewise.
59429         [__USE_GNU] (__dprintf_chk): Not under this condition.
59430         [__USE_GNU] (__vdprintf_chk): Likewise.
59431         [__USE_GNU] (dprintf): Likewise.
59432         [__USE_GNU] (vdprintf): Likewise.
59434 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59436         * elf/Makefile (common-generated): Set this instead of generated for
59437         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59438         $(all-built-dso)-derived lists.
59440 2012-05-03  Andreas Jaeger  <aj@suse.de>
59442         * sysdeps/i386/fpu/libm-test-ulps: Update.
59444         * FAQ: Removed.
59445         * FAQ.in: Likewise.
59446         * scripts/gen-FAQ.pl: Likewise.
59447         * manual/install.texi (Installation): Point to online location of
59448         FAQ.
59449         * Makefile (files-for-dist): Remove FAQ.
59450         (FAQ): Remove.
59452 2012-05-02  Allan McRae  <allan@archlinux.org>
59454         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59455         (LDFLAGS-reldepmod5.so): Likewise.
59456         (LDFLAGS-reldep6mod1.so): Likewise.
59457         (LDFLAGS-reldep6mod4.so): Likewise.
59458         (LDFLAGS-reldep8mod3.so): Likewise.
59459         (LDFLAGS-unload4mod1.so): Likewise.
59460         (LDFLAGS-unload4mod2.so): Likewise.
59461         (LDFLAGS-tst-initorder): Likewise.
59462         (LDFLAGS-tst-initordera2.so): Likewise.
59463         (LDFLAGS-tst-initordera3.so): Likewise.
59464         (LDFLAGS-tst-initordera4.so): Likewise.
59465         (LDFLAGS-tst-initorderb2.so): Likewise.
59466         (LDFLAGS-noload): Likewise.
59467         (LDFLAGS-next): Likewise.
59468         (LDFLAGS-order2mod1.so): Likewise.
59469         (LDFLAGS-order2mod2.so): Likewise.
59470         (LDFLAGS-tst-initorder2): Likewise.
59471         (LDFLAGS-tst-initorder2a.so): Likewise.
59472         (LDFLAGS-tst-initorder2b.so): Likewise.
59473         (LDFLAGS-tst-initorder2c.so): Likewise.
59474         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59476 2012-05-02  David S. Miller  <davem@davemloft.net>
59478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59480 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59482         [BZ #14055]
59483         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59485 2012-05-02  Andreas Jaeger  <aj@suse.de>
59487         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59488         since we manipulate rounding mode.
59489         (CPPFLAGS-test-idouble.c): Likewise.
59490         (CPPFLAGS-test-ifloat.c): Likewise.
59491         (CFLAGS-test-ldouble.c): Likewise.
59492         (CFLAGS-test-double.c): Likewise.
59493         (CFLAGS-test-float.c): Likewise.
59494         (CFLAGS-test-misc.c): Likewise.
59495         (CFLAGS-test-test-fenv.c): Likewise.
59497 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59499         [BZ #2550]
59500         [BZ #2570]
59501         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59502         comparisons to determine direction to adjust input.
59504 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59506         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59507         output to the target.
59509         * scripts/localplt.awk: New file.
59510         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59511         (check-localplt-CFLAGS): Variable removed.
59512         ($(all-built-dso:=.jmprel)): New static pattern rule.
59513         (generated): Add those targets.
59514         (localplt-built-dso): New variable.
59515         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59517         * elf/check-localplt.c: File removed.
59519         * scripts/check-execstack.awk: New file.
59520         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59521         (check-execstack-CFLAGS): Variable removed.
59522         ($(objpfx)check-execstack.h): Target removed.
59523         ($(objpfx)execstack-default): New target.
59524         (generated): Add that instead of check-execstack.h.
59525         ($(all-built-dso:=.phdr)): New static pattern rule.
59526         (generated): Add those targets.
59527         * elf/check-execstack.c: File removed.
59529         * scripts/check-textrel.awk: New file.
59530         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59531         (check-textrel-CFLAGS): Variable removed.
59532         (all-built-dso): Use := to define.o
59533         ($(all-built-dso:=.dyn)): New static pattern rule.
59534         (generated): Add those targets.
59535         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59536         * config.make.in (READELF): New substituted variable.
59537         * elf/check-textrel.c: File removed.
59539 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59541         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59542         allow.
59543         * conform/data/ctype.h-data [C99-based standards] (isblank):
59544         Expect function.
59545         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59546         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59548         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59549         Specify type.  Require positive value.
59550         (EILSEQ): Likewise.
59551         (ERANGE): Likewise.
59552         [ISO || POSIX] (EILSEQ): Do not expect.
59553         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59554         Specify type.  Require positive value.
59555         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59556         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59557         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59558         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59559         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59560         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59561         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59562         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59563         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59564         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59565         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59566         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59567         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59568         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59569         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59570         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59571         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59572         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59573         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59574         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59575         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59576         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59577         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59578         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59579         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59580         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59581         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59582         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59583         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59584         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59585         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59586         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59587         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59588         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59589         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59590         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59591         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59592         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59593         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59594         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59595         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59596         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59597         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59598         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59599         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59600         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59601         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59602         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59603         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59604         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59605         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59606         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59607         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59608         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59609         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59610         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59611         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59612         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59613         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59614         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59615         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59616         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59617         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59618         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59619         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59620         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59621         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59622         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59623         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59624         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59625         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59626         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59627         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59628         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59629         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59630         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59631         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59632         Require >= 2.
59633         (FLT_ROUNDS): Expect as macro, not constant.
59634         (FLT_MANT_DIG): Use macro-int-constant.
59635         (DBL_MANT_DIG): Likewise.
59636         (LDBL_MANT_DIG): Likewise.
59637         (FLT_DIG): Likewise.
59638         (DBL_DIG): Likewise.
59639         (LDBL_DIG): Likewise.
59640         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59641         (DBL_MIN_EXP): Likewise.
59642         (LDBL_MIN_EXP): Likewise.
59643         (FLT_MAX_EXP): Use macro-int-constant.
59644         (DBL_MAX_EXP): Likewise.
59645         (LDBL_MAX_EXP): Likewise.
59646         (FLT_MAX_10_EXP): Likewise.
59647         (DBL_MAX_10_EXP): Likewise.
59648         (LDBL_MAX_10_EXP): Likewise.
59649         (FLT_MAX): Use macro-constant.
59650         (DBL_MAX): Likewise.
59651         (LDBL_MAX): Likewise.
59652         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59653         (DBL_EPSILON): Likewise.
59654         (LDBL_EPSILON): Likewise.
59655         (FLT_MIN): Likewise.
59656         (DBL_MIN): Likewise.
59657         (LDBL_MIN): Likewise.
59658         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59659         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59660         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59661         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59662         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59663         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59664         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59665         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59666         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59667         [ISO11] (FLT_TRUE_MIN): Likewise.
59668         [ISO11] (LDBL_TRUE_MIN): Likewise.
59669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59670         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59671         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59672         (SCHAR_MAX): Likewise.
59673         (UCHAR_MAX): Likewise.
59674         (CHAR_MIN): Likewise.
59675         (CHAR_MAX): Likewise.
59676         (MB_LEN_MAX): Use macro-int-constant.
59677         (SHRT_MIN): Use macro-int-constant.  Specify type.
59678         (SHRT_MAX): Likewise.
59679         (USHRT_MAX): Likewise.
59680         (INT_MAX): Likewise.
59681         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59682         bound negative.
59683         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59684         bound with "U".
59685         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59686         bound with "L".
59687         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59688         bound negative.  Suffix upper bound with "L".
59689         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59690         bound with "UL".
59691         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59692         Specify type.
59693         [C99-based standards] (LLONG_MAX): Likewise.
59694         [C99-based standards] (ULLONG_MAX): Likewise.
59695         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59696         == 0.
59697         [ISO11] (max_align_t): Require type.
59698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59700         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59701         from $CFLAGS, without defining away __attribute__ calls.
59702         (checknamespace): Use $CFLAGS_namespace.
59704         * conform/conformtest.pl (@keywords): Only include C99 keywords
59705         for standards based on C99 or C11.
59707         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59708         Disable tests.
59709         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59710         UNIX98]: Likewise.
59712         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59713         usability of symbols in #if.
59715         * conform/conformtest.pl: If macro or constant types start
59716         "promoted:", expect the symbol to be of the following type
59717         promoted by the integer promotions.
59719         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59720         in one place.  Also handle "macro-constant".
59722         * conform/conformtest.pl: Only accept expected macro values with
59723         "==".  Parse all "macro" lines in one place.
59724         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59726         * conform/conformtest.pl: Handle braced types on "constant" lines
59727         instead of handling "typed-constant".
59728         * conform/data/signal.h-data: Use "constant" instead of
59729         "typed-constant".
59731         * conform/conformtest.pl: Handle "optional-" at start of lines in
59732         one place rather than duplicating several cases.  Handle each
59733         format of "macro" line with initial "optional-".
59735         * conform/conformtest.pl: Only accept expected constant or
59736         optional-constant values with "==".  Parse all "constant" lines in
59737         one place.  Parse all "optional-constant" lines in one place.
59738         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59739         * conform/data/fmtmsg.h-data: Likewise.
59740         * conform/data/netinet/in.h-data: Likewise.
59741         * conform/data/tar.h-data: Likewise.
59742         * conform/data/limits.h-data: Use "==" form on "constant" and
59743         "optional-constant" lines.
59745         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59746         Use -std=c99 for XOPEN2K.
59747         (@knownproblems): Remove.
59748         (newtoken): Don't check %isknown.
59750         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59751         Do not expect macro.
59752         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59753         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59754         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59755         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59756         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59757         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59758         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59759         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59760         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59761         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59762         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59763         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59764         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59765         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59766         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59767         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59768         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59769         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59770         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59771         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59772         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59773         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59774         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59775         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59776         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59777         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59778         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59779         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59780         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59781         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59782         [XPG3] (acosh): Likewise.
59783         [XPG3] (asinh): Likewise.
59784         [XPG3] (atanh): Likewise.
59785         [XPG3] (cbrt): Likewise.
59786         [XPG3] (expm1): Likewise.
59787         [XPG3] (ilogb): Likewise.
59788         [XPG3] (log1p): Likewise.
59789         [XPG3] (logb): Likewise.
59790         [XPG3] (nextafter): Likewise.
59791         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59792         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59793         [XPG3] (remainder): Likewise.
59794         [XPG3] (rint): Likewise.
59795         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59796         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59797         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59798         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59799         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59800         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59801         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59802         [UNIX98 || XOPEN2K] (scalb): Expect.
59803         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59804         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59805         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59806         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59807         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59808         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59809         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59810         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59811         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59812         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59813         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59814         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59815         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59816         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59817         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59818         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59819         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59820         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59821         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59822         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59823         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59824         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59825         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59826         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59827         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59828         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59829         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59830         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59831         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59832         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59833         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59834         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59835         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59836         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59837         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59838         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59839         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59840         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59841         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59842         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59843         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59844         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59845         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59846         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59847         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59848         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59849         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59850         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59851         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59852         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59853         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59854         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59855         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59856         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59857         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59858         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59859         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59860         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59861         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59862         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59863         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59864         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59865         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59866         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59867         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59868         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59869         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59870         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59871         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59872         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59873         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59874         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59875         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59876         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59877         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59878         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59879         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59880         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59881         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59882         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59883         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59884         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59885         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59886         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59887         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59888         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59889         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59890         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59891         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59892         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59893         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59894         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59895         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59896         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59897         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59898         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59899         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59900         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59901         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59902         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59903         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59904         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59905         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59906         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59907         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59908         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59909         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59910         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59911         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59912         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59913         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59914         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59915         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59916         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59917         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59918         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59919         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59920         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59921         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59922         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59923         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59924         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59925         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59926         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59927         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59928         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59929         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59930         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59931         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59932         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59933         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59934         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59935         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59936         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59937         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59938         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59939         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59941         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59942         _XOPEN_SOURCE_EXTENDED for XPG4.
59944         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59946         * Makeconfig (localtime): Remove variable.
59947         (inst_localtime-file): Likewise.
59949 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59952         Update.
59953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59954         Update.
59955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59956         Update.
59957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59958         Update.
59959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59960         Update.
59961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59962         Update.
59963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59964         Update.
59965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59966         Update.
59967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59968         Update.
59970 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59972         [BZ #2550]
59973         [BZ #2570]
59974         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59975         comparisons to determine direction to adjust input.
59976         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59977         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59978         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59979         Likewise.
59980         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59981         Likewise.
59982         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59983         Likewise.
59984         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59985         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59986         Likewise.
59987         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59988         Likewise.
59989         * math/libm-test.inc (nexttoward_test): Add more tests.
59991 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59993         [BZ #14040]
59994         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59995         in version GLIBC_2.1, not GLIBC_2.0.
59996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59997         Likewise.
59999 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60001         [BZ #13942]
60002         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60003         (1 - x) * (1 + x).
60004         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60005         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60006         * math/libm-test.inc (acos_test): Add more tests.
60007         (asin_test): Likewise.
60008         * sysdeps/i386/fpu/libm-test-ulps: Update.
60009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60011         [BZ #14034]
60012         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60013         of square root.
60014         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60015         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60016         * math/libm-test.inc (acos_test_tonearest): New function.
60017         (acos_test_towardzero): Likewise.
60018         (acos_test_downward): Likewise.
60019         (acos_test_upward): Likewise.
60020         (asin_test_tonearest): Likewise.
60021         (asin_test_towardzero): Likewise.
60022         (asin_test_downward): Likewise.
60023         (asin_test_upward): Likewise.
60024         (main): Call the new functions.
60025         * sysdeps/i386/fpu/libm-test-ulps: Update.
60026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60028         [BZ #13884]
60029         [BZ #13924]
60030         * math/e_exp10.c: Include <float.h>.
60031         (__ieee754_exp10): Handle underflow here rather than multiplying
60032         large negative argument by M_LN10.
60033         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60034         of __ieee754_expf.
60035         * math/e_exp10l.c: Include <float.h>.
60036         (__ieee754_exp10l): Handle underflow here rather than multiplying
60037         large negative argument by M_LN10l.
60038         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60039         spurious overflow exception on underflow.
60041 2012-04-29  Marek Polacek  <polacek@redhat.com>
60043         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60044         (__fortify_function): New macro.
60045         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60046         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60047         __extern_always_inline.
60048         * libio/bits/stdio2.h: Likewise.
60049         * libio/bits/stdio.h: Likewise.
60050         * string/string.h: Likewise.
60051         * string/bits/string3.h: Likewise.
60052         * include/stdio.h: Likewise.
60053         * stdlib/bits/stdlib.h: Likewise.
60054         * stdlib/stdlib.h: Likewise.
60055         * rt/bits/mqueue2.h: Likewise.
60056         * rt/mqueue.h: Likewise.
60057         * posix/bits/unistd.h: Likewise.
60058         * posix/unistd.h: Likewise.
60059         * io/bits/poll2.h: Likewise.
60060         * io/bits/fcntl2.h: Likewise.
60061         * io/fcntl.h: Likewise.
60062         * io/sys/poll.h: Likewise.
60063         * misc/bits/syslog.h: Likewise.
60064         * misc/bits/syslog-ldbl.h: Likewise.
60065         * misc/sys/syslog.h: Likewise.
60066         * socket/bits/socket2.h: Likewise.
60067         * socket/sys/socket.h: Likewise.
60068         * debug/tst-chk1.c: Likewise.
60069         * wcsmbs/bits/wchar2.h: Likewise.
60070         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60071         * wcsmbs/wchar.h: Likewise.
60073 2012-04-29  Andreas Jaeger  <aj@suse.de>
60075         * Makerules (tests): Remove enable-check-abi protection.
60076         (check-abi-warn): Remove.
60077         (check-abi-%): Remove check-abi-warn usage.
60079         * configure.in: Remove check-abi configure option.
60080         * configure: Regenerated.
60081         * config.make.in (enable-check-abi): Remove.
60083 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60085         [BZ #14033]
60086         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60087         double functions to double *_finite functions.
60089         [BZ #13941]
60090         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60091         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60092         LDBL_MIN_EXP.
60093         * stdio-common/Makefile (tests): Add tst-sprintf3.
60094         * stdio-common/tst-sprintf3.c: New file.
60096         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60097         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60099 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60101         * conform/conformtest.pl: Remove duplicate typed-constant
60102         handling.
60104 2012-04-28  David S. Miller  <davem@davemloft.net>
60106         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60107         (check-abi-%): Remove AWK script prerequisite and explicit
60108         abilist directory.
60109         (check-abi): Rewrite to just diff the symlist with the abilist.
60110         (config-tls, config-abi-config): Delete, no longer used.
60111         (update-abi-%): Remove AWK script and explicit abilist directory.
60112         (update-abi): Rewrite to simply compare and conditionally copy the
60113         symlist and the sysdep abilist file.  Remove update-abi-config
60114         checks.
60115         * abilist/ld.abilist: Remove.
60116         * abilist/libBrokenLocale.abilist: Remove.
60117         * abilist/libanl.abilist: Remove.
60118         * abilist/libcrypt.abilist: Remove.
60119         * abilist/libdl.abilist: Remove.
60120         * abilist/librt.abilist: Remove.
60121         * abilist/libthread_db.abilist: Remove.
60122         * abilist/libutil.abilist: Remove.
60123         * scripts/extract-abilist.awk: Remove.
60124         * scripts/merge-abilist.awk: Remove.
60125         * sysdeps/generic/libcidn.abilist: New file.
60126         * sysdeps/generic/libnss_compat.abilist: New file.
60127         * sysdeps/generic/libnss_db.abilist: New file.
60128         * sysdeps/generic/libnss_dns.abilist: New file.
60129         * sysdeps/generic/libnss_files.abilist: New file.
60130         * sysdeps/generic/libnss_hesiod.abilist: New file.
60131         * sysdeps/generic/libnss_nis.abilist: New file.
60132         * sysdeps/generic/libnss_nisplus.abilist: New file.
60133         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60134         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60135         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60136         file.
60137         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60138         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60139         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60140         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60141         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60142         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60143         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60144         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60145         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60146         file.
60147         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60148         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60149         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60150         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60151         file.
60152         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60153         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60154         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60155         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60156         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60157         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60158         file.
60159         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60160         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60161         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60162         file.
60163         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60165         New file.
60166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60167         New file.
60168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60169         New file.
60170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60171         New file.
60172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60173         New file.
60174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60175         New file.
60176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60177         New file.
60178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60179         New file.
60180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60181         New file.
60182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60183         New file.
60184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60185         New file.
60186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60187         New file.
60188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60189         New file.
60190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60191         file.
60192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60193         New file.
60194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60195         New file.
60196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60197         file.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60199         New file.
60200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60201         New file.
60202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60203         file.
60204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60205         New file.
60206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60207         New file.
60208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60209         New file.
60210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60211         New file.
60212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60213         New file.
60214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60215         New file.
60216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60218         file.
60219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60220         New file.
60221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60222         file.
60223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60224         file.
60225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60226         file.
60227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60228         file.
60229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60230         file.
60231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60232         New file.
60233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60234         file.
60235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60236         file.
60237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60238         New file.
60239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60240         file.
60241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60243         file.
60244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60245         New file.
60246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60247         file.
60248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60249         file.
60250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60251         file.
60252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60253         file.
60254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60255         file.
60256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60257         New file.
60258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60259         file.
60260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60261         file.
60262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60263         New file.
60264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60265         file.
60266         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60267         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60268         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60269         file.
60270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60271         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60272         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60273         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60274         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60275         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60276         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60277         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60278         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60279         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60282         file.
60283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60284         New file.
60285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60286         file.
60287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60288         file.
60289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60290         file.
60291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60292         file.
60293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60294         file.
60295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60296         New file.
60297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60298         New file.
60299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60300         file.
60301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60302         New file.
60303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60304         file.
60305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60307         file.
60308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60309         New file.
60310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60311         file.
60312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60313         file.
60314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60315         file.
60316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60317         file.
60318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60319         file.
60320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60321         New file.
60322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60323         New file.
60324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60325         file.
60326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60327         New file.
60328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60329         file.
60331 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60333         * conform/conformtest.pl: Fix typo in handling typed-constant from
60334         allow-header.
60336 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60338         * README: Cut down references to pre-2.6 Linux kernels and
60339         Linuxthreads.  Update lists of configurations in libc and ports
60340         and sort alphabetically.  Say "or newer" with Linux kernel version
60341         requirements.
60343         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60345 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60347         [BZ #887]
60348         * math/libm-test.inc (logb_test_downward): New test to expose
60349         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60350         rounding mode.
60352 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60354         [BZ #14027]
60355         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60356         to be done.
60357         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60358         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60360 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60362         * sysdeps/unix/i386/brk.S: Remove file.
60363         * sysdeps/unix/i386/dl-brk.S: Likewise.
60364         * sysdeps/unix/i386/pipe.S: Likewise.
60365         * sysdeps/unix/i386/sigreturn.S: Likewise.
60366         * sysdeps/unix/i386/syscall.S: Likewise.
60367         * sysdeps/unix/i386/vfork.S: Likewise.
60368         * sysdeps/unix/i386/wait.S: Likewise.
60370         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60371         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60373         * configure.in (arm*-none*): Do not allow without
60374         --enable-hacker-mode.
60375         (netbsd*): Remove case setting base_os.
60376         (386bsd*): Likewise.
60377         (freebsd*): Likewise.
60378         (bsdi*): Likewise.
60379         (osf*): Likewise.
60380         (sunos*): Likewise.
60381         (ultrix*): Likewise.
60382         (newsos*): Likewise.
60383         (dynix*): Likewise.
60384         (*bsd*): Likewise.
60385         (sysv*): Likewise.
60386         (isc*): Likewise.
60387         (esix*): Likewise.
60388         (sco*): Likewise.
60389         (minix*): Likewise.
60390         (irix4*): Likewise.
60391         (irix6*): Likewise.
60392         (solaris[2-9]*): Likewise.
60393         (none): Likewise.
60394         * configure: Regenerated.
60396 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60398         [BZ #11521]
60399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60400         overflow or cancellation in calculating denominator.
60401         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60403         down expression to avoid unexpected rounding in newer GCCs.
60404         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60406 2012-04-26  David S. Miller  <davem@davemloft.net>
60408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60409         long-double compat symbols.
60410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60424 2012-04-25  David S. Miller  <davem@davemloft.net>
60426         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60427         HWCAP_* values only after the memory barriers have been defined.
60428         (atomic_full_barrier): Define.
60429         (atomic_read_barrier): Define.
60430         (atomic_write_barrier): Define.
60432 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60434         * shlib-versions: Add libgcc_s version information.
60435         * sysdeps/generic/libgcc_s.h: Remove.
60436         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60437         libgcc_s.h.
60438         * sysdeps/gnu/unwind-resume.c: Likewise.
60439         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60441 2012-04-25  David S. Miller  <davem@davemloft.net>
60443         * sysdeps/unix/sparc/brk.S: Delete.
60444         * sysdeps/unix/sparc/dl-brk.S: Delete.
60445         * sysdeps/unix/sparc/pipe.S: Delete.
60446         * sysdeps/unix/sparc/sysdep.S: Delete.
60447         * sysdeps/unix/sparc/sysdep.h: Delete.
60448         * sysdeps/unix/sparc/vfork.S: Delete.
60449         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60450         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60451         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60452         (ret_ERRVAL, r0, r1, MOVE): Define.
60453         (JUMPTARGET): Remove.
60454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60455         sysdeps/unix/sparc/sysdep.h
60456         (ENTRY, END): Remove.
60457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60459 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60461         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60462         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60463         -DIS_IN_build.
60465         * timezone/README: Update upstream location and email address for
60466         tzcode and tzdata.
60467         * timezone/zdump.c: Update from tzcode 2012b.
60468         * timezone/zic.c: Likewise.
60470         * configure.in (libc_cv_as_needed): Remove test.
60471         * configure: Regenerated.
60472         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60473         conditional definition.
60474         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60475         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60476         * config.make.in (have-as-needed): Remove variable.
60478 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60479             Paul Pluzhnikov  <ppluzhnikov@google.com>
60481         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60482         strings correctly.
60484 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60486         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60487         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60488         * sysdeps/sh/strlen.S: Likewise.
60490 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60492         * sysdeps/unix/fork.S: Remove file.
60493         * sysdeps/unix/i386/fork.S: Likewise.
60494         * sysdeps/unix/sparc/fork.S: Likewise.
60496         * sysdeps/unix/system.c: Remove file.
60497         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60499         * sysdeps/unix/getegid.S: Remove file.
60500         * sysdeps/unix/geteuid.S: Likewise.
60502 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60504         * scripts/check-localplt.awk: New file.
60505         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60506         of diff.
60507         * scripts/data/localplt-generic.data: Add a comment.
60509         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60510         NODE when __dir_mkfile failed.
60511         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60512         Reported by Ludovic Courtès <ludo@gnu.org>.
60514 2012-04-24  Andreas Jaeger  <aj@suse.de>
60516         * Makerules (common-clean): Also remove gen-as-const-headers
60517         files.
60519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60521         * Makerules (native-compile): Do not change working directory for
60522         build.  Use $(OUTPUT_OPTION) in command.
60523         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60525 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60527         [BZ #13886]
60528         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60529         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60530         * math/libm-test.inc (floor_test): Add more tests.
60531         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60533 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60535         * sysdeps/unix/getdents.c: Remove file.
60536         * sysdeps/unix/sysv/getdents.c: Likewise.
60537         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60539         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60540         sysdeps/unix/mman/syscalls.list.
60541         (mmap): Likewise.
60542         (mprotect): Likewise.
60543         (msync): Likewise.
60544         (munmap): Likewise.
60545         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60546         * sysdeps/unix/mman/syscalls.list: Remove.
60547         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60549         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60550         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60551         * configure: Regenerated.
60552         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60553         $(libgcc_s_suffix).
60554         * config.make.in (libgcc_s_suffix): Remove variable.
60556 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60558         * sysdeps/unix/sysv/gethostname.c: Move to ...
60559         * sysdeps/posix/gethostname.c: ... here.
60561         * sysdeps/unix/execve.S: Remove file.
60563         * sysdeps/unix/_exit.S: Remove file.
60565 2012-04-23  Andreas Jaeger  <aj@suse.de>
60567         [BZ #13739]
60568         * manual/Makefile: Remove make dist support, there's no
60569         need for a stand-alone documentation tar ball.
60570         (TEXI2DVI): Define always, it's not in Makeconfig.
60571         (dist): Removed.
60572         (tar-it): Removed.
60573         (edition): Removed.
60574         (glibc-doc-$(edition).tar): Removed
60575         (%.Z): Removed.
60576         (%.gz): Removed.
60577         (%.uu): Removed.
60578         (ETAGS): Remove, it's in Makeconfig.
60579         (move-if-change): Remove, it's in Makeconfig.
60581 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60583         [BZ #13970]
60584         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60585         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60586         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60587         (strtod_l, strtof_l, strtold_l): Remove __wur.
60588         It is not necessarily an error to ignore strtol's return value.
60589         One can reliably look at the stored endptr to decide whether
60590         the number had valid syntax.
60592 2012-04-21  Andreas Jaeger  <aj@suse.de>
60594         [BZ #13739]
60595         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60597 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60599         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60600         * sysdeps/unix/sysv/Versions: Remove file.
60602 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60604         [BZ #13927]
60605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60607 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60609         [BZ #7064]
60610         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60611         version from __vm86.
60613 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60615         * sysdeps/unix/common/lxstat.c: Remove file.
60616         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60618         * sysdeps/unix/sysv/Makefile: Remove file.
60620         * sysdeps/unix/sysv/direct.h: Remove file.
60622         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60623         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60624         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60625         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60626         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60627         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60628         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60630         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60632         * sysdeps/unix/xmknod.c: Remove file.
60633         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60635         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60637         * sysdeps/unix/sysv/i386/time.S: Remove file.
60639         * sysdeps/unix/fxstat.c: Remove file.
60640         * sysdeps/unix/xstat.c: Likewise.
60641         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60643         * sysdeps/unix/sysv/sigaction.c: Remove file.
60645         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60646         (sysdep_headers): Remove variable.
60647         [termio.h not in sysdep_headers] (generated): Likewise.
60648         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60649         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60650         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60651         * sysdeps/unix/sysv/tcflow.c: Likewise.
60652         * sysdeps/unix/sysv/tcflush.c: Likewise.
60653         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60654         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60655         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60656         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60657         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60659         * sysdeps/unix/siglist.c: Remove file.
60661         * sysdeps/unix/getppid.S: Remove file.
60663         * sysdeps/unix/mkdir.c: Remove file.
60664         * sysdeps/unix/rmdir.c: Likewise.
60666 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60668         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60669         ERR_MAX value.
60670         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60671         errlist-compat value.
60673 2012-04-18  David S. Miller  <davem@davemloft.net>
60675         * sysdeps/generic/memcopy.h (reg_char): Delete.
60676         * debug/strcat_chk.c: Use char, not reg_char.
60677         * debug/strcpy_chk.c: Likewise.
60678         * debug/strncat_chk.c: Likewise.
60679         * debug/strncpy_chk.c: Likewise.
60680         * string/memchr.c: Likewise.
60681         * string/memrchr.c: Likewise.
60682         * string/rawmemchr.c: Likewise.
60683         * string/strcat.c: Likewise.
60684         * string/strchr.c: Likewise.
60685         * string/strchrnul.c: Likewise.
60686         * string/strcmp.c: Likewise.
60687         * string/strcpy.c: Likewise.
60688         * string/strncat.c: Likewise.
60689         * string/strncmp.c: Likewise.
60690         * string/strncpy.c: Likewise.
60692 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60694         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60695         __builtin_memcopy is called when src and dest ranges are known to not
60696         overlap.
60698 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60700         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60701         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60702         fwd_align_merge macro call.
60703         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60704         bwd_align_merge macro call.
60705         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60707 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60709         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60710         bwd_align_merge macros.
60711         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60712         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60713         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60715 2012-04-18  David S. Miller  <davem@davemloft.net>
60717         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60719 2012-04-18  Andreas Jaeger  <aj@suse.de>
60721         [BZ# 6794]
60722         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60723         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60724         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60726         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60727         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60728         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60730         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60731         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60732         Adjust for changed ldbl-128 files.
60734         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60735         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60736         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60738 2012-04-17  David S. Miller  <davem@davemloft.net>
60740         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60742 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60744         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60745         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60746         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60747         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60748         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60749         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60751 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60753         [BZ #6794]
60754         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60755         * math/libm-test.inc: Add ilogb errno and exception tests.
60756         * math/w_ilogb.c: New file: ilogb wrapper.
60757         * math/w_ilogbf.c: New file: ilogbf wrapper.
60758         * math/w_ilogbl.c: New file: ilogbl wrapper.
60759         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60760         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60761         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60762         exception being thrown with 0.0 as argument.
60763         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60764         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60765         exception being thrown with 0.0 as argument.
60766         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60767         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60768         exception being thrown with 0.0 as argument.
60769         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60770         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60771         exception being thrown with 0.0 as argument.
60772         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60773         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60774         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60775         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60776         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60777         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60778         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60779         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60780         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60782 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60784         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60785         with altivec.
60787 2012-04-16  Marek Polacek  <polacek@redhat.com>
60789         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60791 2012-04-16  Marek Polacek  <polacek@redhat.com>
60793         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60794         operands of fdivp instruction.
60796 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60798         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60799         * elf/tst-auditmod3b.c: Likewise.
60800         * elf/tst-auditmod4b.c: Likewise.
60801         * elf/tst-auditmod5b.c: Likewise.
60802         * elf/tst-auditmod6b.c: Likewise.
60803         * elf/tst-auditmod6c.c: Likewise.
60804         * elf/tst-auditmod7b.c: Likewise.
60805         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60806         * sysdeps/x86_64/preconfigure.in: Likewise.
60807         * sysdeps/x86_64/preconfigure: Regenerated.
60809 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60811         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60812         __ILP32__.
60814 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60817         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60819 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60821         [BZ #13973]
60822         * locale/iso-639.def: Fix gl language name. Spotted by
60823         Yaron Shahrabani.
60825 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60827         [BZ #2074]
60828         * libio/libio.h (__io_write_fn): Update comment.
60830 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60832         [BZ #2074]
60833         * stdio.texi (Hook Functions): The user provided writer function
60834         is not allowed to return -1.
60836 2012-04-11  David S. Miller  <davem@davemloft.net>
60838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60840 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60842         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60843         Add a leading slash to rtkaio.
60845 2012-04-11  Jim Meyering  <meyering@redhat.com>
60847         [BZ #11959]
60848         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60849         It is not necessarily an error to ignore fwrite's return
60850         value.  One can reliably use ferror to test for errors after
60851         the fact.
60853 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60855         * bits/types.h (__snseconds_t): New type.
60856         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60858         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60860         (__SNSECONDS_T_TYPE): Likewise.
60861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60862         (__SNSECONDS_T_TYPE): Likewise.
60863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60864         (__SNSECONDS_T_TYPE): Likewise.
60866 2012-04-10  Andreas Jaeger  <aj@suse.de>
60868         [BZ #2636]
60869         * manual/time.texi (Processor Time): Return type of times is
60870         elapsed real time since an arbitrary point in the past.
60871         (CPU Time): Move CLK_TCK from here...
60872         (Processor Time): ...to here.  Correct description.
60873         * manual/conf.texi (Constants for Sysconf): Correct description of
60874         _SC_CLK_TCK.
60876 2012-04-10  David S. Miller  <davem@davemloft.net>
60878         [BZ #13967]
60879         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60880         where the is a gap between DT_REL(A) and DT_JMPREL.
60882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60884         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60885         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60886         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60888 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60890         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60891         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60892         (dl_main): Handle --inhibit-cache.
60893         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60894         _dl_inhibit_cache.
60895         * elf/dl-load.c (_dl_map_object): Use it.
60896         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60898 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60900         [BZ #13872]
60901         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60902         (__ieee754_powl): Saturate large exponents rather than testing for
60903         overflow of y*log2(x).
60904         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60905         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60906         exceptions.
60908         [BZ #11521]
60909         * math/s_ctan.c: Include <float.h>.
60910         (__ctan): Avoid internal overflow or cancellation in calculating
60911         denominator.
60912         * math/s_ctanf.c: Likewise.
60913         * math/s_ctanl.c: Likewise.
60914         * math/s_ctanh.c: Likewise.
60915         * math/s_ctanhf.c: Likewise.
60916         * math/s_ctanhl.c: Likewise.
60917         * math/libm-test.inc (ctan_test): Add more tests.
60918         (ctanh_test): Likewise.
60919         * sysdeps/i386/fpu/libm-test-ulps: Update.
60920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60922 2012-04-09  Andreas Jaeger  <aj@suse.de>
60924         [BZ #6894]
60925         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60926         is an optional BSD extension.
60928         [BZ #10254]
60929         * manual/stdio.texi (Opening Streams): Document additional fopen
60930         parameters.
60932 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60934         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60935         %eax without telling the compiler.
60937 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60939         [BZ # 13963]
60940         * manual/install.texi: Use sourceware.org.
60942 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60944         [BZ #13873]
60945         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60946         (__ieee754_pow): Generate overflow and underflow using huge*huge
60947         and tiny*tiny rather than just returning constant infinity or zero
60948         for large exponents.
60949         * math/libm-test.inc (pow_test): Require overflow exceptions for
60950         applicable cases of large exponents.
60952         [BZ #706]
60953         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60954         (__ieee754_pow): Use iterative multiplication algorithm only for
60955         integer exponents with absolute value below 1024.  Check for odd
60956         integer exponents when using algorithm for real exponents.
60957         * math/libm-test.inc (pow_test): Add more tests.
60958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60960 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60962         [BZ #13705]
60963         * math/libm-test.inc (exp_test): Do not allow overflow exception
60964         on underflow test.
60966 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60968         [BZ #13705]
60969         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60970         instead of __kernel_standard_f.
60972 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60974         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60975         * sysdeps/x86_64/memset_chk.S: Likewise.
60977 2012-04-08  Andreas Jaeger  <aj@suse.de>
60979         [BZ #10153]
60980         * manual/startup.texi (Environment Access): Describe return value
60981         for putenv and setenv.
60983         [BZ #6895]
60984         * manual/filesys.texi (Directory Entries): Add description for
60985         DT_LNK.
60987         [BZ #6890]
60988         * manual/filesys.texi (Directory Entries): Clarify that it's file
60989         system not operating system in the description of DT_UNKNOWN.
60991         [BZ #6578]
60992         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60994 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60996         [BZ #6649]
60997         * manual/llio.texi (Opening and Closing Files): Add cross
60998         reference to explain mode argument.
61000 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61002         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61003         * sysdeps/x86_64/memset_chk.S: Likewise.
61005 2012-04-07  David S. Miller  <davem@davemloft.net>
61007         * elf/elf.h (R_SPARC_WDISP10): Define.
61008         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61009         R_SPARC_SIZE32.
61010         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61011         R_SPARC_SIZE64 and R_SPARC_H34.
61013 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61016         conditions and remove no longer applicable assertion.
61018 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61020         * bits/byteswap.h: Include <features.h>.
61021         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61022         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61024 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61026         * bits/byteswap.h (__bswap_16): Removed.
61027         Include <bits/byteswap-16.h> to get __bswap_16.
61028         * sysdeps/i386/bits/byteswap.h: Likewise.
61029         * sysdeps/s390/bits/byteswap.h: Likewise.
61030         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61031         * bits/byteswap-16.h: New file.
61032         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61033         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61034         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61035         * string/Makefile (headers): Add bits/byteswap-16.h.
61037 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61039         [BZ #13895]
61040         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61041         extra indirection.
61042         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61043         * nss/tst-nss-static.c: New.
61045 2012-04-06  Robert Millan  <rmh@gnu.org>
61047         [BZ #6486]
61048         * manual/llio.texi (File Position Primitive): lseek
61049         refers to WHENCE when it really means OFFSET.
61051 2012-04-06  Andreas Jaeger  <aj@suse.de>
61053         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61054         strncmp declarations.
61056         * abilist/libc.abilist: Add __poll and __ppoll.
61058 2012-04-05  David S. Miller  <davem@davemloft.net>
61060         * scripts/check-local-headers.sh: Accept a host triplet in the
61061         path matched by the exclude regexp.
61063         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61064         definition.
61065         * sysdeps/powerpc/powerpc32/dl-machine.h
61066         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61067         * sysdeps/s390/s390-32/dl-machine.h
61068         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61069         * sysdeps/sparc/sparc32/dl-machine.h
61070         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61071         * sysdeps/sparc/sparc64/dl-machine.h
61072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61074         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61075         lazy binding.
61076         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61077         undefined symbol errors.
61079         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61080         DT_NEEDED entries.
61082 2012-04-05  Michael Matz  <matz@suse.de>
61084         [BZ #13592]
61085         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61087 2012-04-05  Andreas Jaeger  <aj@suse.de>
61089         [BZ #13908]
61090         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61091         comment.
61093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61095         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61096         which ROUND is no valid rounding mode.
61098 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61100         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61101         read again.
61102         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61106         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61107         an exception using FPU order intentionally.
61109 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61111         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61112         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61113         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61114         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61116 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61118         [BZ #12340]
61119         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61120         EINVAL when BUFLEN is too smal.
61122 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61124         [BZ #13553]
61125         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61126         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61128 2012-04-03  Andreas Jaeger  <aj@suse.de>
61130         [BZ #13938]
61131         * manual/setjmp.texi (System V contexts): Fix sentence.
61133         [BZ #13926]
61134         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61135         New macro for this case.
61136         [!__GNUC__] (__bswap_64): New inline function for this case.
61137         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61138         * bits/byteswap.h: Likewise.
61139         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61140         ull, guard with __GLIBC_HAVE_LONG_LONG.
61142         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61143         __GLIBC_HAVE_LONG_LONG.
61145         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61146         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61148 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61150         [BZ #13691]
61151         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61152         inptr and inend, rather than using last_ch.
61154 2012-04-02  David S. Miller  <davem@davemloft.net>
61156         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61157         * stdio-common/printf-parse.h (read_int): Change return type to
61158         'int', return -1 on INT_MAX overflow.
61159         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61160         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61161         overflows INT_MAX.  Check for overflow of in-format-string precision
61162         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61163         SIZE_MAX not INT_MAX for integer overflow test.
61164         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61165         skip the construct in the format string but do not record anything.
61166         * stdio-common/bug22.c: Adjust to test both width/prevision
61167         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61168         explicitly for proper errno values.
61170 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61172         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61173         CHAR_MAX.
61174         * string/test-strcmp.c [! WIDE]: Likewise.
61175         * time/tst-mktime2.c: Likewise for INT_MAX.
61176         * string/test-string.h: #include <sys/param.h> for MIN.
61178         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61179         * sysdeps/i386/init-first.c (init): Likewise.
61180         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61181         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61182         * sysdeps/sh/init-first.c (init): Likewise.
61184 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61186         * po/ru.po: Update from translation team.
61187         * po/vi.po: Likewise.
61189 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61191         * resolv/nss_dns/dns-host.c: Merge copyright years.
61193 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61195         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61196         Optimize memcpy with prefetch if
61197         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61198         src, dst pointers have unequal 16 byte alignments.
61200 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61202         [BZ #13928]
61203         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61204         from a CNAME entry and return the minimum ttl for the query.
61205         (gaih_getanswer_slice): Likewise.
61207 2012-03-30  Jeff Law  <law@redhat.com>
61209         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61210         due to long keys.
61211         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61212         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61214         * resolv/nss_dns/dns-host.c: Update copyright year.
61216 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61218         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61219         requests to save a system call.  Fix check that all bytes are sent.
61221         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61222         comments for sendmmsg.
61224 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61226         [BZ #13691]
61227         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61228         with only 1 character between 0x0041 and 0x01b0.
61229         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61230         * wcsmbs/tst-mbsnrtowcs.c: New file.
61232 2012-03-29  David S. Miller  <davem@davemloft.net>
61234         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61235         small copies by hand.
61237 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61239         [BZ #13761]
61240         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61241         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61242         group memberships.
61244 2012-03-28  David S. Miller  <davem@davemloft.net>
61246         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61247         that branches into memcpy.
61248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61250         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61251         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61253         bits.
61254         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61255         implementation too.
61256         * sysdeps/sparc/mempcpy.S: New file.
61258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61259         the IFUNC routine in the libc case.
61260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61262         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61263         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61264         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61265         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61266         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61267         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61268         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61269         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61271         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61272         loop to 256 bytes instead of 64 bytes and fix test signedness.
61274         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61275         * sysdeps/sparc/sparc32/Makefile: rather than here...
61276         * sysdeps/sparc/sparc64/Makefile: and here.
61278 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61280         * malloc/mallocbug.c: Avoid warnings about unused variables.
61282 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61284         [BZ #13760]
61285         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61286         in the right place. Discard and retry query if response is
61287         larger than input buffer size.
61289 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61291         [BZ #369]
61292         [BZ #2678]
61293         [BZ #3866]
61294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61295         x for large integer exponent.
61296         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61297         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61298         sign of result as needed afterwards.
61299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61300         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61301         result for underflowing pow the same as for overflow.
61302         (__kernel_standard_l): Handle powl overflow and underflow here
61303         rather than calling __kernel_standard.
61304         * math/libm-test.inc (pow_test): Add more tests.
61306         [BZ #3868]
61307         [BZ #13879]
61308         [BZ #13910]
61309         [BZ #13911]
61310         [BZ #13912]
61311         [BZ #13913]
61312         [BZ #13915]
61313         [BZ #13916]
61314         [BZ #13917]
61315         [BZ #13918]
61316         [BZ #13919]
61317         [BZ #13920]
61318         [BZ #13921]
61319         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61320         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61321         (__kernel_standard_l): New function.
61322         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61323         __kernel_standard.
61324         * math/w_acosl.c (__acosl): Likewise.
61325         * math/w_asinl.c (__asinl): Likewise.
61326         * math/w_atan2l.c (__atan2l): Likewise.
61327         * math/w_atanhl.c (__atanhl): Likewise.
61328         * math/w_coshl.c (__coshl): Likewise.
61329         * math/w_exp10l.c (__exp10l): Likewise.
61330         * math/w_exp2l.c (__exp2l): Likewise.
61331         * math/w_fmodl.c (__fmodl): Likewise.
61332         * math/w_hypotl.c (__hypotl): Likewise.
61333         * math/w_j0l.c (__j0l, __y0l): Likewise.
61334         * math/w_j1l.c (__j1l, __y1l): Likewise.
61335         * math/w_jnl.c (__jnl, __ynl): Likewise.
61336         * math/w_lgammal.c (__lgammal): Likewise.
61337         * math/w_log10l.c (__log10l): Likewise.
61338         * math/w_log2l.c (__log2l): Likewise.
61339         * math/w_logl.c (__logl): Likewise.
61340         * math/w_powl.c (__powl): Likewise.
61341         * math/w_remainderl.c (__remainderl): Likewise.
61342         * math/w_scalbl.c (sysv_scalbl): Likewise.
61343         * math/w_sinhl.c (__sinhl): Likewise.
61344         * math/w_sqrtl.c (__sqrtl): Likewise.
61345         * math/w_tgammal.c (__tgammal): Likewise.
61346         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61347         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61348         * math/libm-test.inc (acos_test): Add more tests.
61349         (acosh_test): Likewise.
61350         (asin_test): Likewise.
61351         (atanh_test): Likewise.
61352         (exp_test): Likewise.
61353         (exp10_test): Likewise.
61354         (exp2_test): Likewise.
61355         (expm1_test): Likewise.
61356         (lgamma_test): Likewise.
61357         (log_test): Likewise.
61358         (log10_test): Likewise.
61359         (log1p_test): Likewise.
61360         (log2_test): Likewise.
61361         (pow_test): Do not allow some spurious overflow exceptions.
61362         (sqrt_test): Add more tests.
61363         (tgamma_test): Likewise.
61364         (y0_test): Likewise.
61365         (y1_test): Likewise.
61366         (yn_test): Likewise.
61368 2012-03-27  Anton Blanchard  <anton@samba.org>
61370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61371         MAP_HUGETLB.
61372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61373         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61374         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61376 2012-03-27  David S. Miller  <davem@davemloft.net>
61378         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61380         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61381         have-as-vis3 check.
61383 2012-03-27  Andreas Jaeger  <aj@suse.de>
61385         * sysdeps/x86_64/elf/configure.in: Moved to ...
61386         * sysdeps/x86_64/configure.in: ... here.
61387         * sysdeps/x86_64/elf/start.S: Moved to ...
61388         * sysdeps/x86_64/start.S: ... here.
61389         * sysdeps/x86_64/elf/configure: Delete.
61391         * sysdeps/x86_64/configure.in: Merge contents from
61392         sysdeps/i386/configure.in (without i686 check).
61394         * sysdeps/i386/elf/Versions: Merge into ...
61395         * sysdeps/i386/Versions: ... this.
61396         * sysdeps/i386/elf/Versions: Delete file.
61397         * sysdeps/i386/elf/start.S: Moved to ...
61398         * sysdeps/i386/start.S: ...here.
61399         * sysdeps/i386/elf/configure.in: Merge into...
61400         * sysdeps/i386/configure.in: ...here.
61401         * sysdeps/i386/elf/configure.in: Delete file.
61402         * sysdeps/i386/elf/configure: Delete file.
61404         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61405         * debug/backtracesyms.c: ... here.
61406         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61407         * debug/backtracesymsfd.c: ... here.
61408         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61409         * sysdeps/generic/ifunc-sel.h: ... here.
61411         * sysdeps/unix/i386/start.c: Delete file.
61412         * sysdeps/unix/sparc/start.c: Delete file.
61413         * sysdeps/unix/start.c: Delete file.
61415         * sysdeps/sh/elf/configure.in: Moved to ...
61416         * sysdeps/sh/configure.in: ... here.
61417         * sysdeps/sh/elf/start.S: Moved to ...
61418         * sysdeps/sh/start.S: ... here.
61419         * sysdeps/sh/elf/configure: Delete file.
61421         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61422         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61423         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61424         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61425         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61426         * sysdeps/powerpc/powerpc64/start.S: here.
61427         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61428         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61429         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61430         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61431         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61433         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61434         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61435         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61436         * sysdeps/powerpc/powerpc32/start.S: ... here.
61437         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61438         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61439         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61441         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61442         * sysdeps/powerpc/ifunc-sel.h: ... here.
61443         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61444         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61446         * sysdeps/sparc/elf/configure.in: Moved to ...
61447         * sysdeps/sparc/configure.in: ... here.
61448         * sysdeps/sparc/elf/configure: Delete file.
61449         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61450         * sysdeps/sparc/sparc32/start.S: ... here.
61451         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61452         * sysdeps/sparc/sparc64/start.S: ... here.
61453         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61454         * sysdeps/sparc/sparc32/Makefile: ... this.
61455         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61456         * sysdeps/sparc/sparc64/Makefile: ... this.
61458         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61459         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61460         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61461         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61462         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61463         * sysdeps/s390/s390-32/setjmp.S: ... here.
61464         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61465         * sysdeps/s390/s390-32/configure.in: ... here.
61466         * sysdeps/s390/s390-32/elf/configure: Delete file.
61467         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61468         * sysdeps/s390/s390-32/start.S: ... here.
61470         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61471         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61472         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61473         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61474         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61475         * sysdeps/s390/s390-64/setjmp.S: ... here.
61476         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61477         * sysdeps/s390/s390-64/configure.in: ... here
61478         * sysdeps/s390/s390-64/elf/configure: Delete file.
61479         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61480         * sysdeps/s390/s390-64/start.S: ... here.
61481         * sysdeps/s390/s390-64/elf/configure: Delete.
61483         * configure.in: Remove support for elf directories in sysdeps.
61485         * configure: Regenerated.
61486         * sysdeps/i386/configure: Regenerated.
61487         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61488         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61489         * sysdeps/s390/s390-32/configure: Regenerated.
61490         * sysdeps/s390/s390-64/configure: Regenerated.
61491         * sysdeps/sh/configure: Regenerated.
61492         * sysdeps/sparc/configure: Regenerated.
61493         * sysdeps/x86_64/configure: Regenerated.
61495 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61500         denormal result into account.
61502 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61504         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61505         Reported by Allan McRae <allan@archlinux.org>.
61507 2012-03-23  Jeff Law  <law@redhat.com>
61509         * nss/getnssent.c (__nss_getent): Fix typo.
61511 2012-03-23  David S. Miller  <davem@davemloft.net>
61513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61515 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61517         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61518         to pad to uint64_t for each field.
61519         (dl_tls_index): Replace unsigned long with uint64_t.
61521 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61522         Paul Pluzhnikov  <ppluzhnikov@google.com>
61524         [BZ #6528]
61525         * grp/Makefile (otherlibs): Don't set it.
61526         * inet/Makefile (otherlibs): Likewise.
61527         * login/Makefile (otherlibs): Likewise.
61528         * nscd/Makefile (otherlibs): Likewise.
61529         * posix/Makefile (otherlibs): Likewise.
61530         * pwd/Makefile (otherlibs): Likewise.
61531         * rt/Makefile (otherlibs): Likewise.
61532         * sunrpc/Makefile (otherlibs): Likewise.
61533         * nss/Makefile (otherlibs): Likewise.
61534         Add libnss_files to routines and static-only-routines.
61535         ($(objpfx)getent): Remove rule.
61536         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61537         static-only-routines.
61539 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61541         [BZ #13892]
61542         * math/s_cexp.c: Include <float.h>.
61543         (__cexp): Handle exp result overflowing not necessarily
61544         overflowing both real and imaginary parts of result.
61545         * math/s_cexpf.c: Likewise.
61546         * math/s_cexpl.c: Likewise.
61547         * math/libm-test.inc (cexp_test): Add more tests.
61548         * sysdeps/i386/fpu/libm-test-ulps: Update.
61549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61551 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61553         * include/link.h (ELFW): New macro.
61554         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61555         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61559         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61560         with uint64_t.
61562 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61564         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61565         declaration.
61566         (struct La_x32_retval): Likewise.
61568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61570         * sysdeps/x86_64/preconfigure.in: New file.
61571         * sysdeps/x86_64/preconfigure: New generated file.
61573 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61575         [BZ #13824]
61576         * math/e_exp2l.c: Include <float.h>.
61577         (__ieee754_exp2l): Handle overflow and underflow cases
61578         separately.  Only pass fractional part of argument to
61579         __ieee754_expl.
61580         * math/libm-test.inc (exp2_test): Add more tests.
61582         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61583         negating x to take absolute value.
61584         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61585         Likewise.
61586         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61587         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61588         Likewise.
61589         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61590         computing low part if x was negated.
61591         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61593 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61595         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61596         la_x32_gnu_pltexit.
61597         (pltexit): Cast int_retval to ptrdiff_t.
61598         * elf/tst-auditmod3b.c: Likewise.
61599         * elf/tst-auditmod4b.c: Likewise.
61600         * elf/tst-auditmod5b.c: Likewise.
61601         * elf/tst-auditmod6b.c: Likewise.
61602         * elf/tst-auditmod6c.c: Likewise.
61603         * elf/tst-auditmod7b.c: Likewise.
61605         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61606         and x32_gnu_pltexit.
61608         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61609         __ELF_NATIVE_CLASS.
61610         (La_x32_regs): New macro.
61611         (La_x32_retval): Likewise.
61612         (la_x32_gnu_pltenter): New function prototype.
61613         (la_x32_gnu_pltexit): Likewise.
61615 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61617         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61618         exponent.
61620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61622         * configure.in (libc_cv_cc_nofma): Check for option to disable
61623         generation of FMA instructions.
61624         * configure: Regenerate.
61625         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61626         * sysdeps/ieee754/dbl-64/Makefile: New file.
61627         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61628         Remove brandred-fma4.
61629         (CFLAGS-brandred-fma4.c): Remove.
61630         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61631         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61632         define.
61633         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61634         define.
61636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61638         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61639         LLONG_MAX != LONG_MAX.
61640         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61641         (_fitoa_word): Likewise.
61642         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61643         LLONG_MAX != LONG_MAX.
61644         * stdio-common/_itowa.h: Include <_itoa.h>.
61645         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61646         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61647         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61648         only if not defined.
61649         (_ITOA_WORD_TYPE): Likewise.
61650         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61651         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61653 2012-03-21  David S. Miller  <davem@davemloft.net>
61655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61657 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61659         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61660         of x86_64 when setting libc_cv_slibdir, libdir and
61661         libc_cv_localedir.
61662         * sysdeps/unix/sysv/linux/configure: Regenerated.
61664 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61666         * manual/lang.texi (Old Varargs): Remove section.
61667         (How Variadic): Update menu.
61668         (va_start): Do not mention varargs.h.
61670 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61671             Joseph Myers  <joseph@codesourcery.com>
61673         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61674         link test.
61675         * configure: Regenerated.
61677 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61679         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61680         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61681         conformtest.pl
61683 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61685         * NOTES: Remove.
61686         * Makefile (files-for-dist): Remove NOTES.
61687         (NOTES): Remove rule.
61688         * README: Don't refer to NOTES.
61689         * manual/creature.texi: Don't include macros.texi.
61690         * manual/intro.texi (creature.texi): Remove comment referring to
61691         NOTES.
61693         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61694         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61695         * configure: Regenerated.
61696         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61697         LIBC_TRY_CC_OPTION.
61698         (libc_cv_as_i686): Likewise.
61699         (libc_cv_cc_avx): Likewise.
61700         (libc_cv_cc_sse2avx): Likewise.
61701         (libc_cv_cc_fma4): Likewise.
61702         (libc_cv_cc_novzeroupper): Likewise.
61703         * sysdeps/i386/configure: Regenerated.
61705         [BZ #13883]
61706         * sysdeps/i386/fpu/s_cexp.S: Remove.
61707         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61708         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61709         * math/libm-test.inc (cexp_test): Add more tests.
61710         * sysdeps/i386/fpu/libm-test-ulps: Update.
61711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61713 2012-03-21  Allan McRae  <allan@archlinux.org>
61715         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61717 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61719         [BZ #13871]
61720         * math/w_exp2.c: Do not include <float.h>.
61721         (o_threshold, u_threshold): Remove.
61722         (__exp2): Calculate result before checking finiteness and calling
61723         __kernel_standard.
61724         * math/w_exp2f.c: Likewise.
61725         * math/w_exp2l.c: Likewise.
61726         * math/libm-test.inc (exp2_test): Require overflow exception for
61727         1e6 input.
61729         [BZ #3866]
61730         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61731         range of signed 64-bit integers before using fistpll.  Remove
61732         checks for whether integers fit in mantissa bits.
61733         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61734         the range of signed 32-bit integers before using fistpl.  Remove
61735         checks for whether integers fit in mantissa bits.
61736         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61737         (__ieee754_powl): Test for y outside the range of signed 64-bit
61738         integers before using fistpll.  Reduce 64-bit values to 63-bit
61739         ones as needed.
61740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61741         divide-by-zero is raised for zero to large negative powers.
61742         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61743         (__ieee754_powl): Test for y outside the range of signed 64-bit
61744         integers before using fistpll.  Reduce 64-bit values to 63-bit
61745         ones as needed.
61746         * math/libm-test.inc (pow_test): Add more tests.
61748 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61750         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61751         <stdio-common/_itoa.h>.
61752         * debug/segfault.c: Likewise.
61753         * elf/dl-cache.c: Likewise.
61754         * elf/dl-minimal.c: Likewise.
61755         * elf/dl-misc.c: Likewise.
61756         * elf/dl-sysdep.c: Likewise.
61757         * elf/dl-version.c: Likewise.
61758         * elf/rtld.c: Likewise.
61759         * hurd/hurdsock.c: Likewise.
61760         * hurd/lookup-retry.c: Likewise.
61761         * malloc/malloc.c: Likewise.
61762         * malloc/mtrace.c: Likewise.
61763         * nscd/nscd_getgr_r.c: Likewise.
61764         * nscd/nscd_getpw_r.c: Likewise.
61765         * nscd/nscd_getserv_r.c: Likewise.
61766         * posix/getopt_init.c: Likewise.
61767         * posix/wordexp.c: Likewise.
61768         * stdio-common/_itoa.c: Likewise.
61769         * stdio-common/printf_fphex.c: Likewise.
61770         * stdio-common/vfprintf.c: Likewise.
61771         * string/_strerror.c: Likewise.
61772         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61773         * sysdeps/i386/i686/hp-timing.h: Likewise.
61774         * sysdeps/mach/_strerror.c: Likewise.
61775         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61776         * sysdeps/mach/hurd/sethostid.c: Likewise.
61777         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61778         * sysdeps/mach/xpg-strerror.c: Likewise.
61779         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61780         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61781         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61782         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61783         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61784         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61786         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61787         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61788         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61789         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61790         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61791         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61792         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61793         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61794         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61795         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61796         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61797         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61798         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61799         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61801         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61803         * stdio-common/_itoa.h: Moved to ...
61804         * sysdeps/generic/_itoa.h: Here.
61806         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61808         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61809         instead of "_itoa.h" and "_itowa.h".
61810         * stdio-common/vfprintf.: Likewise.
61812 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61814         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61815         <bits/wordsize.h>.
61816         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61817         (__signbit): Likwise.
61818         (llrintf): Likwise.
61819         (llrint): Likwise.
61821 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61823         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61824         __WORDSIZE != 64.
61826 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61828         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61829         OVERFLOW_EXCEPTION_OK.
61830         * math/libm-test.inc ("Philosophy"): Update comment about
61831         exception testing.
61832         (OVERFLOW_EXCEPTION): Define.
61833         (OVERFLOW_EXCEPTION_OK): Likewise.
61834         (INVALID_EXCEPTION_OK): Renumber.
61835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61836         (IGNORE_ZERO_INF_SIGN): Likewise.
61837         (test_exceptions): Handle FE_OVERFLOW.
61838         (exp10_test): Expect overflow exceptions.
61839         (exp2_test): Likewise.
61840         (expm1_test): Likewise.
61841         (nextafter_test): Likewise.
61842         (pow_test): Likewise.
61843         (scalbn_test): Likewise.
61844         (scalbln_test): Likewise.
61846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61848         * sysdeps/x86_64/bits/atomic.h
61849         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61850         64bit integer.
61851         (atomic_exchange_acq): Likewise.
61852         (__arch_exchange_and_add_body): Likewise.
61853         (__arch_add_body): Likewise.
61854         (atomic_add_negative): Likewise.
61855         (atomic_add_zero): Likewise.
61857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61859         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61860         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61864         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61865         Check __x86_64__ instead of __WORDSIZE.
61867 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61869         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61871 2012-03-19  David S. Miller  <davem@davemloft.net>
61873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61875         * sysdeps/sparc/fpu/fenv_private.h: New file.
61876         * sysdeps/sparc/fpu/math_private.h: Use it.
61877         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61878         Remove.
61879         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61880         (libc_feholdexcept_setroundl): Remove.
61881         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61882         Remove.
61883         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61884         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61888         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61889         int64_t instead of long int.
61890         (INSERT_WORDS64): Likwise.
61892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61894         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61895         _Unwind_GetCFA return to _Unwind_Ptr first.
61897 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61899         [BZ #13629]
61900         * math/s_clog.c: Include <float.h>.
61901         (__clog): Scale large or subnormal inputs.
61902         * math/s_clogf.c: Likewise.
61903         * math/s_clogl.c: Likewise.
61904         * math/s_clog10.c: Include <float.h>.
61905         (M_LOG10_2): Define.
61906         (__clog10): Scale large or subnormal inputs.
61907         * math/s_clog10f.c: Likewise.
61908         * math/s_clog10l.c: Likewise.
61909         * math/libm-test.inc (clog_test): Add more tests.
61910         (clog10_test): Likewise.
61911         * sysdeps/i386/fpu/libm-test-ulps: Update.
61912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61914         [BZ #11451]
61915         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61916         x and y.
61917         * math/libm-test.inc (atan2_test): Add another test.
61919         * Makerules (common-objdir-compile): Remove.
61920         * sysdeps/unix/Makefile (config-generated): Do not add
61921         $(unix-generated) to variable.
61922         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61923         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61924         Remove rule.
61925         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61926         Likewise.
61927         [generic bits/local_lim.h] (before-compile): Do not append to
61928         variable.
61929         [generic bits/local_lim.h] (common-generated): Likewise.
61930         [generic sys/param.h] (before-compile): Do not append to variable.
61931         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61932         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61933         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61934         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61935         include.
61936         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61937         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61938         [generic sys/param.h] ($(addprefix
61939         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61940         [generic sys/param.h] (common-generated): Do not append to
61941         variable.
61942         [generic sys/param.h] (sysdep_headers): Likewise.
61943         [generic bits/errno.h] (before-compile): Do not append to
61944         variable.
61945         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61946         rule.
61947         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61948         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61949         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61950         [generic bits/errno.h] (common-generated): Do not append to
61951         variable.
61952         [generic bits/ioctls.h] (before-compile): Do not append to
61953         variable.
61954         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61955         rule.
61956         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61957         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61958         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61959         rule.
61960         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61961         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61962         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61963         [generic bits/ioctls.h] (common-generated): Do not append to
61964         variable.
61965         [generic sys/syscall.h] (syscall.h): Remove variable.
61966         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61967         rule.
61968         [generic sys/syscall.h] (before-compile): Do not append to
61969         variable.
61970         [generic sys/syscall.h] (common-generated): Likewise.
61971         * sysdeps/unix/errnos-tmpl.c: Remove file.
61972         * sysdeps/unix/errnos.awk: Likewise.
61973         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61974         * sysdeps/unix/ioctls.awk: Likewise.
61975         * sysdeps/unix/mk-local_lim.c: Likewise.
61976         * sysdeps/unix/snarf-ioctls: Likewise.
61978 2012-03-19  Richard Henderson  <rth@twiddle.net>
61980         * sysdeps/i386/fpu/fenv_private.h: New file.
61981         * sysdeps/i386/fpu/math_private.h: Use it.
61982         (math_opt_barrier, math_force_eval): Remove.
61983         (libc_feholdexcept_setround_53bit): Remove.
61984         (libc_feupdateenv_53bit): Remove.
61985         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61986         (math_opt_barrier, math_force_eval): Remove.
61987         (libc_feholdexcept): Remove.
61988         (libc_feholdexcept_setround): Remove.
61989         (libc_fetestexcept, libc_fesetenv): Remove.
61990         (libc_feupdateenv_test): Remove.
61991         (libc_feupdateenv, libc_feholdsetround): Remove.
61992         (libc_feresetround): Remove.
61994         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61995         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61997         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61998         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61999         (libc_feupdateenv_testl): New.
62000         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62001         (libc_feupdateenv_testf): New.
62002         (libc_feupdateenv): Use libc_feupdateenv_test.
62003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62004         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62006         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62007         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62008         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62009         (libc_feresetround_noex): New.
62010         (libc_feresetround_noexf): New.
62011         (libc_feresetround_noexl): New.
62012         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62013         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62014         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62016         SET_RESTORE_ROUND.
62017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62018         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62019         (__cos): Likewise.
62020         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62021         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62022         SET_RESTORE_ROUND_NOEX.
62023         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62024         SET_RESTORE_ROUND_NOEXF.
62025         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62026         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62027         (libc_feholdsetroundf): New.
62028         (libc_feresetround, libc_feresetroundf): New.
62030         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62031         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62032         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62034         * sysdeps/generic/math_private.h: Include <fenv.h>.
62035         (default_libc_feholdexcept): New.
62036         (default_libc_feholdexcept_setround): New.
62037         (default_libc_fesetenv, default_libc_feupdateenv): New.
62038         (libc_feholdexcept): Only define if undefined.
62039         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62040         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62041         (libc_feholdexcept_setroundl): Likewise.
62042         (libc_feholdexcept_setround_53bit): Likewise.
62043         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62044         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62045         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62046         (libc_feupdateenv_53bit): Likewise.
62047         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62048         (libc_feholdexcept): Convert from macro to inline function.
62049         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62050         (libc_fesetenv, libc_feupdateenv): Likewise.
62052         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62053         not previously defined.
62054         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62055         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62056         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62057         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62058         * sysdeps/ieee754/flt-32/math_private.h: New file.
62059         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62060         math_private.h below SET_FLOAT_WORD.
62061         (__isnan, __isinf_ns, __finite): Remove.
62062         (__isnanf, __isinf_nsf, __finitef): Remove.
62064 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62068 2012-03-17  David S. Miller  <davem@davemloft.net>
62070         [BZ #6471]
62071         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62072         for 2.16.
62074 2012-03-16  David S. Miller  <davem@davemloft.net>
62076         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62077         warnings.
62079         [BZ #6471]
62080         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62081         properly.
62082         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62083         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62084         sysdep_routines when subdir is sysvipc.
62085         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62086         __getshmlba helper.
62088         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62092         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62093         [__LP64__].
62095 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62098         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62099         (__lround): Renamed to ...
62100         (__llround): This.  Replace long int with long long int.
62101         Define lround functions as aliases of llround functions.
62102         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62104 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62106         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62107         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62108         adresses to uintptr_t.  Replace "long int" and "unsigned long
62109         int" with "greg_t" on va_arg.
62111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62113         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62114         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62116         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62117         Move e_machine check before EI_CLASS check.  Handle x32
62118         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62119         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62120         SKIP_EM_IA_64 and include
62121         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62123         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62124         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62125         (add_system_dir): New macro.
62127         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62128         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62130 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62132         [BZ #2551]
62133         [BZ #2552]
62134         [BZ #2553]
62135         [BZ #2554]
62136         [BZ #2562]
62137         [BZ #2563]
62138         [BZ #2565]
62139         [BZ #2566]
62140         [BZ #2576]
62141         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62142         (y0): Likewise.
62143         * math/w_j0f.c (j0f): Likewise.
62144         (y0f): Likewise.
62145         * math/w_j0l.c (__j0l): Likewise.
62146         (__y0l): Likewise.
62147         * math/w_j1.c (j1): Likewise.
62148         (y1): Likewise.
62149         * math/w_j1f.c (j1f): Likewise.
62150         (y1f): Likewise.
62151         * math/w_j1l.c (__j1l): Likewise.
62152         (__y1l): Likewise.
62153         * math/w_jn.c (jn): Likewise.
62154         (yn): Likewise.
62155         * math/w_jnf.c (jnf): Likewise.
62156         (ynf): Likewise.
62157         * math/w_jnl.c (__jnl): Likewise.
62158         (__ynl): Likewise.
62159         * math/libm-test.inc (j0_test): Add more tests.
62160         (j1_test): Likewise.
62161         (jn_test): Likewise.  Add trailing semicolon to existing test.
62162         (y0_test): Likewise.
62163         (y1_test): Likewise.
62164         * sysdeps/i386/fpu/libm-test-ulps: Update.
62165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62167         [BZ #13851]
62168         [BZ #13854]
62169         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62170         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62171         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62172         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62173         (__tanl): Set errno for infinite argument.
62174         * sysdeps/i386/fpu/mptan.c: Remove.
62175         * sysdeps/i386/fpu/s_tan.S: Likewise.
62176         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62177         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62178         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62179         * math/libm-test.inc (tan_test): Add more tests and enable more
62180         tests for double and long double.
62181         * sysdeps/i386/fpu/libm-test-ulps: Update.
62182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62184 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62186         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62187         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62189 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62191         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62192         * configure.in: Use it for both main tree and add-ons.
62193         * configure: Regenerated.
62195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62197         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62199 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62201         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62202         in comment.
62204         [BZ #13851]
62205         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62206         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62207         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62208         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62209         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62210         infinite argument.
62211         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62212         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62213         != 0 for prec == 2.
62214         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62215         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62216         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62217         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62218         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62219         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62220         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62221         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62222         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62223         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62224         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62225         * math/libm-test.inc (cos_test): Add more tests and enable more
62226         tests for long double.
62227         (sin_test): Likewise.
62228         (sincos_test): Likewise.
62229         * sysdeps/i386/fpu/libm-test-ulps: Update.
62230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62232 2012-03-16  David S. Miller  <davem@davemloft.net>
62234         * sysdeps/sparc/fpu/math_private.h: New file.
62236 2012-03-15  David S. Miller  <davem@davemloft.net>
62238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62239         file.
62240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62242         file.
62243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62249         sysdep routines.
62250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62252         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62253         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62255         * sysdeps/sparc/sparc-ifunc.h: New file.
62256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62257         sparc-ifunc.h
62258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62260         Likewise.
62261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62262         Likewise.
62263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62267         Likewise.
62268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62273         Likewise.
62274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62275         Likewise.
62276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62301 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62303         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62304         scaling.
62305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62307 2012-03-15  Andreas Jaeger  <aj@suse.de>
62309         [BZ #13852]
62310         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62311         ieee754/flt-32 implementation for sin, cos and sincos.
62312         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62313         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62314         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62315         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62316         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62317         ieee754/flt-32 implementation for tan.
62319         * math/libm-test.inc (cos_test): Enable some large input tests for
62320         float as well
62321         (sin_test): Likewise.
62322         (sincos_test): Likewise.
62323         (tan_test): Add tests for large input.
62325         * sysdeps/i386/fpu/libm-test-ulps: Update.
62327 2012-03-15  Andreas Jaeger  <aj@suse.de>
62329         [BZ #13658]
62330         * math/libm-test.inc (cos_test): Add more test cases.
62331         (sin_test): Likewise.
62332         (sincos_test): Likewise.
62334 2012-03-15  Andreas Jaeger  <aj@suse.de>
62336         [BZ #13837]
62337         * math/libm-test.inc (cos_test): Add a test case for large input
62338         value.
62339         (sin_test): Likewise.
62340         (sincos_test): Likewise.
62342 2012-03-15  Andreas Jaeger  <aj@suse.de>
62343             Joseph Myers  <joseph@codesourcery.com>
62345         [BZ #13658]
62346         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62347         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62348         * sysdeps/i386/fpu/branred.c: Likewise.
62349         * sysdeps/i386/fpu/dosincos.c: Likewise.
62350         * sysdeps/i386/fpu/mpa.c: Likewise.
62351         * sysdeps/i386/fpu/s_cos.S: Likewise.
62352         * sysdeps/i386/fpu/s_sin.S: Likewise.
62353         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62354         * sysdeps/i386/fpu/sincos32.c: Likewise.
62356         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62357         Define.
62358         (libc_feupdateenv_53bit): Define.
62359         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62360         Define.
62361         (libc_feupdateenv_53bit): Define.
62363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62364         53 bit (without extend i386 double precision).
62366         * math/libm-test.inc (sincos_test): Add tests for large input.
62367         (sin): Likewise.
62368         (cos): Likewise.
62370         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62372 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62376 2012-03-15  David S. Miller  <davem@davemloft.net>
62378         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62379         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62380         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62381         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62394         file.
62395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62397         file.
62398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62400         file.
62401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62403         file.
62404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62406         fmin/fmax sysdep routines.
62407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62409 2012-03-14  David S. Miller  <davem@davemloft.net>
62411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62432         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62433         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62435         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62439         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62440         routines.
62441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62442         file.
62443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62445         file.
62446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62448         file.
62449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62451         file.
62452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62454         file.
62455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62457         file.
62458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62459         file.
62460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62461         file.
62462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62463         file.
62464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62465         New file.
62466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62467         file.
62468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62469         file.
62470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62472         file.
62473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62475         file.
62476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62478         file.
62479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62481         VIS3 routines.
62483         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62484         New file.
62486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62488         * sysdeps/sparc/configure.in: New file.
62489         * sysdeps/sparc/configure: Generate.
62490         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62491         * configure: Regenerate.
62492         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62493         * config.make.in (have-as-vis3): New.
62494         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62495         available use -Av9d instead of -Av9a.
62496         * sysdeps/sparc/sparc64/Makefile: Likewise.
62497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62499         New file.
62500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62501         file.
62502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62503         New file.
62504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62505         file.
62506         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62507         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62508         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62509         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62512         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62513         fzeros/fnegs to load 0x80000000 into a float register instead of
62514         using the stack.
62515         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62517 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62520         bits/syscall.h.
62521         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62522         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62523         ($(inst_includedir)/bits/syscall.h): Remove rule.
62524         ($(objpfx)bits/syscall.d): Include instead of
62525         $(objpfx)syscall-list.d.
62526         (generated): Change syscall-list.h and syscall-list.d to
62527         bits/syscall.h and bits/syscall.d.
62529 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62531         [BZ #13846]
62532         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62534 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62536         [BZ #13841]
62537         * math/s_csqrt.c: Include <float.h>.
62538         (__csqrt): Scale large or subnormal inputs.
62539         * math/s_csqrtf.c: Likewise.
62540         * math/s_csqrtl.c: Likewise.
62541         * math/libm-test.inc (csqrt_test): Add more tests.
62542         * sysdeps/i386/fpu/libm-test-ulps: Update.
62543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62545         [BZ #13840]
62546         * math/libm-test.inc (hypot_test): Add more tests.
62548 2012-03-13  David S. Miller  <davem@davemloft.net>
62550         [BZ #13840]
62551         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62552         double-precision for the calculation instead of scaling.
62554 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62556         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62557         manipulate bits before adding and subtracting TWO52[sx].
62558         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62559         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62560         Likewise.
62561         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62563 2012-03-13  David S. Miller  <davem@davemloft.net>
62565         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62566         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62568         rtld-global-offsets.h
62569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62571         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62572         large parameters.
62574         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62576         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62577         'err' in the ifdef scope in which it is actually used.
62579         * nss/nss_db/db-init.c: Include string.h
62581 2012-03-12  David S. Miller  <davem@davemloft.net>
62583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62584         masking out of the most significant byte of random value used.
62585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62586         Fix coding style in previous change.
62588         * sysdeps/unix/sysv/linux/kernel-features.h
62589         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62590         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62591         expression.
62592         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62593         later.
62595 2012-03-11  David S. Miller  <davem@davemloft.net>
62597         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62598         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62599         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62600         for 'resultvar' otherwise things get truncated on 64-bit.
62602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62603         Fix masking out of the most significant byte of random value used.
62605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62607 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62611 2012-03-09  David S. Miller  <davem@davemloft.net>
62613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62614         variables with appropriate CPP guards.
62615         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62616         from the frame pointer, not the stack pointer.  Correct layout
62617         comments.  Fix test on resulting framesize and the management of
62618         the outregs buffer for pltexit.  Preserve floating point return
62619         values across _dl_call_pltexit call.
62620         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62621         framesize and the management of the outregs buffer for pltexit.
62622         Preserve floating point return values across _dl_call_pltexit
62623         call.
62624         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62625         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62626         (la_sparc64_gnu_pltexit): New functions.
62627         (print_exit): Fix format string for return register value.
62629 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62631         * sunrpc/Makefile (others): Add rpcgen.
62632         ($(objpfx)rpcgen): Remove special build rule and dependency on
62633         libc.
62634         * sunrpc/rpcgen.c: New file.
62636 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62638         [BZ #13673]
62639         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62640         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62641         * sysdeps/i386/crti.S: Likewise.
62642         * sysdeps/i386/crtn.S: Likewise.
62643         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62644         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62645         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62646         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62647         * sysdeps/sh/crti.S: Likewise.
62648         * sysdeps/sh/crtn.S: Likewise.
62649         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62651         [BZ #13673]
62652         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62653         with URL.
62654         * locale/programs/locfile-kw.gperf: Likewise.
62655         * locale/programs/charmap-kw.h: Regenerated.
62656         * locale/programs/locfile-kw.h: Likewise.
62658         [BZ #13673]
62659         * intl/plural.y: Replace FSF snail mail address with URL.
62660         * intl/plural.c: Regenerated.
62662 2012-03-09  Richard Henderson  <rth@twiddle.net>
62664         * include/math_private.h: Remove file.
62665         * math/math_private.h: Move file ...
62666         * sysdeps/generic/math_private.h: ... here.
62668         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62669         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62670         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62672         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62673         and <math_private.h>.
62674         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62675         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62676         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62677         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62678         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62679         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62680         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62682         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62685         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62686         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62688         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62689         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62690         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62691         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62692         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62695         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62696         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62698         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62700         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62704         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62706         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62707         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62710         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62714         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62717         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62719         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62720         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62721         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62722         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62723         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62724         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62725         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62726         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62727         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62728         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62729         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62730         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62731         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62732         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62733         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62734         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62735         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62736         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62737         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62738         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62739         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62740         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62741         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62742         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62743         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62747         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62748         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62754         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62755         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62757         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62759         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62761         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62762         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62763         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62764         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62765         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62766         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62767         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62768         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62769         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62770         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62771         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62772         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62774         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62775         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62776         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62777         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62778         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62779         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62780         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62781         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62782         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62784         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62785         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62786         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62787         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62788         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62790         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62791         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62792         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62793         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62795         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62797         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62798         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62799         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62801         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62802         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62803         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62804         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62805         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62806         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62807         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62808         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62809         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62810         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62811         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62812         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62813         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62814         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62815         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62816         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62817         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62818         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62819         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62820         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62821         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62822         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62823         * sysdeps/ieee754/k_standard.c: Likewise.
62824         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62825         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62827         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62828         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62829         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62830         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62831         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62832         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62834         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62835         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62836         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62837         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62838         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62839         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62840         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62841         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62842         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62843         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62844         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62845         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62846         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62847         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62848         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62849         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62854         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62855         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62856         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62857         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62858         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62859         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62861         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62862         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62863         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62864         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62866         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62867         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62868         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62869         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62870         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62875         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62876         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62877         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62878         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62879         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62880         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62881         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62882         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62883         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62884         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62885         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62886         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62891         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62892         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62901         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62902         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62903         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62906         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62907         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62908         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62909         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62910         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62911         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62912         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62914         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62915         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62916         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62917         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62921         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62922         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62923         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62928         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62931         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62932         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62933         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62935         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62936         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62937         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62938         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62939         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62940         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62941         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62943         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62946         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62947         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62948         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62949         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62950         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62951         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62952         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62953         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62954         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62955         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62956         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62957         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62958         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62959         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62960         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62961         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62963         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62964         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62965         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62966         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62967         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62968         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62973         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62975         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62978         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62979         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62980         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62981         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62982         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62983         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62984         * sysdeps/ieee754/s_lib_version.c: Likewise.
62985         * sysdeps/ieee754/s_matherr.c: Likewise.
62986         * sysdeps/ieee754/s_signgam.c: Likewise.
62987         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62988         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62989         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62990         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62991         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62992         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62993         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62994         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62995         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62996         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62997         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62998         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62999         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63000         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63001         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63002         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63003         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63009 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63011         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63012         * sunrpc/rpc_main.c: Likewise.
63013         * sunrpc/rpc_svcout.c: Likewise.
63015 2012-03-09  David S. Miller  <davem@davemloft.net>
63017         * include/math_private.h: New file.
63019 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63021         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63022         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63023         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63024         from <bits/socket_type.h>.
63025         (enum __socket_type): Don't define here.
63026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63028         bits/socket_type.h.
63030         [BZ #13566]
63031         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63032         checking __USE_GNU.
63034         * Makerules ($(inst_includedir)/%.h): New rule.
63035         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63036         (install-others): Remove variable setting.
63037         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63039 2012-03-08  Richard Henderson  <rth@twiddle.net>
63041         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63042         from macro to inline function; merge with the
63043         !__LIBC_INTERNAL_MATH_INLINES version.
63044         (__ieee754_sqrtf): Likewise.
63046         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63047         to inline function.
63048         (__rintf, __floor, __floorf): Likewise.
63050         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63051         macro to inline function.
63052         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63054         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63055         not <math/math_private.h>.
63057 2012-03-08  David S. Miller  <davem@davemloft.net>
63059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63060         copyright year.
63061         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63063 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63065         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63066         normalization.
63067         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63068         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63070 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63072         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63073         be defined individually, they must be defined as a block.  Define
63074         S for printing a string instead of hidint the different by using a
63075         macro for adding the 'l'.
63076         * stdio-common/tst-fphex-wide.c: Adjust.
63078 2012-03-07  Marek Polacek  <polacek@redhat.com>
63080         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63082 2012-03-08  Marek Polacek  <polacek@redhat.com>
63084         [BZ #13806]
63085         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63086         * stdio-common/tst-fphex.c: Define a few macros to make the
63087         test reusable.  Use them.
63088         * stdio-common/tst-fphex-wide.c: New file.
63090 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63092         [BZ #6911]
63093         * manual/macros.texi (gnusystems): New macro.
63094         (nongnusystems): Likewise.
63095         (gnulinuxhurdsystems): Likewise.
63096         (gnuhurdsystems): Likewise..
63097         (gnulinuxsystems): Likewise.
63098         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63099         variants of the GNU system, not "GNU system".
63100         * manual/conf.texi: Likewise.
63101         * manual/errno.texi: Likewise.  Update example of errno macro
63102         expansion.
63103         * manual/filesys.texi: Likewise.
63104         (getumask): Document as specific to GNU/Hurd.
63105         * manual/install.texi: Likewise.  Reword some references to
63106         GNU/Linux.
63107         * manual/intro.texi: Likewise.
63108         * manual/io.texi: Likewise.
63109         (File Name Portability): Detail which constraints are inapplicable
63110         to all GNU systems and which are only inapplicable to GNU/Hurd.
63111         * manual/job.texi: Likewise.
63112         * manual/llio.texi: Likewise.
63113         (O_NOCTTY): Document as present on GNU/Linux.
63114         * manual/maint.texi: Likewise.
63115         * manual/memory.texi: Likewise.
63116         * manual/pattern.texi: Likewise.
63117         * manual/pipe.texi: Likewise.
63118         * manual/process.texi: Likewise.
63119         * manual/resource.texi: Likewise.
63120         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63121         child on GNU/Hurd.
63122         * manual/setjmp.texi: Likewise.
63123         * manual/signal.texi: Likewise.
63124         * manual/startup.texi: Likewise.
63125         * manual/stdio.texi: Likewise.
63126         * manual/terminal.texi: Likewise.
63127         (ONLCR): Document as POSIX.
63128         (OXTABS): Document availability on GNU/Linux as XTABS.
63129         (ONOEOT): Document availability separately from other bits.
63130         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63131         * manual/time.texi: Likewise.
63132         * manual/users.texi: Likewise.
63133         * INSTALL: Regenerated.
63134         * sysdeps/gnu/errlist.c: Regenerated.
63136         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63137         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63138         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63139         puts.
63140         * configure: Regenerated.
63142 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63144         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63145         default includes instead of AC_HEADER_CHECK.
63146         * sysdeps/i386/configure: Regenerated.
63148         [BZ #10716]
63149         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63150         * math/s_cacoshf.c (__cacoshf): Likewise.
63151         * math/s_cacoshl.c (__cacoshl): Likewise.
63152         * math/s_casinh.c (__casinh): Set signs of result from argument.
63153         * math/s_casinhf.c (__casinhf): Likewise.
63154         * math/s_casinhl.c (__casinhl): Likewise.
63155         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63156         (casinh_test): Add more tests.
63157         * sysdeps/i386/fpu/libm-test-ulps: Update.
63158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63160 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63162         * po/zh_TW.po: Update from translation team.
63164         * login/Makefile (distribute): Remove variable.
63165         * catgets/Makefile: Likewise.
63166         * mach/Makefile: Likewise.
63167         * malloc/Makefile: Likewise.
63168         * misc/Makefile: Likewise.
63169         * iconv/Makefile: Likewise.
63170         * nscd/Makefile: Likewise.
63171         * hurd/Makefile: Likewise.
63172         * manual/Makefile: Likewise.
63173         * locale/Makefile: Likewise.
63174         * intl/Makefile: Likewise.
63175         * conform/Makefile: Likewise.
63176         * nss/Makefile: Likewise.
63177         * time/Makefile: Likewise.
63178         * soft-fp/Makefile: Likewise.
63179         * dirent/Makefile: Likewise.
63180         * gmon/Makefile: Likewise.
63181         * po/Makefile: Likewise.
63182         * rt/Makefile: Likewise.
63183         * socket/Makefile: Likewise.
63184         * math/Makefile: Likewise.
63185         * signal/Makefile: Likewise.
63186         * debug/Makefile: Likewise.
63187         * elf/Makefile: Likewise.
63188         * timezone/Makefile: Likewise.
63189         * stdlib/Makefile: Likewise.
63190         * iconvdata/Makefile: Likewise.
63191         * sunrpc/Makefile: Likewise.
63192         * io/Makefile: Likewise.
63193         * argp/Makefile: Likewise.
63194         * inet/Makefile: Likewise.
63195         * hesiod/Makefile: Likewise.
63196         * grp/Makefile: Likewise.
63197         * csu/Makefile: Likewise.
63198         * wctype/Makefile: Likewise.
63199         * crypt/Makefile: Likewise.
63200         * libio/Makefile: Likewise.
63201         * string/Makefile: Likewise.
63202         * nis/Makefile: Likewise.
63203         * resolv/Makefile: Likewise.
63204         * stdio-common/Makefile: Likewise.
63205         * wcsmbs/Makefile: Likewise.
63206         * dlfcn/Makefile: Likewise.
63207         * posix/Makefile: Likewise.
63209         [BZ #6959]
63210         * timezone/Makefile: Don't install timezone files, just the programs
63211         and scripts.
63213 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63215         * nss/databases.def: Add missing gshadow entry.
63217         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63219 2012-03-06  Marek Polacek  <polacek@redhat.com>
63221         [BZ #13726]
63222         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63223         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63224         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63225         * stdio-common/tst-long-dbl-fphex.c: New file.
63227 2012-03-06  David S. Miller  <davem@davemloft.net>
63229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63230         (set_obp_int): New function.
63231         (get_obp_int): New function.
63232         (__get_clockfreq_via_dev_openprom): Likewise.
63233         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63234         Avoid unused variable warnings on 'val' and use builtin_expect.
63235         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63236         __builtin_expect.
63237         (INLINE_CLONE_SYSCALL): Likewise.
63239 2012-03-05  David S. Miller  <davem@davemloft.net>
63241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63243 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63247         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63248         only for |x| >= 40.
63249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63251 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63254         Replace gettimeofday with __vdso_gettimeofday.
63256         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63257         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63258         __vdso_clock_gettime and __vdso_getcpu.
63260         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63261         time with __vdso_time.
63263 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63265         * manual/lang.texi (size_t): Note types to which size_t may be
63266         equivalent with the GNU C Library, but do not describe when
63267         differences between them are significant.
63269 2012-03-05  Andreas Jaeger  <aj@suse.de>
63271         * sysdeps/i386/fpu/libm-test-ulps: Update.
63273 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63275         [BZ #3976]
63276         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63277         (__ieee754_pow): Save and restore rounding mode and use
63278         round-to-nearest for main computations.
63279         * math/libm-test.inc (pow_test_tonearest): New function.
63280         (pow_test_towardzero): Likewise.
63281         (pow_test_downward): Likewise.
63282         (pow_test_upward): Likewise.
63283         (main): Call the new functions.
63284         * sysdeps/i386/fpu/libm-test-ulps: Update.
63285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63287         [BZ #3976]
63288         * math/libm-test.inc (cosh_test_tonearest): New function.
63289         (cosh_test_towardzero): Likewise.
63290         (cosh_test_downward): Likewise.
63291         (cosh_test_upward): Likewise.
63292         (sinh_test_tonearest): Likewise.
63293         (sinh_test_towardzero): Likewise.
63294         (sinh_test_downward): Likewise.
63295         (sinh_test_upward): Likewise.
63296         (main): Call the new functions.
63297         * sysdeps/i386/fpu/libm-test-ulps: Update.
63298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63300 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63302         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63303         default stack guard is set in last bytes.
63304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63306 2012-03-05  Kees Cook  <keescook@chromium.org>
63308         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63310         [BZ #13656]
63311         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63312         possibly allocate from heap instead of stack.
63313         * stdio-common/bug-vfprintf-nargs.c: New file.
63314         * stdio-common/Makefile (tests): Add nargs overflow test.
63316 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63320 2012-03-03  Marek Polacek  <polacek@redhat.com>
63322         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63323         * math/math_private.h: Likewise.
63324         * stdlib/tst-strtod.c: Likewise.
63325         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63326         * sysdeps/x86_64/bits/atomic.h: Likewise.
63328 2012-03-02  David S. Miller  <davem@davemloft.net>
63330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63334         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63335         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63336         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63337         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63339 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63341         [BZ #13792]
63342         * manual/examples/README: New file, says the example source files
63343         can be used under GPL>=2.
63344         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63345         line containing just "*/".
63346         * manual/examples/add.c: Add copyright header (GPL>=2).
63347         * manual/examples/argp-ex1.c: Likewise.
63348         * manual/examples/argp-ex2.c: Likewise.
63349         * manual/examples/argp-ex3.c: Likewise.
63350         * manual/examples/argp-ex4.c: Likewise.
63351         * manual/examples/atexit.c: Likewise.
63352         * manual/examples/db.c: Likewise.
63353         * manual/examples/dir.c: Likewise.
63354         * manual/examples/dir2.c: Likewise.
63355         * manual/examples/execinfo.c: Likewise.
63356         * manual/examples/filecli.c: Likewise.
63357         * manual/examples/filesrv.c: Likewise.
63358         * manual/examples/fmtmsgexpl.c: Likewise.
63359         * manual/examples/genpass.c: Likewise.
63360         * manual/examples/inetcli.c: Likewise.
63361         * manual/examples/inetsrv.c: Likewise.
63362         * manual/examples/isockad.c: Likewise.
63363         * manual/examples/longopt.c: Likewise.
63364         * manual/examples/memopen.c: Likewise.
63365         * manual/examples/memstrm.c: Likewise.
63366         * manual/examples/mkfsock.c: Likewise.
63367         * manual/examples/mkisock.c: Likewise.
63368         * manual/examples/mygetpass.c: Likewise.
63369         * manual/examples/pipe.c: Likewise.
63370         * manual/examples/popen.c: Likewise.
63371         * manual/examples/rprintf.c: Likewise.
63372         * manual/examples/search.c: Likewise.
63373         * manual/examples/select.c: Likewise.
63374         * manual/examples/setjmp.c: Likewise.
63375         * manual/examples/sigh1.c: Likewise.
63376         * manual/examples/sigusr.c: Likewise.
63377         * manual/examples/stpcpy.c: Likewise.
63378         * manual/examples/strdupa.c: Likewise.
63379         * manual/examples/strftim.c: Likewise.
63380         * manual/examples/strncat.c: Likewise.
63381         * manual/examples/subopt.c: Likewise.
63382         * manual/examples/swapcontext.c: Likewise.
63383         * manual/examples/termios.c: Likewise.
63384         * manual/examples/testopt.c: Likewise.
63385         * manual/examples/testpass.c: Likewise.
63386         * manual/examples/timeval_subtract.c: Likewise.
63388         [BZ #13792]
63389         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63390         function to ...
63391         * manual/timeval_subtract.c.texi: ... here, new file.
63393 2012-03-02  David S. Miller  <davem@davemloft.net>
63395         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63397 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63399         [BZ #3976]
63400         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63401         (__sin): Save and restore rounding mode and use round-to-nearest
63402         for all computations.
63403         (__cos): Save and restore rounding mode and use round-to-nearest
63404         for all computations.
63405         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63406         <fenv.h>.
63407         (tan): Save and restore rounding mode and use round-to-nearest for
63408         all computations.
63409         * math/libm-test.inc (cos_test_tonearest): New function.
63410         (cos_test_towardzero): Likewise.
63411         (cos_test_downward): Likewise.
63412         (cos_test_upward): Likewise.
63413         (sin_test_tonearest): Likewise.
63414         (sin_test_towardzero): Likewise.
63415         (sin_test_downward): Likewise.
63416         (sin_test_upward): Likewise.
63417         (tan_test_tonearest): Likewise.
63418         (tan_test_towardzero): Likewise.
63419         (tan_test_downward): Likewise.
63420         (tan_test_upward): Likewise.
63421         (main): Call the new functions.
63422         * sysdeps/i386/fpu/libm-test-ulps: Update.
63423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63425         [BZ #10135]
63426         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63427         small n, then large n, before computing and testing k+n.
63428         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63430         Likewise.
63431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63432         Likewise.
63433         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63434         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63435         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63436         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63439         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63440         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63441         * math/libm-test.inc (scalbn_test): Add more tests.
63442         (scalbln_test): Likewise.
63444         * manual/filesys.texi (mode_t): Describe constraints on size and
63445         signedness, not exact equivalence to a particular type.
63446         (ino_t): Likewise.
63447         (ino64_t): Likewise.
63448         (dev_t): Likewise.
63449         (nlink_t): Likewise.
63450         (blkcnt_t): Likewise.
63451         (blkcnt64_t): Likewise.
63452         * manual/llio.texi (off_t): Likewise.
63454         [BZ #3976]
63455         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63456         (__ieee754_exp): Save and restore rounding mode and use
63457         round-to-nearest for all computations.
63458         * math/libm-test.inc (exp_test_tonearest): New function.
63459         (exp_test_towardzero): Likewise.
63460         (exp_test_downward): Likewise.
63461         (exp_test_upward): Likewise.
63462         (main): Call the new functions.
63463         * sysdeps/i386/fpu/libm-test-ulps: Update.
63464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63466 2012-03-01  Chris Demetriou  <cgd@google.com>
63468         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63469         have predictable order.
63471 2012-03-01  David S. Miller  <davem@davemloft.net>
63473         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63475         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63476         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63477         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63478         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63480         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63481         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63482         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63484         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63485         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63486         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63487         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63488         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63493         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63494         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63496         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63497         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63498         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63499         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63500         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63501         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63502         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63503         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63504         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63505         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63506         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63507         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63509         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63510         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63512         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63513         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63514         * sysdeps/sparc/elf/configure: Regenerated.
63516 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63518         * configure.in (AS, LD): Require binutils 2.20 or later.
63519         * configure: Regenerated.
63520         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63521         as required minimum version.
63522         * INSTALL: Regenerated.
63524         [BZ #2541]
63525         [BZ #4108]
63526         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63527         before squaring exponent.
63528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63529         bottom long double and 27 bits of top long double before squaring
63530         exponent.
63531         * math/libm-test.inc (erfc_test): Add more tests.
63532         * sysdeps/i386/fpu/libm-test-ulps: Update.
63533         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63536 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63538         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63539         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63540         containing bit-fields.
63541         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63542         * soft-fp/single.h (_FP_UNION_S): Likewise.
63543         * soft-fp/double.h (_FP_UNION_D): Likewise.
63545 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63547         [BZ #13786]
63548         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63549         not include ../strcmp.S.
63550         [USE_AS_STRNCASECMP_L]: Likewise.
63551         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63552         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63553         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63554         (__strncasecmp_l_ia32): Define as alias to
63555         __strncasecmp_l_nonascii.
63557         [BZ #5794]
63558         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63559         * sysdeps/i386/fpu/libm-test-ulps: Update.
63560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63562         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63565 2012-02-29  Jeff Law  <law@redhat.com>
63567         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63568         out of bounds read.
63570 2012-02-29  Marek Polacek  <polacek@redhat.com>
63572         [BZ #13706]
63573         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63574         * elf/Makefile: Add rules to run tst-unused-dep.out.
63576 2012-02-28  David S. Miller  <davem@davemloft.net>
63578         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63579         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63580         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63581         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63582         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63583         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63585 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63587         * math/libm-test.inc (llround_test): Move one test from
63588         lround_test.  Use TEST_f_L in moved test.
63589         (lround_test): Move misplaced test to llround_test.  Add testcase
63590         from bug 2561.
63592 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63594         * sysdeps/x86_64/fpu/e_expf.S: New file.
63595         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63597 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63599         [BZ #13637]
63600         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63601         of remain_len that may cause incomplete multi-byte character and
63602         false match.
63603         * posix/bug-regex33.c: New file.
63604         * posix/Makefile (tests): Add bug-regex33.
63606 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63608         * manual/macros.texi: New file.
63609         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63610         * manual/libc.texinfo: Include macros.texi.
63611         * manual/creatute.texi: Likewise.
63612         * manual/install.texi: Likewise.
63613         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63614         @glibcadj{} in references to the GNU C Library.
63615         * manual/charset.texi: Likewise.
63616         * manual/conf.texi: Likewise.
63617         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63618         when not using those macros.
63619         * manual/creature.texi: Likewise.
63620         * manual/crypt.texi: Likewise.
63621         * manual/errno.texi: Likewise.
63622         * manual/filesys.texi: Likewise.
63623         * manual/header.texi: Likewise.
63624         * manual/install.texi: Likewise.
63625         * manual/intro.texi: Likewise.
63626         * manual/io.texi: Likewise.
63627         * manual/job.texi: Likewise.
63628         * manual/lang.texi: Likewise.
63629         * manual/libc.texiinfo: Likewise.
63630         * manual/llio.texi: Likewise.
63631         * manual/locale.texi: Likewise.
63632         * manual/maint.texi: Likewise.
63633         * manual/math.texi: Likewise.
63634         * manual/memory.texi: Likewise.
63635         * manual/message.texi: Likewise.
63636         * manual/nss.texi: Likewise.
63637         * manual/pattern.texi: Likewise.
63638         * manual/process.texi: Likewise.
63639         * manual/resource.texi: Likewise.
63640         * manual/search.texi: Likewise.
63641         * manual/setjmp.texi: Likewise.
63642         * manual/signal.texi: Likewise.
63643         * manual/socket.texi: Likewise.
63644         * manual/startup.texi: Likewise.
63645         * manual/stdio.texi: Likewise.
63646         * manual/string.texi: Likewise.
63647         * manual/sysinfo.texi: Likewise.
63648         * manual/syslog.texi: Likewise.
63649         * manual/terminal.texi: Likewise.
63650         * manual/time.texi: Likewise.
63651         * manual/users.texi: Likewise.
63652         * INSTALL: Regenerated.
63653         * NOTES: Regenerated.
63654         * sysdeps/gnu/errlist.c: Regenerated.
63656 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63658         * include/dirent.h: Include <dirstream.h> before
63659         <dirent/dirent.h>.
63661 2012-02-28  David S. Miller  <davem@davemloft.net>
63663         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63664         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63665         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63666         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63668 2012-02-27  David S. Miller  <davem@davemloft.net>
63670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63672         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63673         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63676         frame pointer instead of stack pointer relative arg slot.
63677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63681 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63683         [BZ #3992]
63684         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63686 2012-02-27  David S. Miller  <davem@davemloft.net>
63688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63694         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63695         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63697 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63699         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63700         later.  Allow versions 5-9.
63701         * configure: Regenerated.
63702         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63703         required minimum version and 4.6 as recommended version.  Do not
63704         mention bugs in GCC 2.7 and 2.8.
63705         * INSTALL: Regenerated.
63707 2012-02-27  David S. Miller  <davem@davemloft.net>
63709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63713         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63714         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63715         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63716         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63719         manipulate bits before adding and subtracting TWO112[sx].
63720         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63722 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63724         [BZ #13775]
63725         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63726         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63727         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63728         being in POSIX, because they are in 1003.1-2008.
63730         * rt/tst-aio.c: Include <fcntl.h>.
63731         * rt/tst-aio7.c: Likewise.
63732         * rt/tst-aio64.c: Likewise.
63734         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63736 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63738         * manual/install.texi (--with-headers): Describe headers as
63739         interface headers, not private headers.
63740         (Specific advice for GNU/Linux systems): Describe use of headers
63741         from "make headers_install", not private headers from older
63742         kernels.
63743         * INSTALL: Regenerated.
63744         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63745         Change to 2.6.19.
63746         * sysdeps/unix/sysv/linux/configure: Regenerated.
63748         * manual/llio.texi (fclean): Remove documentation.
63750         * manual/Makefile (libc-texi-generated): New variable.  Include
63751         version.texi.
63752         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63753         $(libc-texi-generated), not duplicated list of files.
63754         (version.texi, stamp-version): New rules.
63755         (realclean): Remove $(libc-texi-generated), not individual files
63756         from that list.  Do not remove dir-add.texinfo.
63757         * manual/libc.texinfo: Comment out uses of edition numbers and
63758         references to printed manual.  Remove last-updated dates.
63759         (EDITION): Comment out.
63760         (ISBN): Likewise.
63761         (VERSION, UPDATED): Remove.
63762         (version.texi): Include.
63764 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63766         * sysdeps/posix/spawni.c: Include <signal.h>.
63767         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63768         * sysdeps/pthread/aio_fsync.c: Likewise.
63770 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63772         * conform/Makefile (tests): Run only when not cross-compiling and
63773         when fast-check is not defined.
63775         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63776         * conform/data/limits.h-data: Fixes for POSIX2008.
63777         * conform/run-conformtest.sh: Run all tests.
63778         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63779         headers.
63780         * include/bits/dlfcn.h: Likewise.
63781         * include/langinfo.h: Likewise.
63782         * include/monetary.h: Likewise.
63783         * include/sys/poll.h: Likewise.
63785         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63786         for __USE_GNU.
63787         * posix/spawn.h: Define __need_sigset_t.
63788         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63789         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63790         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63791         to get sigevent_t only.
63792         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63793         only for __USE_GNU.
63794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63795         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63796         process_vm_writev only for __USE_GNU.
63797         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63799         * conform/Makefile: For now ignore errors from run-conformtest.
63800         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63801         POSIX to avoid namespace pollution.  Don't prepend headers.
63802         * conform/data/aio.h-data: Fixes for POSIX testing.
63803         * conform/data/fcntl.h-data: Likewise.
63804         * conform/data/glob.h-data: Likewise.
63805         * conform/data/grp.h-data: Likewise.
63806         * conform/data/pthread.h-data: Likewise.
63807         * conform/data/pwd.h-data: Likewise.
63808         * conform/data/signal.h-data: Likewise.
63809         * conform/data/spawn.h-data: Likewise.
63810         * conform/data/stdio.h-data: Likewise.
63811         * conform/data/stdlib.h-data: Likewise.
63812         * conform/data/stropts.h-data: Likewise.
63813         * conform/data/sys/mman.h-data: Likewise.
63814         * conform/data/sys/stat.h-data: Likewise.
63815         * conform/data/sys/types.h-data: Likewise.
63816         * conform/data/sys/wait.h-data: Likewise.
63817         * conform/data/time.h-data: Likewise.
63818         * conform/data/unistd.h-data: Likewise.
63819         * conform/data/utime.h-data: Likewise.
63821         * io/sys/stat.h: fchmod was always in POSIX.
63822         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63823         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63824         * rt/aio.h: Define __need_timespec before including <time.h>.
63825         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63826         struct.  Add forward declaration of pthread_attr_t and use it in
63827         sigevent.
63828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63829         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63830         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63831         always remove CLK_TCK definition.
63833 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63835         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63837 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63839         * conform/run-conformtest.sh: New file.
63840         * conform/Makefile: Run run-conformtest for tests.
63841         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63842         support.
63844         * conform/data/uchar.h-data: New file.
63845         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63846         * conform/data/arpa/inet.h-data: Likewise.
63847         * conform/data/assert.h-data: Likewise.
63848         * conform/data/complex.h-data: Likewise.
63849         * conform/data/cpio.h-data: Likewise.
63850         * conform/data/ctype.h-data: Likewise.
63851         * conform/data/dirent.h-data: Likewise.
63852         * conform/data/dlfcn.h-data: Likewise.
63853         * conform/data/errno.h-data: Likewise.
63854         * conform/data/fcntl.h-data: Likewise.
63855         * conform/data/float.h-data: Likewise.
63856         * conform/data/fmtmsg.h-data: Likewise.
63857         * conform/data/fnmatch.h-data: Likewise.
63858         * conform/data/ftw.h-data: Likewise.
63859         * conform/data/glob.h-data: Likewise.
63860         * conform/data/grp.h-data: Likewise.
63861         * conform/data/iconv.h-data: Likewise.
63862         * conform/data/inttypes.h-data: Likewise.
63863         * conform/data/langinfo.h-data: Likewise.
63864         * conform/data/libgen.h-data: Likewise.
63865         * conform/data/limits.h-data: Likewise.
63866         * conform/data/locale.h-data: Likewise.
63867         * conform/data/math.h-data: Likewise.
63868         * conform/data/monetary.h-data: Likewise.
63869         * conform/data/mqueue.h-data: Likewise.
63870         * conform/data/ndbm.h-data: Likewise.
63871         * conform/data/net/if.h-data: Likewise.
63872         * conform/data/netdb.h-data: Likewise.
63873         * conform/data/netinet/in.h-data: Likewise.
63874         * conform/data/nl_types.h-data: Likewise.
63875         * conform/data/poll.h-data: Likewise.
63876         * conform/data/pthread.h-data: Likewise.
63877         * conform/data/pwd.h-data: Likewise.
63878         * conform/data/regex.h-data: Likewise.
63879         * conform/data/sched.h-data: Likewise.
63880         * conform/data/search.h-data: Likewise.
63881         * conform/data/semaphore.h-data: Likewise.
63882         * conform/data/setjmp.h-data: Likewise.
63883         * conform/data/signal.h-data: Likewise.
63884         * conform/data/spawn.h-data: Likewise.
63885         * conform/data/stdarg.h-data: Likewise.
63886         * conform/data/stdio.h-data: Likewise.
63887         * conform/data/stdlib.h-data: Likewise.
63888         * conform/data/string.h-data: Likewise.
63889         * conform/data/strings.h-data: Likewise.
63890         * conform/data/stropts.h-data: Likewise.
63891         * conform/data/sys/ipc.h-data: Likewise.
63892         * conform/data/sys/mman.h-data: Likewise.
63893         * conform/data/sys/msg.h-data: Likewise.
63894         * conform/data/sys/resource.h-data: Likewise.
63895         * conform/data/sys/select.h-data: Likewise.
63896         * conform/data/sys/sem.h-data: Likewise.
63897         * conform/data/sys/shm.h-data: Likewise.
63898         * conform/data/sys/socket.h-data: Likewise.
63899         * conform/data/sys/stat.h-data: Likewise.
63900         * conform/data/sys/statvfs.h-data: Likewise.
63901         * conform/data/sys/time.h-data: Likewise.
63902         * conform/data/sys/timeb.h-data: Likewise.
63903         * conform/data/sys/times.h-data: Likewise.
63904         * conform/data/sys/types.h-data: Likewise.
63905         * conform/data/sys/uio.h-data: Likewise.
63906         * conform/data/sys/un.h-data: Likewise.
63907         * conform/data/sys/utsname.h-data: Likewise.
63908         * conform/data/sys/wait.h-data: Likewise.
63909         * conform/data/syslog.h-data: Likewise.
63910         * conform/data/tar.h-data: Likewise.
63911         * conform/data/termios.h-data: Likewise.
63912         * conform/data/utime.h-data: Likewise.
63913         * conform/data/utmpx.h-data: Likewise.
63914         * conform/data/varargs.h-data: Likewise.
63915         * conform/data/wchar.h-data: Likewise.
63916         * conform/data/wctype.h-data: Likewise.
63917         * conform/data/wordexp.h-data: Likewise.
63919         * include/stropts.h: New file.
63920         * include/uchar.h: New file.
63921         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63922         * include/assert.h: Likewise.
63923         * include/ctype.h: Likewise.
63924         * include/dirent.h: Likewise.
63925         * include/dlfcn.h: Likewise.
63926         * include/fcntl.h: Likewise.
63927         * include/fnmatch.h: Likewise.
63928         * include/glob.h: Likewise.
63929         * include/grp.h: Likewise.
63930         * include/libio.h: Likewise.
63931         * include/locale.h: Likewise.
63932         * include/math.h: Likewise.
63933         * include/net/if.h: Likewise.
63934         * include/netdb.h: Likewise.
63935         * include/netinet/in.h: Likewise.
63936         * include/pthread.h: Likewise.
63937         * include/pwd.h: Likewise.
63938         * include/regex.h: Likewise.
63939         * include/sched.h: Likewise.
63940         * include/search.h: Likewise.
63941         * include/setjmp.h: Likewise.
63942         * include/signal.h: Likewise.
63943         * include/stdio.h: Likewise.
63944         * include/stdlib.h: Likewise.
63945         * include/string.h: Likewise.
63946         * include/sys/cdefs.h: Likewise.
63947         * include/sys/mman.h: Likewise.
63948         * include/sys/msg.h: Likewise.
63949         * include/sys/resource.h: Likewise.
63950         * include/sys/select.h: Likewise.
63951         * include/sys/socket.h: Likewise.
63952         * include/sys/stat.h: Likewise.
63953         * include/sys/statvfs.h: Likewise.
63954         * include/sys/time.h: Likewise.
63955         * include/sys/times.h: Likewise.
63956         * include/sys/uio.h: Likewise.
63957         * include/sys/utsname.h: Likewise.
63958         * include/sys/wait.h: Likewise.
63959         * include/termios.h: Likewise.
63960         * include/time.h: Likewise.
63961         * include/ulimit.h: Likewise.
63962         * include/unistd.h: Likewise.
63963         * include/utime.h: Likewise.
63964         * include/wchar.h: Likewise.
63965         * include/wctype.h: Likewise.
63966         * include/wordexp.h: Likewise.
63968         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63970         * time/time.h: TIME_UTC must be a macro.
63971         Make timespec_get available for ISO C11 only as well.
63973 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63975         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63976         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63978 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63980         * configure.in: Use -o not -a in test for unsupported multi-arch.
63982 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63984         * manual/texinfo.tex: Update to version 2012-01-19.16.
63986 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63988         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63990 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63992         [BZ #13738]
63993         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63994         * manual/fdl-1.3.texi: New file.
63995         * manual/fdl-1.1.texi: File removed.
63997         [BZ #13738]
63998         * manual/libc.texinfo (FDL_VERSION): New @set.
63999         Use it for mention of FDL in cover text.
64000         (Documentation License): Use it in @include file name.
64002 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64003             Roland McGrath  <roland@hack.frob.com>
64005         [BZ #5461]
64006         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64007         (not LONG_LONG_MAX and LONG_LONG_MIN.
64008         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64009         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64010         name.
64011         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64015         [BZ #2547]
64016         [BZ #11365]
64017         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64018         manipulate bits before adding and subtracting TWO23[sx].
64019         * math/libm-test.inc (nearbyint_test): Add more tests.
64021 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64023         [BZ #2548]
64024         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64025         bits before adding and subtracting TWO23[sx].
64026         * math/libm-test.inc (rint_test): Add more tests.
64027         (rint_test_tonearest): Likewise.
64028         (rint_test_towardzero): Likewise.
64029         (rint_test_downward): Likewise.
64030         (rint_test_upward: Likewise.
64032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64034         [BZ #10110]
64035         * include/stdc-predef.h: New file.  Extracted from features.h.
64036         * include/features.h: Include stdc-predef.h.
64037         * Makefile (headers): Add stdc-predef.h.
64038         * CONFORMANCE (Compiler limitations): Update.
64040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64042         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64044 2012-02-21  David S. Miller  <davem@davemloft.net>
64046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64047         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64049 2012-02-20  David S. Miller  <davem@davemloft.net>
64051         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64052         using a normal save/restore sequence, rather than allocating a
64053         dummy stack frame just to store a frame pointer and restore.
64054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64058         * manual/install.texi: Fix stray word in line-wrapped comment.
64060 2012-02-20  David S. Miller  <davem@davemloft.net>
64062         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64063         both binutils and gcc support GOTDATA.
64065         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64066         "rd %pc" in the PIC register setup sequences.
64068         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64069         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64070         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64071         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64072         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64075         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64077         (SYSCALL_ERROR_HANDLER): Likewise.
64078         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64079         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64081         (SYSCALL_ERROR_HANDLER): Likewise.
64083         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64084         (HAVE_GCC_GOTDATA): New.
64085         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64086         relocation support in both binutils and gcc.
64087         * sysdeps/sparc/elf/configure: Regenerate.
64089         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64090         * sysdeps/sparc/sparc32/elf/configure: Delete.
64091         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64092         * sysdeps/sparc/sparc64/elf/configure: Delete.
64093         * sysdeps/sparc/elf/configure.in: New file.
64094         * sysdeps/sparc/elf/configure: Generate.
64096         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64097         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64098         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64099         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64100         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64102 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64104         * manual/install.texi: Do not mention specific glibc version
64105         numbers.
64106         * manual/libc.texinfo (VERSION, UPDATED): Update.
64107         (@copying): Use @copyright{} and range of years.
64109 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64111         [BZ #13695]
64112         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64113         [crti.S not in sysdirs] (generated): Do not append.
64114         [crti.S not in sysdirs] (omit-deps): Likewise.
64115         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64116         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64117         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64118         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64119         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64120         Likewise.
64121         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64122         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64123         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64124         * csu/defs.awk: Remove file.
64125         * sysdeps/generic/initfini.c: Likewise.
64126         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64127         variable.
64128         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64129         Likewise.
64131 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64133         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64134         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64135         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64136         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64137         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64138         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64139         <bits/epoll.h>.
64140         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64141         (__EPOLL_PACKED): Define to empty if not defined by
64142         <bits/epoll.h>.
64143         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64145         bits/epoll.h.
64147 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64149         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64150         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64151         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64152         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64153         <bits/timerfd.h>.
64154         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64156         bits/timerfd.h.
64158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64160         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64161         in C locale.
64162         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64163         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64167 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64169         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64170         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64172 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64174         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64175         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64176         defined.
64177         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64178         Likewise.
64179         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64180         entry for 2.16.
64182 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64184         * math/w_acos.c: Use non-signaling floating-point comparisons.
64185         * math/w_acosf.c: Likewise.
64186         * math/w_acosh.c: Likewise.
64187         * math/w_acoshf.c: Likewise.
64188         * math/w_acoshl.c: Likewise.
64189         * math/w_acosl.c: Likewise.
64190         * math/w_asin.c: Likewise.
64191         * math/w_asinf.c: Likewise.
64192         * math/w_asinl.c: Likewise.
64193         * math/w_atanh.c: Likewise.
64194         * math/w_atanhf.c: Likewise.
64195         * math/w_atanhl.c: Likewise.
64196         * math/w_exp2.c: Likewise.
64197         * math/w_exp2f.c: Likewise.
64198         * math/w_exp2l.c: Likewise.
64199         * math/w_j0.c: Likewise.
64200         * math/w_j0f.c: Likewise.
64201         * math/w_j0l.c: Likewise.
64202         * math/w_j1.c: Likewise.
64203         * math/w_j1f.c: Likewise.
64204         * math/w_j1l.c: Likewise.
64205         * math/w_jn.c: Likewise.
64206         * math/w_jnf.c: Likewise.
64207         * math/w_log.c: Likewise.
64208         * math/w_log10.c: Likewise.
64209         * math/w_log10f.c: Likewise.
64210         * math/w_log10l.c: Likewise.
64211         * math/w_log2.c: Likewise.
64212         * math/w_log2f.c: Likewise.
64213         * math/w_log2l.c: Likewise.
64214         * math/w_logf.c: Likewise.
64215         * math/w_logl.c: Likewise.
64216         * math/w_sqrt.c: Likewise.
64217         * math/w_sqrtf.c: Likewise.
64218         * math/w_sqrtl.c: Likewise.
64219         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64220         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64221         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64222         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64223         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64225 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64227         [BZ #9739]
64228         * manual/string.texi (strnlen): Use correct parameter name in
64229         equivalent expression.
64231 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64233         [BZ #11174]
64234         * manual/users.texi (seteuid): Consistently use neweuid for
64235         argument name.
64237 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64239         [BZ #13704]
64240         * manual/nss.texi (Services in the NSS configuration): Correct
64241         list of services in example configuration file.
64243 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64245         [BZ #11322]
64246         * manual/arith.texi: Remove statements about negative zero
64247         behaving identically to zero.
64249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64251         [BZ #5993]
64252         * manual/install.texi: Do not document upgrading from libc5.
64254 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64256         [BZ #4596]
64257         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64259 2012-02-18  David S. Miller  <davem@davemloft.net>
64261         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64262         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64263         %o7 across the call.
64264         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64265         instead.
64266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64267         SETUP_PIC_REG_LEAF.
64268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64269         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64270         * sysdeps/sparc/crtn.S: Likewise.
64272 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64274         * aout/Makefile: Remove.
64276 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64278         [BZ #13058]
64279         * manual/examples/argp-ex1.c (main): Format definition in GNU
64280         style.
64281         * manual/examples/argp-ex2.c (main): Likewise.
64282         * manual/examples/argp-ex3.c (main): Likewise.
64283         * manual/examples/argp-ex4.c (main): Likewise.
64284         * manual/examples/longopt.c (main): Use new-style prototype
64285         definition.
64286         * manual/examples/strncat.c (main): Specify return type and use
64287         (void) for arguments.
64288         * manual/examples/subopt.c (main): Use char **argv argument.
64290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64292         [BZ #5077]
64293         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64294         rounding modes.
64296 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64298         [BZ #6907]
64299         * manual/string.texi (strchr): Change when strchrnul is
64300         recommended.
64302 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64304         [BZ #174]
64305         * manual/locale.texi (setlocale): Document LOCPATH.
64307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64309         [BZ #10210]
64310         * manual/process.texi (execle): Move @dots{} before last argument.
64312 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64314         [BZ #12047]
64315         * manual/charset.texi (Generic Charset Conversion): Fix typo
64316         (LC_TYPE -> LC_CTYPE).
64318 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64320         [BZ #5805]
64321         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64322         (scalbnf): Likewise.
64323         (scalbnl): Likewise.
64324         (scalbln): Likewise.
64325         (scalblnf): Likewise.
64326         (scalblnl): Likewise.
64327         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64328         (vwarnx): Likewise.
64329         (verr): Likewise.
64330         (verrx): Likewise.
64331         * manual/filesys.texi (telldir): Use braces around return type.
64332         * manual/llio.texi (mmap): Add space after comma.
64333         (mmap64): Likewise.
64334         * manual/math.texi (jn): Use @var{} on parameter names.
64335         (jnf): Likewise.
64336         (jnl): Likewise.
64337         (yn): Likewise.
64338         (ynf): Likewise.
64339         (ynl): Likewise.
64340         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64341         line.
64342         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64343         "...".
64344         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64345         (sched_get_priority_max): Likewise.
64346         * manual/signal.texi (sigvec): Add space after comma.
64347         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64348         names.
64349         (if_indextoname): Likewise.
64350         (if_freenameindex): Likewise.
64351         (sendto): Use ',' instead of '.' in prototype.
64352         * manual/startup.texi (syscall): Use @dots{} instead of literal
64353         "...".
64354         * manual/stdio.texi (__fpending): Separate initial words of
64355         paragraph from @deftypefun line.
64356         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64357         "...".
64358         (vsyslog): Use @var{} on parameter names.
64359         * manual/terminal.texi (stty): Use @var{} on parameter names.
64360         * manual/users.texi (getutmp): Use @var{} on parameter names.
64361         (getutmpx): Likewise.
64363 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64365         [BZ #6884]
64366         * manual/stdio.texi (fopen): Fix typos in description of
64367         ",ccs=STRING".
64369 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64371         [BZ #4026]
64372         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64373         get clock_id definition.
64375 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64377         [BZ #4822]
64378         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64379         (madvise): Cast every argument to void on its own.
64381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64383         [BZ #9902]
64384         * manual/startup.texi (Exit Status): Fix typo.
64386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64388         [BZ #10140]
64389         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64390         * manual/examples/argp-ex2.c: Likewise.
64391         * manual/examples/argp-ex3.c: Likewise.
64393 2012-02-16  Richard Henderson  <rth@redhat.com>
64395         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64396         * sysdeps/s390/s390-32/initfini.c: Remove.
64397         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64398         * sysdeps/s390/s390-64/initfini.c: Remove.
64400 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64402         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64403         compiler output for sysdeps/generic/initfini.c.
64404         * sysdeps/sh/elf/initfini.c: Remove file.
64406 2012-02-16  David S. Miller  <davem@davemloft.net>
64408         [BZ #11494]
64409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64411         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64412         * sysdeps/sparc/crti.S: New file.
64413         * sysdeps/sparc/crtn.S: New file.
64414         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64415         * sysdeps/sparc/sparc64/Makefile: Likewise.
64417 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64419         [BZ #3335]
64420         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64422 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64424         [BZ #4822]
64425         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64427         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64428         (write, read, close): Likewise.
64429         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64431 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64433         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64434         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64435         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64436         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64437         <bits/signalfd.h>.
64438         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64440         bits/signalfd.h.
64442 2012-02-14  Marek Polacek  <polacek@redhat.com>
64444         * sysdeps/x86_64/crti.S: New file.
64445         * sysdeps/x86_64/crtn.S: New file.
64446         * sysdeps/x86_64/elf/initfini.c: Remove file.
64448 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64450         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64451         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64452         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64453         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64454         <bits/inotify.h>.
64455         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64457         bits/inotify.h.
64459 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64461         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64462         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64463         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64464         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64465         <bits/eventfd.h>.
64466         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64468         bits/eventfd.h.
64470 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64472         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64473         __feraiseexcept instead of feraiseexcept.
64475         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64476         nanosleep invocations.
64477         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64478         strings, and add error checking for a nanosleep invocations.
64480 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64482         Replace FSF snail mail address with URLs, as per GNU coding standards.
64483         Most of the snail mail addresses were wrong anyway, and omitting
64484         them makes the source code easier to maintain.  Almost all of the
64485         changes are to license notices and to locale LC_IDENTIFICATION
64486         addresses, except for this one:
64487         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64488         not its snail mail address.
64490 2012-02-09  Richard Henderson  <rth@twiddle.net>
64492         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64493         of kernel-features.h.
64495         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64497 2012-02-08  Marek Polacek  <polacek@redhat.com>
64499         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64500         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64501         * sysdeps/gnu/_G_config.h: Likewise.
64502         * sysdeps/generic/_G_config.h: Likewise.
64504 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64506         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64507         tests.
64508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64510         * sysdeps/powerpc/powerpc32/crti.S: New file.
64511         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64512         * sysdeps/powerpc/powerpc64/crti.S: New file.
64513         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64515         * Makeconfig (have-initfini): Don't set.
64516         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64517         * configure.in (nopic_initfini): Don't substitute.
64518         * config.h.in (HAVE_INITFINI): Don't #undef.
64519         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64520         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64522 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64524         Support crti.S and crtn.S provided directly by architectures.
64525         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64526         [crti.S in sysdirs] (omit-deps): Likewise.
64527         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64528         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64529         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64530         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64531         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64532         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64533         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64534         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64535         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64536         compiler output for sysdeps/generic/initfini.c.
64537         * sysdeps/i386/elf/Makefile: Remove file.
64538         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64540 2012-02-07  Marek Polacek  <polacek@redhat.com>
64542         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64543         * sysdeps/gnu/_G_config.h: Likewise.
64544         * sysdeps/mach/hurd/_G_config.h: Likewise.
64546 2012-02-07  Marek Polacek  <polacek@redhat.com>
64548         * math/Makefile (tests): Add tst-CMPLX2.
64549         * math/tst-CMPLX2.c: New file.
64551 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64553         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64555         * math/libm-test.inc (jn_test): Add missing L suffix.
64557 2012-02-06  Marek Polacek  <polacek@redhat.com>
64559         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64560         * sysdeps/i386/fpu/e_powf.S: Likewise.
64561         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64563         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64564         * sysdeps/i386/fpu/e_pow.S: Likewise.
64565         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64566         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64567         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64568         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64569         * sysdeps/i386/fpu/e_log2.S: Likewise.
64570         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64571         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64572         * sysdeps/i386/fpu/e_powl.S: Likewise.
64573         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64574         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64575         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64576         * sysdeps/i386/fpu/e_logl.S: Likewise.
64577         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64578         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64579         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64580         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64581         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64582         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64583         * sysdeps/i386/fpu/e_log.S: Likewise.
64584         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64585         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64586         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64587         * sysdeps/i386/fpu/e_logf.S: Likewise.
64588         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64590         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64591         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64592         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64593         * sysdeps/i386/fpu/e_log10.S: Likewise.
64594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64599         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64600         * sysdeps/i386/asm-syntax.h: Likewise.
64601         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64602         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64603         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64604         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64605         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64606         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64607         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64608         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64609         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64610         * sysdeps/powerpc/sysdep.h: Likewise.
64611         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64612         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64616         [BZ #411]
64617         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64619 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64621         * sysdeps/i386/sysdep.h: Include <features.h>.
64622         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64623         version.
64625 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64627         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64628         Define.
64629         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64630         LOAD_PIC_REG_STR.
64632 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64634         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64635         (SETUP_PIC_REG): Use GET_PC_THUNK.
64636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64637         macro.
64639 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64641         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64642         for non-PIC compilation.
64643         (SETUP_PIC_REG): Add .p2align directive.
64644         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64645         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64647         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64648         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64649         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64650         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64651         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64652         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64653         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64654         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64655         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64656         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64658         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64659         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64660         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64661         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64662         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64663         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64666         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64667         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64668         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64670         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64671         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64672         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64673         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64674         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64676         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64677         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64678         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64679         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64680         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64681         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64682         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64683         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64684         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64686 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64688         * math/tst-CMPLX.c: Include <stdio.h>.
64690 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64692         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64693         float.
64694         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64695         * sysdeps/sparc/bits/mathdef.h: Likewise.
64697 2012-01-31  Marek Polacek  <polacek@redhat.com>
64699         * libio/libio.h: Don't define _PARAMS.
64700         * locale/programs/config.h: Don't define PARAMS.
64701         * stdlib/strtol_l.c: Likewise.
64702         (__strtol_l): Remove PARAMS from the prototype.
64704 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64706         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64707         names.  Just use the correct names.  Remove unnecessary wrapper
64708         functions.
64709         * malloc/arena.c: Likewise.
64710         * malloc/hooks.c: Likewise.
64712         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64713         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64714         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64716 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64718         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64719         into tail calls.
64720         (update_get_addr): New function.
64721         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64722         GET_ADDR_MODULE parameter.
64724 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64726         * crypt/cert.c: Remove __STDC__ conditionals.
64727         * crypt/crypt-entry.c: Likewise.
64728         * crypt/crypt_util.c: Likewise.
64729         * libio/filedoalloc.c: Likewise.
64730         * libio/fileops.c: Likewise.
64731         * libio/genops.c: Likewise.
64732         * libio/iofclose.c: Likewise.
64733         * libio/iofdopen.c: Likewise.
64734         * libio/iofopen.c: Likewise.
64735         * libio/iofopen64.c: Likewise.
64736         * libio/iogetdelim.c: Likewise.
64737         * libio/iopopen.c: Likewise.
64738         * libio/obprintf.c: Likewise.
64739         * libio/oldfileops.c: Likewise.
64740         * libio/oldiofclose.c: Likewise.
64741         * libio/oldiofdopen.c: Likewise.
64742         * libio/oldiofopen.c: Likewise.
64743         * libio/oldiopopen.c: Likewise.
64744         * libio/wfiledoalloc.c: Likewise.
64745         * libio/wgenops.c: Likewise.
64746         * locale/programs/xmalloc.c: Likewise.
64747         * misc/syslog.c: Likewise.
64748         * stdio-common/xbug.c: Likewise.
64749         * string/memchr.c: Likewise.
64750         * string/memcmp.c: Likewise.
64751         * string/memrchr.c: Likewise.
64752         * string/rawmemchr.c: Likewise.
64753         * sysdeps/posix/getcwd.c: Likewise.
64754         * time/strftime_l.c: Likewise.
64756 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64758         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64759         * config.make.in (config-cflags-sse2avx): Define.
64760         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64761         Fix typo.
64763 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64765         * scripts/config.guess: Update from upstream config git repository.
64766         * scripts/config.sub: Likewise.
64768 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64770         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64771         (EM_NUM): Update.
64772         (R_TILEPRO_*, R_TILEGX_*): New macros.
64774         * scripts/firstversions.awk: Fix bug in version range handling.
64776         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64778         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64780         * include/sys/epoll.h: New file.
64781         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64782         libc_hidden_def.
64784 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64786         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64787         Avoid unnecessary __WORDSIZE == 64 test.
64788         (fmaxf): Use VEX format if possible.
64789         (fmax): Likewise.
64790         (fminf): Likewise.
64791         (fmin): Likewise.
64793         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64794         * math/math_private.h: Remove libc_fegetround* and
64795         libc_fesetround*.
64796         * sysdeps/i386/configure.in: Check for -msse2avx.
64797         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64798         also if SSE2AVX is defined.
64799         Remove libc_fegetround* and libc_fesetround*.
64800         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64801         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64803         of HAS_YMM_USABLE.
64804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64810         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64812 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64814         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64815         size is not set.
64816         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64818 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64820         [BZ #13618]
64821         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64822         relocation.
64823         * Makeconfig (libm): Define.
64824         * elf/Makefile: Add rules to build and run tst-relsort1.
64825         * elf/tst-relsort1.c: New file.
64826         * elf/tst-relsort1mod1.c: New file.
64827         * elf/tst-relsort1mod2.c: New file.
64829 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64831         * math/s_ldexp.c: Remove __STDC__ conditionals.
64832         * math/s_ldexpf.c: Likewise.
64833         * math/s_ldexpl.c: Likewise.
64834         * math/s_nextafter.c: Likewise.
64835         * math/s_nexttowardf.c: Likewise.
64836         * math/s_significand.c: Likewise.
64837         * math/s_significandf.c: Likewise.
64838         * math/s_significandl.c: Likewise.
64839         * math/w_jnl.c: Likewise.
64840         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64841         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64842         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64843         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64844         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64846         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64849         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64850         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64851         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64852         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64853         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64855         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64856         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64862         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64864         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64865         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64866         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64867         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64868         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64869         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64872         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64873         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64874         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64876         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64877         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64878         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64879         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64880         * sysdeps/ieee754/k_standard.c: Likewise.
64881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64882         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64883         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64884         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64885         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64886         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64888         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64889         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64890         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64891         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64892         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64893         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64894         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64895         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64897         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64898         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64899         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64900         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64901         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64903         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64904         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64906         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64909         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64912         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64913         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64916         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64917         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64920         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64921         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64924         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64931         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64934         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64937         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64941         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64942         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64943         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64944         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64945         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64946         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64947         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64948         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64949         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64950         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64951         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64952         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64953         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64955         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64956         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64957         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64958         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64959         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64960         * sysdeps/ieee754/s_matherr.c: Likewise.
64961         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64962         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64966 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64968         * crypt/md5.h: Remove __STDC__ conditionals.
64969         * libio/libioP.h: Likewise.
64970         * locale/programs/config.h: Likewise.
64971         * sysdeps/generic/sysdep.h: Likewise.
64972         * sysdeps/i386/asm-syntax.h: Likewise.
64973         * sysdeps/s390/asm-syntax.h: Likewise.
64974         * sysdeps/unix/sysdep.h: Likewise.
64975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64978 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64980         * libio/libio.h: Remove __STDC__ conditionals.
64981         * malloc/obstack.h: Likewise.
64982         * math/complex.h: Likewise.
64983         * math/math.h: Likewise.
64984         * sysdeps/generic/_G_config.h: Likewise.
64985         * sysdeps/gnu/_G_config.h: Likewise.
64986         * sysdeps/mach/hurd/_G_config.h: Likewise.
64987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64988         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64989         * sysdeps/sparc/bits/mathdef.h: Likewise.
64991 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64993         [BZ #13583]
64994         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64995         Clean up HAS_* macros.
64996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64997         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64998         possible.
64999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65000         HAS_AVX.
65001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65002         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65003         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65004         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65005         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65007 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65009         * elf/tst-unique3.cc (gets): Remove declaration.
65010         * elf/tst-unique3lib.cc (gets): Likewise.
65011         * elf/tst-unique3lib2.cc (gets): Likewise.
65012         * elf/tst-unique4.cc (gets): Likewise.
65014 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65016         * include/stdio.h: Add C++ protection.  Add gets declarations and
65017         definitions.
65018         * debug/tst-chk1.c: Don't declare gets here.
65019         * stdio-common/tst-gets.c: Likewise.
65021 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65023         * posix/glob: Remove directory.
65025 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65027         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65029 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65031         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65032         of the non-standard EPFNOSUPPORT.
65034 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65036         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65037         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65038         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65040 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65042         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65044 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65046         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65047         transient errors.
65048         * nscd/grpcache.c (cache_addgr): Likewise.
65049         * nscd/hstcache.c (cache_addhst): Likewise.
65050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65051         * nscd/pwdcache.c (cache_addpw): Likewise.
65052         * nscd/servicescache.c (cache_addserv): Likewise.
65054 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65056         * malloc/malloc.c: Various cleanups.
65057         * malloc/hooks.c: Likewise.
65059         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65060         * stdlib/bug-fmtmsg1.c: New file.
65062         * stdlib/fmtmsg.c (init): Add missing unlock.
65063         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65065 2012-01-12  Marek Polacek  <polacek@redhat.com>
65067         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65068         and _GNU_SOURCE.
65070 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65072         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65073         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65074         macro to ensure uniqueness of label name.
65075         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65076         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65078 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65080         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65082         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65083         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65085         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65087 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65089         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65091         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65092         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65095         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65097         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65098         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65099         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65102         * math/bits/math-finite.h: Add ldexp support.
65104 2012-01-10  Marek Polacek  <polacek@redhat.com>
65106         * locale/programs/localedef.h (show_archive_content): Add noreturn
65107         attribute.
65109 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65111         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65115         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65117         * io/Makefile (headers): Add bits/poll2.h.
65119 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65122         typo #include statement.
65124 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65126         * include/sys/cdefs.h: Define __attribute_alloc_size.
65127         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65128         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65129         * elf/pldd.c: Likewise.
65130         * iconv/iconv_charmap.c: Likewise.
65131         * iconv/iconvconfig.c: Likewise.
65132         * iconv/strtab.c: Likewise.
65133         * locale/programs/locale.c: Likewise.
65134         * locale/programs/localedef.h: Likewise.
65135         * locale/programs/simple-hash.c: Likewise.
65136         * nscd/nscd.h: Likewise.
65137         * nss/makedb.c: Likewise.
65138         * sysdeps/generic/ldconfig.h: Likewise.
65139         * locale/programs/localedef.c: Remove xmalloc prototype.
65140         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65142 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65144         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65145         appropriate.
65147 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65149         * math/Makefile (tests): Add tst-CMPLX.
65150         * math/tst-CMPLX.c: New file.
65152         * math/complex.h (CMPLXL): Fix typo.
65154         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65155         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65156         GLIBC_2.16.
65157         * debug/tst-chk1.c: Add poll and ppoll tests.
65158         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65159         * include/sys/poll.h: Add hidden proto for ppoll.
65160         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65161         * sysdeps/mach/hurd/ppoll.c: Likewise.
65162         * io/ppoll.c: Likewise.
65163         * debug/poll_chk.c: New file.
65164         * debug/ppoll_chk.c: New file.
65165         * include/bits/poll2.h: New file.
65166         * io/bits/poll2.h: New file.
65168         [BZ #1350]
65169         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65171         * configure.in: static is always set to yes.  Remove.
65172         * config.make.in: Don't set build-static.
65173         * Makeconfig: Remove use of build-static.
65174         * dlfcn/Makefile: Likewise.
65175         * elf/Makefile: Likewise.
65176         * math/Makefile: Likewise.
65177         * misc/Makefile: Likewise.
65178         * nptl/Makefile: Likewise.
65179         * sysdeps/mach/hurd/Makefile: Likewise.
65181         * configure.in: PWD_P is not used anymore.
65182         * config.make.in: Remove PWD_P entry.
65184         * configure.in: Remove last remnants of RANLIB.
65185         No need to check for signed size_t anymore.
65186         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65187         and IA-64.
65188         Remove __builtin_expect test because we require at least gcc 3.4.
65189         * aclocal.m4: Likewise.
65191         * wcsmbs/mbrtoc16.c: Implement using towc function.
65192         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65193         * wcsmbs/wcsmbsload.c: Likewise.
65194         * iconv/gconv_simple.c: Likewise.
65195         * iconv/gconv_int.h: Likewise.
65196         * iconv/gconv_builtin.h: Likewise.
65197         * iconv/iconv_prog.c: Remove CHAR16 handling.
65199         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65201         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65203         * configure.in: Remove --with-elf and --enable-bounded options.
65204         Dont set base_machine for ia64.  More non-ELF conditions removed.
65205         Remove testing and setting of leading underscore information.
65206         * config.make.in (build-bounded): Set to no.
65207         * config.h.in: Remove NO_UNDERSCORES entry.
65208         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65209         them.
65210         * csu/start.c: Remove !NO_UNDERSCORE code.
65211         * locale/localeinfo.h: Likewise.
65212         * sysdeps/generic/machine-gmon.h: Likewise.
65213         * sysdeps/generic/sysdep.h: Likewise.
65214         * sysdeps/i386/sysdep.h: Likewise.
65215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65216         * sysdeps/mach/sysdep.h: Likewise.
65217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65218         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65219         * sysdeps/sh/sysdep.h: Likewise.
65220         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65221         * sysdeps/unix/i386/sysdep.S: Likewise.
65222         * sysdeps/unix/sparc/start.c: Likewise.
65223         * sysdeps/unix/sparc/sysdep.S: Likewise.
65224         * sysdeps/unix/sparc/sysdep.h: Likewise.
65225         * sysdeps/unix/start.c: Likewise.
65226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65227         * sysdeps/x86_64/sysdep.h: Likewise.
65229 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65231         [BZ #13553]
65232         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65233         for non-gcc.
65234         * argp/argp-fmtstream.h: Use const instead __const.
65235         * argp/argp.h: Likewise.
65236         * assert/assert.h: Likewise.
65237         * bits/fenv.h: Likewise.
65238         * bits/sched.h: Likewise.
65239         * bits/sigset.h: Likewise.
65240         * bits/sigthread.h: Likewise.
65241         * catgets/nl_types.h: Likewise.
65242         * conform/data/pthread.h-data: Likewise.
65243         * crypt/crypt-private.h: Likewise.
65244         * crypt/crypt.h: Likewise.
65245         * crypt/crypt_util.c: Likewise.
65246         * ctype/ctype.h: Likewise.
65247         * debug/execinfo.h: Likewise.
65248         * debug/mbsnrtowcs_chk.c: Likewise.
65249         * debug/mbsrtowcs_chk.c: Likewise.
65250         * debug/wcsnrtombs_chk.c: Likewise.
65251         * debug/wcsrtombs_chk.c: Likewise.
65252         * debug/wcstombs_chk.c: Likewise.
65253         * dirent/dirent.h: Likewise.
65254         * dlfcn/dlfcn.h: Likewise.
65255         * elf/neededtest4.c: Likewise.
65256         * grp/grp.h: Likewise.
65257         * gshadow/gshadow.h: Likewise.
65258         * iconv/gconv.h: Likewise.
65259         * iconv/gconv_int.h: Likewise.
65260         * iconv/gconv_simple.c: Likewise.
65261         * iconv/iconv.h: Likewise.
65262         * iconv/loop.c: Likewise.
65263         * iconv/skeleton.c: Likewise.
65264         * include/aio.h: Likewise.
65265         * include/aliases.h: Likewise.
65266         * include/argz.h: Likewise.
65267         * include/arpa/inet.h: Likewise.
65268         * include/assert.h: Likewise.
65269         * include/dirent.h: Likewise.
65270         * include/dlfcn.h: Likewise.
65271         * include/execinfo.h: Likewise.
65272         * include/fcntl.h: Likewise.
65273         * include/fenv.h: Likewise.
65274         * include/glob.h: Likewise.
65275         * include/grp.h: Likewise.
65276         * include/libintl.h: Likewise.
65277         * include/mntent.h: Likewise.
65278         * include/netdb.h: Likewise.
65279         * include/pwd.h: Likewise.
65280         * include/rpc/netdb.h: Likewise.
65281         * include/sched.h: Likewise.
65282         * include/search.h: Likewise.
65283         * include/shadow.h: Likewise.
65284         * include/signal.h: Likewise.
65285         * include/stdio.h: Likewise.
65286         * include/stdlib.h: Likewise.
65287         * include/string.h: Likewise.
65288         * include/sys/socket.h: Likewise.
65289         * include/sys/stat.h: Likewise.
65290         * include/sys/statfs.h: Likewise.
65291         * include/sys/statvfs.h: Likewise.
65292         * include/sys/syslog.h: Likewise.
65293         * include/sys/time.h: Likewise.
65294         * include/sys/uio.h: Likewise.
65295         * include/time.h: Likewise.
65296         * include/unistd.h: Likewise.
65297         * include/utmp.h: Likewise.
65298         * include/wchar.h: Likewise.
65299         * include/wctype.h: Likewise.
65300         * inet/aliases.h: Likewise.
65301         * inet/arpa/inet.h: Likewise.
65302         * inet/netinet/ether.h: Likewise.
65303         * inet/netinet/in.h: Likewise.
65304         * intl/libintl.h: Likewise.
65305         * io/bits/fcntl2.h: Likewise.
65306         * io/fcntl.h: Likewise.
65307         * io/ftw.h: Likewise.
65308         * io/sys/poll.h: Likewise.
65309         * io/sys/stat.h: Likewise.
65310         * io/sys/statfs.h: Likewise.
65311         * io/sys/statvfs.h: Likewise.
65312         * io/utime.h: Likewise.
65313         * libio/bits/stdio.h: Likewise.
65314         * libio/bits/stdio2.h: Likewise.
65315         * libio/libio.h: Likewise.
65316         * libio/libioP.h: Likewise.
65317         * libio/stdio.h: Likewise.
65318         * locale/lc-ctype.c: Likewise.
65319         * locale/locale.h: Likewise.
65320         * login/utmp.h: Likewise.
65321         * malloc/arena.c: Likewise.
65322         * malloc/malloc.c: Likewise.
65323         * malloc/malloc.h: Likewise.
65324         * malloc/mcheck.c: Likewise.
65325         * malloc/mtrace.c: Likewise.
65326         * math/bits/mathcalls.h: Likewise.
65327         * math/fenv.h: Likewise.
65328         * math/math_private.h: Likewise.
65329         * misc/bits/error.h: Likewise.
65330         * misc/bits/syslog.h: Likewise.
65331         * misc/err.h: Likewise.
65332         * misc/error.h: Likewise.
65333         * misc/fstab.h: Likewise.
65334         * misc/mntent.h: Likewise.
65335         * misc/regexp.h: Likewise.
65336         * misc/search.h: Likewise.
65337         * misc/sgtty.h: Likewise.
65338         * misc/sys/mman.h: Likewise.
65339         * misc/sys/syslog.h: Likewise.
65340         * misc/sys/uio.h: Likewise.
65341         * misc/sys/xattr.h: Likewise.
65342         * misc/ttyent.h: Likewise.
65343         * nis/rpcsvc/ypclnt.h: Likewise.
65344         * nss/nss.h: Likewise.
65345         * posix/bits/unistd.h: Likewise.
65346         * posix/fnmatch.h: Likewise.
65347         * posix/glob.h: Likewise.
65348         * posix/sched.h: Likewise.
65349         * posix/spawn.h: Likewise.
65350         * posix/sys/wait.h: Likewise.
65351         * posix/unistd.h: Likewise.
65352         * posix/wordexp.h: Likewise.
65353         * pwd/pwd.h: Likewise.
65354         * resolv/netdb.h: Likewise.
65355         * resource/sys/resource.h: Likewise.
65356         * rt/aio.h: Likewise.
65357         * rt/bits/mqueue2.h: Likewise.
65358         * rt/mqueue.h: Likewise.
65359         * shadow/shadow.h: Likewise.
65360         * signal/signal.h: Likewise.
65361         * socket/send.c: Likewise.
65362         * socket/sendto.c: Likewise.
65363         * socket/sys/socket.h: Likewise.
65364         * stdio-common/printf.h: Likewise.
65365         * stdlib/bits/stdlib.h: Likewise.
65366         * stdlib/fmtmsg.h: Likewise.
65367         * stdlib/monetary.h: Likewise.
65368         * stdlib/stdlib.h: Likewise.
65369         * stdlib/ucontext.h: Likewise.
65370         * streams/stropts.h: Likewise.
65371         * string/argz.h: Likewise.
65372         * string/bits/string2.h: Likewise.
65373         * string/string.h: Likewise.
65374         * string/strings.h: Likewise.
65375         * sunrpc/rpc/auth.h: Likewise.
65376         * sunrpc/rpc/auth_des.h: Likewise.
65377         * sunrpc/rpc/clnt.h: Likewise.
65378         * sunrpc/rpc/netdb.h: Likewise.
65379         * sunrpc/rpc/pmap_clnt.h: Likewise.
65380         * sunrpc/rpc/xdr.h: Likewise.
65381         * sysdeps/generic/inttypes.h: Likewise.
65382         * sysdeps/generic/net/if.h: Likewise.
65383         * sysdeps/generic/sys/swap.h: Likewise.
65384         * sysdeps/gnu/net/if.h: Likewise.
65385         * sysdeps/gnu/utmpx.h: Likewise.
65386         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65387         * sysdeps/i386/i486/bits/string.h: Likewise.
65388         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65389         * sysdeps/s390/bits/string.h: Likewise.
65390         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65391         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65392         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65393         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65394         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65395         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65396         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65397         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65398         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65399         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65400         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65401         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65402         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65403         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65404         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65405         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65406         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65411         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65412         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65413         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65414         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65415         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65416         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65417         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65418         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65419         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65420         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65421         * sysvipc/sys/ipc.h: Likewise.
65422         * sysvipc/sys/msg.h: Likewise.
65423         * sysvipc/sys/sem.h: Likewise.
65424         * sysvipc/sys/shm.h: Likewise.
65425         * termios/termios.h: Likewise.
65426         * time/sys/time.h: Likewise.
65427         * time/time.h: Likewise.
65428         * wcsmbs/bits/wchar2.h: Likewise.
65429         * wcsmbs/uchar.h: Likewise.
65430         * wcsmbs/wchar.h: Likewise.
65431         * wctype/wctype.h: Likewise.
65433         [BZ #13551]
65434         * Makeconfig: Remove all but ELF support including AIX support.
65435         * Makerules: Likewise.
65436         * config.h.in: Likewise.
65437         * config.make.in: Likewise.
65438         * configure: Likewise.
65439         * configure.in: Likewise.
65440         * csu/Makefile: Likewise.
65441         * csu/version.c: Likewise.
65442         * debug/Makefile: Likewise.
65443         * dlfcn/Makefile: Likewise.
65444         * elf/Makefile: Likewise.
65445         * extra-lib.mk: Likewise.
65446         * iconv/Makefile: Likewise.
65447         * include/libc-symbols.h: Likewise.
65448         * include/shlib-compat.h: Likewise.
65449         * resolv/Makefile: Likewise.
65450         * resolv/res_libc.c: Likewise.
65451         * rt/Makefile: Likewise.
65452         * sysdeps/i386/asm-syntax.h: Likewise.
65453         * sysdeps/i386/sysdep.h: Likewise.
65454         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65455         * sysdeps/mach/sysdep.h: Likewise.
65456         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65457         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65458         * sysdeps/s390/asm-syntax.h: Likewise.
65459         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65461         * sysdeps/sh/sysdep.h: Likewise.
65462         * sysdeps/unix/sparc/sysdep.h: Likewise.
65463         * sysdeps/wordsize-32/divdi3.c: Likewise.
65464         * sysdeps/x86_64/sysdep.h: Likewise.
65466         * argp/Versions: Remove _argp_unlock_xxx.
65468         [BZ #13559]
65469         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65470         * abilist/libBrokenLocale.abilist: Likewise.
65471         * abilist/libanl.abilist: Likewise.
65472         * abilist/libc.abilist: Likewise.
65473         * abilist/libcrypt.abilist: Likewise.
65474         * abilist/libdl.abilist: Likewise.
65475         * abilist/libm.abilist: Likewise.
65476         * abilist/libnsl.abilist: Likewise.
65477         * abilist/libpthread.abilist: Likewise.
65478         * abilist/libresolv.abilist: Likewise.
65479         * abilist/librt.abilist: Likewise.
65480         * abilist/libthread_db.abilist: Likewise.
65481         * abilist/libutil.abilist: Likewise.
65482         * abilist/libnss_db.abilist: New file.
65484         * scripts/abilist.awk: Add support for indirect functions.
65486         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65488         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65490         * shlib-versions: Remove entries for ports architectures.
65492         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65493         files in ports.
65494         * elf/stackguard-macros.h: Remove support for IA-64.
65495         * elf/tst-auditmod1.c: Likewise.
65496         * sysdeps/generic/ldsodefs.h: Likewise.
65498         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65499         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65500         configure files.
65502         [BZ #13552]
65503         * configure.in: Remove --enable-omitfp support.
65504         * FAQ.in: Adjust.
65505         * config.make.in: Likewise.
65506         * Makeconfig: Likewise.
65507         * manual/install.texi: Likewise.
65509         In case anyone cares, the IA-64 architecture could move to ports.
65510         * sysdeps/ia64/*: Removed.
65511         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65512         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65514         [BZ #13555]
65515         * configure.in: Remove entries for unsupported architectures.
65517         [BZ #13533]
65518         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65519         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65520         routines.
65521         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65522         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65523         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65524         fall back to using wcrtomb.
65525         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65526         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65527         renaming.
65528         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65529         * wcsmbs/tst-c16c32-1.c: New file.
65531         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65532         local variable.
65534         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65536         * elf/tst-unique3.cc: Add explicit declaration of gets.
65537         * elf/tst-unique3lib.cc: Likewise.
65538         * elf/tst-unique3lib2.cc: Likewise.
65539         * elf/tst-unique4.cc: Likewise.
65541         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65543 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65545         [BZ #13566]
65546         * assert/assert.h (static_assert): Don't define for C++.
65547         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65548         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65550 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65552         * iconv/loop.c (single loop): Fix assertion in storing of
65553         remaining bytes.
65555         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65557 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65559         * posix/getconf.c: Update copyright year.
65560         * nss/getent.c: Likewise.
65561         * nss/makedb.c: Likewise.
65562         * iconv/iconvconfig.c: Likewise.
65563         * iconv/iconv_prog.c: Likewise.
65564         * elf/ldconfig.c: Likewise.
65565         * elf/pldd.c: Likewise.
65566         * elf/sotruss.ksh: Likewise.
65567         * catgets/gencat.c: Likewise.
65568         * csu/version.c: Likewise.
65569         * elf/ldd.bash.in: Likewise.
65570         * elf/sprof.c (print_version): Likewise.
65571         * locale/programs/locale.c: Likewise.
65572         * locale/programs/localedef.c: Likewise.
65573         * login/programs/pt_chown.c: Likewise.
65574         * nscd/nscd.c (print_version): Likewise.
65575         * debug/xtrace.sh: Likewise.
65576         * malloc/memusage.sh: Likewise.
65577         * malloc/mtrace.pl: Likewise.
65578         * debug/catchsegv.sh: Likewise.
65580 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65582         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65583         pure attribute.
65585 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65587         [BZ #13533]
65588         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65589         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65590         transformations.
65591         * iconv/gconv_int.h: Likewise.
65592         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65593         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65594         from libc for GLIBC_2.16.
65595         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65596         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65597         * wcsmbs/uchar.h: Really define mbstate_t.
65598         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65599         * wcsmbs/c16rtomb.c: New file.
65600         * wcsmbs/mbrtoc16.c: New file.
65601         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65602         for C/POSIX locale.
65603         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65604         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65606         * wcsmbs/wchar.h: Add missing __restrict.
65608 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65610         [BZ #13532]
65611         * time/Makefile (routines): Add timespec_get.
65612         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65613         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65614         timespec for ISO C11.
65615         * time/timespec_get.c: New file.
65616         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65617         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65619         [BZ #13531]
65620         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65621         * stdlib/stdlib.h: Declare aligned_alloc.
65622         * Versions.def: Add GLIBC_2.16 for libc.
65623         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65625         [BZ 13527]
65626         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65627         ISO C11.
65629         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65630         code.
65632         [BZ #13528]
65633         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65635         [BZ #13529]
65636         * assert/assert.h (static_assert): Define.
65638         * version.h: Update for 2.16 development version.
65640         [BZ #13526]
65641         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65642         _ISOC11_SOURCE.
65644         * version.h (RELEASE): Bump for 2.15 release.
65645         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65647         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65648         Patch by Marek Polacek <mpolacek@redhat.com>.
65650         * bits/byteswap.h: Protect long long constants with __extension__.
65651         * sysdeps/i386/bits/byteswap.h: Likewise.
65652         * sysdeps/ia64/bits/byteswap.h: Likewise.
65653         * sysdeps/s390/bits/byteswap.h: Likewise.
65654         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65656 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65658         [BZ #13540]
65659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65660         destination buffer.
65661         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65663 2011-12-23  Marek Polacek  <polacek@redhat.com>
65665         * elf/dl-addr.c (determine_info): Add inline keyword.
65666         * elf/tst-auditmod4b.c (check_avx): Likewise.
65667         * elf/tst-auditmod6b.c (check_avx): Likewise.
65668         * elf/tst-auditmod6c.c (check_avx): Likewise.
65669         * elf/tst-auditmod7b.c (check_avx): Likewise.
65671 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65673         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65674         !__SSE_MATH__.
65676 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65678         [BZ #13540]
65679         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65680         processing for last bytes.
65682 2011-08-06  Bruno Haible  <bruno@clisp.org>
65684         [BZ #13061]
65685         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65686         U+0385, not to U+1FEE.
65688         [BZ #13062]
65689         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65690         entry for U+00A5 U+0301.
65692 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65694         [BZ #13166]
65695         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65696         buffer for the output is too small.
65698         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65699         optimization.
65701         [BZ #13185]
65702         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65703         SSE flags if possible.
65705 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65707         [BZ #13540]
65708         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65709         processing for last bytes.
65711 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65713         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65714         (syscall-list-default-options, syscall-list-default-condition)
65715         (syscall-list-includes): Define.
65716         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65717         list of ABIs and options and #if conditions for each ABI.  Do not
65718         handle common syscalls between ABIs specially.
65719         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65720         Remove.
65721         (syscall-list-variants, syscall-list-32bit-options)
65722         (syscall-list-32bit-condition, syscall-list-64bit-options)
65723         (syscall-list-64bit-condition): Define.
65724         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65725         (syscall-list-variants, syscall-list-32bit-options)
65726         (syscall-list-32bit-condition, syscall-list-64bit-options)
65727         (syscall-list-64bit-condition): Define.
65728         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65729         Remove.
65730         (syscall-list-variants, syscall-list-32bit-options)
65731         (syscall-list-32bit-condition, syscall-list-64bit-options)
65732         (syscall-list-64bit-condition): Define.
65733         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65734         Remove.
65735         (syscall-list-variants, syscall-list-32bit-options)
65736         (syscall-list-32bit-condition, syscall-list-64bit-options)
65737         (syscall-list-64bit-condition): Define.
65739 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65741         * locale/iso-639.def: Add brx entry.
65743         [BZ #13328]
65744         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65745         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65747         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65748         __feraiseexcept_renamed.
65750 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65752         [BZ #13538]
65753         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65754         EPOLLET with unsigned values.
65755         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65756         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65758         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65759         to large cancellation.
65760         * math/s_cacoshf.c: Likewise.
65761         * math/s_cacoshl.c: Likewise.
65763 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65765         [BZ #13305]
65766         [BZ #12786]
65767         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65768         * math/s_cacoshf.c: Likewise.
65769         * math/s_cacoshl.c: Likewise.
65771 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65773         [BZ #13439]
65774         * iconv/gconv.h: Define __GCONV_SWAP.
65775         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65776         * iconvdata/utf-16.c: Likewise.
65777         * iconvdata/utf-32.c: Likewise.
65779 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65781         [BZ #13524]
65782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65783         numerator after shifting it by one limb.
65785 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65787         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65788         under [__USE_EXTERN_INLINES].
65790 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65792         [BZ #13446]
65793         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65795 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65797         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65798         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65799         optimized code.
65800         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65802         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65803         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65804         for strncasecmp/strncasecmp_l compilation.
65805         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65806         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65808 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65810         [BZ #13484]
65811         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65812         of __asm__.
65814 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65816         [BZ #13506]
65817         * time/tzfile.c (__tzfile_read): Check values from file header.
65819 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65821         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65822         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65823         * powerpc/powerpc32/dl-start.S: Likewise.
65824         * powerpc/powerpc32/elf/start.S: Likewise.
65825         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65826         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65827         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65828         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65829         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65830         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65831         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65832         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65833         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65834         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65835         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65836         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65837         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65838         * powerpc/powerpc32/memset.S: Likewise.
65839         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65840         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65841         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65842         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65843         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65844         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65845         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65846         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65847         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65848         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65849         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65850         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65851         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65853 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65855         * math/libm-test.inc: Added more nearbyint tests.
65856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65861 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65863         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65864         FD_CLOEXEC.
65866 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65868         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65869         Add wcscpy-ssse3 wcscpy-c.
65870         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65871         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65872         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65873         * sysdeps/x86_64/wcschr.S: New file.
65874         * sysdeps/x86_64/wcsrchr.S: New file.
65875         * string/test-strcmp.c: Remove checking of wcscmp function for
65876         wrong alignments.
65877         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65878         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65879         wcsrchr-sse2 wcsrchr-c.
65880         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65881         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65882         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65883         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65884         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65885         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65886         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65887         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65888         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65889         * wcsmbc/wcschr.c (WCSCHR): New macro.
65891 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65893         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65894         * wcsmbs/test-wcsrchr.c: New file.
65895         * string/test-strrchr.c: Add wcsrchr support.
65896         (WIDE): New macro.
65897         * wcsmbs/test-wcscpy.c: New file.
65898         * string/test-strcpy.c: Add wcscpy support.
65899         (WIDE): New macro.
65901 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65903         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65904         the inner loop.
65906 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65908         [BZ #13472]
65909         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65911 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65914         Minor optimizations.
65916         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65917         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65918         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65920 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65922         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65923         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65924         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65925         for gcc to avoid warnings.
65926         * inet/Makefile (tests): Add tst-checks.
65927         * inet/tst-checks.c: New file.
65929         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65930         warning.
65932         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65933         __wmemcmp_sse2.
65935         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65936         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65938         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65940 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65942         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65943         problem.
65945         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65947 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65949         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65950         conditional on GCC version.
65951         (__arch_compare_and_exchange_val_8_acq)
65952         (__arch_compare_and_exchange_val_16_acq)
65953         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65954         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65955         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65957 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65959         * sysdeps/sh/backtrace.c: New file.
65961 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65963         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65964         parenthesis.
65966 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65968         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65969         falling back to utime.
65971 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65973         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65974         expectations for float.
65976 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65978         * locale/weight.h (findidx): Add parameter len.
65979         * locale/weightwc.h (findidx): Likewise.
65980         * posix/fnmatch_loop.c (FCT): Adjust caller.
65981         * posix/regcomp.c (build_equiv_class): Likewise.
65982         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65983         * posix/regexec.c (check_node_accept_bytes): Likewise.
65984         * string/strcoll_l.c (STRCOLL): Likewise.
65985         * string/strxfrm_l.c (STRXFRM): Likewise.
65987 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65989         * Makefile.in: Remove CVSOPT handling.
65990         * configure.in: Remove use of AC_REVISION.
65991         * iconvdata/Makefile (distribute): No need to filter out CVS.
65992         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65993         handling.
65995 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65998         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65999         [USE_AS_STRNCASECMP_L]: Likewise.
66000         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66001         NO_TLS_DIRECT_SEG_REFS.
66002         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66003         Fix argument offsets for non-PIC.
66004         [USE_AS_STRNCASECMP_L]: Likewise.
66005         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66006         NO_TLS_DIRECT_SEG_REFS.
66008 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66010         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66011         O_CLOEXEC.
66012         * locale/loadlocale.c (_nl_load_locale): Likewise.
66014 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66017         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66018         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66019         (SYSCALL_GETTIME): Set errno on error.
66021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66022         count references to noai6ai_cached.
66024 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66026         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66028         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66029         FD_CLOEXEC for /proc/self/maps.
66031         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66032         FD_CLOEXEC for /proc/meminfo.
66034         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66035         gai.conf.
66037         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66038         FD_CLOEXEC for given file.
66040         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66042         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66043         FD_CLOEXEC for /etc/hosts.
66044         (_gethtent): Likewise.
66046         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66048         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66049         cancellation and set FD_CLOEXEC for /etc/netgroup.
66051         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66052         reading /etc/publickey.
66054         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66055         allow cancellation when reading /etc/group.
66057         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66058         cancellation.
66059         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66061         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66062         when using data file.
66064         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66066         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66067         (write_nis_obj): Use "c" and "e" in fopen.
66069         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66071         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66073         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66075         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66077         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66078         locale.alias.
66080         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66082         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66084         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66086         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66087         file parsing and set FD_CLOEXEC.
66089 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66091         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66093 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66095         * malloc/arena.c (arena_get2): Don't call reused_arena when
66096         _int_new_arena failed.
66098 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66100         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66101         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66102         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66103         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66106         to compile strcasecmp and strncasecmp.
66107         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66108         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66112 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66114         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66115         locale-defines.sym to gen-as-const-headers.
66116         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66117         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66119         to compile strcasecmp and strncasecmp.
66120         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66121         strcasecmp_l and strncasecmp_l.
66122         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66123         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66124         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66125         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66126         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66127         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66128         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66129         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66130         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66131         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66132         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66134 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66136         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66137         result of SYSDEP_GETTIME_CPU to retval.
66138         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66139         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66141         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66142         variable.
66144         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66145         mantissa words.
66146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66149         from unused variable.
66151         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66152         DWARF definitions.
66153         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66154         for assembling.
66156         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66157         over namespaces.
66159         * sunrpc/rpc_prot.c (rejected): Fix case value.
66161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66162         unsigned long long int to avoid warnings in shift.
66164         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66165         of use of trans.
66166         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66167         variable tmp.
66169         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66170         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66171         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66173         * nis/nis_table.c (nis_list): Use variable of correct type for
66174         result of __follow_path call.
66176 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66178         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66179         of math functions ceil, trunc, floor, round, and sqrt, when
66180         avaliable on the platform.
66181         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66182         name clash.
66183         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66184         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66185         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66187 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66189         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66190         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66192 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66194         * include/unistd.h: Fix __readlink return type.
66195         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66197 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66199         * stdlib/ucontext.h: Undo last change for makecontext.
66201 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66203         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66205         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66206         * setjmp/setjmp.h: Mark functions as non-leaf.
66207         * setjmp/bits/setjmp2.h: Likewise.
66208         * stdlib/ucontext.h: Likewise.
66210 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66212         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66213         (reused_arena): Don't check arena limit.
66214         (arena_get2): Atomically check arena limit.
66216 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66218         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66219         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66221         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66222         instructions.
66224 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66226         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66227         handler when locking.
66229         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66230         Fix size of allocated buffer.
66232 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66234         [BZ #10103]
66235         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66236         declarations for long double functions.
66237         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66239         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66241 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66243         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66244         installed.
66246         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66247         is disabled.
66249 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66251         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66253 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66255         * include/alloca.h (stackinfo_alloca_round): Define.
66256         (extend_alloca): Use it.
66257         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66258         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66259         here.
66261         * scripts/check-local-headers.sh: Ignore libaudit.h.
66263         * nscd/Makefile (extra-objs): Make recursively expanded.
66265 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66267         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66270         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66271         * posix/tst-rfc3484-2.c: Likewise.
66272         * posix/tst-rfc3484-3.c: Likewise.
66274         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66275         process_vm_writev.
66276         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66277         process_vm_writev.
66278         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66279         process_vm_writev from libc using GLIBC_2.15 version.
66281         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66283 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66285         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66286         stack usage.
66288 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66290         [BZ #13367]
66291         * nss/getent.c (initgroups_keys): Show error message in case no group
66292         names are given.
66294         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66295         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66296         __bump_nl_timestamp.
66297         * nscd/connections (nscd_init): When host database is served open
66298         netlink socket and request notification about configuration changes.
66299         (main_loop_poll): Track netlink file descriptor and bump timestamp
66300         in case data becomes available.
66301         (main_loop_epoll): Likewise.
66302         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66303         (database_pers_head): Add extra_data fileds.
66304         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66305         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66306         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66307         Adjust caller.
66308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66309         in6ai data, call __free_in6ai.
66310         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66311         Add -DHAVE_NETLINK.
66312         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66313         interface information.  Reuse previous data if netlink timestamp
66314         is not changed.
66315         (__bump_nl_timestamp): New function.
66316         (__free_in6ai): New function.
66318 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66320         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66321         close_not_cancel_no_status here.
66322         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66324 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66326         [BZ #13276]
66327         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66328         return value.
66330         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66331         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66332         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66334 2011-07-03  Andreas Jaeger  <aj@suse.de>
66336         [BZ #10709]
66337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66338         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66339         * math/libm-test.inc (sin_test): Add test case.
66341 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66343         [BZ #13337]
66344         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66345         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66347         * elf/chroot_canon.c (chroot_canon): Cleanups.
66349         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66351         [BZ #13335]
66352         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66353         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66355         * string/test-strchr.c: Make usable for strchrnul testing.
66356         * string/test-strchrnul.c: New file.
66357         * string/Makefile (strop-tests): Add strchrnul.
66359         * po/it.po: Update from translation team.
66360         * po/es.po: Likewise.
66362 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66365         the three constants needed as parameters.  Drop the others.
66366         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66367         __m128i_strloadu_tolower.
66368         Create and initialize variable zero and use it in all the places
66369         where _mm_setzero_si128 was used.
66371         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66372         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66373         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66374         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66375         anymore.
66376         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66377         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66378         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66379         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66380         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66381         __mpranred, __mptan.
66382         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66383         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66384         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66385         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66386         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66387         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66389         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66390         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66392 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66394         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66395         redefine if SHARED.
66396         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66399         wide char related routines to wcsmbs subdir.
66401 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66403         [BZ #13344]
66404         * misc/sys/cdefs.h (__THROWNL): Define.
66405         * posix/unistd.h: Use __THREADNL instead of __THREAD
66406         for memory synchronization functions.
66408 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66410         [BZ #13349]
66411         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66412         doesn't exist.
66413         * manual/stdio.texi (Obstack Streams): Node removed.
66415 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66417         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66418         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66419         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66421         * math/math_private.h (math_force_eval): Allow non-addressable
66422         arguments.
66423         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66425 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66427         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66428         file is not needed.
66430         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66432         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66433         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66434         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66435         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66436         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66437         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66438         Add AVX variants.
66439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66443         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66444         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66445         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66446         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66447         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66448         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66449         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66450         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66451         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66452         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66455         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66456         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66457         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66459         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66460         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66463         place.  Use VEX encoding when compiling for AVX.
66465 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66467         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66468         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66470         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66474         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66475         useless if() expression.
66476         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66477         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66478         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66479         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66480         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66481         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66482         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66483         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66485         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66486         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66487         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66488         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66489         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66490         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66491         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66492         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66493         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66494         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66496         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66498 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66500         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66501         condition.
66502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66504 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66506         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66507         .text section.  Avoid duplicate constants.
66508         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66510         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66512         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66516         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66517         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66518         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66519         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66520         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66521         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66522         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66523         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66525         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66526         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66532         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66533         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66534         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66535         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66536         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66537         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66538         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66539         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66540         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66541         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66542         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66543         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66544         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66545         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66546         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66547         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66549         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66550         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66551         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66552         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66554 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66556         * sysdeps/x86_64/dla.h: Move to ...
66557         * sysdeps/x86_64/fpu/dla.h: ...here.
66558         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66559         situations.  Use __builtin_fma only for gcc 4.6 and up.
66561         * config.make.in: Add have-mfma4 entry.
66562         * configure.in: Substitute libc_cv_cc_fma4.
66563         * math/Makefile (dbl-only-routines): Add sincostab.
66564         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66565         Use __sincostab not sincos.
66566         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66567         name is a macro.
66568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66572         using __copysign.
66573         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66574         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66575         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66576         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66577         and __inv.
66578         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66579         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66580         __copysign.
66581         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66582         define aliases when function name is a macro.
66583         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66584         sysdeps/ieee754/dbl-64/sincos.tbl.
66585         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66586         fma4-enabled routines.
66587         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66588         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66589         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66590         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66594         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66595         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66596         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66597         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66598         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66599         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66600         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66602         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66603         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66604         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66605         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66606         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66607         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66608         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66610         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66612         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66613         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66614         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66615         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66616         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66618         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66619         rename.
66620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66623         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66625         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66626         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66629 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66631         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66633 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66637         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66638         prediction.
66639         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66641         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66642         Remove unused variable magic_bits.
66643         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66645         * string/strnlen.c: Define and use STRNLEN macro.
66646         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66647         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66649         * wcsmbs/wcslen.c: Define and use WCSLEN.
66650         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66651         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66652         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66653         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66654         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66655         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66656         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66658 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66661         strnlen-sse2-no-bsf.
66662         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66664         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66665         Add strnlen support.
66666         (USE_AS_STRNLEN): New macro.
66667         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66669         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66670         * sysdeps/x86_64/wcslen.S: New file.
66672 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66674         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66675         XMM-moves are used for copying on small sizes.
66677 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66679         * wcsmbs/Makefile (strop-tests): Add wcschr.
66680         * wcsmbs/test-wcschr.c: New file.
66681         * string/test-strchr.c: Update.
66682         Add wcschr support.
66683         (WIDE): New macro.
66685 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66687         * wcsmbs/Makefile (strop-tests): Add wcslen.
66688         * wcsmbs/test-wcslen.c: New file.
66689         * string/test-strlen.c: Update.
66690         Add wcslen support.
66691         (WIDE): New macro.
66693 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66695         * po/it.po: Update from translation team.
66697 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66699         * sysdeps/x86_64/wcscmp.S: Update.
66700         Fix wrong comparison semantics.
66701         wcscmp shall use signed comparison not unsigned.
66702         Don't use substraction to avoid overflow bug.
66703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66704         * wcsmbc/wcscmp.c: Likewise.
66705         * string/test-strcmp.c: Likewise.
66706         Add new tests to check cases with negative values.
66708 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66710         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66711         * sysdeps/x86_64/dla.h: ...here.  New file.
66712         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66717         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66722 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66725         __ynl_finite aliases.
66727 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66731         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66732         define DLA_FMA.
66733         [DLA_FMA] (EMULV): Use DLA_FMA.
66734         [DLA_FMA] (MUL12): Use EMULV.
66735         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66736         that are not needed.
66737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66745 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66747         * math/s_nan.c: Undef __nan.
66748         * math/s_nanf.c: Undef __nanf.
66749         * math/s_nanl.c: Undef __nanl.
66750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66751         "math_private.h".
66753 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66755         * math/s_catan.c: Add branch predictions.
66756         * math/s_catanf.c: Likewise.
66757         * math/s_catanh.c: Likewise.
66758         * math/s_catanhf.c: Likewise.
66759         * math/s_catanhl.c: Likewise.
66760         * math/s_catanl.c: Likewise.
66761         * math/s_cexp.c: Likewise.
66762         * math/s_cexpf.c: Likewise.
66763         * math/s_cexpl.c: Likewise.
66764         * math/s_clog.c: Likewise.
66765         * math/s_clog10.c: Likewise.
66766         * math/s_clog10f.c: Likewise.
66767         * math/s_clog10l.c: Likewise.
66768         * math/s_clogf.c: Likewise.
66769         * math/s_clogl.c: Likewise.
66770         * math/s_csqrt.c: Likewise.
66771         * math/s_csqrtf.c: Likewise.
66772         * math/s_csqrtl.c: Likewise.
66773         * math/s_ctanf.c: Likewise.
66774         * math/s_ctanh.c: Likewise.
66775         * math/s_ctanhf.c: Likewise.
66776         * math/s_ctanhl.c: Likewise.
66777         * math/s_ctanl.c: Likewise.
66779         * math/math_private.h: Define __nan, __nanf, __nanl.
66780         * math/s_cacosh.c: Include <math_private.h>.
66781         * math/s_cacoshl.c: Likewise.
66782         * math/s_casinh.c: Likewise.
66783         * math/s_casinhf.c: Likewise.
66784         * math/s_casinhl.c: Likewise.
66785         * math/s_ccos.c: Rely entire on ccosh.
66786         * math/s_ccosf.c: Rely entire on ccoshf.
66787         * math/s_ccosl.c: Rely entirely on ccoshl.
66788         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66789         Remove tests for FE_INVALID.
66790         * math/s_ccoshf.c: Likewise.
66791         * math/s_ccoshl.c: Likewise.
66792         * math/s_csin.c: Likewise.
66793         * math/s_csinf.c: Likewise.
66794         * math/s_csinh.c Likewise.
66795         * math/s_csinhf.c: Likewise.
66796         * math/s_csinhl.c: Likewise.
66797         * math/s_csinl.c: Likewise.
66798         * math/s_ctan.c: Likewise.
66799         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66800         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66801         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66803 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66806         compilation problems.
66808         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66809         __builtin_expect.
66811 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66813         * sysdeps/i386/configure.in: Test for -mfma4 option.
66814         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66815         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66816         COMMON_CPUID_INDEX_80000001.
66817         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66818         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66819         use it if FMA3 is not supported.
66820         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66822         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66825 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66827         [BZ #12892]
66828         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66829         it would create a cycle with a link time dependency.
66831 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66833         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66834         instruction.
66835         * string/Makefile (strop-tests): Add rawmemchr.
66836         * string/test-rawmemchr.c: New file.
66838         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66840         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66841         when compiling str{,n}casecmp and when AVX is available.  Hook up
66842         new optimized code in initializers.
66844 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66846         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66847         __feraiseexcept instead of feraiseexcept.
66849 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66851         * math/math_private.h: Define defaults for libc_fetestexcept and
66852         libc_feupdateenv.
66853         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66854         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66855         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66856         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66857         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66858         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66859         libc_fetestexcept and libc_feupdateenv.
66861         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66862         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66863         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66864         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66865         libc_feholdexcept_setround.
66867         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66868         Add s_nearbyint-c and s_nearbyintf-c.
66869         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66870         nearbyintf inlines.
66871         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66872         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66873         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66874         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66876         * math/math_private.h: Define defaults for libc_fegetround,
66877         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66878         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66879         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66881         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66882         standard functions.
66883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66884         Remove comments and hacks for old compiler versions.
66885         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66886         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66887         libc_feholdexceptl.
66889 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66891         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66892         (__feraiseexcept_renamed): Add __NTH.
66893         (feraiseexcept): Add __NTH.  Rename local variables to fix
66894         namespace violations.
66896 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66898         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66900         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66902         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66903         recently added interfaces.
66904         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66906         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66907         about macro parameter expansion.
66909         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66910         __NO_MATH_INLINES is defined.  Cleanups.
66912         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66913         and __floorf is target has SSE4.1.
66914         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66915         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66916         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66917         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66919         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66920         name.
66921         (floorf): Likewise.
66923         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66925 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66927         * misc/sys/cdefs.h: Fix last change.
66929         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66930         database lookup.
66932 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66934         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66936         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66938         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66940         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66942         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66943         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66944         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66945         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66946         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66947         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66948         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66949         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66950         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66951         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66952         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66953         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66954         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66955         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66956         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66957         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66959         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66960         ceil, ceilf, floor, floorf.
66962         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66963         Perform IRELATIVE relocations last.
66965         * elf/do-rel.h: Add another parameter nrelative, replacing the
66966         local variable with the same name.  Change name of the function
66967         to end in Rel or Rela (uppercase).
66968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66969         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66970         elf_dynamic_do_##reloc function.
66972 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66974         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66975         is sufficient, at least on modern CPUs.
66977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66979         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66980         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66982         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66983         __expl_finite.
66984         * math/bits/math-finite.h: Add entries for exp.
66985         * math/e_expl.c: Add __*_finite alias.
66986         * sysdeps/i386/fpu/e_exp.S: Likewise.
66987         * sysdeps/i386/fpu/e_expf.S: Likewise.
66988         * sysdeps/i386/fpu/e_expl.c: Likewise.
66989         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66991         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66992         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66993         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66995         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66997         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66998         is sufficient, at least on modern CPUs.
67000         * ctype/ctype-info.c (__ctype_init): Define.
67001         * include/ctype.h (__ctype_init): Declare.
67002         (__ctype_b_loc): The variable is always initialized.
67003         (__ctype_toupper_loc): Likewise.
67004         (__ctype_tolower_loc): Likewise.
67005         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67006         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67008 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67010         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67012         * configure.in: Also look in $cxxmachine/include for C++ system
67013         headers.
67015 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67017         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67018         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67019         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67020         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67021         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67022         (USE_AS_WMEMCMP): New macro.
67023         Fixing indents.
67024         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67025         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67026         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67027         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67029         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67030         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67031         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67032         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67033         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67035         (USE_AS_WMEMCMP): New macro.
67036         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67037         * sysdeps/string/test-memcmp.c: Update.
67038         Fix simple_wmemcmp.
67039         Add new tests.
67040         * wcsmbs/wmemcmp.c: Update.
67041         (WMEMCMP): New macro.
67042         Fix overflow bug.
67044 2011-10-12  Andreas Jaeger  <aj@suse.de>
67046         [BZ #13268]
67047         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67049 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67051         * libio/iofwide.c (do_length): Avoid warning.
67053         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67055 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67057         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67059         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67060         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67061         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67062         * sysdeps/i386/i686/fpu/e_log.S: New file.
67063         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67064         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67066         * ctype/ctype.h: Add support for inlined isXXX functions when
67067         compiling C++ code.
67069 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67071         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67073         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67075 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67077         [BZ #13291]
67078         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67080 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67082         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67083         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67084         feraiseexcept.
67086         * sysdeps/x86_64/memrchr.S: Check for zero size.
67088         * string/stratcliff.c: Add memrchr tests.
67090 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67092         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67093         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67094         rawmemchr-sse2 rawmemchr-sse2-bsf.
67095         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67096         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67097         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67098         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67099         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67100         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67101         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67102         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67103         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67104         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67105         * string/memrchr.c (MEMRCHR): New macro.
67107 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67109         Add integration with gcc's -ffinite-math-only and optimize wrapper
67110         functions in libm.
67111         * Versions.def: Define GLIBC_2.15 version for libm.
67112         * math/Makefile (headers): Add bits/math-finite.h.
67113         * math/bits/math-finite.h: New file.
67114         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67115         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67116         * math/e_acoshl.c: Add __*_finite alias.
67117         * math/e_acosl.c: Likewise.
67118         * math/e_asinl.c: Likewise.
67119         * math/e_atan2l.c: Likewise.
67120         * math/e_atanhl.c: Likewise.
67121         * math/e_coshl.c: Likewise.
67122         * math/e_exp10.c: Likewise.
67123         * math/e_exp10f.c: Likewise.
67124         * math/e_exp10l.c: Likewise.
67125         * math/e_exp2l.c: Likewise.
67126         * math/e_fmodl.c: Likewise.
67127         * math/e_gammal_r.c: Likewise.
67128         * math/e_hypotl.c: Likewise.
67129         * math/e_j0l.c: Likewise.
67130         * math/e_j1l.c: Likewise.
67131         * math/e_jnl.c: Likewise.
67132         * math/e_lgammal_r.c: Likewise.
67133         * math/e_log10l.c: Likewise.
67134         * math/e_log2l.c: Likewise.
67135         * math/e_logl.c: Likewise.
67136         * math/e_powl.c: Likewise.
67137         * math/e_sinhl.c: Likewise.
67138         * math/e_sqrtl.c: Likewise.
67139         * math/e_scalb.c: Completely rewritten and optimized.
67140         * math/e_scalbf.c: Likewise.
67141         * math/e_scalbl.c: Likewise.
67142         * math/w_acos.c: Likewise.
67143         * math/w_acosf.c: Likewise.
67144         * math/w_acosl.c: Likewise.
67145         * math/w_acosh.c: Likewise.
67146         * math/w_acoshf.c: Likewise.
67147         * math/w_acoshl.c: Likewise.
67148         * math/w_asin.c: Likewise.
67149         * math/w_asinf.c: Likewise.
67150         * math/w_asinl.c: Likewise.
67151         * math/w_atan2.c: Likewise.
67152         * math/w_atan2f.c: Likewise.
67153         * math/w_atan2l.c: Likewise.
67154         * math/w_atanh.c: Likewise.
67155         * math/w_atanhf.c: Likewise.
67156         * math/w_atanhl.c: Likewise.
67157         * math/w_exp10.c: Likewise.
67158         * math/w_exp10f.c: Likewise.
67159         * math/w_exp10l.c: Likewise.
67160         * math/w_fmod.c: Likewise.
67161         * math/w_fmodf.c: Likewise.
67162         * math/w_fmodl.c: Likewise.
67163         * math/w_j0.c: Likewise.
67164         * math/w_j0f.c: Likewise.
67165         * math/w_j0l.c: Likewise.
67166         * math/w_j1.c: Likewise.
67167         * math/w_j1f.c: Likewise.
67168         * math/w_j1l.c: Likewise.
67169         * math/w_jn.c: Likewise.
67170         * math/w_jnf.c: Likewise.
67171         * math/w_log.c: Likewise.
67172         * math/w_logf.c: Likewise.
67173         * math/w_logl.c: Likewise.
67174         * math/w_log10.c: Likewise.
67175         * math/w_log10f.c: Likewise.
67176         * math/w_log10l.c: Likewise.
67177         * math/w_log2.c: Likewise.
67178         * math/w_log2f.c: Likewise.
67179         * math/w_log2l.c: Likewise.
67180         * math/w_pow.c: Likewise.
67181         * math/w_powf.c: Likewise.
67182         * math/w_powl.c: Likewise.
67183         * math/w_remainder.c: Likewise.
67184         * math/w_remainderf.c: Likewise.
67185         * math/w_remainderl.c: Likewise.
67186         * math/w_scalb.c: Likewise.
67187         * math/w_scalbf.c: Likewise.
67188         * math/w_scalbl.c: Likewise.
67189         * math/w_sqrt.c: Likewise.
67190         * math/w_sqrtf.c: Likewise.
67191         * math/w_sqrtl.c: Likewise.
67192         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67193         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67194         used.
67195         * math/math_private.h: Declare __kernel_standard_f.
67196         * math/w_cosh.c: Remove cruft and optimize a bit.
67197         * math/w_coshf.c: Likewise.
67198         * math/w_coshl.c: Likewise.
67199         * math/w_exp2.c: Likewise.
67200         * math/w_exp2f.c: Likewise.
67201         * math/w_exp2l.c: Likewise.
67202         * math/w_hypot.c: Likewise.
67203         * math/w_hypotf.c: Likewise.
67204         * math/w_hypotl.c: Likewise.
67205         * math/w_lgamma.c: Likewise.
67206         * math/w_lgamma_r.c: Likewise.
67207         * math/w_lgammaf.c: Likewise.
67208         * math/w_lgammaf_r.c: Likewise.
67209         * math/w_lgammal.c: Likewise.
67210         * math/w_lgammal_r.c: Likewise.
67211         * math/w_sinh.c: Likewise.
67212         * math/w_sinhf.c: Likewise.
67213         * math/w_sinhl.c: Likewise.
67214         * math/w_tgamma.c: Likewise.
67215         * math/w_tgammaf.c: Likewise.
67216         * math/w_tgammal.c: Likewise.
67217         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67219         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67220         Minor optimizations.  Pretty printing.  Remove cruft.
67221         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67223         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67224         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67225         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67226         * sysdeps/i386/fpu/e_asin.S: Likewise.
67227         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67228         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67229         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67230         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67231         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67233         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67234         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67235         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67236         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67237         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67238         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67239         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67240         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67241         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67242         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67243         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67244         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67245         * sysdeps/i386/fpu/e_log.S: Likewise.
67246         * sysdeps/i386/fpu/e_log10.S: Likewise.
67247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67248         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67249         * sysdeps/i386/fpu/e_log2.S: Likewise.
67250         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67251         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67252         * sysdeps/i386/fpu/e_logf.S: Likewise.
67253         * sysdeps/i386/fpu/e_logl.S: Likewise.
67254         * sysdeps/i386/fpu/e_pow.S: Likewise.
67255         * sysdeps/i386/fpu/e_powf.S: Likewise.
67256         * sysdeps/i386/fpu/e_powl.S: Likewise.
67257         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67258         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67259         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67260         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67261         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67262         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67263         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67264         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67265         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67266         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67269         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67270         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67271         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67272         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67273         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67274         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67276         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67277         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67279         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67280         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67282         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67283         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67286         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67287         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67288         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67289         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67290         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67291         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67293         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67294         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67295         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67296         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67297         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67298         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67300         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67301         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67302         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67303         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67304         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67305         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67306         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67307         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67308         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67311         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67312         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67313         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67321         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67322         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67323         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67324         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67325         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67326         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67327         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67328         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67331         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67332         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67334         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67335         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67336         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67337         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67338         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67342         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67343         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67345         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67347         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67348         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67349         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67350         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67351         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67352         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67353         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67354         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67355         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67356         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67361         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67362         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67363         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67364         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67365         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67366         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67367         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67368         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67369         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67370         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67371         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67372         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67374         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67375         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67376         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67377         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67378         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67379         (__isnanf): Likewise.
67380         (__isinf_ns): Likewise.
67381         (__isinf_nsf): Likewise.
67382         (__finite): Likewise.
67383         (__finitef): Likewise.
67384         (__ieee754_sqrt): Define as macro.
67385         (__ieee754_sqrtf): Define as macro.
67386         (__ieee754_sqrtl): Define as macro.
67387         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67388         inlined copy.
67389         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67390         __FINITE_MATH_ONLY__ consistent.
67391         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67393 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67395         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67396         of rawmemchr.
67398         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67400 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67402         * po/ja.po: Update from translation team.
67404 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67406         * locale/programs/locarchive.c (prepare_address_space): New function.
67407         (create_archive, enlarge_archive, open_archive): Use it.
67409         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67410         inside [SHARED], where it is used.
67412         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67414         * nss/getent.c (netgroup_keys): Remove unused variable.
67415         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67417 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67419         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67420         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67424         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67425         * math/Makefile (libm-calls): Add s_isinf_ns.
67426         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67427         * math/multc3.c: Likewise.
67428         * math/s_casin.c: Likewise.
67429         * math/s_casinf.c: Likewise.
67430         * math/s_casinl.c: Likewise.
67431         * math/s_ccos.c: Likewise.
67432         * math/s_ccosf.c: Likewise.
67433         * math/s_ccosl.c: Likewise.
67434         * math/s_ctan.c: Likewise.
67435         * math/s_ctanf.c: Likewise.
67436         * math/s_ctanh.c: Likewise.
67437         * math/s_ctanhf.c: Likewise.
67438         * math/s_ctanhl.c: Likewise.
67439         * math/s_ctanl.c: Likewise.
67440         * math/w_fmod.c: Likewise.
67441         * math/w_fmodf.c: Likewise.
67442         * math/w_fmodl.c: Likewise.
67443         * math/w_remainder.c: Likewise.
67444         * math/w_remainderf.c: Likewise.
67445         * math/w_remainderl.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67447         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67450         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67451         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67452         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67453         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67455         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67456         of the number.
67457         * stdio-common/printf_fphex.c: Likewise.
67458         * stdio-common/printf_size.c: Likewise.
67460         * math/e_exp10.c: Include math_private.h using <...> not "...".
67461         * math/e_exp10f.c: Likewise.
67462         * math/e_exp10l.c: Likewise.
67463         * math/e_exp2l.c: Likewise.
67464         * math/e_j0l.c: Likewise.
67465         * math/e_j1l.c: Likewise.
67466         * math/e_jnl.c: Likewise.
67467         * math/e_lgammal_r.c: Likewise.
67468         * math/e_rem_pio2l.c: Likewise.
67469         * math/e_scalb.c: Likewise.
67470         * math/e_scalbf.c: Likewise.
67471         * math/e_scalbl.c: Likewise.
67472         * math/k_cosl.c: Likewise.
67473         * math/k_sinl.c: Likewise.
67474         * math/k_tanl.c: Likewise.
67475         * math/s_cacoshf.c: Likewise.
67476         * math/s_catan.c: Likewise.
67477         * math/s_catanf.c: Likewise.
67478         * math/s_catanh.c: Likewise.
67479         * math/s_catanhf.c: Likewise.
67480         * math/s_catanhl.c: Likewise.
67481         * math/s_catanl.c: Likewise.
67482         * math/s_ccosh.c: Likewise.
67483         * math/s_ccoshf.c: Likewise.
67484         * math/s_ccoshl.c: Likewise.
67485         * math/s_cexp.c: Likewise.
67486         * math/s_cexpf.c: Likewise.
67487         * math/s_cexpl.c: Likewise.
67488         * math/s_clog.c: Likewise.
67489         * math/s_clog10.c: Likewise.
67490         * math/s_clog10f.c: Likewise.
67491         * math/s_clog10l.c: Likewise.
67492         * math/s_clogf.c: Likewise.
67493         * math/s_clogl.c: Likewise.
67494         * math/s_csin.c: Likewise.
67495         * math/s_csinf.c: Likewise.
67496         * math/s_csinh.c: Likewise.
67497         * math/s_csinhf.c: Likewise.
67498         * math/s_csinhl.c: Likewise.
67499         * math/s_csinl.c: Likewise.
67500         * math/s_csqrt.c: Likewise.
67501         * math/s_csqrtf.c: Likewise.
67502         * math/s_csqrtl.c: Likewise.
67503         * math/s_ctan.c: Likewise.
67504         * math/s_ctanf.c: Likewise.
67505         * math/s_ctanh.c: Likewise.
67506         * math/s_ctanhf.c: Likewise.
67507         * math/s_ctanhl.c: Likewise.
67508         * math/s_ctanl.c: Likewise.
67509         * math/s_ldexp.c: Likewise.
67510         * math/s_ldexpf.c: Likewise.
67511         * math/s_ldexpl.c: Likewise.
67512         * math/s_significand.c: Likewise.
67513         * math/s_significandf.c: Likewise.
67514         * math/s_significandl.c: Likewise.
67515         * math/w_acos.c: Likewise.
67516         * math/w_acosf.c: Likewise.
67517         * math/w_acosh.c: Likewise.
67518         * math/w_acoshf.c: Likewise.
67519         * math/w_acoshl.c: Likewise.
67520         * math/w_acosl.c: Likewise.
67521         * math/w_asin.c: Likewise.
67522         * math/w_asinf.c: Likewise.
67523         * math/w_asinl.c: Likewise.
67524         * math/w_atan2.c: Likewise.
67525         * math/w_atan2f.c: Likewise.
67526         * math/w_atan2l.c: Likewise.
67527         * math/w_atanh.c: Likewise.
67528         * math/w_atanhf.c: Likewise.
67529         * math/w_atanhl.c: Likewise.
67530         * math/w_cosh.c: Likewise.
67531         * math/w_coshf.c: Likewise.
67532         * math/w_coshl.c: Likewise.
67533         * math/w_dremf.c: Likewise.
67534         * math/w_exp10.c: Likewise.
67535         * math/w_exp10f.c: Likewise.
67536         * math/w_exp10l.c: Likewise.
67537         * math/w_exp2.c: Likewise.
67538         * math/w_exp2f.c: Likewise.
67539         * math/w_fmod.c: Likewise.
67540         * math/w_fmodf.c: Likewise.
67541         * math/w_fmodl.c: Likewise.
67542         * math/w_hypot.c: Likewise.
67543         * math/w_hypotf.c: Likewise.
67544         * math/w_hypotl.c: Likewise.
67545         * math/w_j0.c: Likewise.
67546         * math/w_j0f.c: Likewise.
67547         * math/w_j0l.c: Likewise.
67548         * math/w_j1.c: Likewise.
67549         * math/w_j1f.c: Likewise.
67550         * math/w_j1l.c: Likewise.
67551         * math/w_jn.c: Likewise.
67552         * math/w_jnf.c: Likewise.
67553         * math/w_jnl.c: Likewise.
67554         * math/w_lgamma.c: Likewise.
67555         * math/w_lgamma_r.c: Likewise.
67556         * math/w_lgammaf.c: Likewise.
67557         * math/w_lgammaf_r.c: Likewise.
67558         * math/w_lgammal.c: Likewise.
67559         * math/w_lgammal_r.c: Likewise.
67560         * math/w_log.c: Likewise.
67561         * math/w_log10.c: Likewise.
67562         * math/w_log10f.c: Likewise.
67563         * math/w_log10l.c: Likewise.
67564         * math/w_log2.c: Likewise.
67565         * math/w_log2f.c: Likewise.
67566         * math/w_log2l.c: Likewise.
67567         * math/w_logf.c: Likewise.
67568         * math/w_logl.c: Likewise.
67569         * math/w_pow.c: Likewise.
67570         * math/w_powf.c: Likewise.
67571         * math/w_powl.c: Likewise.
67572         * math/w_remainder.c: Likewise.
67573         * math/w_remainderf.c: Likewise.
67574         * math/w_remainderl.c: Likewise.
67575         * math/w_scalb.c: Likewise.
67576         * math/w_scalbf.c: Likewise.
67577         * math/w_scalbl.c: Likewise.
67578         * math/w_sinh.c: Likewise.
67579         * math/w_sinhf.c: Likewise.
67580         * math/w_sinhl.c: Likewise.
67581         * math/w_sqrt.c: Likewise.
67582         * math/w_sqrtf.c: Likewise.
67583         * math/w_sqrtl.c: Likewise.
67584         * math/w_tgamma.c: Likewise.
67585         * math/w_tgammaf.c: Likewise.
67586         * math/w_tgammal.c: Likewise.
67588         * po/ja.po: Update from translation team.
67590 2011-09-29  Andreas Jaeger  <aj@suse.de>
67592         [BZ #13179]
67593         * sunrpc/netname.c (netname2host): Fix logic.
67595         [BZ #6779]
67596         [BZ #6783]
67597         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67598         correctly.
67599         * math/w_remainder.c (__remainder): Likewise.
67600         * math/w_remainderf.c (__remainderf): Likewise.
67601         * math/libm-test.inc (remainder_test): Add test cases.
67603 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67605         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67606         sdiv_qrnnd.
67608 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67610         * string/test-memcmp.c: Avoid unncessary #defines.
67611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67613 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67615         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67616         Use new sse2 version for core i3 - i7 as it's faster
67617         than sse42 version.
67618         (bit_Prefer_PMINUB_for_stringop): New.
67619         * sysdeps/x86_64/rawmemchr.S: Update.
67620         Replace with faster SSE2 version.
67621         * sysdeps/x86_64/memrchr.S: New file.
67622         * sysdeps/x86_64/memchr.S: Update.
67623         Replace with faster SSE2 version.
67625 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67627         * elf/dl-load.c (lose): Add cast to avoid warning.
67629 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67631         * po/ca.po: Update from translation team.
67633         * inet/getnetgrent_r.c: Hook up nscd.
67634         * nscd/Makefile (routines): Add nscd_netgroup.
67635         (nscd-modules): Add netgroupcache.
67636         (CFLAGS-netgroupcache.c): Define.
67637         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67638         (cache_search): Add const to second parameter.
67639         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67640         INNETGR.
67641         (dbs): Add netgrdb entry.
67642         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67643         (verify_persistent_db): Handle netgrdb.
67644         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67645         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67646         GETFDNETGR.
67647         (netgroup_response_header): Define.
67648         (innetgroup_response_header): Define.
67649         (datahead): Add netgroup_response_header and innetgroup_response_header
67650         elements.
67651         * nscd/nscd.conf: Add entries for netgroup cache.
67652         * nscd/nscd.h (dbtype): Add netgrdb.
67653         (_PATH_NSCD_NETGROUP_DB): Define.
67654         (netgroup_iov_disabled): Declare.
67655         (xmalloc, xcalloc, xrealloc): Move declarations here.
67656         (cache_search): Adjust prototype.
67657         Add netgroup-related prototypes.
67658         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67659         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67660         (__nscd_innetgr): Declare.
67661         * nscd/selinux.c (perms): Use access_vector_t as element type and
67662         add netgroup-related initializers.
67663         * nscd/netgroupcache.c: New file.
67664         * nscd/nscd_netgroup.c: New file.
67665         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67666         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67667         For four parameters use innetgr.
67668         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67669         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67670         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67671         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67673         * nscd/connections.c (register_traced_file): Don't register file
67674         for disabled databases.
67676 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67678         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67680         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67681         from tree and freeing node.
67683 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67685         * nss/nsswitch.c (__nss_database_lookup): Handle
67686         nss_parse_service_list out of memory case.
67688 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67690         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67691         out of memory case.
67693 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67695         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67696         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67697         pass it down.
67698         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67699         elf_machine_rela, elf_machine_lazy_rel.
67700         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67701         (ELF_DYNAMIC_DO_REL): Likewise.
67702         (ELF_DYNAMIC_DO_RELA): Likewise.
67703         (ELF_DYNAMIC_RELOCATE): Likewise.
67704         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67705         to ELF_DYNAMIC_DO_REL.
67706         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67707         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67708         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67709         elf_machine_rela.
67710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67711         skip_ifunc, don't call ifunc function if non-zero.
67712         (elf_machine_rela): Likewise.
67713         (elf_machine_lazy_rel): Likewise.
67714         (elf_machine_lazy_rela): Likewise.
67715         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67716         (elf_machine_lazy_rel): Likewise.
67717         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67718         Likewise.
67719         (elf_machine_lazy_rel): Likewise.
67720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67721         Likewise.
67722         (elf_machine_lazy_rel): Likewise.
67723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67724         (elf_machine_lazy_rel): Likewise.
67725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67726         (elf_machine_lazy_rel): Likewise.
67727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67728         (elf_machine_lazy_rel): Likewise.
67729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67730         (elf_machine_lazy_rel): Likewise.
67731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67732         (elf_machine_lazy_rel): Likewise.
67733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67734         (elf_machine_lazy_rel): Likewise.
67736 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67738         * nss/nss_files/files-init.c (_nss_files_init): Use static
67739         initialization for all the *_traced_file variables.
67741 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67743         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67745 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67747         [BZ #13226]
67748         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67750 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67752         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67753         Reread the line before reparsing it.
67755 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67757         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67759 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67760             Maxim Kuvyrkov  <maxim@codesourcery.com>
67761             Joseph Myers  <joseph@codesourcery.com>
67763         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67764         if needed for __stack_chk_guard.
67766 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67768         * sysdeps/posix/spawni.c (script_execute): Always define it.
67769         It will be optimized away if unused.
67770         (maybe_script_execute): New function.
67771         (__spawni): Call it.
67773         * Makerules: Don't include tls.make.
67774         (config-tls): Always set to thread.
67775         * tls.make.c: File removed.
67777 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67779         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67780         * config.make.in (CPPFLAGS-config): New substituted variable.
67782 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67786         [BZ #13192]
67787         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67788         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67790 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67792         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67793         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67795         (CALL_FAIL): Likewise.
67796         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67797         (CALL_FAIL): Macro removed.
67798         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67800 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67803         for __FINITE_MATH_ONLY__ == 1.
67805 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67807         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67808         __ieee754_sqrt instead of sqrt.
67809         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67810         __ieee754_sqrtf instead of sqrtf.
67811         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67812         __floorf instead of floorf.
67813         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67814         __floorf, __truncf instead of floorf, truncf.
67816 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67818         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67820         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67821         __extern_always_inline.
67822         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67823         32-bit.
67825 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67827         * elf/rtld.c (dl_main): Also relocate in dependency order when
67828         doing symbol dependency testing.
67830 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67833         Always define `refsym'.
67835 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67837         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67838         (__FD_ELT): Renamed from __FDELT.
67839         * misc/bits/select2.h (__FD_ELT): Likewise.
67840         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67841         __FD_MASK instead of __FDELT, __FDMASK.
67842         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67843         Likewise.
67844         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67845         Likewise.
67847         * elf/Makefile (gen-ldd): Fix pattern.
67849         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67850         (init_tls): Likewise.
67852 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67856 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67858         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67859         `struct cmsghdr *' instead of `void *'.
67860         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67861         Likewise.
67863 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67865         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67866         if non-absolute.
67867         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67868         ldd_rewrite_script.
67870 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67872         * configure.in: Remove --with-tls option.
67873         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67874         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67875         out in case it is missing.
67876         * sysdeps/ia64/elf/configure.in: Likewise.
67877         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67878         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67879         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67880         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67881         * sysdeps/sh/elf/configure.in: Likewise.
67882         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67883         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67884         * sysdeps/x86_64/elf/configure.in: Likewise.
67885         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67886         * sysdeps/mach/hurd/tls.h: Likewise.
67888         [BZ #13067]
67889         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67891         [BZ #13090]
67892         * configure.in: Fix use of AC_INIT.
67894         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67896 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67898         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67899         __set_errno.
67900         * malloc/hooks.c: Likewise.
67902         [BZ #11929]
67903         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67904         variables statically.
67905         (narenas): Initialize.
67906         (list_lock): Initialize.
67907         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67908         initializtion of main_arena and list_lock.  Small cleanups.
67909         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67910         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67911         Add initializers to main_arena and mp_.
67912         (malloc_state): Remove pagesize member.  Change all users to use
67913         GLRO(dl_pagesize).
67915         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67916         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67917         is always initialized.
67919         * malloc/malloc.c: Removed unused configurations and dead code.
67920         * malloc/arena.c: Likewise.
67921         * malloc/hooks.c: Likewise.
67922         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67924         * include/tls.h: Removed.  USE___THREAD must always be defined.
67925         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67926         * elf/dl-libc.c: Likewise.
67927         * elf/dl-tsd.c: Likewise.
67928         * include/errno.h: Likewise.
67929         * include/netdb.h: Likewise.
67930         * include/resolv.h: Likewise.
67931         * inet/herrno-loc.c: Likewise.
67932         * inet/herrno.c: Likewise.
67933         * malloc/arena.c: Likewise.
67934         * malloc/hooks.c: Likewise.
67935         * malloc/malloc.c: Likewise.
67936         * resolv/res-state.c: Likewise.
67937         * resolv/res_libc.c: Likewise.
67938         * sysdeps/i386/dl-machine.h: Likewise.
67939         * sysdeps/ia64/dl-machine.h: Likewise.
67940         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67941         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67942         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67943         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67944         * sysdeps/sh/dl-machine.h: Likewise.
67945         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67946         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67947         * sysdeps/unix/i386/sysdep.S: Likewise.
67948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67949         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67954         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67958         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67959         * sysdeps/x86_64/dl-machine.h: Likewise.
67960         * tls.make.c: Likewise.
67962         * configure.in: Remove --with-__thread option.  Make tests for
67963         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67964         tls_model attribute fail if no support is available.  Remove
67965         USE_IN_LIBIO.
67966         * Makeconfig: Adjust for dropped configure option.  All features are
67967         now mandatory.
67968         * Makerules: Likewise.
67969         * Versions.def: Likewise.
67970         * argp/argp-fmtstream.c: Likewise.
67971         * argp/argp-fmtstream.h: Likewise.
67972         * argp/argp-help.c: Likewise.
67973         * assert/assert.c: Likewise.
67974         * config.h.in: Likewise.
67975         * config.make.in: Likewise.
67976         * configure: Likewise.
67977         * configure.in: Likewise.
67978         * csu/Versions: Likewise.
67979         * csu/init.c: Likewise.
67980         * elf/tst-audit2.c: Likewise.
67981         * elf/tst-tls10.c: Likewise.
67982         * elf/tst-tls10.h: Likewise.
67983         * elf/tst-tls11.c: Likewise.
67984         * elf/tst-tls12.c: Likewise.
67985         * elf/tst-tls14.c: Likewise.
67986         * elf/tst-tlsmod11.c: Likewise.
67987         * elf/tst-tlsmod12.c: Likewise.
67988         * elf/tst-tlsmod13.c: Likewise.
67989         * elf/tst-tlsmod13a.c: Likewise.
67990         * elf/tst-tlsmod14a.c: Likewise.
67991         * elf/tst-tlsmod15b.c: Likewise.
67992         * elf/tst-tlsmod16a.c: Likewise.
67993         * elf/tst-tlsmod16b.c: Likewise.
67994         * elf/tst-tlsmod7.c: Likewise.
67995         * elf/tst-tlsmod8.c: Likewise.
67996         * elf/tst-tlsmod9.c: Likewise.
67997         * gmon/gmon.c: Likewise.
67998         * grp/fgetgrent_r.c: Likewise.
67999         * grp/putgrent.c: Likewise.
68000         * hurd/fopenport.c: Likewise.
68001         * include/libc-symbols.h: Likewise.
68002         * include/tls.h: Likewise.
68003         * intl/gettextP.h: Likewise.
68004         * intl/loadinfo.h: Likewise.
68005         * locale/global-locale.c: Likewise.
68006         * locale/localeinfo.h: Likewise.
68007         * mach/devstream.c: Likewise.
68008         * malloc/arena.c: Likewise.
68009         * malloc/set-freeres.c: Likewise.
68010         * misc/err.c: Likewise.
68011         * misc/getttyent.c: Likewise.
68012         * misc/mntent_r.c: Likewise.
68013         * posix/getopt.c: Likewise.
68014         * posix/wordexp.c: Likewise.
68015         * pwd/fgetpwent_r.c: Likewise.
68016         * resolv/Versions: Likewise.
68017         * resolv/res_hconf.c: Likewise.
68018         * shadow/fgetspent_r.c: Likewise.
68019         * shadow/putspent.c: Likewise.
68020         * stdio-common/printf_fphex.c: Likewise.
68021         * stdio-common/tmpfile.c: Likewise.
68022         * stdlib/abort.c: Likewise.
68023         * stdlib/fmtmsg.c: Likewise.
68024         * sunrpc/auth_unix.c: Likewise.
68025         * sunrpc/clnt_perr.c: Likewise.
68026         * sunrpc/clnt_tcp.c: Likewise.
68027         * sunrpc/clnt_udp.c: Likewise.
68028         * sunrpc/clnt_unix.c: Likewise.
68029         * sunrpc/openchild.c: Likewise.
68030         * sunrpc/svc_simple.c: Likewise.
68031         * sunrpc/svc_tcp.c: Likewise.
68032         * sunrpc/svc_udp.c: Likewise.
68033         * sunrpc/svc_unix.c: Likewise.
68034         * sunrpc/xdr.c: Likewise.
68035         * sunrpc/xdr_array.c: Likewise.
68036         * sunrpc/xdr_rec.c: Likewise.
68037         * sunrpc/xdr_ref.c: Likewise.
68038         * sunrpc/xdr_stdio.c: Likewise.
68040 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68042         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68044 2011-07-03  Andreas Jaeger  <aj@suse.de>
68046         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68047         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68048         regenerate with gen-libm-tests.pl.
68050 2010-05-12  Petr Baudis  <pasky@suse.cz>
68052         [BZ #11589]
68053         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68054         around j0() zero points by switching to j1().
68055         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68056         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68060 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68062         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68063         instead of 0.
68064         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68065         instead of 0.
68066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68067         Patch in part by Pavel Roskin <proski@gnu.org>.
68069         [BZ #13138]
68070         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68071         realloc.
68072         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68073         Free memory block if necessary.
68075         [BZ #12847]
68076         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68077         be NULL.  Don't lock in this case.
68079 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68081         * elf/elf.h (ELFOSABI_GNU): New macro.
68082         (ELFOSABI_LINUX): Define to that.
68084 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68086         * string/strncat.c (strncat): Undef the symbol in case it has been
68087         defined in bits/string.h.
68089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68091         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68093         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68094         link map.
68096 2011-08-17  Andreas Jaeger  <aj@suse.de>
68098         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68100 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68101             Ian Lance Taylor  <iant@google.com>
68103         * math/libm-test.inc (lround_test): New testcase.
68104         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68106 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68108         * Makefile: Remove support for automatic cvs check-ins.
68109         * Makerules: Likewise.
68110         * config.make.in: Likewise.
68111         * configure.in: Likewise.
68112         * intl/Makefile: Likewise.
68113         * locale/Makefile: Likewise.
68114         * po/Makefile: Likewise.
68115         * posix/Makefile: Likewise.
68116         * sysdeps/gnu/Makefile: Likewise.
68117         * sysdeps/mach/hurd/Makefile: Likewise.
68118         * sysdeps/sparc/sparc32/Makefile: Likewise.
68120         [BZ #13118]
68121         * posix/Makefile (bug-regex32-ENV): Define.
68122         Patch by John Stanley <jpsinthemix@verizon.net>.
68124         * misc/Makefile (headers): Add bits/select2.h.
68125         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68126         * misc/bits/select2.h: New file.
68127         * include/bits/select2.h: New file.
68128         * debug/Makefile (routines): Add fdelt_chk.
68129         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68130         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68131         FD_ISSET.
68132         * debug/fdelt_chk.c: New file.
68134         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68135         * wcsmbs/test-wmemcmp.c: Likewise.
68136         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68137         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68139 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68141         * string/Makefile (strop-tests): Add memcmp.
68142         * string/test-wmemcmp.c: New file.
68143         * string/test-memcmp.c: Add wmemcmp support.
68145 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68147         [BZ #13153]
68148         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68149         2011-07-19 change.
68151         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68152         garbage value in a __mach_port_mod_refs call in the cases of the
68153         task-self and thread-self ports.
68155 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68157         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68159 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68161         * elf/dl-load.c (lose): Check for non-null L.
68163 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68165         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68167         * elf/dl-libc.c (dlerror_run): Pass back error code from
68168         dl_catch_error.
68170         [BZ #13123]
68171         * elf/dl-load.c (lose): Free l_origin if it is valid.
68173         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68174         names.
68175         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68178         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68179         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68180         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68182 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68184         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68185         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68186         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68187         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68188         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68189         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68190         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68191         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68192         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68193         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68195 2011-08-15  Alan Modra  <amodra@gmail.com>
68197         [BZ #13092]
68198         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68199         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68200         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68201         ppc_mcount to static-only-routines.
68202         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68203         __mcount_internal.
68204         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68205         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68207 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68210         for finite and infinity parameters.
68212 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68215         and add nop instructions for throughput optimization.
68216         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68218 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68221         aligned copy for power7 with vector-scalar instructions.
68222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68224 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68227         AVX check.
68229 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68231         [BZ #13144]
68232         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68233         last change.
68235 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68237         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68238         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68239         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68241         clock_gettime.
68243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68245         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68246         Forgot to demangle the pointer.
68248         * sysdeps/i386/sysdep.h: Define atom_text_section.
68249         * sysdeps/x86_64/sysdep.h: Likewise.
68250         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68251         section with atom_text_section.
68252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68253         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68255         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68258         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68259         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68260         already be defined.  Change to take two parameters and don't assign
68261         result to variable.  Adjust all users.
68262         Define INTERNAL_GETTIME if not already defined.
68263         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68264         call.
68265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68266         HAVE_CLOCK_GETTIME_VSYSCALL.
68267         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68270         gettimeofday vsyscall, just use time.
68272 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68275         <errno.h>.
68277 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68279         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68280         syscall on x86-64.
68281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68282         syscall.
68283         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68284         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68285         syscall if possible.
68287 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68289         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68290         e_ident.  Don't pass to find_mapsXX.
68291         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68293 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68296         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68297         * sysdeps/x86_64/multiarch/strchr.S: Update.
68298         Check bit_slow_BSF bit.
68299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68301         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68303 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68305         [BZ #13134]
68306         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68307         before glibc 2.15.
68308         (tryshell): Define.
68309         (__spawni): Change last parameter to be flag.  Test
68310         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68311         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68312         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68313         * posix/spawni.c: Likewise.
68314         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68315         * posix/spawnp.c: Likewise.  Change normal version to use
68316         SPAWN_XFLAGS_USE_PATH.
68317         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68318         SPAWN_XFLAGS_TRY_SHELL.
68320         [BZ #13150]
68321         * posix/glob.h: Remove gcc 1.x support.
68323         [BZ #13068]
68324         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68326 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68329         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68330         strrchr-sse2-bsf
68331         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68332         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68333         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68335         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68336         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68338 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68340         * sysdeps/x86_64/wcscmp.S: New file.
68342         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68343         wcscmp-c wcscmp-sse2
68344         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68345         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68346         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68347         * wcsmbs/wcscmp.c: Allow renaming.
68349 2011-09-05  David S. Miller  <davem@davemloft.net>
68351         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68352         stack slot, rather than the struct return pointer slot.
68353         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68354         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68358 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68360         * po/ja.po: Update from translation team.
68362         [BZ #13144]
68363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68364         kernel in 64-bit binaries.
68366 2011-09-01  David S. Miller  <davem@davemloft.net>
68368         * elf/elf.h (HWCAP_SPARC_*): Move to..
68369         * sysdeps/sparc/sysdep.h: this new file and add new values.
68370         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68371         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68372         _DL_HWCAP_COUNT to 24.
68373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68374         entries.
68375         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68376         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68377         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68379         instead of magic constants.
68380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68382 2011-08-31  David S. Miller  <davem@davemloft.net>
68384         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68386         Reimplement to do errno handling inline.
68387         (SYSCALL_ERROR_HANDLER): New macro.
68388         (__SYSCALL_STRING): Do not do errno handling in asm.
68389         (__CLONE_SYSCALL_STRING): Delete.
68390         (__INTERNAL_SYSCALL_STRING): Delete.
68391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68392         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68393         (PSEUDO): Reimplement to do errno handling inline.
68394         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68395         (SYSCALL_ERROR_HANDLER): New macro.
68396         (__SYSCALL_STRING): Do not do errno handling in asm.
68397         (__CLONE_SYSCALL_STRING): Delete.
68398         (__INTERNAL_SYSCALL_STRING): Delete.
68399         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68400         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68401         i386.
68402         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68403         (inline_syscall*): Add 'err' argument.
68404         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68405         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68406         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68407         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68409         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68410         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68412 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68414         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68416 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68418         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68419         directive.
68421 2011-08-24  David S. Miller  <davem@davemloft.net>
68423         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68425 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68427         * elf/Makefile: Add rules to build and run unload8 test.
68428         * elf/unload8.c: New file.
68429         * elf/unload8mod1.c: New file.
68430         * elf/unload8mod1x.c: New file.
68431         * elf/unload8mod2.c: New file.
68432         * elf/unload8mod3.c: New file.
68434         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68435         it wasn't used.
68437 2011-08-23  David S. Miller  <davem@davemloft.net>
68439         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68440         subtract stack bias.
68441         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68442         %sp not %fp in calculations.
68443         (_JMPBUF_UNWINDS_ADJ): Likewise.
68445         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68446         (aio_suspend): Call it to force an exception region around the
68447         AIO_MISC_WAIT() invocation.
68449 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68451         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68452         backslash.
68454 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68456         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68457         protection macro.
68458         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68459         and <dl-machine.h>.
68460         (Elf64_FuncDesc): Remove.
68462 2011-08-22  David S. Miller  <davem@davemloft.net>
68464         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68465         sigaltstack check, add missing cfi directives.
68466         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68467         missing cfi directives, and sigaltstack handling.
68469 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68471         [BZ #11724]
68472         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68473         object is seen twice.
68474         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68476         * elf/Makefile (distribute): Add tst-initorder2.c.
68477         (tests): Add tst-initorder2.
68478         (modules-names): Add tst-initorder2a tst-initorder2b
68479         tst-initorder2c tst-initorder2d.  Add rules to build them.
68480         ($(objpfx)tst-initorder2.out): New rule.
68481         * elf/tst-initorder2.c: New file.
68482         * elf/tst-initorder2.exp: New file.
68484 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68486         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68488         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68489         dependencies back to end of function.
68491         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68492         $(elfobjdir)/ld.so.
68494 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68496         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68497         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68499         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68500         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68501         of __vdso_gettimeofday.
68502         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68503         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68504         attribute_hidden.
68505         (_libc_vdso_platform_setup): Remove initialization of
68506         __vdso_gettimeofday and __vdso_time.
68508 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68510         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68511         and fgetc_unlocked.
68512         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68513         getc_unlocked.
68515         * elf/dl-open.c (add_to_global): Report additions to the global scope
68516         for LD_DEBUG=scopes.
68517         (dl_open_worker): Also print scope of newly loaded dependencies.
68518         (_dl_show_scope): Indicate if there is no scope.
68520         [BZ #13114]
68521         * stdio-common/Makefile (tests): Add bug24.
68522         * stdio-common/bug24.c: New file.
68524 2011-08-19  Andreas Jaeger  <aj@suse.de>
68526         [BZ #13114]
68527         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68528         non-existant file when using close-on-exec mode.
68530 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68533         the very first instruction.
68535         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68536         the CFI state in the end.
68537         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68538         inclusion of dl-trampoline.h.
68539         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68541 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68543         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68544         expectations for long double.
68546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68547         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68549 2011-08-14  David S. Miller  <davem@davemloft.net>
68551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68552         artificual limit depends upon the system page size.
68554 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68556         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68557         * resolv/Makefile: Define CFLAGS-libresolv.
68559 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68561         * nss/makedb.c (compute_tables): Make variables used in nested
68562         function static.
68564 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68566         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68567         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68568         if buffer was too small.
68570         * elf/pldd.c (main): Attach to all threads in the process.
68571         Rewrite /proc handling to use *at functions.
68573 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68575         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68576         specifies first scope to show.
68577         (dl_open_worker): Update callers.  Move printing scope of new
68578         object to before the relocation.
68579         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68580         * sysdeps/generic/ldsodefs.h: Update declaration.
68582         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68583         string for the scope number.
68585 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68587         * nscd/servicescache.c (cache_addserv): Make sure written is always
68588         initialized.
68590 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68592         * sysdeps/i386/i486/bits/atomic.h
68593         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68594         statement expression, so as to suppress "set but not used" warning.
68595         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68597         * string/strncat.c (STRNCAT): Use prototype definition.
68599         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68600         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68601         -Iprograms here.
68602         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68603         (localedef-modules): Add localedef.
68604         (locale-modules): Add locale.
68606         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68607         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68608         to avoid a warning.
68610 2011-08-14  David S. Miller  <davem@davemloft.net>
68612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68613         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68615 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68617         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68618         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68619         * elf/rtld.c (dl_main): Set l_name of vDSO.
68620         Call _dl_show_scope when DL_DEBUG_SCOPES.
68621         (process_dl_debug): Recognize scopes flag and also set it for all.
68622         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68623         Declare _dl_show_scope.
68625         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68626         (do_dlopen): Pass caller_dlopen to dl_open.
68627         (__libc_dlopen_mode): Initialize caller_dlopen.
68629         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68630         of libc.  Make tolower call locale-independent.  Optimize a bit by
68631         using isdigit instead of isalnum.
68632         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68634 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68636         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68637         was a dependency or dynamically loaded.
68639 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68641         * intl/l10nflist.c: Allow architecture-specific pop function.
68642         * sysdeps/x86_64/l10nflist.c: New file.
68644         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68645         classification.
68647 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68649         * include/dirent.h: Add libc_hidden_proto for scandirat and
68650         scandirat64.  Don't declare __scandirat64.
68651         * dirent/scandirat.c: Add libc_hidden_def.
68652         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68653         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68655 2011-08-10  David S. Miller  <davem@davemloft.net>
68657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68658         enum.
68659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68663 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68665         * Versions.def [libc]: Add GLIBC_2.15.
68666         * dirent/Makefile (routines): Add scandirat and scandirat64.
68667         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68668         GLIBC_2.15.
68669         * dirent/dirent.h: Declare scandirat and scandirat64.
68670         * dirent/scandirat.c: New file.
68671         * dirent/scandirat64.c: New file.
68672         * sysdeps/wordsize-64/scandirat.c: New file.
68673         * sysdeps/wordsize-64/scandirat64.c: New file.
68674         * dirent/opendir.c: Define opendirat.
68675         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68676         using scandirat.
68677         * dirent/scandir64.c: Adjust for scandir.c change.
68678         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68679         __scandirat64, and __scandir_cancel_handler.
68680         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68681         additional parameter and use openat instead of open (outside of ld.so).
68682         Add new __opendir as wrapper around __opendirat.
68683         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68684         here without requiring old scandirat implementation.
68686 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68688         * dirent/scandir.c (cancel_handler): Renamed to
68689         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68690         defined.  Adjust users.
68691         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68692         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68694 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68696         * string/test-string.h (IMPL): Use __STRING to expand name and then
68697         stringify it.
68699         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68700         of cleanups.
68702 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68704         * string/Makefile: Update.
68705         (strop-tests): Append strncat.
68706         * string/test-wcscmp.c: New file.
68707         New comprehensive test for wcscmp.
68708         * string/test-strcmp.c: Update.
68709         (WIDE): New define.
68711 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68713         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68714         line.
68716 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68719         encoding to ACE if AI_IDN.
68721 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68724         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68726 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68728         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68729         Fix overflow bug in strncat.
68730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68732         * string/test-strncat.c: Update.
68733         Add new tests for checking overflow bugs.
68735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68738         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68739         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68740         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68742         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68743         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68744         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68745         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68748         (USE_AS_STRCAT): Define.
68749         Add strcat and strncat support.
68750         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68752 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68754         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68755         __n bigger than INT_MAX+1.
68756         (__strncmp_g): Likewise.
68758 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68760         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68761         * libio/stido.h: Likewise.
68763         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68764         (AF_NFC): Define.
68765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68766         (AF_NFC): Define.
68768         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68771         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68774         [BZ #13021]
68775         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68776         installed.
68778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68779         typo.
68780         (_dl_x86_64_save_sse): Likewise.
68782 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68785         OSXSAVE.
68786         (_dl_x86_64_save_sse): Likewise.
68788         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68790         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68792 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68795         change.
68796         (_dl_x86_64_save_sse): Use correct AVX check.
68798 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68800         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68801         bug in strncpy/strncat.
68802         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68804 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68806         * string/tester.c (test_strcat): Add tests for different alignments
68807         of source and destination.
68808         (test_strncat): Likewise.
68810 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68812         [BZ #12852]
68813         * posix/glob.c (glob): Check passed in values before using them in
68814         expressions to avoid some overflows.
68815         (glob_in_dir): Likewise.
68817         [BZ #13007]
68818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68819         check for AVX enablement so that we don't crash with old kernels and
68820         new hardware.
68821         * elf/tst-audit4.c: Add same checks here.
68822         * elf/tst-audit6.c: Likewise.
68824         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68826 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68828         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68830 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68832         * po/cs.po: Update from translation team.
68833         * po/bg.po: Likewise.
68835 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68837         * misc/sys/cdefs.h: Add support for const attribute.
68838         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68839         to gnu_dev_{major,minor,makedev} functions.
68841 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68843         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68845 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68847         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68848         strlen results.
68850 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68853         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68854         register in order to avoid conflicts with the soft frame pointer
68855         being held in r11 when necessary.
68856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68857         (INTERNAL_VSYSCALL_NCS): Likewise.
68859 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68861         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68862         * elf/dl-fini.c (_dl_fini): Adjust caller.
68863         * elf/dl-close.c (_dl_close_worker): Likewise.
68864         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68866 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68868         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68869         "aux_cache->nlibs < 0".
68871         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68872         in the reload-count case.
68874 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68877         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68878         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68879         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68880         * sysdeps/x86_64/multiarch/strcat.S: New file.
68881         * sysdeps/x86_64/multiarch/strncat.S: New file.
68882         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68883         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68884         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68885         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68886         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68887         (USE_AS_STRCAT): Define.
68888         Add strcat and strncat support.
68889         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68890         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68891         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68892         * string/strncat.c: Update.
68893         (USE_AS_STRNCAT): Define.
68894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68895         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68896         and i7.
68897         * sysdeps/x86_64/multiarch/init-arch.h
68898         (bit_Prefer_PMINUB_for_stringop): New.
68899         (index_Prefer_PMINUB_for_stringop): Likewise.
68900         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68901         bit_Prefer_PMINUB_for_stringop.
68903 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68905         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68906         buffer64.
68907         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68908         of casting of buffer.
68909         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68910         buffer32 and buffer64.
68911         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68912         writes instead of casting of buffer.
68913         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68914         buffer32.
68915         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68916         casting of buffer.
68918 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68920         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68922 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68924         * nscd/nscd.c (termination_handler): Don't do anything for a database
68925         if it has not yet been initialized.
68927 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68929         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68931 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68933         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68935 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68937         * po/nl.po: Update from translation team.
68938         * po/sv.po: Likewise.
68940 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68942         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68943         now disallowed by GCC.
68945         * configure.in (use-default-link): Default to yes if a test -shared
68946         link meets our qualifications.
68947         * configure: Regenerated.
68949         * config.make.in (output-format): New variable.
68950         * configure.in: Check for ld --print-output-format support.
68951         * configure: Regenerated.
68952         * Makerules ($(common-objpfx)format.lds)
68953         [$(output-format) != unknown]: Just use $(output-format),
68954         instead of the linker-script munging.
68956 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68958         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68959         of $(common-objpfx)shlib.lds.
68960         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68962         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68963         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68965         * configure.in (-z relro check): Adjust test code to add a large
68966         writable data section after it.
68967         * configure: Regenerated.
68969 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68971         * configure.in (-z relro check): Fix test code to make the variable
68972         truly const.
68973         * configure: Regenerated.
68975 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68977         * nscd/nscd.h (struct traced_file): Define.
68978         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68979         elements.  Add traced_files.
68980         (inotify_fd): Declare.
68981         (register_traced_file): Declare.
68982         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68983         (inotify_fd): Export.
68984         (resolv_conf_descr): Remove.
68985         (nscd_init): Move inotify descriptor creation to main.
68986         Don't register files for notification here.
68987         (register_traced_file): New function.
68988         (invalidate_cache): Don't use reset_res to determine whether to call
68989         res_init, go through the list of registered files.
68990         (main_loop_poll): The inotify descriptors are now stored in the
68991         structures for the traced files.
68992         (main_loop_epoll): Likewise.
68993         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68994         to __nss_disable_nscd.
68995         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68996         for a database anymore.  Check the records for all the registered
68997         files instead.
68998         * nss/Makefile (libnss_files-routines): Add files-init.
68999         (libnss_db-routines): Add db-init.
69000         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69001         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69002         * nss/nss_db/db-init.c: New file.
69003         * nss/nss_files/files-init.c: New file.
69004         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69005         __nss_lookup_function.
69006         (__nss_lookup_function): Call nss_load_library.
69007         (nss_load_all_libraries): New function.
69008         (__nss_disable_nscd): Take parameter with callback function for files
69009         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69010         used for the cached services.
69011         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69012         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69013         options for features to all the files in nscd.
69015         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69017 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69019         * csu/elf-init.c (__libc_csu_init): Comment typo.
69021 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69023         * po/pl.po: Update from translation team.
69024         * po/ja.po: Likewise.
69025         * po/ru.po: Likewise.
69026         * po/ko.po: Likewise.
69027         * po/fr.po: Likewise.
69029 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69031         * configure.in (.ctors/.dtors header and trailer check):
69032         Use an empirical test on a built program.
69033         * configure: Regenerated.
69035         * configure.in (-z relro check): Use an empirical test on a built DSO.
69036         Detect, but do not require, on ia64.
69037         * configure: Regenerated.
69039         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69040         Update tests that use readelf to use $READELF instead.
69041         * configure: Regenerated.
69043 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69045         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69046         if the result is not used.
69048 2011-07-05  Andreas Jaeger  <aj@suse.de>
69050         [BZ#9696]
69051         * stdlib/tst-strtod.c: Add testcase.
69053 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69055         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69056         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69057         The latter has a higher limit.  Take additional parameter to pass to
69058         the new function.
69059         (__pathconf): Pass file to __statfs_link_max.
69060         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69061         __statfs_link_max.
69062         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69063         __statfs_link_max.
69065         [BZ #12868]
69066         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69068         Handle Lustre.
69069         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69070         (__statfs_filesize_max): Likewise.
69071         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69073 2011-07-05  Andreas Jaeger  <aj@suse.de>
69075         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69077 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69079         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69080         `status' variable.
69081         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69082         Likewise.
69084 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69086         * Makefile (strop-tests): Add strncat.
69087         * string/test-strncat.c: New file.
69089 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69091         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69093 2011-06-21  Andreas Jaeger  <aj@suse.de>
69095         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69096         Copy rule from iconvdata/Makefile.
69098 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69100         [BZ #12922]
69101         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69102         but no long options are defined, just return 'W'.
69104 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69106         [BZ #9696]
69107         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69109 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69111         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69112         netgroups to read.
69113         (innetgr): Likewise.
69115 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69117         * config.make.in (install_root): Default to $(DESTDIR).
69119 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69121         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69123 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69125         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69127         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69128         containing directory rather than embedding absolute directory names.
69130         * scripts/check-local-headers.sh: Rewritten using awk.
69131         Match by word, not by line.  Print error messages for matches.
69132         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69134         * Makerules [shlib-lds-flags empty]:
69135         ($(common-objpfx)libc_pic.opts): New target.
69136         ($(common-objpfx)libc_pic.os.clean): New target.
69137         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69139         * config.make.in (OBJCOPY): New variable.
69140         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69141         * configure: Regenerated.
69143         * config.make.in (use-default-link): New variable.
69144         * configure.in (use_default_link): Grok --with-default-link to set it.
69145         * configure: Regenerated.
69146         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69147         (shlib-lds, shlib-lds-flags): Define to empty.
69149         * Makerules (shlib-lds): New variable.
69150         (shlib-lds-flags): New variable.
69151         (build-shlib, build-moduile, build-module-asneeded): Use it.
69152         ($(common-objpfx)libc.so): Use $(shlib-lds).
69153         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69154         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69156         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69157         DT_FLAGS/DT_FLAGS_1 with zero flags.
69159         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69160         linker script munging.
69162 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69164         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69165         as 128-bit value.
69166         * crypt/sha512.c (sha512_process_block): Perform total addition using
69167         128-bit if possible.
69168         (__sha512_finish_ctx): Likewise.
69169         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69170         as 64-bit value.
69171         * crypt/sha256.c (SWAP64): Define.
69172         (sha256_process_block): Perform total addition using 64-bit if
69173         possible.
69174         (__sha256_finish_ctx): Likewise.
69176 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69178         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69180         * nscd/hstcache.c (cache_addhst): Likewise.
69181         * nscd/grpcache.c (cache_addgr): Likewise.
69182         * nscd/aicache.c (addhstaiX): Likewise.
69183         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69185 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69187         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69189         * nscd/hstcache.c (cache_addhst): Likewise.
69190         * nscd/grpcache.c (cache_addgr): Likewise.
69191         * nscd/aicache.c (addhstaiX): Likewise.
69193 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69195         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69196         domain only when needed.
69198 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69201         is always restored.
69203 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69205         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69206         are re-adding the entry.
69207         * nscd/servicescache.c (cache_addserv): Likewise.
69209 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69211         * sysdeps/generic/dl-irel.h: fix protection against multiple
69212         inclusions.
69213         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69215 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69217         [BZ #12935]
69218         * malloc/memusage.sh: Fix quoting in message.
69219         * debug/xtrace.sh: Likewise.
69221         * configure.in: Remove support for --experimental-malloc option, make
69222         it the default.
69223         * config.make.in: Likewise.
69224         * malloc/Makefile: Likewise.
69226 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69228         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69229         two-byte characters.
69231 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69233         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69234         AC_CACHE_CHECK invocation.
69235         * configure: Regenerated.
69237         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69239 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69241         [BZ #12350]
69242         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69243         bit from old_res_options.
69245         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69247         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69248         value type for setfct.
69250 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69253         __gettimeofday instead of gettimeofday.
69255 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69257         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69259 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69261         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69263         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69264         info.
69266 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69269         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69270         strcpy-sse2-unaligned strncpy-sse2-unaligned
69271         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69272         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69273         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69274         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69275         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69276         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69278         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69279         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69280         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69281         (STRCPY): Support SSE2 and SSSE3 versions.
69283 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69285         [BZ #12874]
69286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69287         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69288         kernels which artificially limit size of requests.
69290 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69293         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69294         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69295         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69296         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69297         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69298         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69299         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69302         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69303         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69304         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69305         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69306         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69308         Enable unaligned load optimization for Intel Core i3, i5 and i7
69309         processors.
69310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69311         Define.
69312         (index_Fast_Unaligned_Load): Define.
69313         (HAS_FAST_UNALIGNED_LOAD): Define.
69315 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69317         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69319 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69321         [BZ #12907]
69322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69323         until it is clear that the information is realy needed.
69324         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69326 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69330 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69333         /sys/devices/system/cpu/online if it is usable.
69335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69336         reading the information from the /proc filesystem to once a second.
69338 2011-06-21  Andreas Jaeger  <aj@suse.de>
69340         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69341         NULL after inclusion of kernel headers.
69343 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69345         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69346         calls to internal_setent.
69348         [BZ #12885]
69349         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69350         addresses using gethostbyname4_r ignore IPv4 addresses.
69352         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69353         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69355         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69357 2011-06-20  David S. Miller  <davem@davemloft.net>
69359         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69360         inclusions.
69361         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69363         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69364         (elf_irel): Use it.
69365         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69366         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69367         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69368         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69369         * sysdeps/x86_64/dl-irel.h: Likewise.
69371         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69372         * elf/dl-sym.c: Likewise.
69374 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69376         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69377         need to dereference resplen2.
69379 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69381         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69383 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69385         * Makeconfig: Define vardbdir and inst_vardbdir.
69386         * nss/Makefile: Add rules to install db-Makefile.
69388         * nss/nss_db/db-XXX.c: Cleanup.
69390         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69391         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69392         GLIBC_PRIVATE.
69393         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69394         * nss/makedb.c: Implement -g option to specify that value strings
69395         are generated and should not be added to table iterated over for
69396         get*ent calls.
69397         * nss/nss_db/db-initgroups.c: New file.
69399         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69400         interface.
69402         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69403         (internal_getgrouplist): Adjust to name change.
69404         Update use_initgroups_entry if this is not the first call.
69405         * nss/databases.def: Add initgroups entry.
69407         * nss/makedb.c (compute_tables): Check result of multiple hash table
69408         sizes to minimize maximum chain length.
69410 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69412         * Versions.def: Add entry for libnss_db.
69413         * shlib-versions: Likewise.
69414         * nss/Makefile: Add rules to build libnss_db.
69415         * nss/Versions: Add libnss_db information.  Organize libnss_files
69416         entries better.
69417         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69418         makedb progra.  Some minor improvements to generate smaller files.
69419         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69420         here from...
69421         * nss/makedb.c: ...here.
69422         Improve database format to be smaller and require less memory at
69423         runtime.
69424         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69425         db anymore.
69426         * nss/nss_db/db-netgrp.c: Likewise.
69427         * nss/nss_db/db-open.c: Likewise.
69428         * nss/nss_files/flies-XXX.x: Adjust comments.
69429         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69430         * nss/nss_files/files-grp.c: Likewise.
69431         * nss/nss_files/files-hosts.c: Likewise.
69432         * nss/nss_files/files-network.c: Likewise.
69433         * nss/nss_files/files-proto.c: Likewise.
69434         * nss/nss_files/files-pwd.c: Likewise.
69435         * nss/nss_files/files-rpc.c: Likewise.
69436         * nss/nss_files/files-service.c: Likewise.
69437         * nss/nss_files/files-sgrp.c: Likewise.
69438         * nss/nss_files/files-spwd.c: Likewise.
69439         * nss/nss_db/db-alias.c: Removed.
69440         * nss/nss_db/dummy-db.h: Removed.
69442 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69444         * nss/makedb.c: Rewritten to not use database library.
69445         * nss/Makefile: Update to build new makedb program.
69447 2011-06-14  Andreas Jaeger  <aj@suse.de>
69449         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69450         memset declaration.
69452 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69455         tmpbuf.
69457 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69459         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69460         * elf/Makefile ($(objpfx)ld.so): Likewise.
69462         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69463         Don't list ld.so twice in dependencies.
69465         * posix/bug-regex31.c: Include <stdlib.h>.
69467         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69469         * nis/nss_compat/compat-spwd.c
69470         (getspent_next_nss_netgr): Remove unused variable.
69471         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69473         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69474         nonmembers" output to use the right array.
69476         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69478         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69480         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69481         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69482         * catgets/gencat.c (read_input_file): Likewise.
69483         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69485         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69486         variable definition inside #if's controlling its use.
69488         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69490         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69492         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69494         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69495         unreachable code.
69497         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69499         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69500         * configure: Regenerated.
69502         * Makerules: Revert last change.
69503         * elf/Makefile: Likewise.
69505 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69507         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69508         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69509         (reloc-link): Likewise.
69511 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69513         * elf/Makefile: Add rules to build pldd.
69514         * elf/pldd.c: New file.
69515         * elf/pldd-xx.c: New file.
69517 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69519         * version.h: Update for 2.15 development version.
69521 2011-06-07  David S. Miller  <davem@davemloft.net>
69523         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69524         ifuncs.
69525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69526         elf_machine_lazy_rel): Likewise.
69527         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69528         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69529         elf_machine_lazy_rel): Likewise.
69530         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69531         dl_hwcap via passed in argument.
69532         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69533         Likewise.
69535 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69537         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69539 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69541         [BZ #12849]
69542         * manual/fdl-1.1.texi: New file, verbatim from:
69543         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69544         * manual/lgpl-2.1.texi: New file, verbatim from:
69545         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69546         * manual/Makefile (licenses): New variable, list those new file names.
69547         (texis): Use it.
69548         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69550         * manual/fdl.texi: File removed.
69551         * manual/lesser.texi: File removed.
69552         * manual/libc.texinfo (Copying, Documentation License):
69553         Use new @include file names, put @appendix directive before @include.
69555 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69557         [BZ #12841]
69558         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69559         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69560         (mq_open): Add __NTH.
69562 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69565         Assume Intel Core i3/i5/i7 processor if AVX is available.
69567 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69570         typo.
69572 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69574         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69575         memory.  Use alloca_account.  Fix memory leak when retrying.
69577 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69579         * version.h (RELEASE): Bump for 2.14 release.
69580         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69582         * config.make.in (RANLIB): Remove entry.
69584 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69586         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69587         (libc.pot): Work around missing support for .ksh extension in xgettext.
69589         [BZ #12684]
69590         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69591         if both request failed.
69592         (send_dg): In case of server errors clear resplen or *resplen2.
69594         [BZ #12454]
69595         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69596         when there are multiple maps.
69597         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69598         (_dl_fini): Remove test here.
69600         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69602 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69604         [BZ #12350]
69605         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69606         bit from old_res_options.
69607         (gaih_inet): Likewise.
69609         [BZ #11099]
69610         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69611         as signed.
69613         * resolv/res_init.c (res_setoptions): Make the code more compact.
69615         [BZ #11558]
69616         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69617         set RES_USEVC.
69619         [BZ #11634]
69620         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69622         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69624         [BZ #11781]
69625         * malloc/malloc.h: Declare malloc hook variables as volatile.
69627         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69628         in last patch.
69630         [BZ #11799]
69631         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69632         raise in the comment.
69633         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69634         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69635         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69637 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69639         [BZ #12811]
69640         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69641         grow the buffers more if it already has to be sufficient.
69642         (build_wcs_upper_buffer): Likewise.
69643         * posix/regexec.c (check_matching): Likewise.
69644         (clean_state_log_if_needed): Likewise.
69645         (extend_buffers): Don't enlarge buffers beyond size of the input
69646         buffer.
69647         Patches mostly by Emil Wojak <emil@wojak.eu>.
69648         * posix/bug-regex32.c: New file.
69649         * posix/Makefile (tests): Add bug-regex32.
69651         * locale/findlocale.c (_nl_find_locale): Return right away if
69652         _nl_explode_name failed.
69653         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69655         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69657         * debug/xtrace.sh: Unify messages.
69658         * malloc/memusage.sh: Likewise.
69660         [BZ #12813]
69661         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69662         time symbol from vDSO.  Substitute with vsyscall if not available.
69663         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69664         __vdso_time.
69666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69667         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69668         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69669         Add sendmmsg and internal_sendmmsg.
69670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69671         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69672         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69674         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69675         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69676         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69678 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69680         [BZ #12813]
69681         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69682         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69683         available.
69684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69685         __vdso_getcpu.
69687         [BZ #12814]
69688         * iconvdata/Makefile (tests): Add bug-iconv9.
69689         * iconvdata/bug-iconv9.c: New file.
69691 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69693         [BZ #12814]
69694         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69696 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69699         (struct user_regs_struct): Change intcs field back to cs.
69701 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69703         * po/ja.po: Update from translation team.
69705 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69707         [BZ #12795]
69708         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69709         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69711 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69713         * stdlib/longlong.h: Update from GCC.
69715 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69717         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69718         parameter name.
69719         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69720         Add parameter name.
69721         (__sysconf): Pass it down.
69723 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69725         [BZ #12671]
69726         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69727         some situations.
69728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69729         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69730         add in in __libc_use_alloca calls.  Adjust callers.
69731         (glob): Use malloc in some situations.
69733         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69734         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69735         pltexit.
69737 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69739         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69740         and CLOCK_BOOTTIME_ALARM.
69742         [BZ #12782]
69743         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69744         is returned.
69746         * string/_strerror.c (__strerror_r): Print negative errors as signed
69747         numbers.
69749         [BZ #12777]
69750         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69751         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69752         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69754         * configure.in: Fix typo in redirection and correct removal of test
69755         files in two cases.
69757         [BZ #12788]
69758         * locale/setlocale.c (new_composite_name): Fix test to check for
69759         identical name of all categories.
69761         [BZ #12792]
69762         * libio/filedoalloc.c (local_isatty): New function.
69763         (_IO_file_doallocate): Use local_isatty.
69764         * stdio-common/perror.c (perror): In case a new stream is used
69765         forward the stream error.
69766         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69767         error flag.
69769 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69771         [BZ #11884]
69772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69773         alloca.
69774         * include/alloca.h (extend_alloca_account): Define.
69776         [BZ #11857]
69777         * posix/regex.h: Fix comments with documentation of user-accessible
69778         fields after compilation and describe correct free'ing of pattern
69779         after re_compile_pattern.
69780         Patch by Reuben Thomas <rrt@sc3d.org>.
69782 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69784         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69785         and -mno-altivec to prevent the compiler from using Altivec and/or
69786         VSX instructions when the corresponding registers are not available.
69788 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69790         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69792 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69794         * libio/freopen.c (freopen): Use __dup2, not dup2.
69795         * libio/freopen64.c (freopen64): Likewise.
69797 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69799         [BZ #12775]
69800         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69801         * math/Makefile (tests): Add test-powl.
69802         (CFLAGS-test-powl.c): Define.
69803         * math/test-powl.c: New file.
69805 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69807         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69809 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69811         [BZ #11837]
69812         * iconvdata/gb18030.c: Update to GB18020-2005.
69814 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69816         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69817         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69818         Patch by Aharon Robbins <arnold@skeeve.com>.
69820         [BZ #11892]
69821         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69822         on the stack.
69824         [BZ #11895]
69825         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69826         through underflows.
69828         [BZ #12766]
69829         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69830         point to strings before performing equality test for error_one_per_line
69831         mode.
69833         [BZ #11697]
69834         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69836         [BZ #11820]
69837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69838         (struct user_fpregs_struct): Avoid __uint*_t types.
69840         [BZ #6420]
69841         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69842         symbol info.  Use it instead of calling _dl_addr locally.
69843         (lock_and_info): New function.
69844         (tr_freehook): Call lock_and_info and pass symbol info as additional
69845         parameter to tr_where.
69846         (tr_mallochook): Likewise.
69847         (tr_reallochook): Likewise.
69848         (tr_memalignhook): Likewise.
69850         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69851         used and couldn't be at all thread-safe.
69853 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69855         * libio/freopen.c (freopen): Don't close old file descriptor
69856         before the new one is opened.  Instead dup the new file descriptor
69857         to the old one after the new stream is created.
69858         * libio/freopen64.c (freopen64): Likewise.
69859         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69860         * libio/fileops.c (_IO_new_file_close_it): Handle new
69861         _IO_FLAGS2_NOCLOSE flag.
69862         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69863         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69864         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69865         _IO_FLAGS2_NOCLOSE flag.
69866         * include/unistd.h: Add hidden_proto for dup3.
69867         Define __have_dup3.
69868         * io/dup3.c: Define hidden symbol.
69869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69871         [BZ #7101]
69872         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69873         when an incomplete long option is used.
69874         * posix/tst-getopt_long1.c: New file.
69875         * posix/Makefile (tests): Add tst-getopt_long1.
69877         [BZ #10138]
69878         * scripts/config.guess: Update from autoconf-2.68.
69879         * scripts/config.sub: Likewise.
69881         [BZ #10157]
69882         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69883         tests into ...
69884         (has_cpuclock): ...this.  New function.
69885         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69886         macro here based on has_cpuclock code.
69888         [BZ #10149]
69889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69890         First byte (not low byte) is now always NUL.
69891         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69894         Use non-cancelable interfaces.
69896         [BZ #9809]
69897         * locale/iso-639.def: Add entry for Sorani.
69899         [BZ #11901]
69900         * include/stdlib.h: Move include protection to the right place.
69901         Define abort_msg_s.  Declare __abort_msg with it.
69902         * stdlib/abort.c (__abort_msg): Adjust type.
69903         * assert/assert.c (__assert_fail_base): New function.  Majority
69904         of code from __assert_fail.  Allocate memory for __abort_msg with
69905         mmap.
69906         (__assert_fail): Now call __assert_fail_base.
69907         * assert/assert-perr.c: Remove bulk of implementation.  Use
69908         __assert_fail_base.
69909         * include/assert.hL Declare __assert_fail_base.
69910         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69911         mmap.
69912         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69914 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69916         [BZ #11952]
69917         [BZ #12453]
69918         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69919         until all modules are registered in the DTV.
69920         * elf/Makefile: Add rules to build and run tst-tls19.
69921         * elf/tst-tls19.c: New file.
69922         * elf/tst-tls19mod1.c: New file.
69923         * elf/tst-tls19mod2.c: New file.
69924         * elf/tst-tls19mod3.c: New file.
69925         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69927         [BZ #12083]
69928         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69929         correctly.
69931         [BZ #12601]
69932         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69933         two-byte sequence errors.
69934         * iconvdata/Makefile (tests): Add bug-iconv8.
69935         * iconvdata/bug-iconv8.c: New file.
69937         [BZ #12626]
69938         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69939         buf2 definition.
69941         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69943         [BZ #12432]
69944         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69945         (dummy_getcfa): New function.
69946         (init): Get _Unwind_GetCFA address, use dummy if not found.
69947         (backtrace_helper): In recursion check, also check whether CFA changes.
69948         (__backtrace): Completely initialize arg.
69950         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69951         storing incomplete byte sequence in state object.  Avoid testing for
69952         guaranteed too small input if we know there is enough data available.
69954 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69956         * Makeconfig (+link-pie): Indent.
69957         * Rules (binaries-pie): Define if $(have-fpie) and
69958         $(build-shared).
69959         (binaries-shared): Also filter out $(binaries-pie).
69960         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69961         * nscd/Makefile (others-pie): Add nscd.
69962         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69963         ($(objpfx)nscd): Remove command override.
69964         * login/Makefile (others-pie): Add pt_chown.
69965         ($(objpfx)pt_chown): Remove command override.
69966         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69967         remove command overrides.
69969 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69971         * libio/tst_putwc.c: Fix error messages.
69973         [BZ #12724]
69974         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69975         currently writing and seek to current position when not.
69976         * libio/Makefile (tests): Add bug-fclose1.
69977         * libio/bug-fclose1.c: New file.
69979 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69981         [BZ #12511]
69982         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69983         don't set DF_1_NODELETE here.
69984         (do_lookup_x): When entering new entry test for copy relocation
69985         and if necessary set DF_1_NODELETE flag.
69986         * elf/tst-unique4.cc: New file.
69987         * elf/tst-unique4.h: New file.
69988         * elf/tst-unique4lib.cc: New file.
69989         * elf/Makefile: Add rules to build and run tst-unique4.
69990         Patch by Piotr Bury <pbury@goahead.com>.
69992 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69994         [BZ #12052]
69995         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69997         [BZ #12625]
69998         * misc/mntent_r.c (addmntent): Flush the stream after the output
70000         [BZ #12393]
70001         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70002         (is_trusted_path_normalize): Skip initial colon.  Append slash
70003         to empty buffer.  Duplicate is_trusted_path code but allow
70004         constructed patch to be prefix.
70005         (is_dst): Allow $ORIGIN followed by /.
70006         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70007         Correct testing of result of is_trusted_path_normalize
70008         (decompose_rpath): Fix warning.
70010 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70012         [BZ #11257]
70013         * grp/initgroups.c (internal_getgrouplist): When we found the service
70014         list through the initgroups entry in nsswitch.conf do not always
70015         continue on a successful lookup.  Don't always use the
70016         __nss_group_database value if it is set.
70017         * nss/nsswitch.conf (initgroups): Change action for successful db
70018         lookup to continue for compatibility.
70020 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70022         [BZ #11532]
70023         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70024         and CP774 modules.
70025         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70026         and CP774 modules.
70027         * iconvdata/tst-tables.sh: Likewise.
70028         * iconvdata/cp770.c: New file.
70029         * iconvdata/cp771.c: New file.
70030         * iconvdata/cp772.c: New file.
70031         * iconvdata/cp773.c: New file.
70032         * iconvdata/cp774.c: New file.
70033         * iconvdata/testdata/CP770: New file.
70034         * iconvdata/testdata/CP770..UTF8: New file.
70035         * iconvdata/testdata/CP771: New file.
70036         * iconvdata/testdata/CP771..UTF8: New file.
70037         * iconvdata/testdata/CP772: New file.
70038         * iconvdata/testdata/CP772..UTF8: New file.
70039         * iconvdata/testdata/CP773: New file.
70040         * iconvdata/testdata/CP773..UTF8: New file.
70041         * iconvdata/testdata/CP774: New file.
70042         * iconvdata/testdata/CP774..UTF8: New file.
70044         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70045         END CHARMAP line.
70046         * iconvdata/gen-8bit-gap.sh: Likewise.
70047         * iconvdata/gen-8bit.sh: Likewise.
70049         * locale/iso-639.def: Add ary entry.
70051         [BZ #11258]
70052         * locale/C-translit.h.in: Add U20A1 transliteration.
70054         [BZ #12178]
70055         * locale/iso-639.def: Add wae entry.
70056         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70058         [BZ #12545]
70059         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70060         for n.
70062         [BZ #12711]
70063         * locale/C-translit.h.in: Add entry for U20B9.
70064         Patch by pravin.d.s@gmail.com.
70066 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70068         [BZ #12713]
70069         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70070         ENAMETOOLONG use generic getcwd.
70071         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70072         in rtld.  Use *stat64.
70073         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70074         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70075         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70076         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70077         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70078         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70079         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70080         __fstatat64 macros.
70081         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70082         * dirent/rewinddir.c: Add libc_hidden_def.
70083         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70084         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70086         * include/dirent.h (__alloc_dir): Add flags parameter.
70087         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70088         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70089         __alloc_dir.
70090         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70091         from fdopendir if O_CLOEXEC is already set.
70093 2011-03-15  Alan Modra  <amodra@gmail.com>
70095         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70096         l_tls_firstbyte_offset non-zero.  Save padding offset in
70097         l_tls_firstbyte_offset for later use.
70098         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70099         freeing static tls block.
70101 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70103         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70104         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70105         being defined by the kernel headers.
70107 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70109         [BZ #12734]
70110         * resolv/resolv.h: Define RES_NOTLDQUERY.
70111         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70112         no-tld-query and set RES_NOTLDQUERY.
70113         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70114         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70115         modern BIND to search name as TLD unless forbidden.
70117 2011-05-07  Petr Baudis  <pasky@suse.cz>
70118             Ulrich Drepper  <drepper@gmail.com>
70120         [BZ #12393]
70121         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70122         (is_trusted_path): ...to here.
70123         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70124         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70125         using is_trusted_path_normalize() in setuid scripts.
70127 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70129         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70130         __BEGIN/__END_DECLS.
70132 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70134         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70135         NSS_STATUS_NOTFOUND if no record was found.
70137 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70139         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70140         (headers-not-in-tirpc): Remove rpc/netdb.h
70141         * resolv/netdb.h: Revert last change.
70143 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70145         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70146         circular dependency between libgcc.a and libc.a.
70148 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70150         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70151         * nis/Makefile: Don't install rpcsvc/*.
70152         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70153         instead of <rpc/types.h>.
70154         (MAXHOSTNAMELEN): Define.
70156 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70158         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70160 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70162         [BZ #12714]
70163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70164         gethostbyname4_r when IPv6 results are possible.
70166 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70168         [BZ #12723]
70169         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70170         _PC_PIPE_BUF handling.
70172 2011-04-30  Bruno Haible  <bruno@clisp.org>
70174         [BZ #12717]
70175         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70176         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70177         to 'int'.
70178         * inet/getnameinfo.c (getnameinfo): Likewise.
70180 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70182         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70183         to groups setting in database lookup.
70184         * nss/nsswitch.conf: Add initgroups entry.
70186 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70188         [BZ #12685]
70189         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70190         mode string.
70191         Patch by Eric Blake <eblake@redhat.com>.
70193 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70195         * sunrpc/Makefile (need-export-routines): Add svc_run.
70196         (routines): Remove svc_run.
70197         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70198         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70199         * sunrpc/svc_run.c (svc_run): Likewise.
70200         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70202 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70205         problem in reallocation in last patch.
70207 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70209         * sunrpc/Makefile: Move inclusion of Rules.
70211 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70213         * nss/nss_files/files-initgroups.c: New file.
70214         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70215         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70216         _nss_files_initgroups_dyn.
70218 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70220         * elf/elf.h (R_ARM_IRELATIVE): Define.
70222 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70224         * po/ru.po: Update from translation team.
70226 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70228         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70229         dependencies.
70231 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70233         [BZ #12653]
70234         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70235         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70238         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70240 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70243         differing bytes.
70244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70245         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70248 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70250         [BZ #12420]
70251         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70252         storing it.
70253         * stdlib/bug-getcontext.c: New file.
70254         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70256 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70258         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70259         instructions into .machine "z9-109".
70260         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70261         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70263 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70265         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70266         between environment variables and auxiliary vector.
70268 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70270         * Makefile: Add rules to build linkobj/libc.so.
70271         * include/libc-symbols.h: Define libc_hidden_nolink.
70272         * include/rpc/auth.h: Mark functions which are to be hidden.
70273         * include/rpc/auth_des.h: Likewise.
70274         * include/rpc/auth_unix.h: Likewise.
70275         * include/rpc/clnt.h: Likewise.
70276         * include/rpc/des_crypt.h: Likewise.
70277         * include/rpc/key_prot.h: Likewise.
70278         * include/rpc/pmap_clnt.h: Likewise.
70279         * include/rpc/pmap_prot.h: Likewise.
70280         * include/rpc/pmap_rmt.h: Likewise.
70281         * include/rpc/rpc_msg.h: Likewise.
70282         * include/rpc/svc.h: Likewise.
70283         * include/rpc/svc_auth.h: Likewise.
70284         * include/rpc/xdr.h: Likewise.
70285         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70286         * nss/Makefile: Likewise.
70287         * sunrpc/Makefile: Don't install headers.  Build library with normal
70288         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70289         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70290         for the compat linking library.  Remove use of INTDEF/INTUSE.
70291         * sunrpc/auth_none.c: Likewise.
70292         * sunrpc/auth_unix.c: Likewise.
70293         * sunrpc/authdes_prot.c: Likewise.
70294         * sunrpc/authuxprot.c: Likewise.
70295         * sunrpc/clnt_gen.c: Likewise.
70296         * sunrpc/clnt_perr.c: Likewise.
70297         * sunrpc/clnt_raw.c: Likewise.
70298         * sunrpc/clnt_simp.c: Likewise.
70299         * sunrpc/clnt_tcp.c: Likewise.
70300         * sunrpc/clnt_udp.c: Likewise.
70301         * sunrpc/clnt_unix.c: Likewise.
70302         * sunrpc/des_crypt.c: Likewise.
70303         * sunrpc/des_soft.c: Likewise.
70304         * sunrpc/get_myaddr.c: Likewise.
70305         * sunrpc/key_call.c: Likewise.
70306         * sunrpc/key_prot.c: Likewise.
70307         * sunrpc/netname.c: Likewise.
70308         * sunrpc/pm_getmaps.c: Likewise.
70309         * sunrpc/pm_getport.c: Likewise.
70310         * sunrpc/pmap_clnt.c: Likewise.
70311         * sunrpc/pmap_prot.c: Likewise.
70312         * sunrpc/pmap_prot2.c: Likewise.
70313         * sunrpc/pmap_rmt.c: Likewise.
70314         * sunrpc/publickey.c: Likewise.
70315         * sunrpc/rpc_cmsg.c: Likewise.
70316         * sunrpc/rpc_common.c: Likewise.
70317         * sunrpc/rpc_dtable.c: Likewise.
70318         * sunrpc/rpc_prot.c: Likewise.
70319         * sunrpc/rpc_thread.c: Likewise.
70320         * sunrpc/rtime.c: Likewise.
70321         * sunrpc/svc.c: Likewise.
70322         * sunrpc/svc_auth.c: Likewise.
70323         * sunrpc/svc_authux.c: Likewise.
70324         * sunrpc/svc_raw.c: Likewise.
70325         * sunrpc/svc_run.c: Likewise.
70326         * sunrpc/svc_simple.c: Likewise.
70327         * sunrpc/svc_tcp.c: Likewise.
70328         * sunrpc/svc_udp.c: Likewise.
70329         * sunrpc/svc_unix.c: Likewise.
70330         * sunrpc/svcauth_des.c: Likewise.
70331         * sunrpc/xcrypt.c: Likewise.
70332         * sunrpc/xdr.c: Likewise.
70333         * sunrpc/xdr_array.c: Likewise.
70334         * sunrpc/xdr_float.c: Likewise.
70335         * sunrpc/xdr_intXX_t.c: Likewise.
70336         * sunrpc/xdr_mem.c: Likewise.
70337         * sunrpc/xdr_rec.c: Likewise.
70338         * sunrpc/xdr_ref.c: Likewise.
70339         * sunrpc/xdr_sizeof.c: Likewise.
70340         * sunrpc/xdr_stdio.c: Likewise.
70342 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70344         [BZ #12650]
70345         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70346         * sysdeps/ia64/dl-tls.h: Likewise.
70347         * sysdeps/powerpc/dl-tls.h: Likewise.
70348         * sysdeps/s390/dl-tls.h: Likewise.
70349         * sysdeps/sh/dl-tls.h: Likewise.
70350         * sysdeps/sparc/dl-tls.h: Likewise.
70351         * sysdeps/x86_64/dl-tls.h: Likewise.
70352         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70354 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70356         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70357         rpath element also skip the following colon.
70358         (expand_dynamic_string_token): Add is_path parameter and pass
70359         down to DL_DST_REQUIRED and _dl_dst_substitute.
70360         (decompose_rpath): Call expand_dynamic_string_token with
70361         non-zero is_path.  Ignore empty rpaths.
70362         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70363         with zero is_path.
70365 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70368         Make cancelable.
70370 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70372         [BZ #12655]
70373         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70374         Patch by Filipe David Manana <fdmanana@apache.org>.
70376 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70379         Maintain aligned stack.
70380         (CHECK_RSP): Remove unused macro.
70382 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70384         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70387 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70389         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70391         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70393 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70395         [BZ #12518]
70396         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70397         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70398         * sysdeps/x86_64/memmove.c: New file.
70399         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70400         (memcpy): Renamed to ...
70401         (__new_memcpy): This.
70402         (memcpy): Provide GLIBC_2_14 memcpy.
70403         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70404         (memcpy): Provide GLIBC_2_2_5 memcpy.
70406 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70408         [BZ #12631]
70409         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70411 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70413         * misc/syncfs.c: New file.
70414         * misc/Makefile (routines): Add syncfs.
70415         * posix/unistd.h: Declare syncfs.
70416         * sysdeps/unix/syscalls.list: Add syncfs.
70418 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70420         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70421         open_by_handle_at.
70422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70423         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70427         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70430 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70434         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70440         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70441         sync_file_range.c with -fexceptions.
70442         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70443         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70444         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70445         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70446         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70447         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70449         sync_file_range as cancellation point
70450         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70451         now a wrapper around __call_sync_file_range with cancellation handling.
70452         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70453         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70454         function name to __call_sync_file_range.
70455         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70456         Add call_sync_file_range.
70458 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70461         bits/timex.h.
70463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70465         * iconv/iconv.h: Fix typo in comment.
70466         * io/fcntl.h: Likewise.
70467         * libio/stdio.h: Likewise.
70468         * posix/spawn.h: Likewise.
70469         * posix/unistd.h: Likewise.
70470         * stdlib/stdlib.h: Likewise.
70471         * time/time.h: Likewise.
70472         * wcsmbs/wchar.h: Likewise.
70474         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70475         open_by_handle): Add.
70476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70477         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70478         Augment a few comments.
70479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70483         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70484         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70485         open_by_handle.
70487         * io/fcntl.h (AT_EMPTY_PATH): Define.
70489 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70491         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70492         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70493         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70494         to...
70495         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70496         * Versions.def: Add GLIBC_2.14.
70497         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70498         Export.
70500 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70502         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70503         round counter.
70504         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70506 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70508         [BZ #12597]
70509         * string/test-strncmp.c (do_page_test): New function.
70510         (check2): Likewise.
70511         (test_main): Call check2.
70512         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70514 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70516         [BZ #12587]
70517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70518         Handle cache information in CPU leaf 4.
70519         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70521 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70523         [BZ #12583]
70524         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70525         character representation.
70526         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70528 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70530         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70531         END(__isnan) to END(__isnanf) to match function entry point/label
70532         EALIGN(__isnanf,...).
70534 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70536         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70538 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70540         [BZ #12510]
70541         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70542         copy from the symbol referenced in the relocation to initialize the
70543         used variable.
70544         Patch by Piotr Bury <pbury@goahead.com>.
70545         * elf/Makefile: Add rules to build and tst-unique3.
70546         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70547         * elf/tst-unique3.cc: New file.
70548         * elf/tst-unique3.h: New file.
70549         * elf/tst-unique3lib.cc: New file.
70550         * elf/tst-unique3lib2.cc: New file.
70552         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70554 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70556         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70557         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70558         to _start.
70560 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70562         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70563         to-be-loaded object along a path to loader is ld.so.
70565 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70566             Ulrich Drepper  <drepper@gmail.com>
70568         * sysdeps/x86_64/memset.S: After aligning destination, code
70569         branches to different locations depending on the value of
70570         misalignment, when multiarch is enabled. Fix this.
70572 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70574         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70575         Set _x86_64_preferred_memory_instruction for AMD processsors.
70576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70577         Set bit_Prefer_SSE_for_memop for AMD processors.
70579 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70581         * libio/fmemopen.c (fmemopen): Optimize a bit.
70583 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70585         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70587 2011-03-03  Roland McGrath  <roland@redhat.com>
70589         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70591 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70593         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70594         __bzero_ultra1 instead of __memset_ultra1.
70596 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70597             Ulrich Drepper  <drepper@gmail.com>
70599         [BZ #12509]
70600         * include/link.h (struct link_map): Add l_orig_initfini.
70601         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70602         returning unsuccessfully.
70603         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70604         close of a file loaded at startup, restore the original l_initfini
70605         list.
70606         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70607         list, store the pointer.
70608         * elf/Makefile ($(objpfx)noload-mem): New rule.
70609         (noload-ENV): Define.
70610         (tests): Add $(objpfx)noload-mem.
70611         * elf/noload.c: Include <memcheck.h>.
70612         (main): Call mtrace.  Close all opened handles.
70614 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70616         [BZ #12454]
70617         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70618         dependencies are missing.
70620 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70622         Fix __if_freereq crash: Unlike the generic version which uses free,
70623         Hurd needs munmap.
70624         * sysdeps/mach/hurd/ifreq.h: New file.
70626 2011-01-27  Petr Baudis  <pasky@suse.cz>
70627             Ulrich Drepper  <drepper@gmail.com>
70629         [BZ 12445]#
70630         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70631         to extend_alloca().
70632         * stdio-common/bug23.c: New file.
70633         * stdio-common/Makefile (tests): Add bug23.
70635 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70636             Ulrich Drepper  <drepper@gmail.com>
70638         [BZ #12489]
70639         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70640         before performing relro protection.  At old place add assertion
70641         to make sure nothing changed.
70643 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70644             Glauber de Oliveira Costa  <glommer@gmail.com>
70646         * elf/elf.h: Add new ARM TLS relocs.
70648 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70651         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70652         cast from r3.
70653         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70654         'tests' variable.
70655         * sysdeps/wordsize-64/tst-writev.c: New file.
70657 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70659         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70660         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70661         insns in _dl_start to prevent a TOC reference before relocs are
70662         resolved.
70664 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70666         [BZ #12469]
70667         * Makeconfig: Remove RANLIB definition.
70668         * Makerules: Don't use RANLIB.
70669         * aclocal.m4: Remove ranlib test.
70670         * configure.in: No need to check for ranlib.
70671         * elf/rtld-Rules: Don't use RANLIB.
70673 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70675         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70676         protection macro.
70677         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70678         inclusion protection macro.
70680         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70681         SIGRTMIN and SIGRTMAX and print information in that case only when
70682         SIGRTMIN is defined.
70684 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70686         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70687         arginfo fn returning -1.
70689         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70690         and thousands string is zero terminated.
70692 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70695         sysdeps/unix/sysv/linux/bits/socket.h.
70697 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70699         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70700         (__CPU_COUNT): Remove old macros.
70701         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70702         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70703         (__CPU_ALLOC, __CPU_FREE): Add macros.
70704         (__sched_cpualloc, __sched_cpufree): Add declarations.
70706 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70708         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70709         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70710         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70711         (readdhstai): Return value of addhstaiX call.
70712         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70713         (addgrbyX): Return value returned by cache_addgr.
70714         (readdgrbyname): Return value returned by addgrbyX.
70715         (readdgrbygid): Likewise.
70716         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70717         (addpwbyX): Return value returned by cache_addpw.
70718         (readdpwbyname): Return value returned by addhstbyX.
70719         (readdpwbyuid): Likewise.
70720         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70721         (addservbyX): Return value returned by cache_addserv.
70722         (readdservbyname): Return value returned by addservbyX:
70723         (readdservbyport): Likewise.
70724         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70725         (addhstbyX): Return value returned by cache_addhst.
70726         (readdhstbyname): Return value returned by addhstbyX.
70727         (readdhstbyaddr): Likewise.
70728         (readdhstbynamev6): Likewise.
70729         (readdhstbyaddrv6): Likewise.
70730         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70731         (readdinitgroups): Return value returned by addinitgroupsX.
70732         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70733         (prune_cache): Keep track of timeout value of re-added entries.
70734         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70735         * nscd/nscd.h: Adjust prototypes of readd* functions.
70737 2011-02-04  Roland McGrath  <roland@redhat.com>
70739         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70740         (nis_stats): Likewise.
70741         * nis/nis_modify.c (nis_modify): Likewise.
70742         * nis/nis_remove.c (nis_remove): Likewise.
70743         * nis/nis_add.c (nis_add): Likewise.
70745         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70747         * posix/fnmatch_loop.c: Add some consts.
70749         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70751 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70753         [BZ #12460]
70754         * config.make.in (config-cflags-novzeroupper): Define.
70755         * configure.in: Substitute libc_cv_cc_novzeroupper.
70756         * elf/Makefile (AVX-CFLAGS): Define.
70757         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70758         (CFLAGS-tst-auditmod4a.c): Likewise.
70759         (CFLAGS-tst-auditmod4b.c): Likewise.
70760         (CFLAGS-tst-auditmod6b.c): Likewise.
70761         (CFLAGS-tst-auditmod6c.c): Likewise.
70762         (CFLAGS-tst-auditmod7b.c): Likewise.
70763         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70765 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70767         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70768         function to the callback.
70769         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70771 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70773         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70774         of errno.
70776 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70778         [BZ #11724]
70779         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70780         of constructors.
70781         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70782         of destructors.
70783         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70785         [BZ #11724]
70786         * elf/Makefile: Add rules to build and run new test.
70787         * elf/tst-initorder.c: New file.
70788         * elf/tst-initorder.exp: New file.
70789         * elf/tst-initordera1.c: New file.
70790         * elf/tst-initordera2.c: New file.
70791         * elf/tst-initordera3.c: New file.
70792         * elf/tst-initordera4.c: New file.
70793         * elf/tst-initorderb1.c: New file.
70794         * elf/tst-initorderb2.c: New file.
70795         * elf/tst-order-a1.c: New file.
70796         * elf/tst-order-a2.c: New file.
70797         * elf/tst-order-a3.c: New file.
70798         * elf/tst-order-a4.c: New file.
70799         * elf/tst-order-b1.c: New file.
70800         * elf/tst-order-b2.c: New file.
70801         * elf/tst-order-main.c: New file.
70802         New test case by George Gensure <werkt0@gmail.com>.
70804 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70807         decoding ACE if AI_CANONIDN.
70809 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70811         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70813 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70815         * version.h (RELEASE): Bump for 2.13 release.
70816         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70818         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70821         MADV_NOHUGEPAGE.
70822         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70827         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70829         * posix/getconf.c: Update copyright year.
70830         * catgets/gencat.c: Likewise.
70831         * csu/version.c: Likewise.
70832         * debug/catchsegv.sh: Likewise.
70833         * debug/xtrace.sh: Likewise.
70834         * elf/ldconfig.c: Likewise.
70835         * elf/ldd.bash.in: Likewise.
70836         * elf/sprof.c (print_version): Likewise.
70837         * iconv/iconv_prog.c: Likewise.
70838         * iconv/iconvconfig.c: Likewise.
70839         * locale/programs/locale.c: Likewise.
70840         * locale/programs/localedef.c: Likewise.
70841         * malloc/memusage.sh: Likewise.
70842         * malloc/mtrace.pl: Likewise.
70843         * nscd/nscd.c (print_version): Likewise.
70844         * nss/getent.c: Likewise.
70846         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70847         PF_CAIF, and PF_ALG.
70848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70850 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70852         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70853         (modules-names): Use them.
70854         (ifunc-test-modules, ifunc-pie-tests): Define.
70855         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70856         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70857         (test-extras): Likewise.
70858         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70859         $(compile-command.c).
70860         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70861         (all-built-dso): Define.
70862         (check-textrel.out, check-execstack.out): Depend on it.
70864         * configure.in: Don't override --enable-multi-arch.
70866 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70868         [BZ #6812]
70869         * nscd/hstcache.c (tryagain): Define.
70870         (cache_addhst): Return tryagain not notfound for temporary errors.
70871         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70872         failed.
70874 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70876         [BZ #10563]
70877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70878         to make the syscall.
70879         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70881         [BZ #12378]
70882         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70883         and fall back to matching as normal character if the string ends before
70884         the matching ']' is found.  This is what POSIX requires.
70885         * posix/testfnm.c: Adjust test result.
70886         * posix/globtest.sh: Adjust test result.  Add new test.
70887         * posix/tst-fnmatch.input: Likewise.
70888         * posix/tst-fnmatch2.c: Add new test.
70890 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70892         * elf/Makefile (check-execstack): Revert last change.  Depend on
70893         check-execstack.h.
70894         (check-execstack.h): New target.
70895         (generated): Add check-execstack.h.
70896         * elf/check-execstack.c: Include "check-execstack.h".
70897         (main): Revert last change.
70898         (handle_file): Return zero if GNU_STACK is absent and
70899         DEFAULT_STACK_PERMS doesn't include PF_X.
70901 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70903         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70904         in child fails because the descriptor is already closed.
70905         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70906         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70907         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70909         [BZ #12397]
70910         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70911         syscall.
70913         [BZ #10484]
70914         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70915         temporary buffer used to handle multi lookups locally.
70916         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70918 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70920         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70921         loader is ld.so.
70923 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70925         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70926         alignment for SSE2.
70928 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70930         [BZ #12394]
70931         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70932         characters.  When rounding increased number of integer digits recompute
70933         number of groups.
70934         * stdio-common/tst-grouping.c: New file.
70935         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70937 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70939         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70940         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70942         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70943         void.
70944         * bits/select.h: Likewise.
70946 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70948         * po/ja.po: Update from translation team.
70950 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70952         [BZ #11155]
70953         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70954         implementation just like for lxstat, fxstatat, et al.
70956 2010-12-27  Jim Meyering  <meyering@redhat.com>
70958         [BZ #12348]
70959         * posix/regexec.c (build_trtable): Return failure indication upon
70960         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70962 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70964         [BZ #12201]
70965         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70966         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70967         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70968         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70970         [BZ #12207]
70971         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70973         [BZ #12204]
70974         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70975         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70977 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70979         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70980         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70981         script has SORT_BY_INIT_PRIORITY.
70982         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70983         NO_CTORS_DTORS_SECTIONS is defined.
70984         * elf/soinit.c: Likewise.
70985         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70986         NO_CTORS_DTORS_SECTIONS is defined.
70987         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70988         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70989         * sysdeps/sh/init-first.c: Likewise.
70990         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70992 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70994         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70995         always use the slow path.
70997 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70999         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71000         similar rule which adds the sysdep directories to the header search in
71001         order to pick up the correct platform stackinfo.h.
71002         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71003         perform test if it is, otherwise return successfully without testing.
71004         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71005         DEFAULT_STACK_PERMS define in stackinfo.h.
71006         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71007         defined in stackinfo.h.
71008         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71009         DEFAULT_STACK_PERMS defined in stackinfo.h.
71010         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71011         * sysdeps/ia64/stackinfo.h: Likewise.
71012         * sysdeps/s390/stackinfo.h: Likewise.
71013         * sysdeps/sh/stackinfo.h: Likewise.
71014         * sysdeps/sparc/stackinfo.h: Likewise.
71015         * sysdeps/x86_64/stackinfo.h: Likewise.
71016         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71017         PF_X for powerpc64.  Retain PF_X for powerpc32.
71019 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71021         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71022         accurately.
71023         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71024         GETDENTS_64BIT_ALIGNED.
71026 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71028         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71030 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71032         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71033         _GNU_SOURCE.
71035         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71036         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71037         Remove __restrict.
71038         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71039         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71041 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71043         [BZ #11655]
71044         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71045         are initialized.
71047 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71049         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71051 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71053         * po/it.po: Update from translation team.
71055 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71058         unused codes.
71060 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71062         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71064 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71066         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71067         specially.
71068         (gaih_getanswer_slice): Likewise.
71070 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71074 2010-05-31  Petr Baudis  <pasky@suse.cz>
71076         [BZ #11149]
71077         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71078         silently even in the chroot mode.
71080 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71082         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71083         last patch a bit.  Pretty printing
71085 2010-05-31  Petr Baudis <pasky@suse.cz>
71087         [BZ #10085]
71088         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71089         initialization of skip_initgroups_dyn.
71091 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71093         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71094         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71096 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71098         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71100 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71102         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71103         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71104         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71105         ($(objpfx)tst-fnmatch-mem): New rule.
71106         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71107         * posix/tst-fnmatch.c (main): Call mtrace.
71109 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71112         Support Intel processor model 6 and model 0x2c.
71114 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71117           signed comparison.
71119 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71121         [BZ #12205]
71122         * string/test-strncasecmp.c (check_result): New function.
71123         (do_one_test): Use it.
71124         (check1): New function.
71125         (test_main): Use it.
71126         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71127         Support strcasecmp and strncasecmp.
71129 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71131         [BZ #12194]
71132         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71133         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71135 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71137         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71138         IFUNC support.
71139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71140         memset-x86-64.
71141         * sysdeps/x86_64/multiarch/bzero.S: New file.
71142         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71143         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71144         * sysdeps/x86_64/multiarch/memset.S: New file.
71145         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71147         Set bit_Prefer_SSE_for_memop for Intel processors.
71148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71149         Define.
71150         (index_Prefer_SSE_for_memop): Define.
71151         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71153 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71155         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71156         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71158 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71160         [BZ #12191]
71161         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71162         (__x86_64_raw_data_cache_size_half): Likewise.
71163         (__x86_64_raw_shared_cache_size): Likewise.
71164         (__x86_64_raw_shared_cache_size_half): Likewise.
71166         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71167         (__x86_64_raw_data_cache_size_half): Likewise.
71168         (__x86_64_raw_shared_cache_size): Likewise.
71169         (__x86_64_raw_shared_cache_size_half): Likewise.
71170         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71171         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71172         and __x86_64_raw_shared_cache_size_half.  Round
71173         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71174         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71175         to multiple of 256 bytes.
71177 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71179         [BZ #12167]
71180         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71181         of inacessible symlinks.  Verify result of symlink before returning it.
71182         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71183         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71185 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71187         * math/math.h (isinf): Fix typo in comment.
71189 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71191         * po/da.po: Update from translation team.
71193 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71195         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71196         is added to the list.
71198 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71199             Ulrich Drepper  <drepper@gmail.com>
71201         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71202         the global list here.  Move code to...
71203         (_dl_add_to_namespace_list): ...here.  New function.
71204         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71205         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71206         * elf/dl-load.c (lose): Don't remove the element from the list.
71207         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71208         (_dl_map_object): Likewise.
71210 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71212         [BZ #12159]
71213         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71214         into all bytes of SSE register.
71215         Patch by Richard Li <richardpku@gmail.com>.
71217 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71219         [BZ #12140]
71220         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71221         perturbing.
71223 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71225         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71226         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71227         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71228         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71230         submachine.
71231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71233 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71235         * include/dlfcn.h (__RTLD_SECURE): Define.
71236         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71237         mode & __RTLD_SECURE instead.
71238         (open_path): Rename preloaded parameter to secure.
71239         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71240         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71241         * elf/dl-deps.c (openaux): Likewise.
71242         * elf/rtld.c (struct map_args): Remove is_preloaded.
71243         (map_doit): Don't use it.
71244         (dl_main): Likewise.
71245         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71246         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71248 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71250         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71251         (sysd-rules-targets): Remove duplicates.
71252         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71253         rtld-%.$o dependency.
71255 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71257         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71258         _dl_map_object do it.
71260 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71262         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71263         fast fma builtins, define the macros in the C99 standard.
71264         (FP_FAST_FMAF): Likewise.
71265         (FP_FAST_FMAL): Likewise.
71266         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71268         * bits/mathdef.h: Update copyright year.
71269         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71271 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71273         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71274         builtins, define the macros in the C99 standard.
71275         (FP_FAST_FMAF): Likewise.
71276         (FP_FAST_FMAL): Likewise.
71277         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71278         multiply/add.
71279         (FP_FAST_FMAF): Likewise.
71281 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71283         [BZ #3268]
71284         * math/libm-test.inc (fma_test): Some new testcases.
71285         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71286         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71287         y and infinite z.  Do multiplication by C already in long double.
71288         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71290         y and infinite z.  Do bitwise or of inexact bit into u.d.
71291         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71292         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71293         * sysdeps/i386/fpu/s_fma.S: Removed.
71294         * sysdeps/i386/fpu/s_fmal.S: Removed.
71296 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71298         [BZ #3268]
71299         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71301         computation is not scheduled after fetestexcept.  Fix value
71302         of minimum denormal long double.
71304 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71306         [BZ #3268]
71307         * math/libm-test.inc (fma_test): Add some more tests.
71308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71309         correctly.
71311 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71313         * scripts/data/localplt-s390-linux-gnu.data: New file.
71314         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71316 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71318         [BZ #3268]
71319         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71320         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71321         instead of dbl-64.
71322         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71323         inlines.
71324         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71326         if one of x and y is very large and the other is subnormal.
71327         * sysdeps/s390/fpu/s_fmaf.c: New file.
71328         * sysdeps/s390/fpu/s_fma.c: New file.
71329         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71330         * sysdeps/powerpc/fpu/s_fma.S: New file.
71331         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71332         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71333         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71335 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71337         [BZ #3268]
71338         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71339         fma tests.
71340         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71341         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71342         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71343         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71344         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71345         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71348 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71350         [BZ #12078]
71351         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71352         * posix/bug-regex31.input: Add test case.
71354 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71356         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71357         * posix/bug-regex31.input: New file.
71359         [BZ #12078]
71360         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71361         (parse_sub_exp): Fix last change, use postorder.
71363         * posix/bug-regex31.c: New file.
71364         * posix/Makefile: Add rules to build and run bug-regex31.
71366         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71368         [BZ #12078]
71369         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71371         [BZ #12108]
71372         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71373         to have entries in sys_siglist.
71375         [BZ #12093]
71376         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71377         be NULL.
71379 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71381         [BZ #3268]
71382         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71383         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71384         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71385         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71386         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71387         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71388         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71389         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71390         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71391         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71392         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71394         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71395         * math/ftestexcept.c (fetestexcept): Likewise.
71396         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71397         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71398         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71399         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71400         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71401         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71404 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71406         [BZ #12107]
71407         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71408         newline.
71410 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71412         * string/bug-strstr1.c: New file.
71413         * string/Makefile: Add rules to build and run bug-strstr1.
71415 2010-10-05  Eric Blake  <eblake@redhat.com>
71417         [BZ #12092]
71418         * string/str-two-way.h (two_way_long_needle): Always clear memory
71419         when skipping input due to the shift table.
71421 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71423         [BZ #12005]
71424         * malloc/mcheck.c: Handle large requests.
71426         [BZ #12077]
71427         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71428         for strncmp and strncasecmp.
71429         * string/stratcliff.c: Add tests for strcmp and strncmp.
71430         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71432 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71434         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71435         __set_fpscr.
71437 2010-09-30  Andreas Jaeger  <aj@suse.de>
71439         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71440         (CGROUP_SUPER_MAGIC): Define.
71441         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71442         Handle btrfs and cgroup file systems.
71443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71444         Likewise.
71446 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71448         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71449         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71451 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71453         [BZ #12067]
71454         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71455         trying to locate the ELF header.
71457 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71459         [BZ #11611]
71460         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71461         Mask out sign-bit copies when constructing f_fsid.
71463 2010-09-24  Petr Baudis <pasky@suse.cz>
71465         * debug/stack_chk_fail_local.c: Add missing licence exception.
71466         * debug/warning-nop.c: Likewise.
71468 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71471         implementing getdents64 using getdents syscall, set d_type if
71472         __ASSUME_GETDENTS32_D_TYPE.
71474 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71476         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71477         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71479 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71481         [BZ #12037]
71482         * posix/unistd.h: Undo change of feature selection for ftruncate from
71483         2010-01-11.
71485 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71487         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71488         detection.
71490 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71493         fanotify_mark.
71494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71496 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71498         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71499         variables after CHECK_SP call.
71500         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71502 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71503             Ulrich Drepper  <drepper@redhat.com>
71505         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71506         re-relocationg ld.so.
71507         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71508         _dl_init_paths call.
71509         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71510         here anymore.
71512 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71514         * resolv/res_init.c (__res_vinit): Count the default server we added.
71516 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71517             Ulrich Drepper  <drepper@redhat.com>
71519         [BZ #11968]
71520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71521         (____longjmp_chk): Use %ebx for saving value across system call.
71522         Add unwind info.
71524 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71526         * manual/Makefile: Don't mix pattern rules with normal rules.
71528 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71530         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71531         operation.
71532         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71533         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71534         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71535         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71537         Likewise.
71539 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71541         [BZ #11979]
71542         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71543         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71545 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71547         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71548         * sysdeps/x86_64/addmul_1.S: Likewise.
71549         * sysdeps/x86_64/lshift.S: Likewise.
71550         * sysdeps/x86_64/mul_1.S: Likewise.
71551         * sysdeps/x86_64/rshift.S: Likewise.
71552         * sysdeps/x86_64/sub_n.S: Likewise.
71553         * sysdeps/x86_64/submul_1.S: Likewise.
71555 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71557         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71558         Define __sched_param instead of SCHED_* and sched_param when
71559         <bits/sched.h> is included with __need_schedparam defined.
71560         * bits/sched.h [__need_schedparam]
71561         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71562         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71563         (__defined_schedparam): Define to 1.
71564         (__sched_param): New structure, identical to sched_param.
71565         (__need_schedparam): Undefine.
71567 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71570         (epoll_create1): Declare.
71572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71574 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71576         [BZ #7066]
71577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71578         shifting retval into place.
71580 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71582         * nis/rpcsvc/nis.h: Update copyright notice.
71583         * nis/rpcsvc/nis.x: Likewise.
71584         * nis/rpcsvc/nis_callback.h: Likewise.
71585         * nis/rpcsvc/nis_callback.x: Likewise.
71586         * nis/rpcsvc/nis_object.x: Likewise.
71587         * nis/rpcsvc/nis_tags.h: Likewise.
71588         * nis/rpcsvc/yp.h: Likewise.
71589         * nis/rpcsvc/yp.x: Likewise.
71590         * nis/rpcsvc/ypupd.h: Likewise.
71591         * nis/yp_xdr.c: Likewise.
71592         * nis/ypupdate_xdr.c: Likewise.
71594         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71595         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71596         (pmap_getport): Use __libc_rpc_getport.
71597         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71598         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71599         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71601 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71604         fanotify_mark.
71606 2010-08-27  Roland McGrath  <roland@redhat.com>
71608         * sysdeps/i386/i686/multiarch/Makefile
71609         (CFLAGS-varshift.c): New variable.
71611 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71613         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71614         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71618         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71620 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71622         * sysdeps/x86_64/strlen.S: Unroll the loop.
71623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71624         strlen-sse2 strlen-sse2-bsf.
71625         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71626         __strlen_no_bsf if bit_Slow_BSF is set.
71627         (__strlen_sse42): Removed.
71628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71629         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71631 2010-08-25  Roland McGrath  <roland@redhat.com>
71633         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71634         * sysdeps/x86_64/multiarch/varshift.c: New file.
71635         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71636         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71637         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71638         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71640 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71643         strlen-sse2 strlen-sse2-bsf.
71644         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71645         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71646         (__strlen_sse2): Removed.
71647         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71650         bit_Slow_BSF for Atom.
71651         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71652         (index_Slow_BSF): Define.
71653         (HAS_SLOW_BSF): Define.
71655 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71657         [BZ #10851]
71658         * resolv/res_init.c (__res_vinit): When no server address at all
71659         is given default to loopback.
71661 2010-08-24  Roland McGrath  <roland@redhat.com>
71663         * configure.in: Remove config-name.h generation.
71664         * configure: Regenerated.
71665         * config-name.in: File removed.
71666         * scripts/config-uname.sh: New file.
71667         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71668         ($(objdir)config-name.h): New target.
71670         * sunrpc/rpc_parse.h: Avoid nested comment.
71672 2010-08-24  Richard Henderson  <rth@redhat.com>
71673             Ulrich Drepper  <drepper@redhat.com>
71674             H.J. Lu  <hongjiu.lu@intel.com>
71676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71678         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71679         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71680         _mm_alignr_epi8 with _mm_loadu_si128.
71681         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71682         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71683         (__m128i_shift_right): Removed.
71684         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71685         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71686         * sysdeps/x86_64/multiarch/varshift.h: New file.
71687         * sysdeps/x86_64/multiarch/varshift.S: New file.
71689 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71691         * configure.in: Move assembler checks to before sysdep dir checking.
71693 2010-08-20  Petr Baudis  <pasky@suse.cz>
71695         * LICENSES: Sync the sunrpc license.
71697 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71699         * sunrpc/auth_des.c: Update copyright notice once again.
71700         * sunrpc/auth_none.c: Likewise.
71701         * sunrpc/auth_unix.c: Likewise.
71702         * sunrpc/authdes_prot.c: Likewise.
71703         * sunrpc/authuxprot.c: Likewise.
71704         * sunrpc/bindrsvprt.c: Likewise.
71705         * sunrpc/clnt_gen.c: Likewise.
71706         * sunrpc/clnt_perr.c: Likewise.
71707         * sunrpc/clnt_raw.c: Likewise.
71708         * sunrpc/clnt_simp.c: Likewise.
71709         * sunrpc/clnt_tcp.c: Likewise.
71710         * sunrpc/clnt_udp.c: Likewise.
71711         * sunrpc/clnt_unix.c: Likewise.
71712         * sunrpc/des_crypt.c: Likewise.
71713         * sunrpc/des_soft.c: Likewise.
71714         * sunrpc/get_myaddr.c: Likewise.
71715         * sunrpc/getrpcport.c: Likewise.
71716         * sunrpc/key_call.c: Likewise.
71717         * sunrpc/key_prot.c: Likewise.
71718         * sunrpc/openchild.c: Likewise.
71719         * sunrpc/pm_getmaps.c: Likewise.
71720         * sunrpc/pm_getport.c: Likewise.
71721         * sunrpc/pmap_clnt.c: Likewise.
71722         * sunrpc/pmap_prot.c: Likewise.
71723         * sunrpc/pmap_prot2.c: Likewise.
71724         * sunrpc/pmap_rmt.c: Likewise.
71725         * sunrpc/rpc/auth.h: Likewise.
71726         * sunrpc/rpc/auth_unix.h: Likewise.
71727         * sunrpc/rpc/clnt.h: Likewise.
71728         * sunrpc/rpc/des_crypt.h: Likewise.
71729         * sunrpc/rpc/key_prot.h: Likewise.
71730         * sunrpc/rpc/netdb.h: Likewise.
71731         * sunrpc/rpc/pmap_clnt.h: Likewise.
71732         * sunrpc/rpc/pmap_prot.h: Likewise.
71733         * sunrpc/rpc/pmap_rmt.h: Likewise.
71734         * sunrpc/rpc/rpc.h: Likewise.
71735         * sunrpc/rpc/rpc_des.h: Likewise.
71736         * sunrpc/rpc/rpc_msg.h: Likewise.
71737         * sunrpc/rpc/svc.h: Likewise.
71738         * sunrpc/rpc/svc_auth.h: Likewise.
71739         * sunrpc/rpc/types.h: Likewise.
71740         * sunrpc/rpc/xdr.h: Likewise.
71741         * sunrpc/rpc_clntout.c: Likewise.
71742         * sunrpc/rpc_cmsg.c: Likewise.
71743         * sunrpc/rpc_common.c: Likewise.
71744         * sunrpc/rpc_cout.c: Likewise.
71745         * sunrpc/rpc_dtable.c: Likewise.
71746         * sunrpc/rpc_hout.c: Likewise.
71747         * sunrpc/rpc_main.c: Likewise.
71748         * sunrpc/rpc_parse.c: Likewise.
71749         * sunrpc/rpc_parse.h: Likewise.
71750         * sunrpc/rpc_prot.c: Likewise.
71751         * sunrpc/rpc_sample.c: Likewise.
71752         * sunrpc/rpc_scan.c: Likewise.
71753         * sunrpc/rpc_scan.h: Likewise.
71754         * sunrpc/rpc_svcout.c: Likewise.
71755         * sunrpc/rpc_tblout.c: Likewise.
71756         * sunrpc/rpc_util.c: Likewise.
71757         * sunrpc/rpc_util.h: Likewise.
71758         * sunrpc/rpcinfo.c: Likewise.
71759         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71760         * sunrpc/rpcsvc/key_prot.x: Likewise.
71761         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71762         * sunrpc/rpcsvc/mount.x: Likewise.
71763         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71764         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71765         * sunrpc/rpcsvc/rex.x: Likewise.
71766         * sunrpc/rpcsvc/rstat.x: Likewise.
71767         * sunrpc/rpcsvc/rusers.x: Likewise.
71768         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71769         * sunrpc/rpcsvc/spray.x: Likewise.
71770         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71771         * sunrpc/rtime.c: Likewise.
71772         * sunrpc/svc.c: Likewise.
71773         * sunrpc/svc_auth.c: Likewise.
71774         * sunrpc/svc_authux.c: Likewise.
71775         * sunrpc/svc_raw.c: Likewise.
71776         * sunrpc/svc_run.c: Likewise.
71777         * sunrpc/svc_simple.c: Likewise.
71778         * sunrpc/svc_tcp.c: Likewise.
71779         * sunrpc/svc_udp.c: Likewise.
71780         * sunrpc/svc_unix.c: Likewise.
71781         * sunrpc/svcauth_des.c: Likewise.
71782         * sunrpc/xcrypt.c: Likewise.
71783         * sunrpc/xdr.c: Likewise.
71784         * sunrpc/xdr_array.c: Likewise.
71785         * sunrpc/xdr_float.c: Likewise.
71786         * sunrpc/xdr_mem.c: Likewise.
71787         * sunrpc/xdr_rec.c: Likewise.
71788         * sunrpc/xdr_ref.c: Likewise.
71789         * sunrpc/xdr_sizeof.c: Likewise.
71790         * sunrpc/xdr_stdio.c: Likewise.
71792         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71793         handling.
71795 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71797         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71799 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71801         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71802         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71803         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71804         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71805         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71806         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71807         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71808         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71810         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71811         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71812         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71813         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71814         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71816 2010-07-26  Anton Blanchard  <anton@samba.org>
71818         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71819         * malloc/arena.c (heap_trim): Likewise.
71821 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71823         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71824         here.  Not...
71825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71826         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71828 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71830         * sysdeps/i386/elf/Makefile: New file.
71832 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71834         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71835         from fanotify_init.
71836         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71839 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71841         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71842         of strncasecmp_l.
71843         * sysdeps/multiarch/strcmp.S: Likewise.
71845 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71847         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71848         strncase_l-nonascii.
71849         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71850         Add strncase_l-ssse3.
71851         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71852         * sysdeps/x86_64/strcmp.S: Likewise.
71853         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71854         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71855         * sysdeps/x86_64/strncase.S: New file.
71856         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71857         * sysdeps/x86_64/strncase_l.S: New file.
71858         * string/Makefile (strop-tests): Add strncasecmp.
71859         * string/test-strncasecmp.c: New file.
71861         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71862         warning.
71864         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71867 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71869         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71871 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71873         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71875         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71877 2010-05-01  Alan Modra  <amodra@gmail.com>
71879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71880         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71881         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71882         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71883         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71884         tidying.  Don't tail-call __sigjmp_save for static lib.
71885         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71886         save location.
71887         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71888         (CALL_MCOUNT): Add eh info, and nop after bl.
71889         (TAIL_CALL_SYSCALL_ERROR): New macro.
71890         (PSEUDO_RET): Use it.
71891         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71892         Correct save location of integer regs and cr.
71893         (_dl_profile_resolve): Correct cr save location.  Delete nops
71894         after bl when SHARED.  Reduce cfi size a little by better
71895         placement of cfi directives.
71896         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71897         make a stack frame.  Instead use parm save area as a temp.
71898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71899         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71901         Don't make a stack frame for parent, use parm save area.
71902         Increase child stack frame to 112 bytes.  Don't save unused reg,
71903         and adjust reg usage.  Set up cfi on error recovery and
71904         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71906         (__makecontext): Add dummy nop after jump to exit.
71907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71908         Use correct parm save area and cr save, reduce stack frame.
71909         Correct cfi for possible PSEUDO_RET frame setup.
71910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71911         Branch to local label emitted by PSEUDO_RET rather than
71912         __syscall_error.
71914 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71916         [BZ #11904]
71917         * locale/programs/locale.c (print_assignment): New function.
71918         (show_locale_vars): Use it.
71920 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71922         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71923         field.
71924         (struct statfs64): Likewise.
71925         (_STATFS_F_FLAGS): Define.
71926         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71927         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71928         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71929         (ST_VALID): Define locally.
71930         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71931         __statvfs_getflags, use the provided value.
71932         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71933         __ASSUME_STATFS_F_FLAGS.
71935         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71937         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71938         Add sys/fanotify.h.
71939         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71940         fanotify_mask for GLIBC_2.13.
71941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71942         fanotify_init and fanotify_mark.
71943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71944         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71946         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71947         Add prlimit.
71948         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71949         prlimit64 for GLIBC_2.13.
71950         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71951         prlimit64.
71952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71953         syscall.
71954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71956         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71957         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71959         add prlimit alias.
71960         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71962         [BZ #11903]
71963         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71964         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71966         * nss/Makefile: Add rules to build and run tst-nss-test1.
71967         * shlib-versions: Add entry for libnss_test1.
71968         * nss/nss_test1.c: New file.
71969         * nss/tst-nss-test1.c: New file.
71971         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71972         (__nss_configure_lookup): Set appropriate entry in
71973         __nss_configure_lookup to true.
71974         * nss/nsswitch.h: Define enum with indeces of databases in
71975         databases and __nss_database_custom arrays.  Declare
71976         __nss_database_custom.
71977         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71978         to avoid using nscd when custom rules are installed.
71979         * nss/getXXbyYY_r.c: Likewise.
71980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71982         * nss/nss_files/files-parse.c: Whitespace fixes.
71984 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71986         [BZ #11883]
71987         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71988         * posix/fnmatch_loop.c: Likewise.
71990 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71992         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71993         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71994         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71995         * Versions.def [GLIBC_2.13]: Add.
71997 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71999         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72000         Also fail if tpwd after pwuid call is NULL.
72002 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72004         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72005         when converting to ms.
72007 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72009         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72010         EOPNOTSUPP errors with ENOTTY.
72011         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72012         EOPNOTSUPP errors with ENOTTY.
72014 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72016         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72017         Add strcasecmp_l-ssse3.
72018         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72019         strcasecmp.
72020         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72022         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72024 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72026         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72028         * string/Makefile (strop-tests): Add strcasecmp.
72029         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72030         strcasecmp_l-nonascii.
72031         (gen-as-const-headers): Add locale-defines.sym.
72032         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72033         * sysdeps/x86_64/strcasecmp.S: New file.
72034         * sysdeps/x86_64/strcasecmp_l.S: New file.
72035         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72036         * sysdeps/x86_64/locale-defines.sym: New file.
72037         * string/test-strcasecmp.c: New file.
72039         * string/test-strcasestr.c: Test both ends of the range of characters.
72040         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72042 2010-07-29  Roland McGrath  <roland@redhat.com>
72044         [BZ #11856]
72045         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72047 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72049         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72050         for ld.so.
72052 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72054         * manual/memory.texi (Malloc Tunable Parameters): Document
72055         M_PERTURB.
72057 2010-07-26  Roland McGrath  <roland@redhat.com>
72059         [BZ #11840]
72060         * configure.in (-fgnu89-inline check): Set and substitute
72061         gnu89_inline, not libc_cv_gnu89_inline.
72062         * configure: Regenerated.
72063         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72065 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72067         * string/test-strnlen.c: New file.
72068         * string/Makefile (strop-tests): Add strnlen.
72069         * string/tester.c (test_strnlen): Add a few more test cases.
72070         * string/tst-strlen.c: Better error reporting.
72072         * sysdeps/x86_64/strnlen.S: New file.
72074 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72076         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72077         lower-latency instructions.
72079 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72081         * string/test-strcasestr.c: New file.
72082         * string/test-strstr.c: New file.
72083         * string/Makefile (strop-tests): Add strstr and strcasestr.
72084         * string/str-two-way.h: Don't undefine MAX.
72085         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72087 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72090         strcasestr-nonascii.
72091         (CFLAGS-strcasestr-nonascii.c): Define.
72092         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72093         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72094         Remove unused attribute.
72096 2010-07-20  Roland McGrath  <roland@redhat.com>
72098         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72099         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72100         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72101         like LD_HWCAP_MASK can disable hwcaps.
72103 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72105         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72107 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72109         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72110         call in strcasestr.
72111         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72112         __strcasestr_sse42_nonascii.
72113         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72114         strcasestr-nonascii.c.
72115         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72117 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72119         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72120         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72121         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72124 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72127         fcntl.
72129 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72131         [BZ #11577]
72132         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72133         dl_signal_cerror.
72135 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72137         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72138         _PC_PIPE_BUF using F_GETPIPE_SZ.
72140 2010-07-05  Roland McGrath  <roland@redhat.com>
72142         * manual/arith.texi (Rounding Functions): Fix rint description
72143         implicit in round description.
72145 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72147         * elf/Makefile: Fix linking for a few tests to make recent linker
72148         happy.
72150 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72152         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72153         $(common-objpfx)libc_nonshared.a.
72155 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72157         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72158         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72159         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72160         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72161         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72163         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72164         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72179         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72180         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72181         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72182         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72183         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72184         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72185         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72186         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72187         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72188         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72189         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72190         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72206 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72208         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72209         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72210         * string/memmove.c (memmove): Renamed to ...
72211         (MEMMOVE): ...this.  Default to memmove.
72212         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72213         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72214         (END_CHK): Define.
72215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72216         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72217         mempcpy-ssse3-back memmove-ssse3-back.
72218         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72221         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72222         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72223         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72224         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72225         * sysdeps/x86_64/multiarch/memmove.c: New file.
72226         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72227         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72228         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72229         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72232         Define.
72233         (index_Fast_Copy_Backward): Define.
72234         (HAS_ARCH_FEATURE): Define.
72235         (HAS_FAST_REP_STRING): Define.
72236         (HAS_FAST_COPY_BACKWARD): Define.
72238 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72240         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72241         Restore proper fallback handling.
72243 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72245         [BZ #11701]
72246         * posix/group_member.c (__group_member): Correct checking loop.
72248         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72249         OOM in getpwuid_r correctly.  Return error number when the caller
72250         should return, otherwise -1.
72251         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72252         call returning > 0 value.
72253         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72255 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72257         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72258         libc_nonshared.a from targets in modules-names.
72260 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72262         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72263         requires it.
72265 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72270         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72272 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72274         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72276 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72278         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72279         and F_GETPIPE_SZ.
72280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72284         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72287 2010-06-14  Roland McGrath  <roland@redhat.com>
72289         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72291 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72293         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72294         __REDIRECT followed by __THROW.
72295         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72296         * posix/getopt.h (getopt): Likewise.
72298 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72300         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72301         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72302         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72303         in AT_FLAGS.
72304         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72305         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72307 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72311 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72313         [BZ #11640]
72314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72315         Properly check family and model.
72317 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72319         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72321 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72323         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72325 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72327         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72328         symbol reference.
72330 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72332         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72333         symbol reference.
72335 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72337         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72338         and internal_recvmmsg.
72339         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72340         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72341         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72342         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72344         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72345         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72346         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72348 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72350         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72352 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72354         POWER7 optimizations.
72355         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72356         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72358 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72360         * version.h: Update for 2.13 development version.
72362 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72364         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72365         exceptions.  Return 0.
72367 2010-05-07  Roland McGrath  <roland@redhat.com>
72369         * elf/ldconfig.c (main): Add a const.
72371 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72373         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72374         (args_options): Add no-idn option.
72375         (ahosts_keys_int): Add idn_flags to ai_flags.
72376         (parse_option): Handle 'i' option to clear idn_flags.
72378         * malloc/malloc.c (_int_free): Possible race in the most recently
72379         added check.  Only act on the data if no current modification
72380         happened.
72382 See ChangeLog.17 for earlier changes.