Remove unnecessarily nested function in do_lookup_unique.
[glibc.git] / ChangeLog
blobc4c466a54438995ec242f7d97de4435a5a8fc250
1 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2             Roland McGrath  <roland@hack.frob.com>
4         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5         (do_lookup_unique): ... local function 'enter' here; update callers.
7 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10         compat_symbol calls on [SHARED].
11         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13         Remove.
14         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16         (oldsetrlimit): Remove.
17         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19         (lchown): New syscall entry.
20         (oldsetrlimit): Remove.
21         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23         (oldsetrlimit): Remove.
24         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26         [BZ #14138]
27         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33         (fchown): Likewise.
34         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35         (fchown): Likewise.
36         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37         Likewise.
39 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46         Likewise.
47         (__old_sem_post): Likewise.
49 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
51         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
52         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
53         HAVE_CLOCK_GETTIME_VSYSCALL macros.
54         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
55         Use INLINE_VSYSCALL macro.
56         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
57         __vdso_clock_gettime.
58         * sysdeps/unix/sysv/linux/tile/init-first.c
59         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
60         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
61         __vdso_clock_gettime.
63         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
64         to set up frame more cleanly.
66         * sysdeps/tile/memcmp.c: New file.
68         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
70         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
71         * sysdeps/tile/tilegx/strcasestr.c: New file.
72         * sysdeps/tile/tilegx/strnlen.c: New file.
73         * sysdeps/tile/tilegx/strstr.c: New file.
75         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
77 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
79         * nptl/tst-setuid3.c: Write errors to stdout.
81 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
83         * elf/dl-deps.c
84         (preload): New functions broken out of _dl_map_object_deps.
85         (_dl_map_object_deps):  Remove a nested function. Update call sites.
87 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
89         [BZ #14138]
90         * sysdeps/unix/sysv/linux/execve.c: Remove file.
91         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
93 2014-10-01  Steve Ellcey  <sellcey@mips.com>
95         * sysdeps/mips/strcmp.S: New.
97 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
99         [BZ #14138]
100         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
101         (linkat): Likewise.
102         (mkdirat): Likewise.
103         (readlinkat): Likewise.
104         (renameat): Likewise.
105         (symlinkat): Likewise.
106         (unlinkat): Likewise.
107         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
108         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
109         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
110         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
111         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
112         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
113         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
115 2014-09-30  Will Newton  <will.newton@linaro.org>
117         * math/math.h: Define long double math functions if
118         _LIBC_TEST is defined.
119         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
121         * localedata/Makefile: Move assignment to tests-special
122         into an ifdef testing run-built-tests.
123         * timezone/Makefile: Likewise.
125 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
127         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
128         with $(BASH) not $(SHELL).
130 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
131             Matthew LeGendre  <legendre1@llnl.gov>
133         [BZ #17411]
134         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
135         l_reloc_result.
137 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
139         * stdio-common/printf_fp.c
140         (hack_digit): New function, broken out of ...
141         (__printf_fp): ... local function here.  Update call sites.
142         hack_digit now takes an additional parameter that is a pointer
143         to a struct of the referenced locals.  Those locals moved inside
144         the struct and references updated.
146 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
148         * aclocal.m4: Require autoconf 2.69.
149         * configure: Regenerated.
150         * sysdeps/aarch64/configure: Likewise.
151         * sysdeps/alpha/configure: Likewise.
152         * sysdeps/arm/armv7/configure: Likewise.
153         * sysdeps/arm/configure: Likewise.
154         * sysdeps/ia64/configure: Likewise.
155         * sysdeps/mach/configure: Likewise.
156         * sysdeps/mips/configure: Likewise.
157         * sysdeps/s390/configure: Likewise.
158         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
161         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
162         file.
163         * sysdeps/ia64/configure.ac: Likewise.
165 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
168         specify symbol version for ld.so.  Do not include entry for
169         libpthread.
170         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
172         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
174         [BZ #14171]
175         * Makeconfig [$(build-shared) = yes]
176         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
177         makefiles.
178         [$(build-shared) = yes && $(soversions.mk-done) = t]
179         ($(common-objpfx)gnu/lib-names.h): Remove rule.
180         [$(build-shared) = yes && $(soversions.mk-done) = t]
181         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
182         to Makerules.
183         [$(build-shared) = yes && $(soversions.mk-done) = t]
184         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
185         here.
186         [$(build-shared) = yes && $(soversions.mk-done) = t]
187         (common-generated): Don't append gnu/lib-names.h and
188         gnu/lib-names.stmp here.
189         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
190         (lib-names-h-abi): New variable.
191         [$(build-shared) = yes && $(soversions.mk-done) = t]
192         (lib-names-stmp-abi): Likewise.
193         [$(build-shared) = yes && $(soversions.mk-done) = t &&
194         abi-variants] (before-compile): Append
195         $(common-objpfx)$(lib-names-h-abi).
196         [$(build-shared) = yes && $(soversions.mk-done) = t &&
197         abi-variants] (common-generated): Append gnu/lib-names.h.
198         [$(build-shared) = yes && $(soversions.mk-done) = t &&
199         abi-variants] (install-others-nosubdir): Depend on
200         $(inst_includedir)/$(lib-names-h-abi).
201         [$(build-shared) = yes && $(soversions.mk-done) = t &&
202         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
203         [$(build-shared) = yes && $(soversions.mk-done) = t]
204         ($(common-objpfx)$(lib-names-h-abi)): New rule.
205         [$(build-shared) = yes && $(soversions.mk-done) = t]
206         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
207         [$(build-shared) = yes && $(soversions.mk-done) = t]
208         (common-generated): Append $(lib-names-h-abi) and
209         $(lib-names-stmp-abi).
210         * scripts/lib-names.awk: Do not handle multi being set.
211         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
212         Remove variable.
213         (abi-lp64_be-ld-soname): Likewise.
214         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
215         Likewise.
216         (abi-hard-ld-soname): Likewise.
217         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
218         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
219         Remove variable.
220         (abi-o32_hard-ld-soname): Likewise.
221         (abi-o32_soft_2008-ld-soname): Likewise.
222         (abi-o32_hard_2008-ld-soname): Likewise.
223         (abi-n32_soft-ld-soname): Likewise.
224         (abi-n32_hard-ld-soname): Likewise.
225         (abi-n32_soft_2008-ld-soname): Likewise.
226         (abi-n32_hard_2008-ld-soname): Likewise.
227         (abi-n64_soft-ld-soname): Likewise.
228         (abi-n64_hard-ld-soname): Likewise.
229         (abi-n64_soft_2008-ld-soname): Likewise.
230         (abi-n64_hard_2008-ld-soname): Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
232         Likewise.
233         (abi-64-v2-ld-soname): Likewise.
234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
235         ld.so entries.
236         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
237         variable.
238         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
239         entry.
240         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
241         variable.
242         (abi-64-ld-soname): Likewise.
243         (abi-x32-ld-soname): Likewise.
244         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
245         entry.
246         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
248 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
250         [BZ #14138]
251         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
252         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
253         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
254         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
255         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
256         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
257         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
258         syscall entry for GLIBC_2.2 symbol version.
259         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
260         Likewise.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
262         (setrlimit): Likewise.
263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
264         Likewise.
266 2014-09-23  Will Newton  <will.newton@linaro.org>
268         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
269         _LINUX_ARM_SYSDEP_H include guard too.
270         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
271         define.
273 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
275         * sysdeps/unix/sysv/linux/eventfd.c:
276         Make first argument unsigned.
277         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
278         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
280 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
282         * socket/recvmmsg.c (recvmmsg): Drop const argument.
283         * socket/sys/socket.h: Likewise
284         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
286 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
288         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
290 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
292         * time/tst-ftime.c: New test.
293         * time/Makefile (tests): Add tst-ftime.
295 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
297         * soft-fp/extended.h: Fix comment formatting.
298         * soft-fp/op-1.h: Likewise.
299         * soft-fp/op-2.h: Likewise.
300         * soft-fp/op-4.h: Likewise.
301         * soft-fp/op-8.h: Likewise.
302         * soft-fp/op-common.h: Likewise.
303         * soft-fp/soft-fp.h: Likewise.
305         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
307 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
309         [BZ #6652]
310         * Makeconfig (soversions-default-setname): Remove variable.
311         ($(common-objpfx)soversions.i): Don't pass default_setname to
312         soversions.awk.
313         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
314         oldest_abi to abi-versions.awk.
315         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
316         * config.make.in (oldest-abi): Remove variable.
317         * configure.ac (--enable-oldest-abi): Remove configure option.
318         * configure: Regenerated.
319         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
320         text.
321         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
322         * scripts/soversions.awk: Do not handle default_setname variable.
323         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
324         variable.
325         * sysdeps/mach/hurd/configure: Regenerated.
326         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
327         variable.
328         * sysdeps/unix/sysv/linux/configure: Regenerated.
330 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
332         * elf/Makefile (CFLAGS-interp.c): Remove.
333         ($(elf-objpfx)runtime-linker.h): Generate header with linker
334         path string.
335         * elf/interp.c: Include generated runtime-linker.h
337         * Makerules (lib%.so): Don't include $(+interp) in
338         prerequisites.
339         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
340         * dlfcn/eval.c: Remove file.
342         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
343         macros.
345         [BZ #17266]
346         * misc/sys/cdefs.h: Define __extern_always_inline for clang
347         4.2 and newer.
349         [BZ #17370]
350         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
352 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
353             Jakub Jelinek  <jakub@redhat.com>
355         [BZ #17266]
356         * libio/stdio.h: Check definition of __fortify_function
357         instead of __extern_always_inline to include bits/stdio2.h.
358         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
359         check if __extern_always_inline is defined.
360         [__USE_MISC || __USE_XOPEN]: Likewise.
361         [__USE_ISOC99] Likewise.
362         * misc/sys/cdefs.h (__fortify_function): Define only if
363         __extern_always_inline is defined.
364         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
365         __extern_always_inline and __extern_inline only for g++-4.3
366         and newer or a compatible gcc.
368 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
370         [BZ #17371]
371         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
372         last change to handle zero prefix length.
374 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
376         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
377         _SC_REGEX_VERSION.
379         * posix/getconf.c (vars): Add _POSIX_IPV6 and
380         _POSIX_RAW_SOCKETS.
382 2014-09-13  Allan McRae  <allan@archlinux.org>
384         * po/ru.po: Update Russian translation from translation project.
386 2014-09-12  Roland McGrath  <roland@hack.frob.com>
388         * locale/programs/locale.c (show_locale_vars): Inline local function
389         into its sole call site.  Clean up some style nits.
390         (print_item): New function, broken out of ...
391         (show_info): ... local function here.  Clean up style nits.
393         * locale/programs/ld-ctype.c (set_one_default): New function, broken
394         out of ...
395         (set_class_defaults): ... local function set_default here.
396         Define set_default as a macro locally to pass constant parameters.
397         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
398         rather than a shared local.
400         * stdlib/rpmatch.c (try): New function, broken out of ...
401         (rpmatch): ... local function here.  Also, prototypify definition.
403 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
405         * scripts/soversions.awk: Do not handle configuration names.
406         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
407         vendor and os variables to soversions.awk.
408         * configure.ac: Do not modify gnu-* host_os.
409         * configure: Regenerated
410         * shlib-versions: Remove first column with configuration names.
411         * nptl/shlib-versions: Likewise.
412         * nptl_db/shlib-versions: Likewise.
413         * sysdeps/hppa/shlib-versions: Likewise.
414         * sysdeps/m68k/shlib-versions: Likewise.
415         * sysdeps/mach/hurd/shlib-versions: Likewise.
416         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
417         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
418         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
419         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
420         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
421         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
422         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
423         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
425         Likewise.
426         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
427         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
428         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
429         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
430         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
431         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
432         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
433         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
436         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
438         Regenerated.
439         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
441         Condition symbol version definitions on [HAVE_ELFV2_ABI].
443         * shlib-versions: Remove OS-specific entries.  Moved to files in
444         sysdeps.
445         * sysdeps/mach/hurd/shlib-versions: New file.
446         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
448         * nptl/shlib-versions: Remove architecture-specific entries.
449         Moved to files in sysdeps.
450         * shlib-versions: Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
452         file.
453         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
454         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
455         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
456         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
458         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
459         (UDP_NO_CHECK6_RX): Likewise.
461 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
463         * sysdeps/posix/sysconf.c (__sysconf): Spell
464         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
466 2014-08-12  Florian Weimer  <fweimer@redhat.com>
468         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
469         loading.
470         * iconv/Versions (__gconv_transliterate): Export for use from
471         gconv modules.
472         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
473         (struct __gconv_trans_data, __gconv_trans_fct,
474         __gconv_trans_context_fct, __gconv_trans_query_fct,
475         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
476         definitions.
477         (struct __gconv_step_data): Remove __trans member.
478         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
479         longer hidden.  Remove unused trans_data argument.
480         * iconv/gconv_int.h (struct trans_struct): Remove definition.
481         (__gconv_translit_find): Remove declaration.
482         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
483         prototype.
484         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
485         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
486         trans_data argument.  Add hidden definition.
487         (__gconv_translit_find): Remove.
488         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
489         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
490         * iconv/skeleton.c: Remove transliteration initialization.
491         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
492         __gconv_step_data initialization.
493         * libio/iofwide.c (__libio_translit_): Remove.
494         (_IO_fwide): Adjust struct __gconv_step_data initialization.
495         * wcsmbs/btowc.c (__btowc): Likewise.
496         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
497         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
498         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
499         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
500         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
501         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
502         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
503         * wcsmbs/wctob.c (wctob): Likewise.
505 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
507         [BZ #16194]
508         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
509         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
510         register usage.
511         * sysdeps/x86/Makefile: Adjust.
513 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
514             Roland McGrath  <roland@hack.frob.com>
516         * locale/weight.h: Add include guard.
517         (findidx): Make static rather than auto; take new parameters
518         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
519         * locale/weightwc.h: Likewise.
520         * posix/fnmatch_loop.c
521         (FCT): Change type of EXTRA from int32_t to wint_t.
522         Don't include either header inside the function.
523         Call FINDIDX rather than findidx, and pass new arguments.
524         #undef FINDIDX at the end of the file.
525         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
526         FINDIDX before including fnmatch_loop.c for the non-wide version.
527         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
528         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
529         for the wide version.
530         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
531         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
532         Pass new arguments to findidx.
533         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
534         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
535         Don't #include it inside the function.  Pass new arguments to findidx.
536         * posix/regex_internal.h
537         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
538         (re_string_elem_size_at): Don't #include it inside the function.
539         Pass new arguments to findidx.
540         * string/strcoll_l.c: #include WEIGHT_H at top level.
541         (get_next_seq): Don't #include it inside the function.
542         Pass new arguments to findidx.
543         (get_next_seq_nocache): Likewise.
544         * string/strxfrm_l.c: #include WEIGHT_H at top level.
545         (STRXFRM): Don't #include it inside the function.
546         Pass new arguments to findidx.
548 2014-09-11  Florian Weimer  <fweimer@redhat.com>
550         [BZ #17344]
551         * malloc/malloc.c (unlink): Turn asserts into a call to
552         malloc_printerr.
554 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
556         [BZ #17370]
557         * libio/wfileops (do_ftell_wide): Free OUT.
559 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
563 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
565         [BZ #17363]
566         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
567         group if the current group is empty.
569 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
571         * benchtests/bench-memset.c (test_main): Add more test from size
572         from 32 to 512 bytes.
573         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
574         Add POWER8 memset object.
575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
576         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
577         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
578         implementation.
579         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
580         Likewise.
581         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
582         multiarch POWER8 memset optimization.
583         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
584         POWER8 memset optimization.
586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
587         Remove bzero multiarch objects.
588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
589         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
590         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
591         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
592         Remove define.
593         [__bzero]: Redefine to specific name.
594         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
595         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
596         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
597         define.
598         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
599         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
601 2014-09-10  Florian Weimer  <fweimer@redhat.com>
603         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
604         warnings into errors.
606         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
607         __cxa_thread_atexit_impl prototype.
609 2014-09-09  Steve Ellcey  <sellcey@mips.com>
611         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
612         Fix capitalization of error message.
614 2014-09-09  Steve Ellcey  <sellcey@mips.com>
616         * sysdeps/mips/preconfigure: Modify ABI tests.
618 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
620         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
622 2014-09-07  Roland McGrath  <roland@hack.frob.com>
623             Carlos O'Donell  <carlos@systemhalted.org>
625         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
626         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
627         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
628         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
629         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
630         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
631         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
632         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
633         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
635         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
636         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
637         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
638         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
640         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
644         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
646         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
647         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
648         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
649         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
650         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
651         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
652         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
653         Deconditionalize the code that was previously under [RESET_PID].
654         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
655         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
656         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
657         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
658         include sysdep.h.
660 2014-09-08  Allan McRae  <allan@archlinux.org>
662         * version.h (RELEASE): Set to "development".
663         (VERSION): Set to "2.20.90"
665 2014-09-07  Allan McRae  <allan@archlinux.org
667         * version.h (RELEASE): Set to "stable".
668         (VERSION): Set to "2.20"
669         * include/features.h (__GLIBC_MINOR__): Set to 20.
671         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
672         Liebler.
674         * po/ko.po: Update Korean translation from translation project.
676 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
678         [BZ #17354]
679         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
680         macro for handling signed relocations.
682 2014-09-03  Florian Weimer  <fweimer@redhat.com>
684         [BZ #17325]
685         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
686         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
687         assert.
688         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
689         * iconvdata/ibm935.c (BODY): Likewise.
690         * iconvdata/ibm937.c (BODY): Likewise.
691         * iconvdata/ibm939.c (BODY): Likewise.
692         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
693         assert.
694         * iconvdata/Makefile (iconv-test.out): Pass module list to test
695         script.
696         * iconvdata/run-iconv-test.sh: New test loop for checking for
697         decoder crashers.
699 2014-09-02  Khem Raj  <raj.khem@gmail.com>
701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
702         libm_hidden_ver.
704 2014-09-01  Allan McRae  <allan@archlinux.org>
706         * po/eo.po: Update Esperanto translation from translation project.
708         * po/ca.po: Update Catalan translation from translation project.
710 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
712         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
713         __proc_dostop call.
715 2014-08-27  Mark Wielaard  <mjw@redhat.com>
717         [BZ #17319]
718         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
719         to call set_thread_area instead of hand written asm.
720         (__NR_set_thread_area): Removed define.
721         (TLS_FLAG_WRITABLE): Likewise.
722         (__ASSUME_SET_THREAD_AREA): Remove check.
723         (TLS_EBX_ARG): Remove define.
724         (TLS_LOAD_EBX): Likewise.
726 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
728         Simplify atomicity of socket creation in bind.
730         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
731         looking up the name after linking the file.
733 2014-08-27  Allan McRae  <allan@archlinux.org>
735         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
737 2014-08-26  Florian Weimer  <fweimer@redhat.com>
739         [BZ #17187]
740         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
741         trans_compare, open_translit, __gconv_translit_find):
742         Remove module loading code.
744 2014-08-26  Allan McRae  <allan@archlinux.org>
746         * po/vi.po: Update Vietnamese translation from translation project.
748         * po/uk.po: Update Ukrainian translation from translation project.
750         * po/fr.po: Update French translation from translation project.
752         * po/ru.po: Update Russian translation from translation project.
754         * po/pl.po: Update Polish translation from translation project.
756         * po/cs.po: Update Czech translation from translation project.
758         * po/de.po: Update German translation from translation project.
760         * po/bg.po: Update Bulgarian translation from translation project.
762         * po/sv.po: Update Sweedish translation from translation project.
764         * po/nl.po: Update Dutch translation from translation project.
766         * po/es.po: Update Spanish translation from translation project.
768 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
770         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
772         * catgets/Makefile (CPPFLAGS-gencat): Remove.
773         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
774         (CPPFLAGS-iconvconfig): Likewise.
775         * timezone/Makefile (CPPFLAGS-zic): Likewise.
777         * include/libc-symbols.h: Remove unnecessary check for
778         NOT_IN_libc.
779         * nptl/pthreadP.h: Likewise.
780         * sysdeps/aarch64/setjmp.S: Likewise.
781         * sysdeps/alpha/setjmp.S: Likewise.
782         * sysdeps/arm/sysdep.h: Likewise.
783         * sysdeps/i386/setjmp.S: Likewise.
784         * sysdeps/m68k/setjmp.c: Likewise.
785         * sysdeps/posix/getcwd.c: Likewise.
786         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
787         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
788         * sysdeps/s390/s390-32/setjmp.S: Likewise.
789         * sysdeps/s390/s390-64/setjmp.S: Likewise.
790         * sysdeps/sh/sh3/setjmp.S: Likewise.
791         * sysdeps/sh/sh4/setjmp.S: Likewise.
792         * sysdeps/unix/alpha/sysdep.h: Likewise.
793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
795         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
796         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
801         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
804         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
806         * sysdeps/x86_64/setjmp.S: Likewise.
808 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
810         [BZ #17263]
811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
812         <stdint.h>.
813         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
814         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
816 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
818         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
820         [BZ #17262]
821         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
822         and __x86_64__ when disabling x87 inline functions.
824 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
826         [BZ #17259]
827         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
828         asm statement with __cpuid_count.
830 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
832         * configure.ac: Change __ehdr_start code to dereference the struct.
833         Run readelf on the output to look for relocations.
834         * configure: Regenerated.
836 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
838         [BZ #17261]
839         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
840         value to 0.
841         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
843 2014-08-12  Roland McGrath  <roland@hack.frob.com>
845         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
847 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
849         [BZ #16892]
850         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
851         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
853 2014-08-12  Sean Anderson  <seanga2@gmail.com>
855         * malloc/malloc.c: Fix typo in comment.
857 2014-08-09  Allan McRae  <allan@archlinux.org>
859         * Regenerate libc.po.
861 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
863         * intl/tst-gettext2.sh: Check every lang file for creation.
865 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
867         * sysdeps/aarch64/fpu/math_private.h
868         (libc_feholdsetround_noex_aarch64_ctx): New function.
870 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
872         * sysdeps/arm/armv6/strcpy.S (strcpy):
873         Fix performance issue in misaligned cases.
875 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
877         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
878         Move definition from termios.h.
879         (struct termio): Likewise.
880         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
881         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
882         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
883         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
884         Likewise.
885         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
886         Move definition to ioctl-types.h
887         (struct termio): Likewise.
888         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
890         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
891         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
892         Likewise.
894 2014-08-05  Richard Henderson  <rth@redhat.com>
896         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
897         exceptions.
898         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
899         Add fraiseexcpt.
900         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
901         Use __feraiseexcept.
902         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
903         Protect libm symbols with IS_IN_libm.
905         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
907 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
909         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
911 2014-08-04  Will Newton  <will.newton@linaro.org>
913         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
914         file.
916 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
918         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
919         variants for each function.
921 2014-08-04  Roland McGrath  <roland@hack.frob.com>
923         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
924         appended ...
925         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
926         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
927         appended ...
928         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
929         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
930         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
931         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
932         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
933         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
934         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
935         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
936         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
937         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
938         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
939         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
940         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
941         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
942         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
943         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
944         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
945         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
946         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
947         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
948         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
949         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
951         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
952         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
953         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
954         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
955         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
957         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
958         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
959         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
960         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
961         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
962         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
963         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
964         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
965         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
967         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
968         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
970         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
971         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
972         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
974         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
976         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
978         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
979         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
980         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
981         Update #include.
982         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
983         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
985 2014-08-04  Roland McGrath  <roland@hack.frob.com>
987         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
988         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
989         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
990         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
991         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
992         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
994 2014-08-04  Roland McGrath  <roland@hack.frob.com>
996         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
997         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
998         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
999         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1001 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1003         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1004         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1005         (__libc_vfork): Define function under this name.
1006         (__vfork): Define as an alias.
1007         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1008         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1010 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1012         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1013         that was previously under [RESET_PID].
1014         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1016 2014-08-04  Andreas Schwab  <schwab@suse.de>
1018         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1020 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1022         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1023         (main): Likewise.
1025 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1027         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1029 2014-08-01  Richard Henderon  <rth@redhat.com>
1031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1032         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1033         typo in exact zero test.
1034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1035         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1036         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1038 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1040         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1041         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1042         * sysdeps/arm/sysdep.h: ... here.
1043         [!__ASSEMBLER__]: Include <stdint.h>.
1045 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1047         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1048         (HAVE_WCTYPE_H): Likewise.
1049         (HAVE_ISWCTYPE): Likewise.
1050         (ENABLE_NLS): Likewise.
1051         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1052         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1054         * posix/regex_internal.c: Check if DEBUG is defined and is
1055         set.
1057         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1058         (HAVE_MBSRTOWCS): Likewise.
1059         * posix/fnmatch.c: Include string.h unconditionally.
1061 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1063         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1064         reversal.
1066 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1068         * sysdeps/generic/safe-fatal.h: New file.
1069         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1070         * nptl/forward.c: Include it.
1071         (__pthread_unwind): Use __safe_fatal as default action, rather
1072         than a bogus use of INTERNAL_SYSCALL that could never work.
1074         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1075         * configure.ac (libc_cv_builtin_trap): New test.
1076         * configure: Regenerated.
1077         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1078         (ABORT_INSTRUCTION): Define using __builtin_trap.
1080         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1081         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1082         * sysdeps/nptl/nptl-signals.h: New file.
1083         * nptl/pthreadP.h: Include <nptl-signals.h>.
1085 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1087         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1088         (ONE_DIRECTION): Define.
1089         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1090         (ONE_DIRECTION): Define.
1091         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1092         (ONE_DIRECTION): Define.
1094 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1096         * sysdeps/s390/Makefile: Delete file.
1097         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1098         * sysdeps/s390/__longjmp.c: Delete file.
1099         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1100         Remove fields __flags and __reserved.
1101         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1102         and add versioning.
1103         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1104         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1105         * sysdeps/s390/rtld-setjmp.S: Likewise.
1106         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1107         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1108         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1109         * sysdeps/s390/s390-32/setjmp.S: ... here.
1110         Add versioning.
1111         (__sigsetjmp): Remove setting __flags field.
1112         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1113         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1114         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1115         * sysdeps/s390/s390-64/setjmp.S: ... here.
1116         Add versioning.
1117         (__sigsetjmp): Remove setting __flags field.
1118         * sysdeps/s390/setjmp.S: Delete file.
1119         * sysdeps/s390/sigjmp.c: Likewise.
1120         * sysdeps/s390/v1-longjmp.c: Likewise.
1121         * sysdeps/s390/v1-setjmp.h: Likewise.
1122         * sysdeps/s390/v1-sigjmp.c: Likewise.
1123         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1124         Remove v1-longjmp_chk.
1125         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1126         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1127         Include debug/longjmp_chk.c and add versioning.
1128         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1129         Include nptl/pt-longjmp.c and add versioning.
1130         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1131         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1132         Include __longjmp.c.
1133         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1134         Move to ...
1135         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1136         (__getcontext): Remove setting __flags field.
1137         Add versioning.
1138         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1139         Don't restore upper high grps.
1140         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1141         Likewise.
1142         (__swapcontext): Remove setting uc_flags field.
1143         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1144         Delete file.
1145         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1146         Include __longjmp.c.
1147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1148         Move to ...
1149         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1150         (__getcontext): Remove setting __flags field.
1151         Add versioning.
1152         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1153         (__swapcontext): Remove setting uc_flags field.
1154         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1156         Remove fields uc_high_gprs and __reserved.
1157         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1158         New file with reverted content.
1159         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1160         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1161         Regenerated.
1162         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1163         Regenerated.
1165 2014-07-31  Andreas Schwab  <schwab@suse.de>
1167         * config.h.in (HAVE_IFUNC): Define to 0.
1168         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1169         definedness.
1171 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1174         memmove-avx-unaligned, memcpy-avx-unaligned and
1175         mempcpy-avx-unaligned.
1176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1177         Add tests for AVX memcpy functions.
1178         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1179         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1180         memcpy_chk.
1181         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1182         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1183         memmove_chk.
1184         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1186         mempcpy_chk.
1187         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1188         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1189         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1191 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1193         [BZ #17213]
1194         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1195         powerpc64le.
1197 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1199         [BZ #16839]
1200         * manual/llio.texi: Add section about open file description locks.
1201         * manual/examples/ofdlocks.c: Example of open file description
1202         lock usage.
1203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1204         F_OFD_SETLK, and F_OFD_SETLKW.
1206 2014-07-23  Allan McRae  <allan@archlinux.org>
1208         * po/es.po: Update Spanish translation from translation project.
1210 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1212         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1214 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1216         [BZ #17078]
1217         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1218         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1219         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1221 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1223         [BZ #17088]
1224         * math/fesetenv.c (__fesetenv)
1225         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1226         * math/feupdateenv.c (__feupdateenv)
1227         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1229         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1230         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1231         (__ASSUME_SOCKETCALL): Do not define.
1233         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1234         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1235         (__ASSUME_SOCKETCALL): Do not define.
1236         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1237         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1238         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1239         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1240         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1241         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1243         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1245         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1246         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1247         (__ASSUME_SOCKETCALL): Do not define.
1248         (__ASSUME_IPC64): Define unconditionally.
1249         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1250         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1251         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1252         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1253         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1255         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1256         Likewise.
1258         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1259         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1260         (__ASSUME_SOCKETCALL): Do not define.
1261         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1262         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1263         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1264         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1265         (__ASSUME_REQUEUE_PI): Define unconditionally.
1266         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1267         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1268         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1269         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1271         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1273         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1274         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1275         (__ASSUME_SOCKETCALL): Do not define.
1276         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1277         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1278         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1279         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1281         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1283         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1284         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1285         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1286         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1287         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1288         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1290         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1291         (__ASSUME_GETCPU_SYSCALL): Likewise.
1293         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1294         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1295         cases for individual architectures.
1296         * sysdeps/gnu/configure: Regenerated.
1297         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1298         LIBC_SLIBDIR_RTLDDIR.
1299         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1300         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1301         LIBC_SLIBDIR_RTLDDIR.
1302         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1304         LIBC_SLIBDIR_RTLDDIR.
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1306         Regenerated.
1307         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1308         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1309         file.
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1311         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1312         file.
1313         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1314         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1315         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1316         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1318         * sysdeps/aarch64/shlib-versions: Move to ...
1319         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1320         * sysdeps/alpha/shlib-versions: Move to ...
1321         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1322         * sysdeps/arm/shlib-versions: Move to ...
1323         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1324         * sysdeps/hppa/shlib-versions: Move all contents except for
1325         libgcc_s entry to ...
1326         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1327         entry from ...
1328         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1329         * sysdeps/ia64/shlib-versions: Move to ...
1330         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1331         entry from ...
1332         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1333         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1334         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1335         * sysdeps/microblaze/shlib-versions: Move to ...
1336         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1337         * sysdeps/mips/shlib-versions: Move to ...
1338         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1339         entry from ...
1340         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1341         * sysdeps/tile/shlib-versions: Move to ...
1342         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1343         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1344         from ...
1345         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1346         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1347         entry from ...
1348         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1350 2014-07-17  Will Newton  <will.newton@linaro.org>
1352         * sysdeps/arm/bits/atomic.h
1353         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1354         (__arch_compare_and_exchange_bool_16_int): Likewise.
1355         (__arch_compare_and_exchange_bool_64_int): Likewise.
1357         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1358         into an #else block.
1360 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1362         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1363         just Linux configurations.  Test empirically that the compiler sets
1364         __ARM_EABI__, rather than using the tuple to decide.
1365         * sysdeps/arm/preconfigure: Regenerated.
1366         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1367         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1368         contents appended ...
1369         * sysdeps/arm/configure.ac: ... here.
1370         * sysdeps/arm/configure: Regenerated.
1372 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1374         * nptl/pthread_kill.c: New file.
1375         * nptl/pthread_sigmask.c: New file.
1376         * nptl/pthread_sigqueue.c: New file.
1378         * sysdeps/nptl/lowlevellock.h: New file.
1379         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1380         * sysdeps/nptl/lowlevellock-futex.h: New file.
1382         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1383         Remove dead declarations.
1385 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1387         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1388         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1389         config-cflags-avx2.
1390         * sysdeps/x86_64/configure.ac: Likewise.
1391         * sysdeps/i386/configure: Regenerated.
1392         * sysdeps/x86_64/configure: Likewise.
1393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1394         memset-avx2 only if config-cflags-avx2 is yes.
1395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1396         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1397         defined.
1398         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1399         only if HAVE_AVX2_SUPPORT is defined.
1400         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1402 2014-07-14  Alan Modra  <amodra@gmail.com>
1404         [BZ #17153]
1405         * elf/elf.h (DT_PPC64_NUM): Correct value.
1406         * NEWS: Add to fixed bug list.
1408 2014-07-13  Jim Meyering  <meyering@fb.com>
1410         [BZ 17150]
1411         regex: don't deref NULL upon heap allocation failure
1412         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1413         failure in one more place.
1414         To trigger the segfault, configure grep -with-included-regex,
1415         build it, and run these commands:
1416         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1418 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1420         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1422 2014-07-11  Richard Henderson  <rth@redhat.com>
1424         * sysdeps/aarch64/libm-test-ulps: Update.
1426 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1428         [BZ #17135]
1429         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1430         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1431         (__nptl_setxid): Initialize error member.  Call
1432         __nptl_setxid_error.
1433         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1434         * nptl/descr.h (struct xid_command): Add error member.
1435         * nptl/tst-setuid3.c: New file.
1436         * nptl/Makefile (tests): Add it.
1438 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1441         New define.
1442         (__lll_trylock): Use __lll_base_trylock.
1443         (__lll_cond_trylock): Likewise.
1445 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1447         * nptl/pthread_create.c (start_thread): Use atomic_or and
1448         lll_futex_wake directly rather than lll_robust_dead.
1449         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1450         (lll_robust_dead): Macro removed.
1451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1452         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1453         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1454         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1455         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1456         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1457         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1458         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1459         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1460         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1461         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1462         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1463         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1467         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1468         Use atomic_compare_and_exchange_val_acq directly rather than
1469         lll_robust_trylock.
1470         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1471         (__lll_robust_trylock, lll_robust_trylock): Removed.
1472         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1473         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1474         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1475         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1476         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1477         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1478         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1479         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1480         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1481         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1482         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1483         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1484         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1487 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1489         * manual/locale.texi (Locale Names): New section documenting
1490         locale name syntax.  Adjust menu and node chaining accordingly.
1491         (Choosing Locale): Reference Locale Names, Locale Categories.
1492         Mention setting LC_ALL=C.  Reflect that name syntax is now
1493         documented.
1494         (Locale Categories): New section title.  Reference Locale Names.
1495         LC_ALL is an environment variable, but not a category.
1496         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1497         description, now in Locale Name.  Reference that section.  Locale
1498         name syntax is now documented.
1500 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1502         [BZ #17137]
1503         * locale/findlocale.c (name_present, valid_locale_name): New
1504         functions.
1505         (_nl_find_locale): Use the loc_name variable to store name
1506         candidates.  Call name_present and valid_locale_name to check and
1507         validate locale names.  Return an error if the locale is invalid.
1509 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1511         * locale/setlocale.c (setlocale): Use strdup for allocating
1512         composite name copy.
1514 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1516         Sync up with gnulib.
1517         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1518         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1519         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1520         and _GL_ARG_NONNULL.
1521         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1522         [!_LIBC]: Include code for Windows and Cygwin.
1523         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1524         Include prototype for int strerror_r.
1525         [!_LIBC] (is_open): New function.
1526         (flush_stdout): New function.
1527         (print_errno_message): Use it.
1528         (error): Likewise.
1529         (error_at_line): Likewise.
1530         (error_tail) Add function attribute macros.  Use
1531         __builtin_expect.
1533         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1535         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1537         * io/ftw.c: Include sys/param.h unconditionally.
1539         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1541         [BZ #17125]
1542         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1543         libc_freeres_ptr.
1544         (freecache): New function to free CACHE on exit.
1546         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1547         initialization.
1549 2014-07-09  David S. Miller  <davem@davemloft.net>
1551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1553         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1554         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1555         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1556         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1557         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1558         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1559         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1560         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1561         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1562         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1563         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1564         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1567 2014-07-09  Andreas Schwab  <schwab@suse.de>
1569         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1570         output.
1571         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1572         (do_test): Likewise.
1574         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1576 2014-07-09  Will Newton  <will.newton@linaro.org>
1578         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1579         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1580         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1581         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1582         * sysdeps/hppa/start.S (_start): Likewise.
1584 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1586         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1588         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1589         defined.
1591 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1593         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1594         after checking that it is non-NULL.
1596         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1598 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1600         * sysdeps/powerpc/memmove.c: Remove file.
1601         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1602         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1604         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1605         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1606         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1607         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1608         string memmove instead of removed powerpc one.
1610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1611         [weak_alias]: Fix compiler warning due trailing data.
1612         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1613         [weak_alias]: Likewise.
1614         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1615         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1618         (__libc_ifunc_impl_list): Add memmove functions.
1620 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1622         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1623         Remove code.
1624         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1625         Likewise
1626         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1627         Likewise
1628         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1629         Likewise
1630         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1631         Likewise
1632         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1633         Likewise
1634         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1635         Likewise
1636         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1637         Likewise
1638         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1639         Likewise
1640         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1641         Likewise
1642         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1643         Likewise
1644         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1645         Likewise
1646         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1647         Likewise
1648         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1649         Likewise
1650         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1651         Likewise
1652         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1653         Likewise
1654         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1655         Likewise
1657 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1660         to avoid alignment traps in non-cacheable memory.
1661         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1664         multiarch objects.
1665         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1666         file: multiarch power7 memmove.
1667         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1668         multiarch default memmove.
1669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1670         multiarch memove for powerpc32/power4.
1672         * string/bcopy.c: Use full path to include memmove.c.
1673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1674         multiarch objects.
1675         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1676         bcopy for powerpc64.
1677         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1678         bcopy for powerpc64.
1679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1680         and memmove implementations.
1681         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1682         optimized multiarch memmove for POWER7/powerpc64.
1683         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1684         default multiarch memmove for powerpc64.
1685         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1686         multiarch for powerpc64.
1687         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1688         for POWER7/powerpc64.
1689         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1690         memmove for POWER7/powerpc64.
1692         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1693         glibc default one.
1695         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1696         __ELF_NATIVE_CLASS equal to 64.
1698 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1700         * sysdeps/nptl/lowlevellock.h: File removed.
1702         * NEWS: NPTL is no longer an add-on!
1703         * nptl/internaltypes.h: Moved ...
1704         * sysdeps/nptl/internaltypes.h: ... here.
1705         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1706         * sysdeps/nptl/fork.c: Likewise.
1707         * sysdeps/nptl/gai_misc.h: Likewise.
1708         * sysdeps/nptl/librt-cancellation.c: Likewise.
1709         * sysdeps/nptl/jmp-unwind.c: Likewise.
1710         * sysdeps/nptl/setxid.h: Likewise.
1711         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1712         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1713         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1714         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1715         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1716         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1717         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1718         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1719         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1720         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1721         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1722         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1723         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1724         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1725         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1726         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1727         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1728         * nptl/Makeconfig: Moved ...
1729         * sysdeps/nptl/Makeconfig: ... here.
1730         * nptl/configure: File removed.
1731         * nptl/ANNOUNCE: File removed.
1732         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1733         * sysdeps/unix/sysv/linux/configure: Regenerated.
1735         * nptl/Makefile (routines): Add libc_pthread_init,
1736         libc_multiple_threads, register-atfork and unregister-atfork.
1737         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1738         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1739         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1740         pthread-pi-defines.sym, structsem.sym.
1741         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1742         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1743         [$(subdir) = nptl] (tests): Add tst-setgetname.
1744         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1745         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1746         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1747         [!LIBC_SIGACTION]: Remove aliases.
1748         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1749         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1750         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1751         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1753         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1754         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1756         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1757         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1758         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1759         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1760         __libc_allocate_rtsig_private.
1761         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1762         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1763         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1764         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1765         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1766         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1767         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1768         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1769         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1770         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1771         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1772         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1773         * nptl/internaltypes.h: ... here.
1774         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1775         * sysdeps/nptl/jmp-unwind.c: ... here.
1776         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1777         * nptl/libc-lowlevellock.c: ... here.
1778         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1779         * nptl/libc_multiple_threads.c: ... here.
1780         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1781         * nptl/libc_pthread_init.c: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1783         * nptl/lowlevelbarrier.sym: ... here.
1784         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1785         * nptl/lowlevelcond.sym: ... here.
1786         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1787         * nptl/lowlevellock.c: ... here.
1788         * nptl/lowlevellock.h: Moved ...
1789         * sysdeps/nptl/lowlevellock.h: ... here.
1790         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1791         * nptl/lowlevelrobustlock.c: ... here.
1792         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1793         * nptl/lowlevelrobustlock.sym: ... here.
1794         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1795         * nptl/lowlevelrwlock.sym: ... here.
1796         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1797         * nptl/pt-fork.c: ... here.
1798         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1799         * nptl/pthread-pi-defines.sym: ... here.
1800         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1801         * nptl/pthread_attr_getaffinity.c: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1803         * nptl/pthread_attr_setaffinity.c: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1805         * nptl/pthread_mutex_cond_lock.c: ... here.
1806         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1807         Update #include.
1808         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1809         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1810         * nptl/pthread_once.c: ... here, replacing old file.
1811         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1812         * nptl/pthread_yield.c: ... here.
1813         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1814         * nptl/register-atfork.c: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1816         * nptl/sem_post.c: ... here.
1817         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1818         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1819         * nptl/sem_timedwait.c: ... here.
1820         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1821         * nptl/sem_trywait.c: ... here.
1822         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1823         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1824         * nptl/sem_wait.c: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1826         * nptl/structsem.sym: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1828         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1829         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1830         * nptl/unregister-atfork.c: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1832         * nptl/unwindbuf.sym: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1834         * sysdeps/nptl/fork.c: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1836         * sysdeps/nptl/fork.h: ... here.
1837         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1838         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1839         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1840         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1841         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1842         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1843         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1844         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1845         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1846         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1847         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1849         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1850         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1851         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1852         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1853         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1854         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1855         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1856         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1857         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1858         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1859         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1860         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1861         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1862         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1863         * sysdeps/unix/sysv/linux/raise.c: ... here.
1864         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1865         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1867         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1869         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1871         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1872         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1873         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1874         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1875         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1876         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1877         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1878         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1880 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1882         * sysdeps/generic/memcopy.h: Add comment for
1883         MEMCPY_OK_FOR_FWD_MEMMOVE.
1885 2014-07-04  Will Newton  <will.newton@linaro.org>
1887         * string/memchr.c: Merge from gnulib.
1888         [_LIBC]: Remove conditionals.
1889         (__ptr_t): Remove define.
1890         (LONG_MAX_32_BITS): Likewise.
1891         (LONG_MAX): Likewise.
1892         (MEMCHR): Use ANSI prototype and optimize algorithm.
1894         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1896 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1898         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1899         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1901         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1902         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1903         in a bare environment with no <stdlib.h> installed.
1904         * sysdeps/nptl/configure: Regenerated.
1906         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1908         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1909         AC_EGREP_CPP for kernel header checks, so they only succeed if
1910         including <linux/version.h> actually works right.
1911         * sysdeps/unix/sysv/linux/configure: Regenerated.
1913         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1914         value so it's not diagnosed as unused.
1916         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1917         thing) with "ifeq ($(subdir),rt)".
1919 2014-07-03  Richard Henderson  <rth@redhat.com>
1921         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1922         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1923         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1925         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1926         (math_force_eval): New.
1928         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1929         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1931         * sysdeps/alpha/fpu/s_round.c: Remove file.
1932         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1934         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1935         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1936         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1937         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1938         (_dl_start, print_statistics): Likewise.
1939         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1940         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1942         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1943         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1944         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1945         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1947         (HP_SMALL_TIMING_AVAIL): Define.
1948         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1949         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1950         (HP_SMALL_TIMING_AVAIL): Define.
1951         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1952         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1954         * sysdeps/aarch64/hp-timing.h: New file.
1956         * sysdeps/generic/hp-timing.h: Remove dead comment.
1957         * sysdeps/generic/hp-timing-common.h: New file.
1958         * sysdeps/alpha/hp-timing.h: Include it.
1959         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1960         * sysdeps/i386/i686/hp-timing.h: Likewise.
1961         * sysdeps/ia64/hp-timing.h: Likewise.
1962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1963         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1964         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1965         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1966         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1967         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1968         (hp_timing_t): New.
1970         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1971         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1972         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1973         * elf/rtld.c (_dl_start_final): Likewise.
1974         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1975         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1976         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1977         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1978         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1979         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1980         (HP_TIMING_DIFF_INIT): Remove.
1981         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1983         (HP_TIMING_DIFF_INIT): Remove.
1984         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1985         * sysdeps/i386/i686/hp-timing.c: Remove file.
1986         * sysdeps/x86_64/hp-timing.c: Remove file.
1987         * sysdeps/ia64/hp-timing.c: Remove file.
1988         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1989         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1991         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1993         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1994         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1995         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1996         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1997         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1998         (HP_TIMING_ACCUM): Remove.
1999         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2000         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2001         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2003         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2004         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2005         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2006         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2007         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2008         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2009         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2010         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2012         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2014 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2016         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2018 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2020         Sync up with gettext.
2021         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2022         [_MSC_VER]: Include malloc.h
2023         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2024         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2025         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2026         TEMP_FAILURE_RETRY.  Cast return of alloca.
2027         [!_LIBC] Call gl_rwlock_init.
2028         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2030 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2032         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2033         before checking its value.
2035 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2037         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2039         * debug/memcpy_chk.c: Don't include pagecopy.h.
2040         * debug/mempcpy_chk.c: Likewise.
2041         * string/memcpy.c: Likewise.
2042         * string/memmove.c: Likewise.
2043         * sysdeps/powerpc/memmove.c: Likewise.
2044         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2045         definition of PAGE_COPY_FWD_MAYBE here...
2046         * sysdeps/generic/pagecopy.h: ... from here.
2047         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2049 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2050             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2052         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2054         optimizations.
2055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2056         (__libc_ifunc_impl_list): Likewise.
2057         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2058         multiarch strcat for PPC64.
2059         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2060         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2062 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2064         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2066 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2068         * intl/loadmsgcat.c: Remove declaration of
2069         get_sysdep_segment_value.
2070         (get_sysdep_segment_value): Use ISO C style.
2071         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2072         semicolon.  Fix typo and formatting in comment.
2073         (_nl_unload_domain): Use ISO C style.
2075         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2077 2014-07-02  Will Newton  <will.newton@linaro.org>
2079         * malloc/obstack.c: Merge from gnulib master.
2080         [HAVE_CONFIG_H]: Remove conditional code.
2081         [!_LIBC]: Include config.h.
2082         [!ELIDE_CODE]: Don't include inttypes.h, include
2083         stdint.h unconditionally.
2084         (print_and_abort): Mark as _Noreturn.
2085         (_obstack_allocated_p): Mark as __attribute_pure__.
2086         (obstack_free): Rename to __obstack_free.
2087         [!__attribute__]: Remove conditional code.
2088         * malloc/obstack.h: Merge from gnulib master.
2089         [__cplusplus]: Move conditional down.
2090         [!__attribute_pure__]: Define __attribute_pure__ here
2091         if it is not already defined.
2092         (_obstack_memory_used): Mark as __attribute_pure__.
2093         [!__obstack_free]: Define as obstack_free.
2094         [__GNUC__]: Remove check for ancient NeXT gcc.
2096 2014-07-02  Will Newton  <will.newton@linaro.org>
2097             Paul Eggert  <eggert@cs.ucla.edu>
2099         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2101 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2103         * resolv/gethnamaddr.c: Add comment warning that the file is
2104         not maintained.
2106 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2108         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2109         entries.
2111         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2112         entry for aio_cancel and aio_cancel64.
2113         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2114         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2115         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2116         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2117         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2118         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2119         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2120         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2121         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2122         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2123         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2124         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2125         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2127 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2129         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2130         * nptl/pthread_mutex_lock.c: Likewise.
2131         * nptl/pthread_mutex_timedlock.c: Likewise.
2132         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2134 2014-07-01  Richard henderson  <rth@redhat.com>
2136         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2137         (__isnan, __isnanl): Remove.
2138         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2140         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2142 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2144         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2146 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2148         * resolv/nss_dns/dns-host.c (getanswer_r)
2149         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2151 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2154         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2155         undefine.
2156         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2157         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2159 2014-07-01  Roland McGrath <roland@hack.frob.com>
2161         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2162         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2164         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2165         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2167         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2168         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2169         ... here.
2170         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2171         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2173         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2174         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2175         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2176         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2178         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2179         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2180         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2181         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2182         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2183         Moved ...
2184         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2185         ... here.
2186         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2187         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2188         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2189         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2190         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2191         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2193         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2194         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2195         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2196         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2197         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2198         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2199         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2200         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2201         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2202         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2203         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2204         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2205         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2206         ... here.
2207         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2208         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2210         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2212         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2213         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2214         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2216 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2218         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2219         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2220         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2221         Add sysdep.
2223 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2227 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2229         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2232         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2234         * sysdeps/arm/libm-test-ulps: Regenerated.
2236 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2237             Roland McGrath <roland@hack.frob.com>
2239         * test-skeleton.c (signal_handler): Kill the whole process group
2240         before killing the child individually.
2241         (main): Report any failure on `setpgid'.
2243 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2245         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2246         from _TLS_H to _ARM_NPTL_TLS_H.
2247         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2248         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2250 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2252         [BZ #16539]
2253         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2254         (__expm1l): Return argument unchanged when small but not
2255         subnormal.
2257         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2258         include macro name.
2259         (_FP_UNPACK_RAW_1_P): Likewise.
2260         (_FP_PACK_RAW_1): Likewise.
2261         (_FP_PACK_RAW_1_P): Likewise.
2262         (_FP_MUL_MEAT_1_wide): Likewise.
2263         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2264         (_FP_MUL_MEAT_1_hard): Likewise.
2265         (_FP_DIV_MEAT_1_imm): Likewise.
2266         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2267         (_FP_DIV_MEAT_1_udiv): Likewise.
2268         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2269         (_FP_UNPACK_RAW_2): Likewise.
2270         (_FP_UNPACK_RAW_2_P): Likewise.
2271         (_FP_PACK_RAW_2): Likewise.
2272         (_FP_PACK_RAW_2_P): Likewise.
2273         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2274         (_FP_MUL_MEAT_2_wide): Likewise.
2275         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2276         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2277         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2278         (_FP_MUL_MEAT_2_gmp): Likewise.
2279         (_FP_DIV_MEAT_2_udiv): Likewise.
2280         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2281         (_FP_FRAC_SRL_4): Likewise.
2282         (_FP_FRAC_SRST_4): Likewise.
2283         (_FP_FRAC_SRS_4): Likewise.
2284         (_FP_UNPACK_RAW_4): Likewise.
2285         (_FP_UNPACK_RAW_4_P): Likewise.
2286         (_FP_PACK_RAW_4): Likewise.
2287         (_FP_PACK_RAW_4_P): Likewise.
2288         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2289         (_FP_MUL_MEAT_4_wide): Likewise.
2290         (_FP_MUL_MEAT_4_gmp): Likewise.
2291         (umul_ppppmnnn): Likewise.
2292         (_FP_DIV_MEAT_4_udiv): Likewise.
2293         (__FP_FRAC_ADD_4): Likewise.
2294         (__FP_FRAC_SUB_3): Likewise.
2295         (__FP_FRAC_SUB_4): Likewise.
2296         (__FP_FRAC_DEC_3): Likewise.
2297         (__FP_FRAC_DEC_4): Likewise.
2298         (__FP_FRAC_ADDI_4): Likewise.
2299         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2300         (_FP_FRAC_SRL_8): Likewise.
2301         (_FP_FRAC_SRS_8): Likewise.
2303         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2304         include macro name.
2305         (FP_UNPACK_RAW_EP): Likewise.
2306         (FP_PACK_RAW_E): Likewise.
2307         (FP_PACK_RAW_EP): Likewise.
2308         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2309         (_FP_ISSIGNAN): Likewise.
2310         (_FP_ADD_INTERNAL): Likewise.
2311         (_FP_FMA): Likewise.
2312         (_FP_CMP): Likewise.
2313         (_FP_SQRT): Likewise.
2314         (_FP_TO_INT): Likewise.
2315         (_FP_FROM_INT): Likewise.
2316         (FP_EXTEND): Likewise.
2317         (_FP_DIV_MEAT_N_loop): Likewise.
2319 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2321         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2322         throughout.
2324 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2326         [BZ #17097]
2327         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2328         result with correct sign in case of exponents that produce
2329         overflow except for X very close to 1.
2331 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2333         mktime: merge #if/#ifdef usage from glibc
2334         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2335         as that works with both Glibc's and Gnulib's style.
2336         See thread starting at Siddhesh Poyarekar's bug report at:
2337         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2339 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2341         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2342         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2343         * sysdeps/tile/tilegx/memmove.c: Remove file.
2345 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2347         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2348         abi-name definition.
2349         * scripts/soversions.awk: Do not handle or generate ABI lines.
2350         * shlib-versions: Remove ABI entries.
2351         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2352         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2354 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2357         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2358         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2363         Moved ...
2364         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2365         ... here.
2366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2379         Moved ...
2380         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2386         Moved ...
2387         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2389         Moved ...
2390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2397         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2398         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2399         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2401         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2403         Moved ...
2404         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2406         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2407         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2408         Moved ...
2409         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2411         Moved ...
2412         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2414         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2416         Moved ...
2417         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2418         ... here.
2419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2420         Identical file removed.
2421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2425         Identical file removed.
2426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2427         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2429         Moved ...
2430         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2432         Identical file removed.
2433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2434         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2436         Identical file removed.
2437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2438         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2440         Identical file removed.
2441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2442         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2444         Identical file removed.
2445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2449         Identical file removed.
2450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2451         Moved ...
2452         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2454         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2456         Identical file removed.
2457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2458         Moved ...
2459         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2460         ... here.
2461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2462         Identical file removed.
2463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2466         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2467         Identical file removed.
2468         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2469         Moved ...
2470         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2472         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2473         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2474         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2476         Moved ...
2477         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2479         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2481         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2482         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2483         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2484         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2485         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2487 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2489         [BZ #17092]
2490         * nscd/nscd.c (monitor_child): Return exit status of child
2491         instead of return value from wait syscall.
2493 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2495         * configure.ac (libc_commonpagesize): Remove variable.
2496         (libc_relro_required): Likewise.
2497         (libc_cv_z_relro): Remove configure test.
2498         * configure: Regenerated.
2499         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2500         variable.
2501         (libc_relro_required): Likewise.
2502         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2503         (libc_relro_required): Likewise.
2504         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2505         (libc_relro_required): Likewise.
2506         * sysdeps/arm/preconfigure: Regenerated.
2507         * sysdeps/ia64/preconfigure: Remove file.
2508         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2509         variable.
2510         (libc_relro_required): Likewise.
2512         [BZ #16561]
2513         [BZ #16562]
2514         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2515         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2516         recompute overflowing results in original rounding mode.
2517         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2518         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2519         recompute overflowing results in original rounding mode.
2520         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2521         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2522         recompute overflowing results in original rounding mode.
2523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2524         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2525         recompute overflowing results in original rounding mode.
2526         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2527         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2528         recompute overflowing results in original rounding mode.
2529         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2530         (libc_feholdsetround_ctx): New macro.
2531         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2532         * sysdeps/i386/fpu/libm-test-ulps: Update.
2533         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2537         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2538         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2539         corresponding .cpsetup call.
2541 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2543         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2544         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2545         * sysdeps/arm/Makefile [$(subdir) = csu]
2546         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2547         (static-only-routines): Add aeabi_read_tp here.
2548         (shared-only-routines): Add libc-aeabi_read_tp here.
2549         (CFLAGS-libc-start.c): Add -fexceptions here.
2550         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2551         (sysdep_routines, static-only-routines, shared-only-routines):
2552         Don't add to these here.
2553         (CFLAGS-libc-start.c): Likewise.
2555         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2556         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2557         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2558         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2559         * sysdeps/arm/Makefile [$(subdir) = rt]
2560         (librt-sysdep_routines, librt-shared-only-routines):
2561         Append rt-aeabi_unwind_cpp_pr1 here.
2562         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2563         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2564         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2565         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2566         Append nptl-aeabi_unwind_cpp_pr1 here.
2567         (tests): Filter out tst-cleanupx4 here.
2568         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2569         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2570         Don't do those here.
2572 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2574         * scripts/list-sources.sh: Do not handle ports specially.
2576 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2578         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2579         * sysdeps/arm/feupdateenv.c: Likewise.
2581         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2583 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2585         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2586         trailing whitespace removed.
2587         * scripts/config.guess: Update to version 2014-03-23.
2588         * scripts/config.sub: Update to version 2014-05-01
2589         * scripts/install-sh: Update to version 2013-12-25.23.
2590         * scripts/move-if-change: Update from gnulib.
2592 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2594         * debug/memmove_chk.c: Remove pagecopy.h include.
2596 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2598         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2599         identical to gnulib mktime.
2601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2603         * configure.ac: Do not test for machine being rs6000.  Do not test
2604         for powerpc*-*soft.
2605         * configure: Regenerated.
2607         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2608         test.
2609         * configure: Regenerated.
2610         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2611         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2612         Remove configure test.
2613         * sysdeps/arm/configure: Regenerated.
2614         * sysdeps/nptl/configure.ac: Do not check
2615         libc_cv_asm_cfi_directives.
2616         * sysdeps/nptl/configure: Regenerated.
2617         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2618         * sysdeps/x86_64/nptl/configure: Remove generated file.
2619         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2620         unconditional.
2621         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2623 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2625         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2626         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2627         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2628         it is defined.
2630         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2631         instead of whether it is defined.
2632         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2633         * sysdeps/hppa/dl-machine.h: Likewise.
2634         * sysdeps/ia64/dl-machine.h: Likewise.
2635         * sysdeps/m68k/dl-machine.h: Likewise.
2636         * sysdeps/microblaze/dl-machine.h: Likewise.
2637         * sysdeps/mips/dl-machine.: Likewise.
2638         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2639         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2640         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2641         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2642         * sysdeps/sh/dl-machine.h: Likewise.
2643         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2644         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2645         * sysdeps/tile/dl-machine.h: Likewise.
2646         * sysdeps/x86_64/dl-machine.h: Likewise.
2648         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2649         code.
2650         (verify_persistent_db): Likewise.
2652 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2655         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2657         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2659         Moved ...
2660         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2661         ... here.
2662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2663         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2665         Identical file removed.
2666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2680         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2682         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2684         Moved ...
2685         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2689         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2691         Identical file removed.
2692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2693         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2695         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2697         Moved ...
2698         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2699         ... here.
2700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2701         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2707         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2711         Moved ...
2712         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2714         Moved ...
2715         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2717         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2719         Moved ...
2720         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2722         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2724         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2725         folded into ...
2726         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2727         * sysdeps/unix/sysv/linux/s390/Versions
2728         (libpthread: GLIBC_2.19): New version set.
2729         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2730         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2731         (librt: GLIBC_2.3.3): New version set.
2732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2734         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2735         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2736         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2737         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2738         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2739         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2740         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2741         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2742         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2743         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2744         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2745         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2746         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2747         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2748         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2749         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2751         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2752         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2753         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2754         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2755         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2756         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2758         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2760         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2761         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2762         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2768         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2770         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2772         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2774         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2776         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2778         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2779         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2780         (__libc_vfork): Define the function under this name.
2781         [!NOT_IN_libc] (__vfork): Make this an alias.
2782         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2784         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2785         (__libc_vfork): Define the function under this name.
2786         [!NOT_IN_libc] (__vfork): Make this an alias.
2787         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2788         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2789         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2792         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2794         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2795         code that was previously under [RESET_PID].
2796         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2797         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2800         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2801         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2802         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2803         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2804         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2805         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2806         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2807         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2808         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2809         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2810         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2811         Moved ...
2812         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2814         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2815         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2818         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2822         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2826         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2827         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2828         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2829         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2830         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2831         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2832         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2833         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2834         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2835         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2836         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2837         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2838         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2840         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2842 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2844         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2845         that was previously under [RESET_PID].
2846         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2848 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2850         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2851         not undefine and redefine.
2852         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2853         [O_CLOEXEC]: Make code unconditional.
2854         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2855         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2856         <kernel-features.h>.
2857         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2858         conditional variable definition.
2859         (shm_open) [O_CLOEXEC]: Make code unconditional.
2860         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2861         code.
2863         * configure.ac (USE_REGPARMS): Don't define here.
2864         * configure: Regenerated.
2865         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2866         * sysdeps/i386/configure: Regenerated.
2868         * nptl/createthread.c: Don't include kernel-features.h.
2869         * nptl/pthread_cancel.c: Likewise.
2870         * nptl/pthread_condattr_setclock.c: Likewise.
2871         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2872         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2873         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2874         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2875         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2876         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2877         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2880         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2881         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2882         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2883         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2884         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2885         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2886         * nscd/gai.c: Likewise.
2887         * nss/nss_db/db-open.c: Likewise.
2888         * sysdeps/generic/ldsodefs.h: Likewise.
2889         * sysdeps/sh/nptl/tls.h: Likewise.
2890         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2891         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2892         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2893         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2894         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2895         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2896         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2897         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2898         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2899         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2900         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2901         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2902         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2903         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2904         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2905         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2906         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2907         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2908         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2909         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2912         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2913         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2918         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2919         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2920         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2921         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2922         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2923         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2924         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2925         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2926         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2927         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2928         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2929         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2930         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2931         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2932         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2933         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2934         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2935         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2936         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2937         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2938         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2939         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2940         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2941         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2942         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2943         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2944         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2945         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2946         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2947         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2970         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2971         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2972         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2973         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2974         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2976         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2977         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2978         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2979         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2980         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2981         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2982         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2983         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2984         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2985         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2986         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2987         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2988         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2989         * sysdeps/unix/sysv/linux/system.c: Likewise.
2990         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2991         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2992         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2993         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2994         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2995         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2996         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2998         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2999         * configure: Regenerated.
3000         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3002         * configure.ac (base_machine): Do not set specially for particular
3003         machines here.
3004         * configure: Regenerated.
3005         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3006         settings from configure.ac.
3007         * sysdeps/i386/preconfigure: New file.
3008         * sysdeps/s390/preconfigure: Likewise.
3009         * sysdeps/sh/preconfigure: Likewise.
3010         * sysdeps/sparc/preconfigure: Likewise.
3012 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3014         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3015         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3016         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3017         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3018         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3019         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3020         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3021         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3022         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3023         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3024         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3025         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3026         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3028         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3031         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3032         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3034         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3035         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3036         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3037         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3038         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3039         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3040         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3041         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3042         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3043         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3044         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3045         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3046         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3047         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3048         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3049         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3050         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3051         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3052         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3053         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3055         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3056         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3057         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3059         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3061         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3063         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3064         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3065         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3066         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3067         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3068         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3069         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3070         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3071         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3074         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3076         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3078         Moved ...
3079         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3080         ... here.
3081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3082         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3084         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3086         Moved ...
3087         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3089         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3091         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3093         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3095         Moved ...
3096         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3098         Moved ...
3099         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3101         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3103         Moved ...
3104         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3106         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3108         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3110         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3112         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3116         ... here.
3117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3118         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3120         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3125         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3127         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3129         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3134         Moved ...
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3137         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3139         Moved ...
3140         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3142         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3144         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3146 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3148         * timezone/checktab.awk: Update from tzcode 2014e.
3149         * timezone/private.h: Likewise.
3150         * timezone/tzfile.h: Likewise.
3151         * timezone/zdump.c: Likewise.
3152         * timezone/zic.c: Likewise.
3154         * sysdeps/unix/sysv/linux/kernel-features.h
3155         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3157         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3158         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3159         Remove conditional code.
3161 2014-06-25  Will Newton  <will.newton@linaro.org>
3163         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3164         (_dl_arm_cap_flags): Add HWCAP2 values.
3165         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3166         (_DL_HWCAP_COUNT): Increase to 37.
3167         (_DL_HWCAP_LAST): New define.
3168         (_DL_HWCAP2_LAST): New define.
3169         (_dl_procinfo): Add support for printing
3170         AT_HWCAP2 entries.
3171         (_dl_string_hwcap): Use _dl_hwcap_string.
3173 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3177 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3179         * README: Do not mention ports directory.
3181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3182         Remove macro.
3183         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3184         <kernel-features.h>.
3185         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3186         conditional variable definition.
3187         (__futimes): Update comment.
3188         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3189         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3191         [BZ #16560]
3192         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3193         arguments close to 0.
3194         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3195         Likewise.
3196         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3197         Likewise.
3198         * math/auto-libm-test-in: Add more tests of exp10.
3199         * math/auto-libm-test-out: Regenerated.
3200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3202         * sysdeps/unix/sysv/linux/kernel-features.h
3203         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3204         * sysdeps/unix/sysv/linux/readv.c: Do not include
3205         <kernel-features.h>.
3206         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3207         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3208         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3209         unconditional.
3210         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3211         conditional code.
3212         * sysdeps/unix/sysv/linux/writev.c: Do not include
3213         <kernel-features.h>.
3214         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3215         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3216         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3217         unconditional.
3218         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3219         conditional code.
3221 2014-06-25  Will Newton  <will.newton@linaro.org>
3223         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3224         comment changes throughout the file.  Remove checks
3225         for HAVE_*_H definitions that are not required.
3226         (__gen_tempname): Call abort if an unknown kind value is
3227         passed.
3229 2014-06-25  Andreas Schwab  <schwab@suse.de>
3231         [BZ #17086]
3232         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3233         scalbln, scalblnf, scalblnl in libc.
3235 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3237         [BZ #17086]
3238         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3239         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3240         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3242 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3244         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3245         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3246         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3247         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3248         Update #include.
3249         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3250         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3251         Update #include.
3252         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3253         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3254         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3255         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3256         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3257         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3258         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3259         * sysdeps/x86/bits/semaphore.h: ... here.
3260         * sysdeps/x86/nptl/elide.h: Moved ...
3261         * sysdeps/x86/elide.h: ... here.
3262         * sysdeps/x86_64/nptl/Implies: File removed.
3263         * sysdeps/i386/nptl/Implies: File removed.
3265 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3267         [BZ #16539]
3268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3269         return the argument for normal arguments with exponent below -64.
3270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3271         Likewise.
3272         * math/auto-libm-test-in: Add another test of expm1.
3273         * math/auto-libm-test-out: Regenerated.
3275         [BZ #16287]
3276         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3277         calling __erfcl for arguments at least 16.
3278         * math/auto-libm-test-in: Add more tests of erf.
3279         * math/auto-libm-test-out: Regenerated.
3281         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3282         individual architectures.
3283         * sysdeps/unix/sysv/linux/configure: Regenerated.
3284         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3285         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3286         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3287         (ldd_rewrite_script): Define variable.
3288         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3290         file.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3292         generated file.
3293         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3294         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3295         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3296         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3297         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3298         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3299         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3300         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3302 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3304         [BZ #17084]
3305         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3306         Rename member __data.d to __data.__elision_data.
3308 2014-06-24  Wilco  <wdijkstr@arm.com>
3310         * NEWS: Add 16918 to fixed bug list.
3312 2014-06-24  Wilco  <wdijkstr@arm.com>
3314         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3316 2014-06-24  Wilco  <wdijkstr@arm.com>
3318         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3319         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3320         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3321         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3322         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3323         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3324         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3325         Use _FPU_MASK_RM.
3327 2014-06-24  Wilco  <wdijkstr@arm.com>
3329         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3331 2014-06-24  Wilco  <wdijkstr@arm.com>
3333         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3334         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3335         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3336         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3338 2014-06-24  Wilco  <wdijkstr@arm.com>
3340         [BZ #16918]
3341         * sysdeps/arm/feupdateenv.c (feupdateenv):
3342         Rewrite to reduce FPSCR accesses and fix return value.
3344 2014-06-24  Wilco  <wdijkstr@arm.com>
3346         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3347         Optimize to avoid unnecessary FPSCR writes.
3348         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3349         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3350         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3351         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3353 2014-06-24  Wilco  <wdijkstr@arm.com>
3355         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3356         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3357         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3358         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3359         Call libc_fetestexcept_vfp.
3360         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3361         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3362         __SOFTFP__ ifdef so that they can be built for softfp.
3364 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3366         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3367         argument type signed char.
3369         * Makerules (check-abi): Dump diff of symlist if the test
3370         fails.
3372 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3374         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3375         using abort.
3377         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3378         Remove unused variable ST.
3380 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3382         [BZ #16354]
3383         [BZ #17061]
3384         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3385         small arguments before calling __expm1.
3386         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3387         small arguments before calling __expm1f.
3388         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3389         small arguments before calling __expm1l.
3390         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3391         Likewise.
3392         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3393         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3394         spurious underflow for some cosh tests.
3395         * math/auto-libm-test-out: Regenerated.
3396         * sysdeps/i386/fpu/libm-test-ulps: Update.
3398         [BZ #17050]
3399         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3400         (__ieee754_y1): Set errno if return value overflows.
3401         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3402         (__ieee754_y1f): Set errno if return value overflows.
3403         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3404         (__ieee754_y1l): Set errno if return value overflows.
3405         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3406         (__ieee754_y1l): Set errno if return value overflows.
3407         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3408         * math/auto-libm-test-out: Regenerated.
3410         * math/gen-auto-libm-tests.c: Document use of
3411         ignore-zero-inf-sign.
3412         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3413         (input_flags): Add ignore-zero-inf-sign.
3414         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3415         * math/gen-libm-test.pl (generate_testfile): Handle
3416         ignore-zero-inf-sign.
3417         * math/auto-libm-test-in: Mark some cpow tests with
3418         ignore-zero-inf-sign and some with xfail-rounding.
3419         * math/auto-libm-test-out: Regenerated.
3420         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3421         * sysdeps/i386/fpu/libm-test-ulps: Update.
3422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3424         [BZ #16315]
3425         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3426         overflowing or underflowing operations take place with sign of
3427         result.
3428         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3429         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3430         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3431         (__ieee754_pow): Recompute overflowing and underflowing results in
3432         original rounding mode.
3433         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3434         (__powl_helper): Allow negative argument X and scale negated value
3435         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3436         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3437         overflowing or underflowing operations take place with sign of
3438         result.
3439         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3440         Include <math.h>.
3441         * math/auto-libm-test-in: Add more tests of pow.
3442         * math/auto-libm-test-out: Regenerated.
3443         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3444         (pow_tonearest_test_data): Remove.
3445         (pow_test_tonearest): Likewise.
3446         (pow_towardzero_test_data): Likewise.
3447         (pow_test_towardzero): Likewise.
3448         (pow_downward_test_data): Likewise.
3449         (pow_test_downward): Likewise.
3450         (pow_upward_test_data): Likewise.
3451         (pow_test_upward): Likewise.
3452         (main): Don't call removed functions.
3453         * sysdeps/i386/fpu/libm-test-ulps: Update.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3462         Moved ...
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3465         Moved ...
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3468         Moved ...
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3471         File removed.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3473         File removed.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3475         File removed.
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3477         File removed.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3479         File removed.
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3481         File removed.
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3483         File removed.
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3485         File removed.
3486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3487         File removed.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3489         File removed.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3491         File removed.
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3493         File removed.
3494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3495         Moved ...
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3498         Moved ...
3499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3500         ... here.
3501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3502         Moved ...
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3505         Moved ...
3506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3508         Moved ...
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3514         Moved ...
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3517         Moved ...
3518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3520         Moved ...
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3524         ... here.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3526         Moved ...
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3529         Moved ...
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3531         ... here.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3533         Moved ...
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3535         ... here.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3537         Moved ...
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3539         ... here.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3544         Moved ...
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3551         ... here.
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3553         Moved ...
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3555         ... here.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3557         Moved ...
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3560         Moved ...
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3566         Moved ...
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3569         Moved ...
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3571         ... here.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3579         Moved ...
3580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3582         Moved ...
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3587         Moved ...
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3590         Moved ...
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3593         Moved ...
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3595         ... here.
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3597         Moved ...
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3599         ... here.
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3601         Moved ...
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3603         ... here.
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3605         Moved ...
3606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3608         Moved ...
3609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3611         Moved ...
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3614         Moved ...
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3616         ... here.
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3618         Moved ...
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3620         ... here.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3624         ... here.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3626         Moved ...
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3629         Moved ...
3630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3632 2014-06-23  Will Newton  <will.newton@linaro.org>
3633             Wilco  <wdijkstr@arm.com>
3635         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3636         implementation.  Include get-rounding-mode.h.
3637         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3638         [!libc_feholdsetround_noex_ctx]: Define
3639         libc_feholdsetround_noex_ctx.
3640         [!libc_feholdsetround_noexf_ctx]: Define
3641         libc_feholdsetround_noexf_ctx.
3642         [!libc_feholdsetround_noexl_ctx]: Define
3643         libc_feholdsetround_noexl_ctx.
3644         (libc_feholdsetround_ctx): New function.
3645         (libc_feresetround_ctx): New function.
3646         (libc_feholdsetround_noex_ctx): New function.
3647         (libc_feresetround_noex_ctx): New function.
3649 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3651         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3652         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3653         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3654         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3655         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3656         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3659         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3660         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3661         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3662         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3663         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3665         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3667         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3671         ... here.
3672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3673         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3675         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3677         Moved ...
3678         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3689         Moved ...
3690         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3691         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3692         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3693         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3694         Moved ...
3695         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3696         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3697         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3698         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3699         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3700         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3701         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3703         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3705         Moved ...
3706         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3707         ... here.
3708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3709         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3711         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3713         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3715         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3717         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3719         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3720         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3721         Moved ...
3722         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3724         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3726         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3727         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3728         Moved ...
3729         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3731         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3732         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3733         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3735         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3736         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3737         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3738         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3740         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3742         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3743         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3744         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3745         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3746         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3747         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3748         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3749         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3750         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3751         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3752         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3753         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3754         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3755         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3756         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3757         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3758         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3759         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3760         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3761         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3762         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3764 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3767         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3768         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3769         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3770         (IPV6_PMTUDISC_INTERFACE): Likewise.
3771         (IPV6_PMTUDISC_OMIT): Likewise.
3773 2014-06-23  Andreas Schwab  <schwab@suse.de>
3775         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3776         Remove unused errout label.
3778 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3780         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3781         macro: hardware supports Vector Crypto instructions.
3783 2014-06-23  Will Newton  <will.newton@linaro.org>
3785         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3786         rather than __builtin_expect.
3788         * elf/dl-lookup.c (undefined_msg): Remove variable.
3789         (_dl_lookup_symbol_x): Replace undefined_msg with string
3790         literal.
3792         * elf/dl-lookup.c (do_lookup_unique): New function.
3793         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3794         to a separate function.
3796 2014-06-23  Andreas Schwab  <schwab@suse.de>
3798         [BZ #17079]
3799         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3800         before reading the next line.
3802 2014-06-23  Will Newton  <will.newton@linaro.org>
3804         * test-skeleton.c (signal_handler): Use printf and %m
3805         rather than perror.  Use printf rather than fprintf to
3806         stderr.  Use puts rather than fputs to stderr.
3807         (main): Likewise.
3809 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3811         * nscd/nscd.c (thread_info_t): Remove typedef.
3812         (thread_info): Remove variable.
3814 2014-06-21  Allan McRae  <allan@archlinux.org>
3816         * NEWS: Mention CVE-2014-4043.
3818 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3820         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3821         * nptl/smp.h: ... here.
3823         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3825         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3826         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3827         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3828         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3830         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3831         * nptl/stack-aliasing.h: New file.
3832         * sysdeps/i386/i686/stack-aliasing.h: New file.
3833         * sysdeps/i386/i686/nptl/Makefile: File removed.
3834         * sysdeps/x86_64/stack-aliasing.h: New file.
3835         * sysdeps/x86_64/nptl/Makefile
3836         (CFLAGS-pthread_create.c): Variable removed.
3838         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3839         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3840         old file.
3841         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3842         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3843         old file.
3845 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3848         (__ASSUME_SIGFRAME_V2): Remove macro.
3849         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3850         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3851         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3852         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3853         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3854         Declare as function.  Remove conditional macro definitions.
3855         (__default_rt_sa_restorer): Likewise.
3856         (__default_sa_restorer_v1): Remove declaration.
3857         (__default_sa_restorer_v2): Likewise.
3858         (__default_rt_sa_restorer_v1): Likewise.
3859         (__default_rt_sa_restorer_v2): Likewise.
3860         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3861         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3862         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3864 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3866         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3867         (libpthread-routines): Add sysdep.
3868         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3869         * sysdeps/unix/sysv/linux/sparc/Versions
3870         (libpthread: GLIBC_2.3.3): New version set.
3871         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3872         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3873         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3874         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3875         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3876         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3877         Moved ...
3878         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3879         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3880         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3881         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3882         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3883         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3884         * sysdeps/sparc/nptl/sem_init.c: ... here.
3885         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3886         * sysdeps/sparc/nptl/sem_post.c: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3888         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3890         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3891         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3893         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3894         (libpthread-routines): Add cpu_relax.
3895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3896         File removed.
3897         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3898         (librt: GLIBC_2.3.3): New version set.
3899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3900         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3901         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3902         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3905         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3907         Moved ...
3908         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3910         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3912         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3914         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3916         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3918         Moved ...
3919         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3920         Update #include.
3921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3922         Moved ...
3923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3924         Update #include.
3925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3926         Moved ...
3927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3928         Update #include.
3929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3930         Moved ...
3931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3932         Update #include.
3933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3934         Moved ...
3935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3936         Update #include.
3937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3938         Moved ...
3939         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3940         Update #include.
3941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3942         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3948         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3950         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3952         Moved ...
3953         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3955         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3957         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3959 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3961         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3962         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3963         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3964         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3965         * nscd/nscd.c: Likewise.
3966         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3967         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3968         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3969         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3971         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3972         <kernel-features.h>.
3973         (init_mq_netlink): Remove conditional have_sock_cloexec
3974         definitions.  Remove code conditional on have_sock_cloexec < 0.
3975         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3976         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3977         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3978         <kernel-features.h>.
3979         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3980         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3982 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3985         Add tests for memset_chk and memset.
3987         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3988         with AVX2_Usable.
3990 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3992         [BZ #16046]
3993         * elf/tst-dl-iter-static.c: New file.
3994         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3996         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3997         error.
3999 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4001         * sysdeps/unix/sysv/linux/kernel-features.h
4002         (__ASSUME_F_GETOWN_EX): Remove macro.
4003         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4004         <kernel-features.h>.
4005         (miss_F_GETOWN_EX): Remove variable or macro.
4006         (do_fcntl): Do not check miss_F_GETOWN_EX.
4007         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4010         Remove macro.
4011         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4012         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4013         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4015         * sysdeps/unix/sysv/linux/kernel-features.h
4016         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4017         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4018         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4019         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4021 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4023         [BZ #17075]
4024         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4025         Fix calculation of the symbol's value.
4026         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4027         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4028         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4029         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4030         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4031         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4032         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4033         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4034         (modules-names): Add `tst-armtlsdescmod',
4035         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4036         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4037         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4038         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4039         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4040         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4041         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4042         ($(objpfx)tst-armtlsdescloc): New dependency.
4043         ($(objpfx)tst-armtlsdescextnow): Likewise.
4044         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4045         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4046         TLS scheme support.
4047         * sysdeps/arm/configure: Regenerate.
4049 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4051         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4052         (__atfct_seterrno_2): Likewise.
4053         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4054         <kernel-features.h>.
4055         (__ASSUME_ATFCTS): Do not undefine and redefine.
4056         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4057         (__have_atfcts): Remove conditional definition.
4058         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4059         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4060         unreachable if [__ASSUME_ATFCTS].
4061         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4062         not undefine and redefine.
4063         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4064         <kernel-features.h>.
4065         (faccessat) [__NR_faccessat]: Make code unconditional.
4066         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4067         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4068         <kernel-features.h>.
4069         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4070         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4071         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4072         <kernel-features.h>.
4073         (fchownat) [__NR_fchownat]: Make code unconditional.
4074         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4075         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4076         <kernel-features.h>.
4077         (futimesat) [__NR_futimesat]: Make code unconditional.
4078         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4079         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4080         <kernel-features.h>.
4081         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4082         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4083         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4084         <kernel-features.h>.
4085         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4086         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4087         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4088         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4089         <kernel-features.h>.
4090         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4091         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4092         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4093         <kernel-features.h>.
4094         (linkat) [__NR_linkat]: Make code unconditional.
4095         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4096         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4097         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4098         <kernel-features.h>.
4099         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4100         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4101         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4102         <kernel-features.h>.
4103         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4104         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4105         * sysdeps/unix/sysv/linux/openat.c: Do not include
4106         <kernel-features.h>.
4107         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4108         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4109         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4110         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4112         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4113         <kernel-features.h>.
4114         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4115         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4116         result of INLINE_SYSCALL directly, not via int variable.
4117         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4118         <kernel-features.h>.
4119         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4120         (renameat) [__NR_renameat]: Make code unconditional.
4121         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4122         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4123         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4124         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4125         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4126         (__ASSUME_ATFCTS): Do not undefine and redefine.
4127         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4128         <kernel-features.h>.
4129         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4130         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4131         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4132         <kernel-features.h>.
4133         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4134         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4135         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4136         (__ASSUME_ATFCTS): Do not undefine and redefine.
4137         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4138         <kernel-features.h>.
4139         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4140         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4141         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4142         <kernel-features.h>.
4143         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4144         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4146 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4148         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4150 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4152         [BZ #17069]
4153         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4154         constructed tree before returning error.
4155         * posix/bug-regexp36.c: Expand test case.
4157 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4159         [BZ #6803]
4160         * math/libm-test.inc (scalbln_test_date):
4161         Add errno expectations.
4162         * math/w_scalblnf.c: New File.
4163         Add wrapper which checks for setting errno to ERANGE.
4164         Add weak_alias for corresponding scalbln function.
4165         * math/w_scalbln.c: Likewise.
4166         * math/w_scalblnl.c: Likewise.
4167         * math/Makefile (libm-calls): Add w_scalbln.
4168         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4169         Remove weak_alias for corresponding scalbln function.
4170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4174         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4175         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4176         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4177         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4178         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4179         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4180         Remove long_double_symbol for scalblnl function in libm, libc.
4181         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4182         Add wrapper which checks for setting errno to ERANGE.
4183         Add long_double_symbol for scalblnl function in libm, libc.
4184         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4185         Remove long_double_symbol for scalblnl in libm.
4186         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4187         Add wrapper which checks for setting errno to ERANGE.
4188         Add long_double_symbol for scalblnl function in libm.
4189         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4190         Do not use wrapper because of own implementation.
4192 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4194         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4195         3 bytes for __pad1 for x32.
4196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4198 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4199             H.J. Lu  <hongjiu.lu@intel.com>
4201         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4202         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4203         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4204         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4205         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4207 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4209         [BZ #17069]
4210         * posix/regcomp.c (parse_expression): Deallocate partially
4211         constructed tree before returning error.
4212         * posix/Makefile.c (tests): Add bug-regex36.
4213         (generated): Add bug-regex36.mtrace.
4214         (tests-special): Add $(objpfx)bug-regex36-mem.out
4215         (bug-regex36-ENV): New variable.
4216         ($(objpfx)bug-regex36-mem.out): New rule.
4217         * posix/bug-regex36.c: New file.
4219 2014-06-19  Will Newton  <will.newton@linaro.org>
4221         * malloc/malloc.c (systrim): If extra is zero then return
4222         early.
4224 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4226         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4228 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4230         * sysdeps/aarch64/strchr.S: New file.
4232 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4234         [BZ #17022]
4235         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4236         from arguments -2 or below.
4237         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4238         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4240 2014-06-18  Andreas Schwab  <schwab@suse.de>
4242         [BZ #17062]
4243         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4244         of a bracket expr not to run off the end of the string.
4245         * posix/Makefile (tests): Add tst-fnmatch3.
4246         * posix/tst-fnmatch3.c: New file.
4248 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4250         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4251         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4252         [$(cross-compiling) = no]: Likewise.
4253         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4254         [$(cross-compiling) = no]: Likewise.
4256 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4258         [BZ #17031]
4259         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4260         double, adjusted for any remainder from the high double.
4261         * math/libm-test.inc (nearbyint): Add tests.
4262         (rint): Likewise.
4264 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4266         * nptl/sysdeps/powerpc/Makefile: Moved ...
4267         * sysdeps/powerpc/nptl/Makefile: ... here.
4268         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4269         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4270         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4271         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4272         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4273         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4274         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4275         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4276         * nptl/sysdeps/powerpc/tls.h: Moved ...
4277         * sysdeps/powerpc/nptl/tls.h: ... here.
4279 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4281         [BZ #16681]
4282         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4283         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4284         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4285         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4286         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4287         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4288         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4289         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4290         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4292 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4294         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4296 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4298         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4299         defined operator.
4301         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4302         $TIMEOUTFACTOR.
4304 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4306         [BZ #17058]
4307         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4308         non-executed part of the test.
4310 2014-06-16  Andreas Schwab  <schwab@suse.de>
4312         * string/bits/string2.h (strdup, strndup): Update feature guard.
4314 2014-06-14  David S. Miller  <davem@davemloft.net>
4316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4318 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4320         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4321         that was previously under [RESET_PID].
4322         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4324         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4325         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4326         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4327         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4328         (__libc_vfork): New strong alias.
4329         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4331 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4333         * sysdeps/generic/elide.h: New file.
4335 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4337         * Makefile (installed-headers): Adjust path of pthread.h header.
4339 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4341         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4342         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4343         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4344         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4346         * nptl/sysdeps/s390/Makefile: Moved ...
4347         * sysdeps/s390/nptl/Makefile: ... here.
4348         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4349         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4350         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4351         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4352         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4353         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4354         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4355         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4356         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4357         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4358         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4359         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4360         * nptl/sysdeps/s390/tls.h: Moved ...
4361         * sysdeps/s390/nptl/tls.h: ... here.
4363         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4364         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4366 2014-06-13  David S. Miller  <davem@davemloft.net>
4368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4375         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4376         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4377         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4378         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4379         Remove RESET_PID cpp guards.
4380         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4381         Remove RESET_PID cpp guards.
4382         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4384 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4386         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4387         __sp to uintptr_t.
4389 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4392         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4394         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4399         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4400         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4401         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4402         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4404         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4405         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4410         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4412         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4413         (pthread_rwlock_rdlock): Add elision.
4414         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4415         (pthread_rwlock_wrlock): Add elision.
4416         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4417         (pthread_rwlock_trywrlock): Add elision.
4418         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4419         (pthread_rwlock_tryrdlock): Add elision.
4420         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4421         (pthread_rwlock_tryrdlock): Add elision unlock.
4422         * nptl/sysdeps/pthread/pthread.h:
4423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4424         (PTHREAD_RWLOCK_INITIALIZER,
4425         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4426         Handle new elision field.
4427         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4428         * sysdeps/arm/nptl/bits/pthreadtypes.h
4429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4430         * sysdeps/sh/nptl/bits/pthreadtypes.h
4431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4432         * sysdeps/tile/nptl/bits/pthreadtypes.h
4433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4434         * sysdeps/a/nptl/bits/pthreadtypes.h
4435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4436         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4438         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4440         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4442         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4444         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4446         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4448         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4450         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4451         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4452         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4453         (elision_init): Set try_xbegin to zero when no RTM.
4454         * sysdeps/x86/nptl/bits/pthreadtypes.h
4455         (pthread_rwlock_t): Change __pad1 to __rwelision.
4456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4458 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4460         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4461         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4462         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4463         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4465 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4467         [BZ #16996]
4468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4469         that the cached result has been set before returning it.
4471 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4473         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4474         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4475         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4476         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4477         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4478         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4480         * nptl/sysdeps/sparc/Makefile: Moved ...
4481         * sysdeps/sparc/nptl/Makefile: ... here.
4482         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4483         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4484         * nptl/sysdeps/sparc/tls.h: Moved ...
4485         * sysdeps/sparc/nptl/tls.h: ... here.
4486         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4487         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4488         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4489         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4490         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4491         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4492         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4493         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4494         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4495         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4496         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4497         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4498         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4499         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4500         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4501         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4502         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4504         Update #include.
4505         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4507         Update #include.
4508         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4510         Update #include.
4511         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4513         Update #include.
4515         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4517         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4518         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4520         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4521         (struct list_links): Type removed.
4522         (struct thread_node, struct timer_node): Replace struct list_links
4523         with struct list_head.
4524         (list_unlink_ip): Likewise.
4525         * sysdeps/pthread/timer_routines.c
4526         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4527         (list_append, list_insbefore): Likewise.
4528         (list_init): Function removed.
4529         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4530         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4531         * sysdeps/pthread/Makefile: ... here, new file.
4533         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4534         * sysdeps/nptl/Implies: ... here.
4535         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4536         * nptl/sysdeps/pthread/list.h: Moved ...
4537         * include/list.h: ... here.
4538         * nptl/sysdeps/pthread/createthread.c: Moved ...
4539         * nptl/createthread.c: ... here.
4540         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4541         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4542         * nptl/pt-longjmp.c: ... here.
4543         * nptl/sysdeps/pthread/Makefile: Moved ...
4544         * sysdeps/nptl/Makefile: ... here.
4545         * nptl/sysdeps/pthread/Subdirs: Moved ...
4546         * sysdeps/nptl/Subdirs: ... here.
4547         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4548         * sysdeps/nptl/aio_misc.h: ... here.
4549         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4550         * sysdeps/nptl/bits/libc-lock.h: ... here.
4551         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4552         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4553         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4554         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4555         * nptl/sysdeps/pthread/configure: Moved ...
4556         * sysdeps/nptl/configure: ... here.
4557         * nptl/sysdeps/pthread/configure.ac: Moved ...
4558         * sysdeps/nptl/configure.ac: ... here.
4559         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4560         * sysdeps/nptl/gai_misc.h: ... here.
4561         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4562         * sysdeps/nptl/librt-cancellation.c: ... here.
4563         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4564         * sysdeps/nptl/malloc-machine.h: ... here.
4565         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4566         * sysdeps/nptl/pthread-functions.h: ... here.
4567         * nptl/sysdeps/pthread/pthread.h: Moved ...
4568         * sysdeps/nptl/pthread.h: ... here.
4569         * nptl/sysdeps/pthread/setxid.h: Moved ...
4570         * sysdeps/nptl/setxid.h: ... here.
4571         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4572         * sysdeps/nptl/sigfillset.c: ... here.
4573         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4574         * sysdeps/nptl/tcb-offsets.h: ... here.
4575         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4576         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4577         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4578         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4579         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4580         * sysdeps/pthread/allocalim.h: ... here.
4581         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4582         * sysdeps/pthread/bits/sigthread.h: ... here.
4583         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4584         * sysdeps/pthread/flockfile.c: ... here.
4585         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4586         * sysdeps/pthread/ftrylockfile.c: ... here.
4587         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4588         * sysdeps/pthread/funlockfile.c: ... here.
4589         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4590         * sysdeps/pthread/posix-timer.h: ... here.
4591         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4592         * sysdeps/pthread/timer_create.c: ... here.
4593         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4594         * sysdeps/pthread/timer_delete.c: ... here.
4595         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4596         * sysdeps/pthread/timer_getoverr.c: ... here.
4597         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4598         * sysdeps/pthread/timer_gettime.c: ... here.
4599         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4600         * sysdeps/pthread/timer_routines.c: ... here.
4601         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4602         * sysdeps/pthread/timer_settime.c: ... here.
4603         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4604         * sysdeps/pthread/tst-timer.c: ... here.
4605         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4606         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4608         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4609         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4611         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4612         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4613         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4614         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4615         Update #include target.
4616         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4617         * sysdeps/i386/i686/nptl/Makefile: ... here.
4618         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4619         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4620         Update #include target.
4621         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4622         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4623         * nptl/sysdeps/i386/Makefile: Moved ...
4624         * sysdeps/i386/nptl/Makefile: ... here.
4625         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4626         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4627         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4628         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4629         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4630         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4631         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4632         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4633         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4634         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4635         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4636         * nptl/sysdeps/i386/tls.h: Moved ...
4637         * sysdeps/i386/nptl/tls.h: ... here.
4639         * sysdeps/sh/Makefile [$(subdir) = csu]
4640         (gen-as-const-headers): Add tcb-offsets.sym.
4641         * nptl/sysdeps/sh/Makefile: File removed.
4642         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4643         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4644         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4645         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4646         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4647         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4648         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4649         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4650         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4651         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4652         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4653         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4654         * nptl/sysdeps/sh/tls.h: Moved ...
4655         * sysdeps/sh/nptl/tls.h: ... here.
4656         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4657         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4658         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4659         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4661         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4662         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4664         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4665         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4667         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4669         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4671         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4672         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4673         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4674         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4675         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4677         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4678         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4680         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4681         Moved ...
4682         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4683         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4684         Moved ...
4685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4686         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4688         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4689         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4690         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4691         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4692         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4694         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4695         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4696         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4697         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4698         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4699         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4700         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4701         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4702         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4703         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4705 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4707         * posix/spawn_faction_addopen.c: Include string.h.
4709 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4711         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4712         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4713         * nptl/sysdeps/x86_64/Makefile: Moved ...
4714         * sysdeps/x86_64/nptl/Makefile: ... here.
4715         * nptl/sysdeps/x86_64/configure: Moved ...
4716         * sysdeps/x86_64/nptl/configure: ... here.
4717         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4718         * sysdeps/x86_64/nptl/configure.ac: ... here.
4719         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4720         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4721         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4722         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4723         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4724         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4725         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4726         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4727         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4728         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4729         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4730         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4731         * nptl/sysdeps/x86_64/tls.h: Moved ...
4732         * sysdeps/x86_64/nptl/tls.h: ... here.
4733         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4734         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4735         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4736         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4738         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4740 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4744 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4746         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4747         type.
4748         [POSIX] (off_t): Likewise.
4749         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4750         [POSIX] (S_ISBLK): Require macro.
4751         [POSIX] (S_ISCHR): Likewise.
4752         [POSIX] (S_ISDIR): Likewise.
4753         [POSIX] (S_ISFIFO): Likewise.
4754         [POSIX] (S_ISREG): Likewise.
4755         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4756         optional-macro.
4757         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4758         type.
4759         [POSIX] (time_t): Likewise.
4760         [POSIX] (timer_t): Likewise.
4762 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4764         [BZ #17048]
4765         * posix/spawn_int.h (struct __spawn_action): Make the path string
4766         non-const to support deallocation.
4767         * posix/spawn_faction_addopen.c
4768         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4769         * posix/spawn_faction_destroy.c
4770         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4771         path in all spawn_do_open actions.
4772         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4773         posix_spawn_file_actions_addopen.
4775 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4777         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4778         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4779         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4780         conditional code always true.
4781         (__libc_vfork): New alias.
4783 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4785         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4786         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4788         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4790         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4791         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4793         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4794         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4796         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4797         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4799 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4801         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4802         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4803         multiarch strcmp for PPC64.
4804         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4805         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4807         multiarch optimizations.
4808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4809         (__libc_ifunc_impl_list): Likewise.
4811 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4813         * benchtests/scripts/validate_benchout.py: New script.
4814         * benchtests/Makefile (bench-func): Call it.
4815         * benchtests/scripts/benchout.schema.json: New file.
4817 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4819         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4820         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4821         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4822         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4823         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4824         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4825         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4826         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4827         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4828         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4829         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4830         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4831         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4832         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4833         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4834         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4836         Moved ...
4837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4838         ... here.
4839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4840         Moved ...
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4843         Moved ...
4844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4845         ... here.
4846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4847         Moved ...
4848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4849         ... here.
4850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4851         Moved ...
4852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4854         Moved ...
4855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4856         ... here.
4857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4858         Moved ...
4859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4860         ... here.
4861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4862         Moved ...
4863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4865         Moved ...
4866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4867         ... here.
4868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4869         Moved ...
4870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4871         ... here.
4872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4873         Moved ...
4874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4875         ... here.
4876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4877         Moved ...
4878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4880         Moved ...
4881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4882         ... here.
4883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4884         Moved ...
4885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4886         ... here.
4887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4888         Moved ...
4889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4890         ... here.
4891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4892         Moved ...
4893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4895         Moved ...
4896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4897         ... here.
4898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4899         Moved ...
4900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4901         ... here.
4902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4903         Moved ...
4904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4906         Moved ...
4907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4908         ... here.
4909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4910         Moved ...
4911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4913         Moved ...
4914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4916         Moved ...
4917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4918         ... here.
4919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4920         Moved ...
4921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4922         ... here.
4923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4924         Moved ...
4925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4926         ... here.
4927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4928         Moved ...
4929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4931         Moved ...
4932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4933         ... here.
4934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4935         Moved ...
4936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4937         ... here.
4938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4939         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4941         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4943         Moved ...
4944         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4945         ... here.
4946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4947         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4949         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4950         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4951         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4953         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4955         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4957         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4962         Moved ...
4963         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4967         Moved ...
4968         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4969         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4970         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4971         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4972         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4973         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4974         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4976 2014-06-10  Wilco  <wdijkstr@arm.com>
4978         * math/test-fenv-return.c: New file.
4979         * math/Makefile: Add new test test-fenv-return.
4981 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4983         [BZ #17042]
4984         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4985         when x - 1 is zero.
4986         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4987         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4988         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4989         0.0L for an argument of 1.0L.
4990         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4991         Likewise.
4992         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4993         value when x - 1 is zero.
4994         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4995         * sysdeps/i386/fpu/libm-test-ulps: Update.
4996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4998 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5000         [BZ #15119]
5001         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5003 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5005         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5006         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5008 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5010         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5011         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5013         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5014         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5016         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5017         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5019         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5020         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5022         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5023         if not already defined.
5024         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5025         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5026         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5027         (TLS_INIT_TP): Use it.
5028         (TLS_DEFINE_INIT_TP): New macro.
5029         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5031 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5033         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5034         constant.
5035         [POSIX] (IXANY): Likewise.
5036         [POSIX] (OLCUC): Likewise.
5037         [POSIX || POSIX2008] (CBAUD): Do not allow.
5038         [POSIX || POSIX2008] (DEFECHO): Likewise.
5039         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5040         [POSIX || POSIX2008] (ECHOKE): Likewise.
5041         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5042         [POSIX || POSIX2008] (EXTA): Likewise.
5043         [POSIX || POSIX2008] (EXTB): Likewise.
5044         [POSIX || POSIX2008] (FLUSHO): Likewise.
5045         [POSIX || POSIX2008] (LOBLK): Likewise.
5046         [POSIX || POSIX2008] (PENDIN): Likewise.
5047         [POSIX || POSIX2008] (SWTCH): Likewise.
5048         [POSIX || POSIX2008] (VDISCARD): Likewise.
5049         [POSIX || POSIX2008] (VDSUSP): Likewise.
5050         [POSIX || POSIX2008] (VLNEXT): Likewise.
5051         [POSIX || POSIX2008] (VREPRINT): Likewise.
5052         [POSIX || POSIX2008] (VSTATUS): Likewise.
5053         [POSIX || POSIX2008] (VWERASE): Likewise.
5054         (B*): Change to B[0123456789]*.
5055         * conform/data/time.h-data [POSIX || UNIX98]
5056         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5057         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5058         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5059         [POSIX] (tm_*): Do not allow.
5061 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5063         * Makefile (install): Don't set LANGUAGE.
5064         * Makefile.in (install): Likewise.
5065         * assert/Makefile (test-assert-ENV): Remove variable.
5066         (test-assert-perr-ENV): Likewise.
5067         * elf/Makefile (neededtest4-ENV): Likewise.
5068         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5069         [$(cross-compiling) = no]: Don't set LANGUAGE.
5070         * io/ftwtest-sh (LANG): Remove variable.
5071         * libio/Makefile (tst-widetext-ENV): Likewise.
5072         * manual/install.texi (Running make install): Don't refer to
5073         environment settings for make install.
5074         * INSTALL: Regenerated.
5075         * nptl/tst-tls6.sh: Don't set LANG.
5076         * posix/globtest.sh (LANG): Remove variable.
5077         * string/Makefile (tester-ENV): Likewise.
5078         (inl-tester-ENV): Likewise.
5079         (noinl-tester-ENV): Likewise.
5080         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5081         [$(cross-compiling) = no]: Don't set LANGUAGE.
5082         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5083         without explicit environment settings.
5085 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5087         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5088         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5089         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5090         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5092 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5094         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5095         other files in the crypt directory.
5096         * crypt/crypt.c: Remove duplicate includes.
5097         * crypt/crypt-entry.c: Likewise.
5098         * crypt/crypt_util.c: Likewise.
5100 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5102         * Makeconfig (run-program-env): New variable.
5103         (run-program-prefix-before-env): Likewise.
5104         (run-program-prefix-after-env): Likewise.
5105         (run-program-prefix): Define in terms of new variables.
5106         (built-program-cmd-before-env): New variable.
5107         (built-program-cmd-after-env): Likewise.
5108         (built-program-cmd): Define in terms of new variables.
5109         (test-program-prefix-before-env): New variable.
5110         (test-program-prefix-after-env): Likewise.
5111         (test-program-prefix): Define in terms of new variables.
5112         (test-program-cmd-before-env): New variable.
5113         (test-program-cmd-after-env): Likewise.
5114         (test-program-cmd): Define in terms of new variables.
5115         * Rules (make-test-out): Use $(run-program-env).
5116         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5117         (help): Do not mention environment variables.  Mention
5118         --timeoutfactor option.
5119         (timeoutfactor): New variable.
5120         (blacklist_exports): Remove function.
5121         (exports): Remove variable.
5122         (command): Do not include ${exports}.
5123         * manual/install.texi (Configuring and compiling): Do not mention
5124         test wrappers preserving environment variables.  Mention that last
5125         assignment to a variable must take precedence.
5126         * INSTALL: Regenerated.
5127         * benchtests/Makefile (run-bench): Use $(run-program-env).
5128         * catgets/Makefile ($(objpfx)test1.cat): Use
5129         $(built-program-cmd-before-env), $(run-program-env) and
5130         $(built-program-cmd-after-env).
5131         ($(objpfx)test2.cat): Do not specify environment variables
5132         explicitly.
5133         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5134         $(run-program-env) and $(built-program-cmd-after-env).
5135         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5136         $(run-program-env) and $(test-program-cmd-after-env).
5137         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5138         explicitly.
5139         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5140         run_program_env and test_program_cmd_after_env arguments.
5141         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5142         * elf/tst-pathopt.sh: Use run_program_env argument.
5143         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5144         $(test-wrapper-env) and $(run-program-env).
5145         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5146         run_program_env arguments.
5147         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5148         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5149         $(test-program-prefix-before-env), $(run-program-env) and
5150         $(test-program-prefix-after-env).
5151         ($(objpfx)tst-gettext2.out): Likewise.
5152         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5153         run_program_env and test_program_prefix_after_env arguments.
5154         * intl/tst-gettext2.sh: Likewise.
5155         * intl/tst-gettext4.sh: Do not set environment variables
5156         explicitly.
5157         * intl/tst-gettext6.sh: Likewise.
5158         * intl/tst-translit.sh: Likewise.
5159         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5160         $(test-program-prefix-before-env), $(run-program-env) and
5161         $(test-program-prefix-after-env).
5162         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5163         run_program_env and test_program_prefix_after_env arguments.
5164         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5165         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5166         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5167         explicitly with each use of ${test_wrapper_env}.
5168         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5169         $(test-program-prefix-before-env), $(run-program-env) and
5170         $(test-program-prefix-after-env).
5171         * posix/tst-getconf.sh: Do not set environment variables
5172         explicitly.
5173         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5174         run_program_env and test_program_prefix_after_env arguments.
5175         * stdio-common/tst-printf.sh: Do not set environment variables
5176         explicitly.
5177         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5178         $(test-program-prefix-before-env), $(run-program-env) and
5179         $(test-program-prefix-after-env).
5180         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5181         run_program_env and test_program_prefix_after_env arguments.
5182         Split $test calls into $test_pre and $test.
5183         * timezone/Makefile (build-testdata): Use
5184         $(built-program-cmd-before-env), $(run-program-env) and
5185         $(built-program-cmd-after-env).
5187 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5189         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5190         strlen for non SHARED builds.
5192 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5194         * nptl/allocatestack.c (check_list): Inlined function...
5195         (__reclaim_stacks): ... here.
5197 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5199         [BZ #15698]
5200         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5201         memory overrun.
5203 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5205         * Rules (make-test-out): Include
5206         LOCPATH=$(common-objpfx)localedata in default environment.
5207         * debug/Makefile (tst-chk1-ENV): Remove variable.
5208         (tst-chk2-ENV): Likewise.
5209         (tst-chk3-ENV): Likewise.
5210         (tst-chk4-ENV): Likewise.
5211         (tst-chk5-ENV): Likewise.
5212         (tst-chk6-ENV): Likewise.
5213         (tst-lfschk1-ENV): Likewise.
5214         (tst-lfschk2-ENV): Likewise.
5215         (tst-lfschk3-ENV): Likewise.
5216         (tst-lfschk4-ENV): Likewise.
5217         (tst-lfschk5-ENV): Likewise.
5218         (tst-lfschk6-ENV): Likewise.
5219         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5220         (tst-iconv7-ENV): Likewise.
5221         * intl/Makefile (LOCPATH-ENV): Likewise.
5222         (tst-codeset-ENV): Likewise.
5223         (tst-gettext3-ENV): Likewise.
5224         (tst-gettext5-ENV): Likewise.
5225         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5226         (tst-fopenloc-ENV): Likewise.
5227         (tst-fgetws-ENV): Remove variable.
5228         (tst-ungetwc1-ENV): Likewise.
5229         (tst-ungetwc2-ENV): Likewise.
5230         (bug-ungetwc2-ENV): Likewise.
5231         (tst-swscanf-ENV): Likewise.
5232         (bug-ftell-ENV): Likewise.
5233         (tst-fgetwc-ENV): Likewise.
5234         (tst-fseek-ENV): Likewise.
5235         (tst-ftell-partial-wide-ENV): Likewise.
5236         (tst-ftell-active-handler-ENV): Likewise.
5237         (tst-ftell-append-ENV): Likewise.
5238         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5239         (tst-regexloc-ENV): Likewise.
5240         (bug-regex1-ENV): Likewise.
5241         (tst-regex-ENV): Likewise.
5242         (tst-regex2-ENV): Likewise.
5243         (bug-regex5-ENV): Likewise.
5244         (bug-regex6-ENV): Likewise.
5245         (bug-regex17-ENV): Likewise.
5246         (bug-regex18-ENV): Likewise.
5247         (bug-regex19-ENV): Likewise.
5248         (bug-regex20-ENV): Likewise.
5249         (bug-regex22-ENV): Likewise.
5250         (bug-regex23-ENV): Likewise.
5251         (bug-regex25-ENV): Likewise.
5252         (bug-regex26-ENV): Likewise.
5253         (bug-regex30-ENV): Likewise.
5254         (bug-regex32-ENV): Likewise.
5255         (bug-regex33-ENV): Likewise.
5256         (bug-regex34-ENV): Likewise.
5257         (bug-regex35-ENV): Likewise.
5258         (tst-rxspencer-ENV): Likewise.
5259         (tst-rxspencer-no-utf8-ENV): Likewise.
5260         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5261         (tst-sscanf-ENV): Likewise.
5262         (tst-swprintf-ENV): Likewise.
5263         (tst-swscanf-ENV): Likewise.
5264         (test-vfprintf-ENV): Likewise.
5265         (scanf13-ENV): Likewise.
5266         (bug14-ENV): Likewise.
5267         (tst-grouping-ENV): Likewise.
5268         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5269         (tst-strtod3-ENV): Likewise.
5270         (tst-strtod4-ENV): Likewise.
5271         (tst-strtod5-ENV): Likewise.
5272         (testmb2-ENV): Likewise./
5273         * string/Makefile (tst-strxfrm-ENV): Likewise.
5274         (tst-strxfrm2-ENV): Likewise.
5275         (bug-strcoll1-ENV): Likewise.
5276         (test-strcasecmp-ENV): Likewise.
5277         (test-strncasecmp-ENV): Likewise.
5278         * time/Makefile (tst-strptime-ENV): Likewise.
5279         (tst-ftime_l-ENV): Likewise.
5280         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5281         (tst-mbrtowc-ENV): Likewise.
5282         (tst-wcrtomb-ENV): Likewise.
5283         (tst-mbrtowc2-ENV): Likewise.
5284         (tst-c16c32-1-ENV): Likewise.
5285         (tst-mbsnrtowcs-ENV): Likewise.
5287 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5289         * manual/resource.texi (How to get information about the memory
5290         subsystem?): Fix typo.
5291         Reported by Peon de la Parra Ivan <peon@keba.com>
5293 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5295         [BZ #16882]
5296         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5297         (pthread_spin_lock): Branch out of spin loop to proper location.
5298         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5299         (pthread_spin_lock): Likewise.
5301         * nptl/tst-spin4.c: New test.
5302         * nptl/Makefile (tests): Add tst-spin4.
5304 2014-06-03  Andreas Schwab  <schwab@suse.de>
5306         [BZ #15946]
5307         * resolv/res_send.c (send_dg): Reload file descriptor after
5308         calling reopen.
5310 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5312         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5314 2014-06-03  Richard Henderson  <rth@redhat.com>
5316         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5317         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5318         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5319         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5320         in the SAVE_PID block.
5321         (__libc_vfork): New alias.
5322         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5324         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5325         child in registers, not on the stack.  Remove RESET_PID conditionals.
5326         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5328 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5330         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5332 2014-06-03  Wilco  <wdijkstr@arm.com>
5334         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5335         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5336         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5337         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5338         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5339         Likewise.
5341 2014-06-03  Wilco  <wdijkstr@arm.com>
5343         * sysdeps/aarch64/fpu/math_private.h
5344         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5345         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5346         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5347         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5348         Fix declarations.
5350 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5352         * crypt/crypt-private.h: Include ufc-crypt.h.
5353         (__b64_from_24bit): Declare extern.
5354         * crypt/crypt_util.c(__b64_from_24bit): New function.
5355         (b64t): New static const variable.
5356         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5357         (b64t): Remove variable.
5358         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5359         * crypt/sha256-crypt.c: Include crypt-private.h.
5360         (b64t): Remove variable.
5361         (__sha256_crypt_r): Remove b64_from_24bit and replace
5362         with __b64_from_24bit.
5363         * crypt/sha512-crypt.c: Likewise.
5365 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5367         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5368         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5369         Label the code __libc_vfork rather than __vfork.
5370         [!NOT_IN_libc] (vfork): Define as weak alias.
5371         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5372         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5373         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5375 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5377         * malloc/malloc.c (malloc_info): Fix format specifier for
5378         n_mmaps.
5380 2014-06-02  Wilco  <wdijkstr@arm.com>
5382         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5383         FPCR write.
5385 2014-06-02  Wilco  <wdijkstr@arm.com>
5387         [BZ #17009]
5388         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5389         Rewrite to reduce FPCR/FPSR accesses.
5391 2014-06-01  David S. Miller  <davem@davemloft.net>
5393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5395 2014-05-31  David S. Miller  <davem@davemloft.net>
5397         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5398         to occur in round to nearest mode when |x| >= 2.0
5400 2014-05-30  Richard Henderson  <rth@twiddle.net>
5402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5403         (PSEUDO_RET_NOERRNO): Remove.
5404         (ret): Don't redefine.
5405         (ret_NOERRNO): Define in terms of ret.
5406         (ret_ERRVAL): Likewise.
5408         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5409         use of PSEUDO_RET; perform the error check directly.
5411 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5413         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5414         with __int128_t.
5416 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5418         * malloc/malloc (malloc_info): Fix formatting.
5420 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5421             Roland McGrath  <roland@hack.frob.com>
5423         * malloc/malloc (malloc_info): Also print mmapped statistics.
5425 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5427         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5428         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5430 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5432         * malloc/malloc.c (malloc_info): Inline mi_arena.
5434 2014-05-29  Richard Henderson  <rth@twiddle.net>
5436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5437         Remove comma before expanding ASM_ARGS_##nr.
5438         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5439         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5440         of ASM_ARGS_##nr.
5441         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5442         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5443         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5444         (ASM_ARGS_1): Add leading comma.
5446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5447         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5448         to __errno_location.
5449         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5450         Remove the expected plt for __errno_location.
5452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5453         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5454         call to __read_tp.
5456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5457         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5458         it and break it down.
5459         (DOCARGS_0, DOCARGS_1): Do nothing.
5460         (DOCARGS_2): Update to store into the new stack frame.
5461         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5462         (UNDOCARGS_1): Update to restore from the new stack frame.
5463         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5464         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5466         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5467         (SINGLE_THREAD_P): New parameter for result regno.
5468         (PSEUDO): Update to match; use cbz instead of beq.
5470         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5471         Use ENTRY to define the _nocancel entry point.  Share the syscall
5472         and syscall error check paths with the cancel path.
5473         (PSEUDO_END): New.
5475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5476         whitespace; tabs before and after asm mnemonics.
5478 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5480         [BZ #15132]
5481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5482         Call fstat64 or stat64 internally, depending on arguments passed.
5483         Replace stat buffer argument with file descriptor argument.
5484         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5485         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5486         Pass fd to __internal_statvfs instead of calling fstat64.
5487         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5488         Pass fd to __internal_statvfs64 instead of calling fstat64.
5489         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5490         Pass -1 to __internal_statvfs instead of calling stat64.
5491         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5492         Pass -1 to __internal_statvfs64 instead of calling stat64.
5494 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5496         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5497         that was previously under [RESET_PID].
5498         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5500         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5501         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5503 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5505         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5507         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5508         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5510 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5512         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5514 2014-05-27  Andreas Schwab  <schwab@suse.de>
5516         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5517         TLS_INIT_TP macro.
5518         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5519         * elf/rtld.c (init_tls, dl_main): Likewise.
5520         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5521         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5522         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5523         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5524         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5525         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5526         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5527         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5528         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5529         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5530         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5531         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5532         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5533         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5534         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5535         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5536         * sysdeps/generic/tls.h: Update description.
5538 2014-05-27  Will Newton  <will.newton@linaro.org>
5540         [BZ #16990]
5541         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5542         and restore r2 rather than just restoring.
5544 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5546         [BZ #16724]
5547         * libio/tst-ftell-append.c: New test case.
5548         * libio/Makefile (tests): Add test case.
5549         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5550         append mode.
5551         * libio/wfileops.c (do_ftell_wide): Likewise.
5553 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5557         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5558         ...
5559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5561         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5562         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5564         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5565         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5566         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5568         Moved ...
5569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5571         Moved ...
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5574         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5575         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5576         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5577         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5578         ...
5579         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5580         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5581         Moved ...
5582         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5583         here.
5584         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5585         ...
5586         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5588         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5590         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5591         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5592         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5593         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5596         merge into ...
5597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5599         ...
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5602         ...
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5607         here.
5608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5609         Moved ...
5610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5612         Moved ...
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5616         conditional [RESET_PID].
5617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5619         removed.
5620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5621         removed.
5623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5624         <tcb-offsets.h>.
5625         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5626         (__libc_vfork): New strong alias.
5627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5628         removed.
5629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5630         Removed.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5633         <tcb-offsets.h>.
5634         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5635         (__libc_vfork): New strong alias.
5636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5637         removed.
5638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5639         removed.
5641 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5643         * malloc/malloc.c (mi_arena): New function.
5644         (malloc_info): Remove nested function mi_arena. Call non-nosted
5645         function mi_arena.
5647 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5649         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5650         by insrwi.
5651         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5652         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5653         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5654         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5655         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5656         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5657         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5659 2014-05-26  Andreas Schwab  <schwab@suse.de>
5661         [BZ #16984]
5662         * locale/programs/repertoire.c (repertoire_read): Add slash
5663         between I18NPATH element and file name.
5664         * locale/programs/locfile.c (locfile_read): Likewise.
5666 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5668         * nptl/pthread_mutexattr_settype.c
5669         (__pthread_mutexattr_settype):
5670         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5672 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5674         * nptl/tst-mutex5 (do_test):
5675         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5677 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5679         * benchtests/README: Document 'init' directive.
5680         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5681         BENCH_INIT.
5682         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5683         (parse_file): Recognize 'init' directive.
5685 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5687         [BZ #16796]
5688         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5689         alignment of struct pthread.
5691 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5693         [BZ #16878]
5694         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5695         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5696         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5697         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5699 2014-05-25  Richard Henderson  <rth@twiddle.net>
5701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5702         (SINGLE_THREAD_P_PIC): Remove.
5703         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5704         (SINGLE_THREAD_P_PIC): Remove.
5706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5707         branch to syscall error ...
5708         (PSEUDO): ... here.
5709         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5710         from __local_syscall_error to .Lsyscall_error.
5711         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5712         (SYSCALL_ERROR): Update label name.
5714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5715         Do not use DOARGS/UNDOARGS.
5716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5717         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5718         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5719         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5720         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5722         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5723         block comment.
5725         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5726         define if !NOT_IN_libc.
5727         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5728         define with non-default symbol versions.
5730 2014-05-23  Richard Henderson  <rth@twiddle.net>
5732         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5733         (vfork, __vfork): Define via compat_symbol.
5735         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5736         [!HAVE_IFUNC] (vfork_compat): Remove.
5737         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5739 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5741         [BZ #16978]
5742         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5743         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5744         variable.
5746 2014-05-23  Richard Henderson  <rth@twiddle.net>
5748         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5749         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5750         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5751         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5753         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5754         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5755         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5756         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5757         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5758         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5759         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5760         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5761         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5762         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5763         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5764         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5765         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5770         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5774         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5775         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5776         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5780         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5781         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5782         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5783         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5784         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5785         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5786         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5787         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5788         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5789         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5790         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5791         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5792         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5793         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5794         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5795         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5796         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5797         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5798         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5800         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5802         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5804         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5805         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5806         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5807         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5808         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5810         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5811         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5812         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5813         before exiting on error.
5814         (__libc_vfork): New strong alias.
5815         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5816         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5818         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5819         that was previously under [RESET_PID].
5820         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5822         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5824 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5826         [BZ #16977]
5827         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5828         value when x - 1 is zero.
5829         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5830         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5831         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5832         0.0L for an argument of 1.0L.
5833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5834         Likewise.
5835         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5836         value when x - 1 is zero.
5837         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5838         * sysdeps/i386/fpu/libm-test-ulps: Update.
5839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5843         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5844         alphasort and versionsort.
5846 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5848         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5849         macro.
5850         [copysignf]: Likewise.
5852 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854         * crypt/md5-crypt.c: Fix formatting.
5856 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5858         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5859         (b64_from_24bit): New function.
5861 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5864         libc_hidden_builtin_def to ifunc.
5865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5866         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5868 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5870         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5871         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5873 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5875         * nscd/Depend (linuxthreads): Remove.
5876         (nptl): Add.
5877         * resolv/Depend (linuxthreads): Remove.
5878         * rt/Depend (linuxthreads): Remove.
5880         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5881         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5882         $(common-objpfx)elf/.
5883         (link-libc-before-gnulib): Likewise.
5884         (elfobjdir): Remove variable.
5885         * Makefile (install): Use $(elf-objpfx) instead of
5886         $(common-objpfx)elf/.
5887         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5888         $(elfobjdir)/.
5889         (link-libc-deps): Likewise.
5890         ($(common-objpfx)libc.so): Likewise.
5891         ($(common-objpfx)linkobj/libc.so): Likewise.
5892         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5893         instead of $(common-objpfx)elf/.
5894         (symbolic-link-list): Likewise.
5895         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5896         [$(cross-compiling) = no]: Likewise.
5897         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5898         $(elfobjdir)/.
5899         (static-gnulib-arch): Likewise.
5900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5901         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5902         $(common-objpfx)elf/.
5904 2014-05-21  Richard Henderson  <rth@redhat.com>
5906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5907         (SINGLE_THREAD_P): Use the correct width load.  Fold
5908         into the ldr offset.
5910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5911         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5913 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5915         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5916         (libgcc_s_resume): Use __attribute_used__.
5917         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5918         Likewise.
5920 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5922         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5923         optimization when used with float constants.
5925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5927 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5929         [BZ #16915]
5930         * locale/nl_langinfo_l.c: Make direct reference to every
5931         _nl_current_CATEGORY symbol.
5932         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5933         (tests-static): Add tst-langinfo-static.
5934         (tests-special): Add tst-langinfo-static.out.
5935         ($(objpfx)tst-langinfo.out): Redirect output.
5936         ($(objpfx)tst-langinfo-static.out): New.
5937         * localedata/tst-langinfo.sh: Send output to stdout.
5938         * localedata/tst-langinfo-static.c: New file.
5940         [BZ #16965]
5941         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5942         when the shift amount is modulo the limb size.
5944 2014-05-20  Richard Henderson  <rth@redhat.com>
5946         [BZ #16967]
5947         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5948         Change type of sa_flags from unsigned int to int.
5950         [BZ #16966]
5951         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5953         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5955 2014-05-20  Will Newton  <will.newton@linaro.org>
5957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5958         Test the return value of the system call in the nocancel case.
5960 2014-05-20  Will Newton  <will.newton@linaro.org>
5961             Yvan Roux  <yvan.roux@linaro.org>
5963         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5964         #include of asm/ptrace.h.
5965         (PTRACE_GET_THREAD_AREA): Remove #undef.
5966         (PTRACE_GETHBPREGS): Likewise.
5967         (PTRACE_SETHBPREGS): Likewise.
5968         (struct user_regs_struct): New structure.
5969         (struct user_fpsimd_struct): New structure.
5970         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5971         #include of asm/ptrace.h and second #include of sys/user.h.
5972         (PTRACE_GET_THREAD_AREA): Remove #undef.
5973         (PTRACE_GETHBPREGS): Likewise.
5974         (PTRACE_SETHBPREGS): Likewise.
5975         (ELF_NGREG): Use new struct user_regs_struct.
5976         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5978 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5983 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5985         [BZ #16958]
5986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5987         membar to avoid block loads/stores to overlap previous stores.
5989 2014-05-17  Richard Henderson  <rth@redhat.com>
5991         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5992         Create the __##syscall_name##_nocancel entry point.
5993         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5994         Remove; let the sysdep-cancel.h code create it.
5996 2014-05-17  David S. Miller  <davem@davemloft.net>
5998         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5999         Protect with __USE_GNU.
6000         (TIOCSET_TEMPT): Likewise.
6001         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6002         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6003         these are already provided in bits/ioctl-types.h
6005 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6007         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6008         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6010         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6011         Use wait4 regardless of [__NR_waitpid].
6013 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6015         PR libgcc/60166
6016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6017         (_FP_NANSIGN_Q): Set the quiet bit.
6019 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6021         * benchtests/Makefile
6022         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6023         not $(common-objpfx)math/libm.so.
6024         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6025         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6026         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6027         $(common-objpfx)dlfcn/libdl.so.
6028         ($(objpfx)tst-audit8): Depend on $(libm), not
6029         $(common-objpfx)math/libm.so.
6030         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6031         not $(common-objpfx)dlfcn/libdl.so.
6032         * math/Makefile
6033         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6034         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6035         [$(build-shared) = yes].
6036         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6037         $(common-objpfx)nptl/libpthread.so.
6038         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6039         $(common-objpfx)math/libm.so$(libm.so-version) or
6040         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6041         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6042         $(common-objpfx)dlfcn/libdl.so.
6043         * setjmp/Makefile (link-libm): Remove variable.
6044         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6045         * stdio-common/Makefile (link-libm): Remove variable.
6046         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6047         * stdlib/Makefile (link-libm): Remove variable.
6048         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6049         ($(objpfx)tst-strtod-round): Likewise.
6050         ($(objpfx)tst-tininess): Likewise.
6051         ($(objpfx)tst-strtod-underflow): Likewise.
6052         ($(objpfx)tst-strtod6): Likewise.
6053         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6054         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6055         $(common-objpfx)dlfcn/libdl.so.
6057 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6059         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6060         BSD terminal modes definitions.
6062 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6064         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6065         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6067         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6068         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6069         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6070         Don't do #include_next.
6071         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6072         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6073         Don't do #include_next.
6074         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6075         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6076         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6077         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6079 2014-05-16  Allan McRae  <allan@archlinux.org>
6081         * po/sv.po: Update Swedish translation from translation project.
6083         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6084         in sed expression.
6086 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6088         [BZ #16917]
6089         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6090         errno if the TIOCGPTN ioctl fails with an error different than
6091         EINVAL.
6092         * login/tst-ptsname.c: New file.
6093         * login/Makefile (tests): Add tst-ptsname.
6095         [BZ #16943]
6096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6097         and prlimit64.
6099 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6101         [BZ #16849]
6102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6103         herrno to return EAI_AGAIN.
6105 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6107         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6108         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6109         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6112         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6113         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6114         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6115         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6116         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6117         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6118         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6119         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6120         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6121         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6122         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6123         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6124         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6126         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6127         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6128         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6129         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6130         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6131         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6132         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6133         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6134         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6135         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6136         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6138         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6140         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6142         Moved ...
6143         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6145         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6147         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6149         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6151         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6153         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6155         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6159         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6161         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6163         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6167         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6169         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6171         Moved ...
6172         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6174         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6178         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6180         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6184         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6186         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6188         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6190         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6195         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6197         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6198         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6199         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6200         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6201         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6202         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6203         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6204         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6205         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6206         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6207         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6208         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6209         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6210         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6211         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6212         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6213         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6214         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6215         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6216         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6217         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6218         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6219         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6221         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6222         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6223         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6224         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6225         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6226         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6227         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6229         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6230         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6232         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6233         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6234         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6235         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6236         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6240         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6241         Moved ...
6242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6244         Moved ...
6245         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6247         Moved ...
6248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6249         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6250         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6252         Moved ...
6253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6254         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6255         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6257         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6258         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6259         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6260         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6261         Moved ...
6262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6263         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6264         Moved ...
6265         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6266         ... here.
6267         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6268         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6269         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6270         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6271         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6272         Moved ...
6273         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6274         ... here.
6275         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6276         Moved ...
6277         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6281         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6285         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6286         Moved ...
6287         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6289         Moved ...
6290         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6292         Moved ...
6293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6294         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6295         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6300         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6303         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6304         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6305         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6306         Moved ...
6307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6311         ... here.
6312         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6313         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6315         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6317         Moved ...
6318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6319         ... here.
6320         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6321         Moved ...
6322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6323         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6324         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6325         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6326         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6329         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6330         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6335         Moved ...
6336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6338         Moved ...
6339         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6341         Moved ...
6342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6343         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6344         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6345         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6346         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6348         Moved ...
6349         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6350         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6351         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6353         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6354         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6355         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6356         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6357         Moved ...
6358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6360         Moved ...
6361         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6362         ... here.
6363         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6364         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6366         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6368         Moved ...
6369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6370         ... here.
6371         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6372         Moved ...
6373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6374         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6375         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6376         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6377         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6378         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6379         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6381         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6382         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6383         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6385         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6386         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6388         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6389         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6391         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6392         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6393         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6394         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6395         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6397         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6398         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6399         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6400         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6403         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6404         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6405         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6407         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6409         Moved ...
6410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6412         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6414         Moved ...
6415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6419         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6421         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6422         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6423         Moved ...
6424         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6426         Moved ...
6427         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6431         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6432         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6433         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6435         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6436         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6437         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6438         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6439         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6440         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6441         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6442         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6443         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6446         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6447         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6448         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6449         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6451         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6452         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6454         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6455         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6456         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6457         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6458         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6459         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6460         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6463         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6465         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6466         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6467         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6468         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6469         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6470         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6471         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6472         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6473         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6474         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6475         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6476         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6477         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6478         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6480         Update #include.
6481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6482         Likewise.
6483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6484         Likewise.
6485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6486         Likewise.
6487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6488         Likewise.
6489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6490         Likewise.
6491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6492         Likewise.
6493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6494         Likewise.
6495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6496         Likewise.
6497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6498         Likewise.
6499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6507         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6508         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6509         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6511         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6512         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6513         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6515         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6516         that was previously under [RESET_PID].
6517         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6518         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6519         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6521         * sysdeps/i386/nptl/Implies: New file.
6522         * sysdeps/x86_64/nptl/Implies: New file.
6523         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6524         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6525         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6526         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6528         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6529         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6530         (__libc_vfork): New strong alias.
6531         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6532         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6534         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6535         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6536         (__libc_vfork): New strong alias.
6537         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6538         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6540         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6541         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6542         (__libc_vfork): New strong alias.
6543         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6544         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6545         * nptl/pt-vfork.c: New file.
6546         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6547         (libpthread: GLIBC_2.20): New version set (empty).
6549 2014-05-14  Will Newton  <will.newton@linaro.org>
6551         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6552         rather than #if.
6554 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6556         [BZ #16564]
6557         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6558         arguments with exponent 65 or above.
6559         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6560         arguments 0x1p113L or above.
6561         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6562         to arguments 0x1p107L or above.
6563         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6564         positive arguments with exponent 65 or above.
6565         * math/auto-libm-test-in: Add more tests of log1p.
6566         * math/auto-libm-test-out: Regenerated.
6568         [BZ #16928]
6569         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6570         non-finite arguments is +0.
6571         * math/s_cacosf.c (__cacosf): Likewise.
6572         * math/s_cacosl.c (__cacosl): Likewise.
6573         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6574         * sysdeps/i386/fpu/libm-test-ulps: Update.
6575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6577         [BZ #16927]
6578         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6579         value.
6580         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6581         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6582         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6583         for explicit high bit of mantissa when testing for argument equal
6584         to 1.
6585         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589         [BZ #16516]
6590         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6591         (__erf): Scale by 16 instead of 8 in potentially underflowing
6592         case.  Ensure exception if result actually underflows.
6593         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6594         (__erff): Scale by 16 instead of 8 in potentially underflowing
6595         case.  Ensure exception if result actually underflows.
6596         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6597         (efx8): Remove variable.
6598         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6599         case.  Ensure exception if result actually underflows.
6600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6601         (efx8): Remove variable.
6602         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6603         case.  Ensure exception if result actually underflows.
6604         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6605         (efx8): Remove variable.
6606         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6607         case.  Ensure exception if result actually underflows.
6608         * math/auto-libm-test-in: Add more tests of erf.
6609         * math/auto-libm-test-out: Regenerated.
6611 2014-05-14  Andreas Schwab  <schwab@suse.de>
6613         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6614         Remove code conditionalized on USE___THREAD.
6616         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6617         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6618         not definedness.
6620 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6622         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6623         Define unconditionally.
6624         (__ASSUME_O_CLOEXEC): Likewise.
6625         (__ASSUME_SOCK_CLOEXEC): Likewise.
6626         (__ASSUME_IN_NONBLOCK): Likewise.
6627         (__ASSUME_PIPE2): Likewise.
6628         (__ASSUME_EVENTFD2): Likewise.
6629         (__ASSUME_SIGNALFD4): Likewise.
6630         (__ASSUME_DUP3): Likewise.
6631         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6632         (__ASSUME_DUP3): Do not define.
6633         (__ASSUME_EVENTFD2): Likewise.
6634         (__ASSUME_IN_NONBLOCK): Likewise.
6635         (__ASSUME_O_CLOEXEC): Likewise.
6636         (__ASSUME_PIPE2): Likewise.
6637         (__ASSUME_SIGNALFD4): Likewise.
6638         (__ASSUME_SOCK_CLOEXEC): Likewise.
6639         (__ASSUME_UTIMES): Undefine.
6640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6641         (__ASSUME_UTIMES): Do not define.
6642         (__ASSUME_O_CLOEXEC): Likewise.
6643         (__ASSUME_SOCK_CLOEXEC): Likewise.
6644         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6645         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6646         0x020621].
6647         (__ASSUME_PIPE2): Likewise.
6648         (__ASSUME_EVENTFD2): Likewise.
6649         (__ASSUME_SIGNALFD4): Likewise.
6650         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6651         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6652         Do not define.
6653         (__ASSUME_EVENTFD2): Likewise.
6654         (__ASSUME_SIGNALFD4): Likewise.
6655         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6656         (__ASSUME_32BITUIDS): Likewise.
6657         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6658         (__ASSUME_IPC64): Likewise.
6659         (__ASSUME_ST_INO_64_BIT): Likewise.
6660         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6661         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6663         (__ASSUME_UTIMES): Do not define.
6664         (__ASSUME_PSELECT): Likewise.
6665         (__ASSUME_PPOLL): Likewise.
6666         (__ASSUME_O_CLOEXEC): Likewise.
6667         (__ASSUME_SOCK_CLOEXEC): Likewise.
6668         (__ASSUME_IN_NONBLOCK): Likewise.
6669         (__ASSUME_PIPE2): Likewise.
6670         (__ASSUME_EVENTFD2): Likewise.
6671         (__ASSUME_SIGNALFD4): Likewise.
6672         (__ASSUME_DUP3): Likewise.
6673         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6674         (__ASSUME_UTIMES): Likewise.
6675         (__ASSUME_O_CLOEXEC): Likewise.
6676         (__ASSUME_SOCK_CLOEXEC): Likewise.
6677         (__ASSUME_IN_NONBLOCK): Likewise.
6678         (__ASSUME_PIPE2): Likewise.
6679         (__ASSUME_EVENTFD2): Likewise.
6680         (__ASSUME_SIGNALFD4): Likewise.
6681         (__ASSUME_DUP3): Likewise.
6682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6683         (__ASSUME_UTIMES): Likewise.
6684         (__ASSUME_O_CLOEXEC): Likewise.
6685         (__ASSUME_SOCK_CLOEXEC): Likewise.
6686         (__ASSUME_IN_NONBLOCK): Likewise.
6687         (__ASSUME_PIPE2): Likewise.
6688         (__ASSUME_EVENTFD2): Likewise.
6689         (__ASSUME_SIGNALFD4): Likewise.
6690         (__ASSUME_DUP3): Likewise.
6691         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6692         Likewise.
6693         (__ASSUME_UTIMES): Likewise.
6694         (__ASSUME_EVENTFD2): Likewise.
6695         (__ASSUME_SIGNALFD4): Likewise.
6696         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6697         (__ASSUME_O_CLOEXEC): Likewise.
6698         (__ASSUME_SOCK_CLOEXEC): Likewise.
6699         (__ASSUME_IN_NONBLOCK): Likewise.
6700         (__ASSUME_PIPE2): Likewise.
6701         (__ASSUME_EVENTFD2): Likewise.
6702         (__ASSUME_SIGNALFD4): Likewise.
6703         (__ASSUME_DUP3): Likewise.
6704         (__ASSUME_UTIMES): Undefine.
6706         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6707         feclearexcept.  Remove symbol versioning code.
6708         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6709         symbol versioning code.
6710         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6711         symbol versioning code.
6712         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6713         feupdateenv.  Remove symbol versioning code.
6714         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6715         fegetexceptflag.  Remove symbol versioning code.
6716         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6717         fesetexceptflag.  Remove symbol versioning code.
6718         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6719         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6720         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6721         (__posix_fadvise64_l32): Remove prototype.
6722         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6723         code.
6725 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6727         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6728         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6729         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6730         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6732 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6734         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6735         current working directory
6737 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6739         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6740         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6741         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6742         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6743         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6744         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6745         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6746         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6747         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6748         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6749         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6750         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6751         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6752         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6753         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6754         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6755         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6756         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6757         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6758         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6759         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6760         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6761         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6762         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6763         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6764         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6765         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6766         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6768         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6769         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6770         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6771         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6772         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6773         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6774         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6775         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6776         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6777         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6778         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6779         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6780         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6782         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6783         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6785         * sysdeps/unix/sysv/linux/arm/Makefile
6786         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6787         Add rt-aeabi_unwind_cpp_pr1.
6788         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6789         Add nptl-aeabi_unwind_cpp_pr1.
6790         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6791         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6792         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6793         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6794         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6795         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6797         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6798         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6799         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6800         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6802         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6803         Deconditionalize the code that was previously under [RESET_PID].
6804         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6806         * sysdeps/generic/exit-thread.h: New file.
6807         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6808         * include/unistd.h (__exit_thread): Remove declaration.
6809         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6810         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6811         * csu/libc-start.c: Include <exit-thread.h>.
6812         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6813         * nptl/pthread_create.c: Include <exit-thread.h>.
6814         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6815         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6816         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6817         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6818         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6819         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6820         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6821         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6822         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6823         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6824         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6825         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6826         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6827         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6828         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6829         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6830         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6832 2014-05-13  Andreas Schwab  <schwab@suse.de>
6834         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6836 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6838         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6839         (__ASSUME_UTIMES): Do not condition on kernel version.
6840         (__ASSUME_PSELECT): Define unconditionally.
6841         (__ASSUME_PPOLL): Likewise.
6842         (__ASSUME_ATFCTS): Likewise.
6843         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6844         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6845         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6846         (__ASSUME_UTIMENSAT): Define unconditionally.
6847         (__ASSUME_PRIVATE_FUTEX): Likewise.
6848         (__ASSUME_FALLOCATE): Likewise.
6849         (__ASSUME_O_CLOEXEC): Likewise.
6850         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6851         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6852         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6853         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6854         (__ASSUME_IN_NONBLOCK): Likewise.
6855         (__ASSUME_PIPE2): Likewise.
6856         (__ASSUME_EVENTFD2): Likewise.
6857         (__ASSUME_SIGNALFD4): Likewise.
6858         (__ASSUME_DUP3): Likewise.
6859         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6860         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6861         (__ASSUME_AT_RANDOM): Likewise.
6862         (__ASSUME_PREADV): Likewise.
6863         (__ASSUME_PWRITEV): Likewise.
6864         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6865         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6866         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6867         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6868         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6869         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6870         (__ASSUME_O_CLOEXEC): Define unconditionally.
6871         (__ASSUME_PSELECT): Do not undefine conditionally.
6872         (__ASSUME_PPOLL): Likewise.
6873         (__ASSUME_ATFCTS): Likewise.
6874         (__ASSUME_SET_ROBUST_LIST): Likewise.
6875         (__ASSUME_UTIMENSAT): Likewise.
6876         (__ASSUME_FDATASYNC): Define unconditionally.
6877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6878         (__ASSUME_SIGFRAME_V2): Likewise.
6879         )__ASSUME_EVENTFD2): Likewise.
6880         (__ASSUME_SIGNALFD4): Likewise.
6881         (__ASSUME_PSELECT): Do not undefine conditionally.
6882         (__ASSUME_PPOLL): Likewise.
6883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6884         (__ASSUME_PSELECT): Define unconditionally.
6885         (__ASSUME_PPOLL): Likewise.
6886         (__ASSUME_O_CLOEXEC): Likewise.
6887         (__ASSUME_SOCK_CLOEXEC): Likewise.
6888         (__ASSUME_IN_NONBLOCK): Likewise.
6889         (__ASSUME_PIPE2): Likewise.
6890         (__ASSUME_EVENTFD2): Likewise.
6891         (__ASSUME_SIGNALFD4): Likewise.
6892         (__ASSUME_DUP3): Likewise.
6893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6894         (__ASSUME_O_CLOEXEC): Likewise.
6895         (__ASSUME_SOCK_CLOEXEC): Likewise.
6896         (__ASSUME_IN_NONBLOCK): Likewise.
6897         (__ASSUME_PIPE2): Likewise.
6898         (__ASSUME_EVENTFD2): Likewise.
6899         (__ASSUME_SIGNALFD4): Likewise.
6900         (__ASSUME_DUP3): Likewise.
6901         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6902         (__ASSUME_EVENTFD2): Likewise.
6903         (__ASSUME_SIGNALFD4): Likewise.
6904         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6906 2014-05-12  Andreas Schwab  <schwab@suse.de>
6908         [BZ #16932]
6909         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6910         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6911         than maximum RPC packet size.
6912         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6913         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6914         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6915         (_nss_nis_getservbyport_r): Likewise.
6917 2014-05-12  Will Newton  <will.newton@linaro.org>
6919         * malloc/Makefile (tests): Add tst-mallopt.
6920         * malloc/tst-mallopt.c: New file.
6922 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6924         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6925         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6927 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6929         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6930         (tst-tlsmod6.so): Likewise.
6932 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6934         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6936 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6938         [BZ #16064]
6939         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6940         and <dl-procinfo.h>.
6941         (__fegetenv): Save SSE state in envp->__eip if supported.
6942         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6943         envp->__eip if supported.
6944         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6945         and <dl-procinfo.h>.
6946         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6947         __data_offset and __data_selector in environment to 0.  Set SSE
6948         state if supported.
6949         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6950         test-fenv-sse.
6951         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6952         -mfpmath=sse.
6953         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6955 2014-05-09  Will Newton  <will.newton@linaro.org>
6957         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6958         and libc_relro_required for ARM.
6959         * sysdeps/arm/preconfigure: Regenerate.
6961 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6962             Stefan Liebler  <stli@linux.vnet.ibm.com>
6964         * config.make.in (enable-lock-elision): New Makefile variable.
6965         * configure.ac: Likewise.
6966         * configure: Regenerate.
6967         * sysdeps/s390/configure.ac:
6968         Add check for gcc transactions support.
6969         * sysdeps/s390/configure: Regenerate.
6970         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6971         Build elision files if enabled.
6972         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6973         Add lock elision support for s390.
6974         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6975         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6976         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6977         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6978         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6979         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6981         Likewise.
6982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6983         Likewise.
6984         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6985         Likewise.
6986         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6987         Likewise.
6988         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6989         (__lll_timedlock_elision, __lll_lock_elision)
6990         (__lll_unlock_elision, __lll_trylock_elision)
6991         (lll_timedlock_elision, lll_lock_elision)
6992         (lll_unlock_elision, lll_trylock_elision): Add.
6993         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6994         (pthread_mutex_t): Add lock elision support for s390.
6996 2014-05-14  Wilco  <wdijkstr@arm.com>
6998         * sysdeps/arm/fclrexcpt.c: Cleanup.
6999         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7000         * sysdeps/arm/feenablxcpt.c: Cleanup.
7001         * sysdeps/arm/fegetenv.c: Cleanup.
7002         * sysdeps/arm/fegetexcept.c: Cleanup.
7003         * sysdeps/arm/fegetround.c: Cleanup.
7004         * sysdeps/arm/feholdexcpt.c: Cleanup.
7005         * sysdeps/arm/fesetenv.c: Cleanup.
7006         * sysdeps/arm/fesetround.c: Cleanup.
7007         * sysdeps/arm/feupdateenv.c: Cleanup.
7008         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7009         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7010         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7011         * sysdeps/arm/ftestexcept.c: Cleanup.
7012         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7013         * sysdeps/arm/setfpucw.c: Cleanup.
7015 2014-05-09  Will Newton  <will.newton@linaro.org>
7017         * sysdeps/arm/armv7/strcmp.S: New file.
7018         * NEWS: Mention addition of ARMv7 optimized strcmp.
7020 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7022         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7023         look for %.ac rather than %.in.
7025         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7026         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7027         * sysdeps/mach/hurd/configure: Regenerated.
7028         * sysdeps/unix/sysv/linux/configure: Regenerated.
7030         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7032 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7034         [BZ# 16922]
7035         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7036         (LONG_SUB): Ditto.
7037         (PTR_SUB): Ditto.
7039 2014-05-07  Andreas Schwab  <schwab@suse.de>
7041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7042         when skipping over non-matching result from nscd.
7044 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7046         [BZ #16876]
7047         * nptl/sockperf.c (client): Check socket return value.
7049         [BZ #16877]
7050         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7051         nscd security class.
7053 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7055         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7056         * sysdeps/arm/unwind.h: ... here.
7058 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7060         [BZ# 16916]
7061         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7062         Define.
7064 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7066         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7067         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7068         multiarch strncpy for PPC64.
7069         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7070         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7072         multiarch optimizations.
7073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7074         (__libc_ifunc_impl_list): Likewise.
7075         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7076         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7077         multiarch stpncpy for PPC64.
7078         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7079         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7081 2014-05-06  Andreas Schwab  <schwab@suse.de>
7083         [BZ #16912]
7084         * gmon/mcount.c (_MCOUNT_DECL): Use
7085         atomic_compare_and_exchange_bool_acq instead of
7086         catomic_compare_and_exchange_bool_acq.
7088 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7090         * elf/Makefile (others, install-bin): Remove pldd.
7091         (pldd-modules): Variable removed.
7092         ($(objpfx)pldd): Target removed.
7093         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7094         (others, install-bin): Append pldd here.
7095         ($(objpfx)pldd): New target.
7097         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7098         to 0, so the first #if test emitted later doesn't see it undefined.
7099         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7100         * sysdeps/gnu/errlist.c: Regenerated.
7102 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7104         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7105         [libc_hidden_builtin_def]: Define to empty value.
7106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7107         [libc_hidden_builtin_def]: Likewise.
7108         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7109         [libc_hidden_builtin_def]: Likewise.
7110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7111         [libc_hidden_builtin_def]: Likewise.
7112         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7113         __redirect_memcpy and define ifunc as default hidden symbol.
7114         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7115         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7117 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7119         * locale/iso-4217.def: Reintroduce XDR currency.
7121 2014-05-04  Allan McRae  <allan@archlinux.org>
7123         * po/eo.po: Update Esperanto translation from translation project.
7125 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7127         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7128         and FEATURE_INDEX_MAX to 1.
7129         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7131 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7133         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7134         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7135         * iconvdata/big5.c (ONE_DIRECTION): Define.
7136         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7137         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7138         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7139         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7140         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7141         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7142         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7143         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7144         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7145         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7146         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7147         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7148         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7149         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7150         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7151         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7152         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7153         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7154         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7155         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7156         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7157         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7158         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7159         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7160         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7161         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7162         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7163         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7164         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7165         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7166         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7167         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7168         * iconvdata/johab.c (ONE_DIRECTION): Define.
7169         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7170         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7171         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7172         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7173         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7174         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7175         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7176         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7177         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7178         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7180 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7182         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7183         (_IO_JUMPS_OFFSET): Define to 0.
7185         * nptl/sysdeps/pthread/bits/libc-lock.h
7186         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7187         (__libc_lock_define_initialized_recursive): Always define using
7188         initializer.  Modern compilers treat uninitialized (implicit zero) and
7189         explicit zero initializers the same (i.e. put the datum in bss).
7191 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7193         * nscd/nscd-client.h: Include <string.h>.
7195 2014-05-01  David S. Miller  <davem@davemloft.net>
7197         [BZ #16885]
7198         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7199         multiple zero bytes exist at the end of a string.
7200         Reported by Aurelien Jarno <aurelien@aurel32.net>
7202         * string/test-strcmp.c (check): Add explicit test for situations where
7203         there are multiple zero bytes after the first.
7205 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7207         [BZ #16890]
7208         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7209         when compiling wprintf.
7210         * stdio-common/tstdiomisc.c (t3): New function.
7211         (main): Call it.
7213 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7215         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7216         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7217         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7218         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7220 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7222         * stdlib/longlong.h: Updated from GCC.
7224 2014-05-01  Will Newton  <will.newton@linaro.org>
7225             Bernard Ogden  <bernie.ogden@linaro.org>
7227         * NEWS: Update fixed bug list.
7229         [BZ #15119]
7230         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7232 2014-04-30  David S. Miller  <davem@davemloft.net>
7234         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7235         (libc_feholdexcept_setround_sparc_ctx): New function.
7236         (libc_fesetenv_sparc_ctx): Likewise.
7237         (libc_feupdateenv_sparc_ctx): Likewise.
7238         (libc_feholdsetround_sparc_ctx): Likewise.
7239         (libc_feholdexcept_setround_ctx): Define.
7240         (libc_feholdexcept_setroundf_ctx): Likewise.
7241         (libc_feholdexcept_setroundl_ctx): Likewise.
7242         (libc_fesetenv_ctx): Likewise.
7243         (libc_fesetenvf_ctx): Likewise.
7244         (libc_fesetenvl_ctx): Likewise.
7245         (libc_feupdateenv_ctx): Likewise.
7246         (libc_feupdateenvf_ctx): Likewise.
7247         (libc_feupdateenvl_ctx): Likewise.
7248         (libc_feresetround_ctx): Likewise.
7249         (libc_feresetroundf_ctx): Likewise.
7250         (libc_feresetroundl_ctx): Likewise.
7251         (libc_feholdsetround_ctx): Likewise.
7252         (libc_feholdsetroundf_ctx): Likewise.
7253         (libc_feholdsetroundl_ctx): Likewise.
7255         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7256         with __USE_GNU instead of XOPEN cpp guards.
7258         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7259         0.
7261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7262         with XOPEN cpp guards.
7264 2014-04-30  Julian Brown  <julian@codesourcery.com>
7266         [BZ #16888]
7267         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7268         handling.
7270 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7272         [BZ #9894]
7273         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7274         Change to 2.6.32.
7275         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7276         * sysdeps/unix/sysv/linux/configure: Regenerated.
7277         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7278         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7279         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7280         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7281         * README: Update reference to required Linux kernel version.
7282         * manual/install.texi (Linux): Update reference to required Linux
7283         kernel headers version.
7284         * INSTALL: Regenerated.
7286         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7287         header inclusion.
7288         [POSIX] (limits.h): Likewise.
7289         [POSIX] (math.h): Likewise.
7290         [POSIX] (sys/wait.h): Likewise.
7291         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7292         function.
7293         [POSIX] (stddef.h): Do not allow header inclusion.
7295 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7297         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7299 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7301         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7302         Return immediately after lll_futex_wake.
7304 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7306         [BZ #16791]
7307         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7308         structure.
7309         (datahead_init_pos): Call datahead_init_common early.
7310         (datahead_init_neg): Likewise.
7312         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7313         datahead_init_neg): New functions.
7314         * nscd/aicache.c (addhstaiX): Use them.
7315         * nscd/grpcache.c (cache_addgr): Likewise.
7316         * nscd/hstcache.c (cache_addhst): Likewise.
7317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7318         * nscd/netgroupcache.c (do_notfound): Likewise.
7319         (addgetnetgrentX): Likewise.
7320         (addinnetgrX): Likewise.
7321         * nscd/pwdcache.c (cache_addpw): Likewise.
7322         * nscd/servicescache.c (cache_addserv): Likewise.
7324 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7325             Atsushi Onoe  <atsushi@onoe.org>
7327         [BZ #14308]
7328         [BZ #12994]
7329         [BZ #13651]
7330         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7331         one response is valid.
7332         * resolv/res_send.c (send_dg): Check for validity of other
7333         response if the current response is a referral.
7335 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7337         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7339 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7341         [BZ #16823]
7342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7343         Always divide by positive zero when computing -Inf result.
7344         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7345         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7347 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7349         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7350         FPSCR if value do not change.
7351         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7352         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7353         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7354         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7355         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7356         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7357         function.
7359 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7361         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7362         * sysdeps/unix/sysv/linux/hppa: Move directory from
7363         ports/systeps/unix/sysv/linux/hppa.
7364         * README: Update listing for hppa-*-linux-gnu.
7366 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7368         [BZ #16754]
7369         * manual/stdio.texi (Hook functions): Fix types of stream hook
7370         functions.
7371         [BZ #16854]
7372         * socket/sys/socket.h: Fix typo in comment.
7374 2014-04-28  Wilco  <wdijkstr@arm.com>
7376         * sysdeps/arm/fenv_private.h: New file.
7377         * sysdeps/arm/math_private.h: New file.
7378         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7380 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7382         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7383         with __int128_t.
7384         (La_x86_64_retval): Likewise.
7386 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7388         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7389         fpsr if value didn't change.
7390         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7391         to fpcr if value didn't change.
7392         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7393         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7394         fpsr or fpcr if value didn't change.
7395         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7396         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7397         fpcr if value didn't change.
7398         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7399         to fpsr if value didn't change.
7401 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7403         * nptl/tst-sem3.c: Use test-skeleton.c
7404         (main): Rename to do_test.  Use return instead of
7405         exit.
7406         * nptl/tst-sem4.c: Use test-skeleton.c
7407         (main): Rename to do_test.
7409 2014-04-22  David S. Miller  <davem@davemloft.net>
7411         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7412         (struct sigaction): New struct member __glibc_reserved0, change
7413         type of sa_flags to int.
7415 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7417         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7418         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7420 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7422         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7423         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7425 2014-04-22  Will Newton  <will.newton@linaro.org>
7426             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7428         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7429         (__longjmp): Add longjmp and longjmp_target SystemTap
7430         probes.
7431         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7432         (__sigsetjmp): Add setjmp SystemTap probe.
7434 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7436         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7437         match manual order.
7439 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7441         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7443         * sysdeps/powerpc/fpu/fenv_private.h
7444         (libc_feholdexcept_setroundl_ctx): Define to
7445         libc_feholdexcept_setround_ppc_ctx.
7446         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7447         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7448         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7449         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7451 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7453         * sysdeps/aarch64/math-tests.h: New file.
7455 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7457         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7458         New.
7459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7460         Check and set bit_AVX2_Usable.
7461         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7462         macro.
7463         (bit_AVX2): Likewise.
7464         (index_AVX2_Usable): Likewise.
7465         (CPUID_AVX2): Likewise.
7466         (HAS_AVX2): Likewise.
7468 2014-04-17  Will Newton  <will.newton@linaro.org>
7470         * manual/setjmp.texi (System V contexts): Add note that
7471         calling setcontext on a context created by a call to a
7472         signal handler is undefined.  Update text to note that
7473         setcontext from a signal handler is possible but not
7474         recommended.
7476         [BZ #16629]
7477         * stdlib/tst-setcontext.c: Include signal.h.
7478         (main): Check that the signal stack before and
7479         after swapcontext is the same.
7481         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7482         Re-implement to restore registers in user code and avoid
7483         rt_sigreturn system call.
7485 2014-04-17  Wilco  <wdijkstr@arm.com>
7487         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7488         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7489         * math/test-fenv.c: Skip exception trap tests on targets which only
7490         support non-stop mode.
7492 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7493             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7495         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7496         (libc_feholdsetround_aarch64_ctx)
7497         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7498         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7499         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7500         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7501         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7502         (libc_feresetround_noexl_ctx): Define.
7504 2014-04-16  Richard Henderson  <rth@redhat.com>
7506         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7508         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7509         unwind tables.
7511         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7512         const from the non-libc, non-ldso copy.
7514         * sysdeps/alpha/libm-test-ulps: Regenerate.
7516 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7517             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7519         * sysdeps/aarch64/fpu/math_private.h: New file.
7521 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7523         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7525 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7527         [BZ #16275]
7528         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7529         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7530         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7531         Intel MPX bound registers before _dl_profile_fixup.
7532         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7533         registers after _dl_profile_fixup.  Save and restore bound
7534         registers bnd0/bnd1 when calling _dl_call_pltexit.
7535         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7536         (LR_BND_OFFSET): Likewise.
7537         (LRV_BND0_OFFSET): Likewise.
7538         (LRV_BND1_OFFSET): Likewise.
7540 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7542         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7543         to...
7544         * sysdeps/mach/hurd/i386/tls.h: ... here.
7545         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7546         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7547         fields.
7549 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7551         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7553 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7555         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7557 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7559         [BZ #14770]
7560         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7561         * sysdeps/s390/configure: Regenerate.
7563         [BZ #16824]
7564         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7565         Set round-to-nearest internally to reduce error accumulation.
7567 2014-04-16  Alan Modra  <amodra@gmail.com>
7569         [BZ #16740]
7570         [BZ #16619]
7571         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7572         * math/libm-test.inc (frexp_test_data): Add tests.
7573         * NEWS: Update fixed bug list.
7575 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7577         * benchtests/Makefile: Depend on libraries in build directory.
7578         (bench-math): Separate out math tests.
7579         (bench-pthread): Separate out pthread tests.
7580         (bench): Include math and pthread tests.
7582 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7584         [BZ #16831]
7585         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7586         _dl_debug_initialize.
7588         * configure.ac: Remove SELinux header check.
7589         * configure: Regenerate.
7590         * nscd/selinux.c (perms): Array of const char* to permission names.
7591         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7592         default policy. Call string_to_security_class and string_to_av_perm to
7593         translate strings. Enforce default policy and call avs_has_perm with
7594         results of translated strings.
7596 2014-04-13  David S. Miller  <davem@davemloft.net>
7598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7600 2014-04-12  Allan McRae  <allan@archlinux.org>
7602         [BZ #16838]
7603         * manual/string.texi (Collation Functions): Fix qsort argument
7604         order in example.
7605         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7607 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7609         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7610         Make the test a no-op if there are no exceptions defined.
7612 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7614         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7615         enable-hardcoded-path-in-tests
7617 2014-04-11  Will Newton  <will.newton@linaro.org>
7619         * benchtests/Makefile (extra-objs): Add json-lib.o.
7620         (bench-func): Tidy up JSON output.
7621         * benchtests/bench-skeleton.c: Include json-lib.h.
7622         (main): Use JSON library functions to do output of
7623         benchmark results.
7624         * benchtests/bench-timing-type.c (main): Output the
7625         timing type simply, leaving formatting to the user.
7626         * benchtests/json-lib.c: New file.
7627         * benchtests/json-lib.h: Likewise.
7629 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7631         [BZ #15215]
7632         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7633         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7634         memory barriers.  Add comments.
7635         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7636         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7637         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7638         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7639         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7640         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7642 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7644         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7645         * sysdeps/s390/s390-64/configure.ac: ... this ...
7646         * sysdeps/s390/configure.ac: ... to here.
7647         * sysdeps/s390/s390-32/configure: Delete file.
7648         * sysdeps/s390/s390-64/configure: Delete file.
7649         * sysdeps/s390/configure: Regenerate.
7651 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7653         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7655 2014-04-11  Will Newton  <will.newton@linaro.org>
7657         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7658         to zero if it is not defined elsewhere.  (mtrim): Test
7659         the value of MALLOC_DEBUG with #if rather than #ifdef.
7661 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7663         * benchtests/pthread_once-inputs: New file.
7664         * benchtests/pthread_once-source.c: New file.
7665         * benchtests/README: Update documentation.
7667 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7668             H.J. Lu  <hongjiu.lu@intel.com>
7670         [BZ #16275]
7671         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7672         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7673         * sysdeps/x86_64/configure: Regenerated.
7674         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7675         macro.
7676         (REGISTER_SAVE_RAX): Likewise.
7677         (REGISTER_SAVE_RCX): Likewise.
7678         (REGISTER_SAVE_RDX): Likewise.
7679         (REGISTER_SAVE_RSI): Likewise.
7680         (REGISTER_SAVE_RDI): Likewise.
7681         (REGISTER_SAVE_R8): Likewise.
7682         (REGISTER_SAVE_R9): Likewise.
7683         (REGISTER_SAVE_BND0): Likewise.
7684         (REGISTER_SAVE_BND1): Likewise.
7685         (REGISTER_SAVE_BND2): Likewise.
7686         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7687         bound registers when calling _dl_fixup.
7689 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7691         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7692         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7693         of its definition.
7694         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7695         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7696         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7697         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7698         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7699         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7700         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7702 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7704         [BZ #15514]
7705         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7706         pathconf(_PC_NAME_MAX).
7708 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7710         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7711         Remove macro usage.
7712         (__PTHREAD_SPINS): Move definition to ...
7713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7714         (__PTHREAD_SPINS): ... here.
7715         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7716         (__PTHREAD_SPIN): Likewise.
7717         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7718         (__PTHREAD_SPIN): Likewise.
7719         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7720         (__PTHREAD_SPIN): Likewise.
7721         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7722         (__PTHREAD_SPIN): Likewise.
7723         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7724         (__PTHREAD_SPIN): Likewise.
7725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7726         (__PTHREAD_SPIN): Likewise.
7727         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7728         (__PTHREAD_SPIN): Likewise.
7729         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7730         (__PTHREAD_SPIN): Likewise.
7731         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7732         (__PTHREAD_SPIN): Likewise.
7733         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7734         (__PTHREAD_SPIN): Likewise.
7735         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7736         (__PTHREAD_SPIN): Likewise.
7737         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7738         (__PTHREAD_SPIN): Likewise.
7740         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7741         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7742         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7743         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7744         imply folder.
7745         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7746         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7747         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7748         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7749         correct imply path.
7750         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7751         strlen symbol for non multi-arch builds.
7752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7753         missing hidden_def and weak_alias.
7755 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7757         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7759 2014-04-07  Will Newton  <will.newton@linaro.org>
7761         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7762         and contents.  [!_LIBC] Remove #ifndef and contents.
7763         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7764         * string/memccpy.c (__memccpy): Use ANSI prototype.
7765         * string/memfrob.c (memfrob): Likewise.
7766         * string/strcoll.c (STRCOLL): Likewise.
7767         * string/strlen.c (strlen): Likewise.
7768         * string/strtok.c (STRTOK): Likewise.
7769         * string/strcat.c: Remove unused #include of memcopy.h.
7770         (strcat): Use ANSI prototype.
7771         * string/strchr.c: Remove unused #include of memcopy.h.
7772         (strchr): Use ANSI prototype.
7773         * string/strcmp.c: Remove unused #include of memcopy.h.
7774         (strcmp): Use ANSI prototype.
7775         * string/strcpy.c: Remove unused #include of memcopy.h.
7776         (strcpy): Use ANSI prototype.
7778 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7780         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7781         * config.make.in (config-extra-cppflags): Set it from
7782         libc_extra_cppflags.
7783         * configure.ac (libc_extra_cflags): Make it accumulate over
7784         configure fragments.
7785         (libc_extra_cppflags): New flag.
7786         * configure. Regenerate.
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7788         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7789         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7792         [BZ #16815]
7793         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7794         result for FE_DOWNWARD rounding mode.
7795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7796         Likewise.
7797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7799 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7801         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7802         in function argument name.
7804 2014-04-03  David Svoboda  <svoboda@cert.org>
7806         [BZ #5666]
7807         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7808         explicitly.
7810 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7812         * elf/dl-unmap-segments.h: New file.
7813         * sysdeps/generic/ldsodefs.h
7814         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7815         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7816         * elf/dl-fptr.c: Likewise.
7817         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7818         * sysdeps/aarch64/tlsdesc.c: Likewise.
7819         * sysdeps/arm/tlsdesc.c: Likewise.
7820         * sysdeps/i386/tlsdesc.c: Likewise.
7821         * sysdeps/tile/dl-runtime.c: Likewise.
7822         * sysdeps/x86_64/tlsdesc.c: Likewise.
7823         * elf/dl-load.h: New file.
7824         * elf/dl-load.c: Include it.
7825         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7826         Macros moved to dl-load.h.
7827         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7828         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7829         Use _dl_unmap_segments in place of __munmap.
7830         Break out segment-mapping loop into ...
7831         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7833 2014-04-03  Will Newton  <will.newton@linaro.org>
7835         * elf/dl-lookup.c (do_lookup_x): Remove comment
7836         referring to nested function and move variable
7837         declarations down to before first use.
7839 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7841         [BZ #16799]
7842         [BZ #16800]
7843         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7844         with 0 numerator.
7845         * math/s_catanf.c (__catanf): Likewise.
7846         * math/s_catanh.c (__catanh): Likewise.
7847         * math/s_catanhf.c (__catanhf): Likewise.
7848         * math/s_catanhl.c (__catanhl): Likewise.
7849         * math/s_catanl.c (__catanl): Likewise.
7850         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7851         by positive zero when computing -Inf result.
7852         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7853         (catanh_test): Likewise.
7854         * sysdeps/i386/fpu/libm-test-ulps: Update.
7855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857         [BZ #16789]
7858         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7859         instead of using underflowing value in computing result.
7860         * math/s_clog10.c (__clog10): Likewise.
7861         * math/s_clog10f.c (__clog10f): Likewise.
7862         * math/s_clog10l.c (__clog10l): Likewise.
7863         * math/s_clogf.c (__clogf): Likewise.
7864         * math/s_clogl.c (__clogl): Likewise.
7865         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7866         (clog10_test): Likewise.
7867         * sysdeps/i386/fpu/libm-test-ulps: Update.
7868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7870 2014-04-02  Alan Modra  <amodra@gmail.com>
7872         [BZ #16739]
7873         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7874         output when value is near a power of two.  Use int64_t for lx and
7875         remove casts.  Use decimal rather than hex exponent constants.
7876         Don't use long double multiplication when double will suffice.
7877         * math/libm-test.inc (nextafter_test_data): Add tests.
7878         * NEWS: Add 16739 and 16786 to bug list.
7880         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7882         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7884 2014-04-01  Will Newton  <will.newton@linaro.org>
7886         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7887         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7889 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7891         [BZ #13347]
7892         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7893         * nptl/tst-setuid2.c: New file.
7894         * nptl/Makefile (xtests): Add tst-setuid2.
7896 2014-04-01  Alan Modra  <amodra@gmail.com>
7898         [BZ #16786]
7899         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7901 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7903         [BZ #6803]
7904         [BZ #6804]
7905         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7906         set errno as appropriate.
7907         * math/w_scalbf.c (__scalbf): Likewise.
7908         * math/w_scalbl.c (__scalbl): Likewise.
7909         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7910         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7911         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7912         Add more NaN tests.
7914         [BZ #16349]
7915         * math/w_atan2.c: Include <errno.h>.
7916         (__atan2): Set errno for result underflowing to zero.
7917         * math/w_atan2f.c: Include <errno.h>.
7918         (__atan2f): Set errno for result underflowing to zero.
7919         * math/w_atan2l.c: Include <errno.h>.
7920         (__atan2l): Set errno for result underflowing to zero.
7921         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7922         tests.
7923         * math/auto-libm-test-out: Regenerated.
7925 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7927         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7928         Encode instruction correctly in little endian.
7929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7930         Likewise.
7931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7932         Likewise.
7933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7934         Likewise.
7935         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7936         Likewise.
7938 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7940         [BZ #9894]
7941         * sysdeps/unix/sysv/linux/kernel-features.h
7942         [__sparc__ && !__arch64__ && !__sparc_v9__]
7943         (__ASSUME_SET_ROBUST_LIST): Do not define.
7944         [__sparc__ && !__arch64__ && !__sparc_v9__]
7945         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7946         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7947         Likewise.
7948         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7949         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7950         (__ASSUME_REQUEUE_PI): Likewise.
7951         (__ASSUME_SET_ROBUST_LIST): Likewise.
7952         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7953         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7954         Undefine.
7955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7956         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7957         Likewise.
7958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7959         Likewise.
7960         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7963         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7964         Undefine.
7965         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7966         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7967         Likewise.
7969         [BZ #16648]
7970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7972         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7974 2014-03-31  Will Newton  <will.newton@linaro.org>
7976         * benchtests/Makefile (bench): Add ffs and ffsll to list
7977         of tests.
7978         * benchtests/ffs-inputs: New file.
7979         * benchtests/ffsll-inputs: Likewise.
7981 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7983         [BZ #16770]
7984         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7985         too large before casting to int.
7986         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7987         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7988         * math/libm-test.inc (scalb_test_data): Add more tests.
7990 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7992         * benchtests/Makefile (DETAILED_OPT): New make option.
7993         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7994         set.
7995         * benchtests/bench-skeleton.c: Include stdbool.h.
7996         (main): Store and print timings per input.
7997         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7998         member to each argument value.
7999         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8000         (_print_arg_data): Initialize per-input timing to 0.
8002         * benchtests/Makefile (timing-type): New binary.
8003         (bench-clean): Also remove bench-timing-type.
8004         (bench): New target for timing-type.
8005         (bench-func): Print output in JSON format.
8006         * benchtests/bench-skeleton.c (main): Print output in JSON
8007         format.
8008         * benchtests/bench-timing-type.c: New file.
8009         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8010         (TIMING_PRINT_STATS): Remove.
8011         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8012         name separately.
8014         * benchtests/bench-modf.c: Remove.
8015         * benchtests/modf-inputs: New inputs file.
8017 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8019         [BZ #16362]
8020         * math/s_clog10.c (M_PI_LOG10E): New macro.
8021         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8022         imaginary parts are 0.
8023         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8024         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8025         imaginary parts are 0.
8026         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8027         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8028         imaginary parts are 0.
8029         * math/libm-test.inc (clog10_test_data): Update expected results
8030         for when real and imaginary parts are 0.
8032 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8034         * elf/dl-load.c: Finish conversion of __builtin_expect into
8035         __glibc_{un}likely.
8037 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8039         [BZ #16348]
8040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8041         1+x for argument with exponent below -67.
8042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8043         Likewise.
8044         * math/auto-libm-test-in: Add more tests of exp.
8045         * math/auto-libm-test-out: Regenerated.
8047 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8049         [BZ #16759]
8050         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8051         (nscd_getnetgrent): Use it.
8053         [BZ #16760]
8054         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8055         of stpcpy.
8057 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8059         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8060         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8061         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8062         (lll_robust_unlock): Remove out of line section. Use cfi
8063         intrinsics.
8064         (LLL_STUB_UNWIND_INFO*): Remove.
8065         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8066         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8067         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8068         (lll_robust_unlock): Remove out of line section. Use cfi
8069         intrinsics.
8070         (LLL_STUB_UNWIND_INFO*): Remove.
8072 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8074         [BZ #16758]
8075         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8076         blank values.
8078 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8080         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8082 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8084         [BZ #16198]
8085         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8086         fnstenv.
8087         * math/test-fenv-preserve.c: New file.
8088         * math/Makefile (tests): Add test-fenv-preserve.
8090 2014-03-26  Will Newton <will.newton@linaro.org>
8092         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8094 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8096         * scripts/versionlist.awk: Partition the version sets and emit all
8097         GLIBC_* (sorted) before all others (sorted).
8099 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8101         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8102         GLIBC_2.2.5 version.
8104 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8106         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8107         calls.
8109         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8110         previous change.
8112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8114 2014-03-25  Andreas Schwab  <schwab@suse.de>
8116         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8117         label to be used after in6ailist is initialized.
8119 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8121         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8122         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8124 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #16357]
8127         [BZ #16599]
8128         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8129         min_plus_half.
8130         (fp_formats): Update initializers.
8131         (init_fp_formats): Initialize new field.
8132         (output_for_one_input_case): Allow underflow for results up to
8133         min_plus_half.
8134         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8135         * math/auto-libm-test-in: Don't mark some underflows from asin and
8136         atanh as spurious.
8137         * math/auto-libm-test-out: Regenerated.
8138         * sysdeps/i386/fpu/libm-test-ulps: Update.
8139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8141 2014-03-25  Andreas Schwab  <schwab@suse.de>
8143         * libio/Makefile (tst-ftell-partial-wide-ENV)
8144         (tst-ftell-active-handler-ENV): Define.
8146 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8148         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8150 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8152         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8154 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8156         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8157         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8158         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8160 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8162         [BZ #16634]
8163         * elf/dl-load.c (open_verify): Add mode parameter.
8164         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8165         (open_path): Change from boolean 'secure' to complete flag 'mode'
8166         (_dl_map_object): Adjust.
8167         * elf/Makefile (tests): Add tst-dlopen-aout.
8168         * elf/tst-dlopen-aout.c: New test.
8170 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8172         [BZ #16714]
8173         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8174         (struct stat): Rename member pad0 to __glibc_reserved0.
8176         [BZ #16712]
8177         * sysdeps/s390/s390-32/bits/wordsize.h
8178         (__WORDSIZE32_SIZE_ULONG): New define.
8179         * sysdeps/s390/s390-64/bits/wordsize.h
8180         (__WORDSIZE32_SIZE_ULONG): Likewise.
8181         * sysdeps/generic/stdint.h (SIZE_MAX):
8182         Define as UL if __WORDSIZE32_SIZE_ULONG.
8184         [BZ #16713]
8185         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8186         (__glibc_reserved0): New variable.
8187         (sa_flags): Change type to int.
8189         * posix/Makefile (before-compile): Use += before-compile instead
8190         of a :=.
8192         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8193         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8195 2014-03-20  Andreas Schwab  <schwab@suse.de>
8197         [BZ #16743]
8198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8199         non-matching result from nscd.
8201 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8203         * scripts/bench.py: Moved to ...
8204         * benchtests/scripts/bench.py: ... here.
8205         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8207 2014-03-24  Andreas Schwab  <schwab@suse.de>
8209         [BZ #16002]
8210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8211         alloca_account and account alloca use for struct in6ailist.
8213 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8215         [BZ #16284]
8216         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8217         rounding mode to recompute results that overflow to infinity or
8218         underflow to zero.
8219         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8220         bug 16284.
8221         * math/auto-libm-test-out: Regenerated.
8222         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8223         (ccosh_test): Likewise.
8224         (csin_test_data): Use plus_oflow.
8225         (csin_test): Use ALL_RM_TEST.
8226         (csinh_test_data): Use plus_oflow.
8227         (csinh_test): Use ALL_RM_TEST.
8228         * sysdeps/i386/fpu/libm-test-ulps: Update.
8229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8231 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8233         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8234         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8235         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8237         [BZ #16731]
8238         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8239         when x - 1 is zero.
8240         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8241         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8242         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8244         argument is 1.
8245         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8246         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8247         zero.
8248         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8249         * sysdeps/i386/fpu/libm-test-ulps: Update.
8250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8252 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8254         * scripts/bench.pl: Remove file.
8255         * scripts/bench.py: New benchmark script.
8256         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8257         * benchtests/README: Mention python dependency.
8258         * scripts/pylintrc: New file.
8259         * scripts/pylint: New file.
8261         * bits/mathdef.h: Use #ifdef instead of #if.
8262         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8263         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8264         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8265         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8266         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8267         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8269 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8270             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8272         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8274         and strpbrk-ppc64 objects.
8275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8278         multiarch strpbrk for POWER7.
8279         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8280         multiarch strpbrk for PPC64.
8281         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8282         ifunc selector.
8283         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8284         strpbrk for POWER7.
8286 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8288         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8289         (atan_test): Likewise.
8290         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8291         (atanh_test): Use ALL_RM_TEST.
8292         (atan2_test_data): Likewise.
8293         (cabs_test): Likewise.
8294         (cacosh_test): Likewise.
8295         (carg_test): Likewise.
8296         (casin_test): Likewise.
8297         (casinh_test): Likewise.
8298         (cbrt_test): Likewise.
8299         (csqrt_test): Likewise.
8300         (erf_test): Likewise.
8301         (erfc_test): Likewise.
8302         (pow10_test): Likewise.
8303         (exp2_test): Likewise.
8304         (hypot_test): Likewise.
8305         (j0_test): Likewise.
8306         (j1_test): Likewise.
8307         (lgamma_test): Likewise.
8308         (gamma_test): Likewise.
8309         (sincos_test): Likewise.
8310         (tanh_test): Likewise.
8311         (y0_test): Likewise.
8312         (y1_test): Likewise.
8313         * sysdeps/i386/fpu/libm-test-ulps: Update.
8314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8316 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8318         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8320         and strcspn-ppc64 objects.
8321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8322         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8323         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8324         multiarch strcspn for POWER7.
8325         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8326         multiarch strcspn for PPC64.
8327         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8328         ifunc selector.
8329         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8330         strcspn for POWER7.
8332 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8334         * math/gen-libm-test.pl (generate_testfile): Expect only function
8335         name as argument to AUTO_TESTS_* and pass results for all rounding
8336         modes to parse_args.
8337         (parse_auto_input): Separate inputs of automatic tests from
8338         outputs before storing in %auto_tests.
8339         * math/libm-test.inc (acos_test_data): Update call to
8340         AUTO_TESTS_f_f.
8341         (acos_test): Use ALL_RM_TEST.
8342         (acos_tonearest_test_data): Remove.
8343         (acos_test_tonearest): Likewise.
8344         (acos_towardzero_test_data): Likewise.
8345         (acos_test_towardzero): Likewise.
8346         (acos_downward_test_data): Likewise.
8347         (acos_test_downward): Likewise.
8348         (acos_upward_test_data): Likewise.
8349         (acos_test_upward): Likewise.
8350         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8351         (asin_test_data): Likewise.
8352         (asin_test): Use ALL_RM_TEST.
8353         (asin_tonearest_test_data): Remove.
8354         (asin_test_tonearest): Likewise.
8355         (asin_towardzero_test_data): Likewise.
8356         (asin_test_towardzero): Likewise.
8357         (asin_downward_test_data): Likewise.
8358         (asin_test_downward): Likewise.
8359         (asin_upward_test_data): Likewise.
8360         (asin_test_upward): Likewise.
8361         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8362         (atan_test_data): Likewise.
8363         (atanh_test_data): Likewise.
8364         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8365         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8366         (carg_test_data): Likewise.
8367         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8368         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8369         (ccosh_test_data): Likewise.
8370         (cexp_test_data): Likewise.
8371         (clog_test_data): Likewise.
8372         (clog10_test_data): Likewise.
8373         (cos_test_data): Update call to AUTO_TESTS_f_f.
8374         (cos_test): Use ALL_RM_TEST.
8375         (cos_tonearest_test_data): Remove.
8376         (cos_test_tonearest): Likewise.
8377         (cos_towardzero_test_data): Likewise.
8378         (cos_test_towardzero): Likewise.
8379         (cos_downward_test_data): Likewise.
8380         (cos_test_downward): Likewise.
8381         (cos_upward_test_data): Likewise.
8382         (cos_test_upward): Likewise.
8383         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8384         (cosh_test): Use ALL_RM_TEST.
8385         (cosh_tonearest_test_data): Remove.
8386         (cosh_test_tonearest): Likewise.
8387         (cosh_towardzero_test_data): Likewise.
8388         (cosh_test_towardzero): Likewise.
8389         (cosh_downward_test_data): Likewise.
8390         (cosh_test_downward): Likewise.
8391         (cosh_upward_test_data): Likewise.
8392         (cosh_test_upward): Likewise.
8393         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8394         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8395         (ctan_test_data): Likewise.
8396         (ctan_test): Use ALL_RM_TEST.
8397         (ctan_tonearest_test_data): Remove.
8398         (ctan_test_tonearest): Likewise.
8399         (ctan_towardzero_test_data): Likewise.
8400         (ctan_test_towardzero): Likewise.
8401         (ctan_downward_test_data): Likewise.
8402         (ctan_test_downward): Likewise.
8403         (ctan_upward_test_data): Likewise.
8404         (ctan_test_upward): Likewise.
8405         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8406         (ctanh_test): Use ALL_RM_TEST.
8407         (ctanh_tonearest_test_data): Remove.
8408         (ctanh_test_tonearest): Likewise.
8409         (ctanh_towardzero_test_data): Likewise.
8410         (ctanh_test_towardzero): Likewise.
8411         (ctanh_downward_test_data): Likewise.
8412         (ctanh_test_downward): Likewise.
8413         (ctanh_upward_test_data): Likewise.
8414         (ctanh_test_upward): Likewise.
8415         (erf_test_data): Update call to AUTO_TESTS_f_f.
8416         (erfc_test_data): Likewise.
8417         (exp_test_data): Likewise.
8418         (exp_test): Use ALL_RM_TEST.
8419         (exp_tonearest_test_data): Remove.
8420         (exp_test_tonearest): Likewise.
8421         (exp_towardzero_test_data): Likewise.
8422         (exp_test_towardzero): Likewise.
8423         (exp_downward_test_data): Likewise.
8424         (exp_test_downward): Likewise.
8425         (exp_upward_test_data): Likewise.
8426         (exp_test_upward): Likewise.
8427         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8428         (exp10_test): Use ALL_RM_TEST.
8429         (exp10_tonearest_test_data): Remove.
8430         (exp10_test_tonearest): Likewise.
8431         (exp10_towardzero_test_data): Likewise.
8432         (exp10_test_towardzero): Likewise.
8433         (exp10_downward_test_data): Likewise.
8434         (exp10_test_downward): Likewise.
8435         (exp10_upward_test_data): Likewise.
8436         (exp10_test_upward): Likewise.
8437         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8438         (expm1_test_data): Likewise.
8439         (expm1_test): Use ALL_RM_TEST.
8440         (expm1_tonearest_test_data): Remove.
8441         (expm1_test_tonearest): Likewise.
8442         (expm1_towardzero_test_data): Likewise.
8443         (expm1_test_towardzero): Likewise.
8444         (expm1_downward_test_data): Likewise.
8445         (expm1_test_downward): Likewise.
8446         (expm1_upward_test_data): Likewise.
8447         (expm1_test_upward): Likewise.
8448         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8449         (fma_test): Use ALL_RM_TEST.
8450         (fma_towardzero_test_data): Remove.
8451         (fma_test_towardzero): Likewise.
8452         (fma_downward_test_data): Likewise.
8453         (fma_test_downward): Likewise.
8454         (fma_upward_test_data): Likewise.
8455         (fma_test_upward): Likewise.
8456         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8457         (j0_test_data): Update call to AUTO_TESTS_f_f.
8458         (j1_test_data): Likewise.
8459         (jn_test_data): Update call to AUTO_TESTS_if_f.
8460         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8461         (log_test_data): Update call to AUTO_TESTS_f_f.
8462         (log10_test_data): Likewise.
8463         (log1p_test_data): Likewise.
8464         (log2_test_data): Likewise.
8465         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8466         (pow_tonearest_test_data): Likewise.
8467         (sin_test_data): Update call to AUTO_TESTS_f_f.
8468         (sin_test): Use ALL_RM_TEST.
8469         (sin_tonearest_test_data): Remove.
8470         (sin_test_tonearest): Likewise.
8471         (sin_towardzero_test_data): Likewise.
8472         (sin_test_towardzero): Likewise.
8473         (sin_downward_test_data): Likewise.
8474         (sin_test_downward): Likewise.
8475         (sin_upward_test_data): Likewise.
8476         (sin_test_upward): Likewise.
8477         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8478         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8479         (sinh_test): Use ALL_RM_TEST.
8480         (sinh_tonearest_test_data): Remove.
8481         (sinh_test_tonearest): Likewise.
8482         (sinh_towardzero_test_data): Likewise.
8483         (sinh_test_towardzero): Likewise.
8484         (sinh_downward_test_data): Likewise.
8485         (sinh_test_downward): Likewise.
8486         (sinh_upward_test_data): Likewise.
8487         (sinh_test_upward): Likewise.
8488         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8489         (sqrt_test): Use ALL_RM_TEST.
8490         (sqrt_tonearest_test_data): Remove.
8491         (sqrt_test_tonearest): Likewise.
8492         (sqrt_towardzero_test_data): Likewise.
8493         (sqrt_test_towardzero): Likewise.
8494         (sqrt_downward_test_data): Likewise.
8495         (sqrt_test_downward): Likewise.
8496         (sqrt_upward_test_data): Likewise.
8497         (sqrt_test_upward): Likewise.
8498         (tan_test_data): Update call to AUTO_TESTS_f_f.
8499         (tan_test): Use ALL_RM_TEST.
8500         (tan_tonearest_test_data): Remove.
8501         (tan_test_tonearest): Likewise.
8502         (tan_towardzero_test_data): Likewise.
8503         (tan_test_towardzero): Likewise.
8504         (tan_downward_test_data): Likewise.
8505         (tan_test_downward): Likewise.
8506         (tan_upward_test_data): Likewise.
8507         (tan_test_upward): Likewise.
8508         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8509         (tgamma_test_data): Likewise.
8510         (y0_test_data): Likewise.
8511         (y1_test_data): Likewise.
8512         (yn_test_data): Update call to AUTO_TESTS_if_f.
8513         (main): Do not call removed functions.
8515 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8517         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8518         (ldexp_test_data): Remove.
8519         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8520         scalbn_test_data.
8521         (scalb_test): Use ALL_RM_TEST.
8523 2014-03-19  Andreas Schwab  <schwab@suse.de>
8525         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8527 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #16649]
8530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8531         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8532         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8534         (__ASSUME_PREADV): Undefine.
8535         (__ASSUME_PWRITEV): Likewise.
8537 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8539         * bits/mman-linux.h: Add comment about non-Linux use.
8540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8541         bits/mman-linux.h resting place.
8543         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8544         * bits/mman-linux.h: ... here.
8546 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8548         * conform/conformtest.pl: Add standard definition when calling C
8549         preprocessor on data files.
8550         (checknamespace): Remove unused variable.
8552 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8554         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8555         minus_oflow, plus_uflow and minus_uflow in expected results.
8556         * math/libm-test.inc (scalbn_test_data): Add more tests of
8557         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8558         minus_uflow.
8559         (scalbn_test): Use ALL_RM_TEST.
8560         (scalbln_test_data): Add more tests of negative arguments.  Use
8561         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8562         (scalbln_test): Use ALL_RM_TEST.
8564 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8566         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8568 2014-03-18  Will Newton  <will.newton@linaro.org>
8570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8571         inaccurate comment.
8573 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8575         * Makerules [!subdir] (check-abi): Exit with error status if a
8576         test failed.
8578 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8580         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8581         for rint.  Include results for all rounding modes.
8582         (nearbyint_test): Use ALL_RM_TEST.
8583         (rint_test_data): Include all tests used for nearbyint.
8585 2014-03-17  Will Newton  <will.newton@linaro.org>
8587         * nptl/sysdeps/pthread/pthread.h: Revert previous
8588         change.
8590         * sysdeps/generic/ldsodefs.h: Revert previous
8591         change.
8593         * libio/genops.c: Revert previous change.
8594         * libio/libioP.h: Likewise.
8595         * stdio-common/vfprintf.c: Likewise.
8597         * sysdeps/generic/math_private.h: Revert previous
8598         change.
8600         * sysdeps/generic/math_private.h: Check whether
8601         HAVE_RM_CTX is defined with #ifdef rather
8602         than #if.
8604         * argp/argp-fmtstream.h: Check whether
8605         __STRICT_ANSI__ is defined with #ifdef rather
8606         than #if.
8607         * argp/argp.h: Likewise.
8609         * libio/genops.c: Check whether
8610         _IO_JUMPS_OFFSET is defined with #ifdef rather
8611         than #if.
8612         * libio/libioP.h: Likewise.
8613         * stdio-common/vfprintf.c: Likewise.
8615         * sysdeps/generic/ldsodefs.h: Check whether
8616         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8617         than #if.
8619         * nptl/sysdeps/pthread/pthread.h: Check
8620         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8621         its value.
8623 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8625         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8626         setting O_APPEND.
8627         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8628         test case.
8630         [BZ #16680]
8631         * libio/fileops.c (_IO_file_open): Seek to end of file but
8632         don't cache the offset.
8633         (get_file_offset): Remove function.
8634         (do_ftell): Use cached offset when available.
8635         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8636         don't cache the offset.
8637         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8638         case.
8639         (do_one_test): Call it.
8640         (do_ftell_test): Fix up expected old offset for a+ mode.
8641         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8642         available.
8644         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8645         up test status with function return status.
8646         (do_write_test): Likewise.
8647         (do_append_test): Likewise.
8649         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8650         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8651         Remove.
8653 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8655         * math/gen-libm-test.pl (parse_args): Handle results specified for
8656         each rounding mode separately.
8657         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8658         tests and results from lrint_tonearest_test_data,
8659         lrint_towardzero_test_data, lrint_downward_test_data and
8660         lrint_upward_test_data.
8661         (lrint_test): Use ALL_RM_TEST.
8662         (lrint_tonearest_test_data): Remove.
8663         (lrint_test_tonearest): Likewise.
8664         (lrint_towardzero_test_data): Likewise.
8665         (lrint_test_towardzero): Likewise.
8666         (lrint_downward_test_data): Likewise.
8667         (lrint_test_downward): Likewise.
8668         (lrint_upward_test_data): Likewise.
8669         (lrint_test_upward): Likewise.
8670         (llrint_test_data): Merge in per-rounding-mode tests and results
8671         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8672         llrint_downward_test_data and llrint_upward_test_data.
8673         (llrint_test): Use ALL_RM_TEST.
8674         (llrint_tonearest_test_data): Remove.
8675         (llrint_test_tonearest): Likewise.
8676         (llrint_towardzero_test_data): Likewise.
8677         (llrint_test_towardzero): Likewise.
8678         (llrint_downward_test_data): Likewise.
8679         (llrint_test_downward): Likewise.
8680         (llrint_upward_test_data): Likewise.
8681         (llrint_test_upward): Likewise.
8682         (rint_test_data): Merge in per-rounding-mode tests and results
8683         from rint_tonearest_test_data, rint_towardzero_test_data,
8684         rint_downward_test_data and rint_upward_test_data.  Add
8685         per-rounding-mode results for tests not in those arrays.
8686         (rint_test): Use ALL_RM_TEST.
8687         (rint_tonearest_test_data): Remove.
8688         (rint_test_tonearest): Likewise.
8689         (rint_towardzero_test_data): Likewise.
8690         (rint_test_towardzero): Likewise.
8691         (rint_downward_test_data): Likewise.
8692         (rint_test_downward): Likewise.
8693         (rint_upward_test_data): Likewise.
8694         (rint_test_upward): Likewise.
8695         (main): Don't call removed functions.
8697 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8699         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8700         "Compiled on ..." crapola.  It is anti-useful.
8702 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8704         * scripts/evaluate-test.sh: Handle fourth argument to determine
8705         whether test run should stop on failure.
8706         * Makeconfig (stop-on-test-failure): New variable.
8707         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8708         $(stop-on-test-failure).
8709         * Makefile (tests): Give a summary of results from testing and
8710         exit with failure status if they include an ERROR or FAIL.
8711         (xtests): Likewise.
8712         * manual/install.texi (Configuring and compiling): Mention
8713         stop-on-test-failure=y.
8714         * INSTALL: Regenerated.
8716 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8718         * scripts/versionlist.awk: New file.
8719         * Makerules [$(build-shared) = yes]
8720         (postclean-generated): Add Versions.def, not Versions.def.v and
8721         Versions.def.v.i.
8722         ($(common-objpfx)Versions.def.v.i): Target removed.
8723         ($(common-objpfx)Versions.def): New target.
8724         ($(common-objpfx)Versions.all): Depend on that rather that
8725         $(common-objpfx)Versions.def.v.
8726         * Versions.def: File removed.
8728         * Makeconfig (+gccwarn): Add -Wundef.
8729         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8730         a dl-sysdep.h breaking its contract.
8731         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8732         * include/stackinfo.h: New file.
8733         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8734         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8735         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8736         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8737         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8738         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8739         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8740         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8741         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8742         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8743         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8744         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8745         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8746         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8747         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8749 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8751         [BZ #16707]
8752         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8753         implementation.
8754         * math/libm-test.inc (round_test_data): Add more tests.
8756         [BZ #16706]
8757         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8758         implementation.
8759         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8761         [BZ #16701]
8762         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8763         implementation.
8764         * math/libm-test.inc (ceil_test_data): Add more tests.
8766         * math/libm-test.inc (trunc_test_data): Add more tests related to
8767         BZ#16414.
8769 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8771         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8772         with #if rather than #ifdef.
8773         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8775 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8777         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8778         first.  Disable AVX-512 GCC support if assembler doesn't support
8779         it.
8780         * sysdeps/x86_64/configure: Regenerated.
8782 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8784         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8785         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8786         (__old_pthread_attr_setstack): Likewise.
8787         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8788         [!_STACK_GROWS_DOWN]: Likewise.
8790 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8792         * config.make.in (have-bash2): Delete.
8793         * configure.ac (libc_cv_have_bash2): Delete.
8794         * configure: Regenerate.
8795         * elf/Makefile (common-ldd-rewrite): Rename to ...
8796         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8797         (sh-ldd-rewrite): Delete.
8798         (bash-ldd-rewrite): Delete.
8799         (have-bash2): Delete checks.
8800         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8801         ldd-rewrite.
8803         * config.make.in (have-ksh): Delete.
8804         (KSH): Delete.
8805         * configure.ac (libc_cv_have_ksh): Delete.
8806         * configure: Regenerate.
8808         * elf/Makefile: Delete $(have-ksh) check.
8809         ($(objpfx)sotruss): Change KSH to BASH.
8810         * elf/sotruss.ksh: Rename to ...
8811         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8812         function style to match POSIX.  Drop ksh vim mode setting.
8814         * manual/time.texi (Specifying the Time Zone with TZ): Change
8815         Tuesday to Thursday.
8817         * debug/tst-longjmp_chk2.c: Update header comment.
8818         (stackoverflow_handler): Add comment.  Call assert on pass value.
8820 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8822         [BZ #16194]
8823         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8824         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8825         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8826         (La_x86_64_vector): Add zmm.
8827         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8828         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8829         ($(objpfx)tst-audit10): New target.
8830         ($(objpfx)tst-audit10.out): Likewise.
8831         (tst-audit10-ENV): New.
8832         (AVX512-CFLAGS): Likewise.
8833         (CFLAGS-tst-audit10.c): Likewise.
8834         (CFLAGS-tst-auditmod10a.c): Likewise.
8835         (CFLAGS-tst-auditmod10b.c): Likewise.
8836         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8837         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8838         * sysdeps/x86_64/configure: Regenerated.
8839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8840         AVX-512 zmm register support.
8841         (_dl_x86_64_save_sse): Likewise.
8842         (_dl_x86_64_restore_sse): Likewise.
8843         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8844         size vector registers.
8845         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8846         (ZMM_SIZE): Likewise.
8847         * sysdeps/x86_64/tst-audit10.c: New file.
8848         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8849         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8851 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8853         * configure.ac (HAVE_EHDR_START): New check.
8854         * configure: Regenerated.
8855         * config.h.in (HAVE_EHDR_START): New #undef.
8856         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8857         assuming the lowest-addressed segment maps the start of the file.
8859 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8861         * INSTALL: Regenerated.
8863 2014-03-13  Will Newton  <will.newton@linaro.org>
8865         * manual/setjmp.texi (System V contexts): Improve
8866         clarity and grammar of documentation.
8868 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8870         [BZ #16381]
8871         * elf/Makefile (tests): Add tst-pie2.
8872         (tests-pie): Add tst-pie2.
8873         * elf/tst-pie2.c: New file.
8874         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8875         for ET_EXEC.
8876         * elf/rtld.c (map_doit): Load executable as lt_executable.
8877         (dl_main): Likewise.
8879 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8881         [BZ #16642]
8882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8883         (__ASSUME_PSELECT): Undefine.
8885 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8887         [BZ #16689]
8888         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8889         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8890         static build.
8891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8892         selector for static builds.
8894 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8896         [BZ #16695]
8897         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8898         key in the buffer.
8900 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8902         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8903         IFUNC selector for static builds.
8905 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8907         * sysdeps/mips/math_private.h [__mips_hard_float]
8908         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8909         libc_feresetround_mips_ctx.
8910         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8911         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8912         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8914         [BZ #16677]
8915         * math/s_nextafter.c (__nextafter): Do not return value from
8916         overflowing computation.
8917         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8918         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8920         Likewise.
8921         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8922         Likewise.
8923         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8924         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8926 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8928         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8929         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8930         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8931         the new mov targetting sp.
8933 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8935         [BZ #16683]
8936         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8937         Define it for static builds as well.
8938         (NO_BZERO_IMPL): Likewise.
8940 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8942         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8943         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8944         multiarch strspn for PPC64.
8945         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8946         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8948         (__libc_ifunc_impl_list): Likewise.
8949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8950         multiarch optimizations
8951         * string/strspn.c (strspn): Using macro to redefine symbol name.
8953 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8956         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8957         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8958         multiarch strncat for PPC64.
8959         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8960         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8962         (__libc_ifunc_impl_list): Likewise.
8963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8964         multiarch optimizations
8966 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8968         [BZ #16639]
8969         * nscd/nscd.service: Make service type forking.
8971 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8973         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8974         sign in non default rounding modes.
8975         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8977 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8979         * math/libm-test.inc (ALL_RM_TEST): New macro.
8980         (ceil_test): Use ALL_RM_TEST.
8981         (cimag_test): Likewise.
8982         (conj_test): Likewise.
8983         (copysign_test): Likewise.
8984         (cproj_test): Likewise.
8985         (creal_test): Likewise.
8986         (fabs_test): Likewise.
8987         (floor_test): Likewise.
8988         (fmax_test): Likewise.
8989         (fmin_test): Likewise.
8990         (fmod_test): Likewise.
8991         (fpclassify_test): Likewise.
8992         (frexp_test): Likewise.
8993         (ilogb_test): Likewise.
8994         (isfinite_test): Likewise.
8995         (finite_test): Likewise.
8996         (isgreater_test): Likewise.
8997         (isgreaterequal_test): Likewise.
8998         (isinf_test): Likewise.
8999         (isless_test): Likewise.
9000         (islessequal_test): Likewise.
9001         (islessgreater_test): Likewise.
9002         (isnan_test): Likewise.
9003         (isnormal_test): Likewise.
9004         (issignaling_test): Likewise.
9005         (isunordered_test): Likewise.
9006         (logb_test): Likewise.
9007         (logb_downward_test_data): Remove.
9008         (logb_test_downward): Likewise.
9009         (lround_test): Use ALL_RM_TEST.
9010         (llround_test): Likewise.
9011         (modf_test): Likewise.
9012         (nexttoward_test): Likewise.
9013         (remainder_test): Likewise.
9014         (drem_test): Likewise.
9015         (remainder_tonearest_test_data): Likewise.
9016         (remainder_test_tonearest): Likewise.
9017         (drem_test_tonearest): Likewise.
9018         (remainder_towardzero_test_data): Likewise.
9019         (remainder_test_towardzero): Likewise.
9020         (drem_test_towardzero): Likewise.
9021         (remainder_downward_test_data): Likewise.
9022         (remainder_test_downward): Likewise.
9023         (drem_test_downward): Likewise.
9024         (remainder_upward_test_data): Likewise.
9025         (remainder_test_upward): Likewise.
9026         (drem_test_upward): Likewise.
9027         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9028         (round_test): Use ALL_RM_TEST.
9029         (signbit_test): Likewise.
9030         (trunc_test): Likewise.
9031         (significand_test): Likewise.
9032         (main): Don't call removed functions.
9034 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9036         [BZ #16674]
9037         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9038         || __USE_XOPEN2K8].
9039         (ILL_ILLOPN): Likewise.
9040         (ILL_ILLADR): Likewise.
9041         (ILL_ILLTRP): Likewise.
9042         (ILL_PRVOPC): Likewise.
9043         (ILL_PRVREG): Likewise.
9044         (ILL_COPROC): Likewise.
9045         (ILL_BADSTK): Likewise.
9046         (FPE_INTDIV): Likewise.
9047         (FPE_INTOVF): Likewise.
9048         (FPE_FLTDIV): Likewise.
9049         (FPE_FLTOVF): Likewise.
9050         (FPE_FLTUND): Likewise.
9051         (FPE_FLTRES): Likewise.
9052         (FPE_FLTINV): Likewise.
9053         (FPE_FLTSUB): Likewise.
9054         (SEGV_MAPERR): Likewise.
9055         (SEGV_ACCERR): Likewise.
9056         (BUS_ADRALN): Likewise.
9057         (BUS_ADRERR): Likewise.
9058         (BUS_OBJERR): Likewise.
9059         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9060         (TRAP_TRACE): Likewise.
9061         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9062         __USE_XOPEN2K8].
9063         (CLD_KILLED): Likewise.
9064         (CLD_DUMPED): Likewise.
9065         (CLD_TRAPPED): Likewise.
9066         (CLD_STOPPED): Likewise.
9067         (CLD_CONTINUED): Likewise.
9068         (POLL_IN): Likewise.
9069         (POLL_OUT): Likewise.
9070         (POLL_MSG): Likewise.
9071         (POLL_ERR): Likewise.
9072         (POLL_PRI): Likewise.
9073         (POLL_HUP): Likewise.
9074         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9075         Likewise.
9076         (ILL_ILLOPN): Likewise.
9077         (ILL_ILLADR): Likewise.
9078         (ILL_ILLTRP): Likewise.
9079         (ILL_PRVOPC): Likewise.
9080         (ILL_PRVREG): Likewise.
9081         (ILL_COPROC): Likewise.
9082         (ILL_BADSTK): Likewise.
9083         (FPE_INTDIV): Likewise.
9084         (FPE_INTOVF): Likewise.
9085         (FPE_FLTDIV): Likewise.
9086         (FPE_FLTOVF): Likewise.
9087         (FPE_FLTUND): Likewise.
9088         (FPE_FLTRES): Likewise.
9089         (FPE_FLTINV): Likewise.
9090         (FPE_FLTSUB): Likewise.
9091         (SEGV_MAPERR): Likewise.
9092         (SEGV_ACCERR): Likewise.
9093         (BUS_ADRALN): Likewise.
9094         (BUS_ADRERR): Likewise.
9095         (BUS_OBJERR): Likewise.
9096         (BUS_MCEERR_AR): Likewise.
9097         (BUS_MCEERR_AO): Likewise.
9098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9099         (TRAP_TRACE): Likewise.
9100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9101         __USE_XOPEN2K8].
9102         (CLD_KILLED): Likewise.
9103         (CLD_DUMPED): Likewise.
9104         (CLD_TRAPPED): Likewise.
9105         (CLD_STOPPED): Likewise.
9106         (CLD_CONTINUED): Likewise.
9107         (POLL_IN): Likewise.
9108         (POLL_OUT): Likewise.
9109         (POLL_MSG): Likewise.
9110         (POLL_ERR): Likewise.
9111         (POLL_PRI): Likewise.
9112         (POLL_HUP): Likewise.
9113         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9114         (ILL_ILLOPN): Likewise.
9115         (ILL_ILLADR): Likewise.
9116         (ILL_ILLTRP): Likewise.
9117         (ILL_PRVOPC): Likewise.
9118         (ILL_PRVREG): Likewise.
9119         (ILL_COPROC): Likewise.
9120         (ILL_BADSTK): Likewise.
9121         (FPE_INTDIV): Likewise.
9122         (FPE_INTOVF): Likewise.
9123         (FPE_FLTDIV): Likewise.
9124         (FPE_FLTOVF): Likewise.
9125         (FPE_FLTUND): Likewise.
9126         (FPE_FLTRES): Likewise.
9127         (FPE_FLTINV): Likewise.
9128         (FPE_FLTSUB): Likewise.
9129         (SEGV_MAPERR): Likewise.
9130         (SEGV_ACCERR): Likewise.
9131         (BUS_ADRALN): Likewise.
9132         (BUS_ADRERR): Likewise.
9133         (BUS_OBJERR): Likewise.
9134         (BUS_MCEERR_AR): Likewise.
9135         (BUS_MCEERR_AO): Likewise.
9136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9137         (TRAP_TRACE): Likewise.
9138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9139         __USE_XOPEN2K8].
9140         (CLD_KILLED): Likewise.
9141         (CLD_DUMPED): Likewise.
9142         (CLD_TRAPPED): Likewise.
9143         (CLD_STOPPED): Likewise.
9144         (CLD_CONTINUED): Likewise.
9145         (POLL_IN): Likewise.
9146         (POLL_OUT): Likewise.
9147         (POLL_MSG): Likewise.
9148         (POLL_ERR): Likewise.
9149         (POLL_PRI): Likewise.
9150         (POLL_HUP): Likewise.
9151         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9152         Likewise.
9153         (ILL_ILLOPN): Likewise.
9154         (ILL_ILLADR): Likewise.
9155         (ILL_ILLTRP): Likewise.
9156         (ILL_PRVOPC): Likewise.
9157         (ILL_PRVREG): Likewise.
9158         (ILL_COPROC): Likewise.
9159         (ILL_BADSTK): Likewise.
9160         (ILL_BADIADDR): Likewise.
9161         (ILL_BREAK): Likewise.
9162         (FPE_INTDIV): Likewise.
9163         (FPE_INTOVF): Likewise.
9164         (FPE_FLTDIV): Likewise.
9165         (FPE_FLTOVF): Likewise.
9166         (FPE_FLTUND): Likewise.
9167         (FPE_FLTRES): Likewise.
9168         (FPE_FLTINV): Likewise.
9169         (FPE_FLTSUB): Likewise.
9170         (FPE_DECOVF): Likewise.
9171         (FPE_DECDIV): Likewise.
9172         (FPE_DECERR): Likewise.
9173         (FPE_INVASC): Likewise.
9174         (FPE_INVDEC): Likewise.
9175         (SEGV_MAPERR): Likewise.
9176         (SEGV_ACCERR): Likewise.
9177         (SEGV_PSTKOVF): Likewise.
9178         (BUS_ADRALN): Likewise.
9179         (BUS_ADRERR): Likewise.
9180         (BUS_OBJERR): Likewise.
9181         (BUS_MCEERR_AR): Likewise.
9182         (BUS_MCEERR_AO): Likewise.
9183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9184         (TRAP_TRACE): Likewise.
9185         (TRAP_BRANCH): Likewise.
9186         (TRAP_HWBKPT): Likewise.
9187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9188         __USE_XOPEN2K8].
9189         (CLD_KILLED): Likewise.
9190         (CLD_DUMPED): Likewise.
9191         (CLD_TRAPPED): Likewise.
9192         (CLD_STOPPED): Likewise.
9193         (CLD_CONTINUED): Likewise.
9194         (POLL_IN): Likewise.
9195         (POLL_OUT): Likewise.
9196         (POLL_MSG): Likewise.
9197         (POLL_ERR): Likewise.
9198         (POLL_PRI): Likewise.
9199         (POLL_HUP): Likewise.
9200         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9201         (ILL_ILLOPN): Likewise.
9202         (ILL_ILLADR): Likewise.
9203         (ILL_ILLTRP): Likewise.
9204         (ILL_PRVOPC): Likewise.
9205         (ILL_PRVREG): Likewise.
9206         (ILL_COPROC): Likewise.
9207         (ILL_BADSTK): Likewise.
9208         (FPE_INTDIV): Likewise.
9209         (FPE_INTOVF): Likewise.
9210         (FPE_FLTDIV): Likewise.
9211         (FPE_FLTOVF): Likewise.
9212         (FPE_FLTUND): Likewise.
9213         (FPE_FLTRES): Likewise.
9214         (FPE_FLTINV): Likewise.
9215         (FPE_FLTSUB): Likewise.
9216         (SEGV_MAPERR): Likewise.
9217         (SEGV_ACCERR): Likewise.
9218         (BUS_ADRALN): Likewise.
9219         (BUS_ADRERR): Likewise.
9220         (BUS_OBJERR): Likewise.
9221         (BUS_MCEERR_AR): Likewise.
9222         (BUS_MCEERR_AO): Likewise.
9223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9224         (TRAP_TRACE): Likewise.
9225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9226         __USE_XOPEN2K8].
9227         (CLD_KILLED): Likewise.
9228         (CLD_DUMPED): Likewise.
9229         (CLD_TRAPPED): Likewise.
9230         (CLD_STOPPED): Likewise.
9231         (CLD_CONTINUED): Likewise.
9232         (POLL_IN): Likewise.
9233         (POLL_OUT): Likewise.
9234         (POLL_MSG): Likewise.
9235         (POLL_ERR): Likewise.
9236         (POLL_PRI): Likewise.
9237         (POLL_HUP): Likewise.
9238         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9239         (ILL_ILLOPN): Likewise.
9240         (ILL_ILLADR): Likewise.
9241         (ILL_ILLTRP): Likewise.
9242         (ILL_PRVOPC): Likewise.
9243         (ILL_PRVREG): Likewise.
9244         (ILL_COPROC): Likewise.
9245         (ILL_BADSTK): Likewise.
9246         (FPE_INTDIV): Likewise.
9247         (FPE_INTOVF): Likewise.
9248         (FPE_FLTDIV): Likewise.
9249         (FPE_FLTOVF): Likewise.
9250         (FPE_FLTUND): Likewise.
9251         (FPE_FLTRES): Likewise.
9252         (FPE_FLTINV): Likewise.
9253         (FPE_FLTSUB): Likewise.
9254         (SEGV_MAPERR): Likewise.
9255         (SEGV_ACCERR): Likewise.
9256         (BUS_ADRALN): Likewise.
9257         (BUS_ADRERR): Likewise.
9258         (BUS_OBJERR): Likewise.
9259         (BUS_MCEERR_AR): Likewise.
9260         (BUS_MCEERR_AO): Likewise.
9261         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9262         (TRAP_TRACE): Likewise.
9263         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9264         __USE_XOPEN2K8].
9265         (CLD_KILLED): Likewise.
9266         (CLD_DUMPED): Likewise.
9267         (CLD_TRAPPED): Likewise.
9268         (CLD_STOPPED): Likewise.
9269         (CLD_CONTINUED): Likewise.
9270         (POLL_IN): Likewise.
9271         (POLL_OUT): Likewise.
9272         (POLL_MSG): Likewise.
9273         (POLL_ERR): Likewise.
9274         (POLL_PRI): Likewise.
9275         (POLL_HUP): Likewise.
9276         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9277         (ILL_ILLOPN): Likewise.
9278         (ILL_ILLADR): Likewise.
9279         (ILL_ILLTRP): Likewise.
9280         (ILL_PRVOPC): Likewise.
9281         (ILL_PRVREG): Likewise.
9282         (ILL_COPROC): Likewise.
9283         (ILL_BADSTK): Likewise.
9284         (FPE_INTDIV): Likewise.
9285         (FPE_INTOVF): Likewise.
9286         (FPE_FLTDIV): Likewise.
9287         (FPE_FLTOVF): Likewise.
9288         (FPE_FLTUND): Likewise.
9289         (FPE_FLTRES): Likewise.
9290         (FPE_FLTINV): Likewise.
9291         (FPE_FLTSUB): Likewise.
9292         (SEGV_MAPERR): Likewise.
9293         (SEGV_ACCERR): Likewise.
9294         (BUS_ADRALN): Likewise.
9295         (BUS_ADRERR): Likewise.
9296         (BUS_OBJERR): Likewise.
9297         (BUS_MCEERR_AR): Likewise.
9298         (BUS_MCEERR_AO): Likewise.
9299         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9300         (TRAP_TRACE): Likewise.
9301         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9302         __USE_XOPEN2K8].
9303         (CLD_KILLED): Likewise.
9304         (CLD_DUMPED): Likewise.
9305         (CLD_TRAPPED): Likewise.
9306         (CLD_STOPPED): Likewise.
9307         (CLD_CONTINUED): Likewise.
9308         (POLL_IN): Likewise.
9309         (POLL_OUT): Likewise.
9310         (POLL_MSG): Likewise.
9311         (POLL_ERR): Likewise.
9312         (POLL_PRI): Likewise.
9313         (POLL_HUP): Likewise.
9314         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9315         (ILL_ILLOPN): Likewise.
9316         (ILL_ILLADR): Likewise.
9317         (ILL_ILLTRP): Likewise.
9318         (ILL_PRVOPC): Likewise.
9319         (ILL_PRVREG): Likewise.
9320         (ILL_COPROC): Likewise.
9321         (ILL_BADSTK): Likewise.
9322         (ILL_DBLFLT): Likewise.
9323         (ILL_HARDWALL): Likewise.
9324         (FPE_INTDIV): Likewise.
9325         (FPE_INTOVF): Likewise.
9326         (FPE_FLTDIV): Likewise.
9327         (FPE_FLTOVF): Likewise.
9328         (FPE_FLTUND): Likewise.
9329         (FPE_FLTRES): Likewise.
9330         (FPE_FLTINV): Likewise.
9331         (FPE_FLTSUB): Likewise.
9332         (SEGV_MAPERR): Likewise.
9333         (SEGV_ACCERR): Likewise.
9334         (BUS_ADRALN): Likewise.
9335         (BUS_ADRERR): Likewise.
9336         (BUS_OBJERR): Likewise.
9337         (BUS_MCEERR_AR): Likewise.
9338         (BUS_MCEERR_AO): Likewise.
9339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9340         (TRAP_TRACE): Likewise.
9341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9342         __USE_XOPEN2K8].
9343         (CLD_KILLED): Likewise.
9344         (CLD_DUMPED): Likewise.
9345         (CLD_TRAPPED): Likewise.
9346         (CLD_STOPPED): Likewise.
9347         (CLD_CONTINUED): Likewise.
9348         (POLL_IN): Likewise.
9349         (POLL_OUT): Likewise.
9350         (POLL_MSG): Likewise.
9351         (POLL_ERR): Likewise.
9352         (POLL_PRI): Likewise.
9353         (POLL_HUP): Likewise.
9354         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9355         (ILL_ILLOPN): Likewise.
9356         (ILL_ILLADR): Likewise.
9357         (ILL_ILLTRP): Likewise.
9358         (ILL_PRVOPC): Likewise.
9359         (ILL_PRVREG): Likewise.
9360         (ILL_COPROC): Likewise.
9361         (ILL_BADSTK): Likewise.
9362         (FPE_INTDIV): Likewise.
9363         (FPE_INTOVF): Likewise.
9364         (FPE_FLTDIV): Likewise.
9365         (FPE_FLTOVF): Likewise.
9366         (FPE_FLTUND): Likewise.
9367         (FPE_FLTRES): Likewise.
9368         (FPE_FLTINV): Likewise.
9369         (FPE_FLTSUB): Likewise.
9370         (SEGV_MAPERR): Likewise.
9371         (SEGV_ACCERR): Likewise.
9372         (BUS_ADRALN): Likewise.
9373         (BUS_ADRERR): Likewise.
9374         (BUS_OBJERR): Likewise.
9375         (BUS_MCEERR_AR): Likewise.
9376         (BUS_MCEERR_AO): Likewise.
9377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9378         (TRAP_TRACE): Likewise.
9379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9380         __USE_XOPEN2K8].
9381         (CLD_KILLED): Likewise.
9382         (CLD_DUMPED): Likewise.
9383         (CLD_TRAPPED): Likewise.
9384         (CLD_STOPPED): Likewise.
9385         (CLD_CONTINUED): Likewise.
9386         (POLL_IN): Likewise.
9387         (POLL_OUT): Likewise.
9388         (POLL_MSG): Likewise.
9389         (POLL_ERR): Likewise.
9390         (POLL_PRI): Likewise.
9391         (POLL_HUP): Likewise.
9392         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9393         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9395         [BZ #16670]
9396         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9397         before #include of <time.h>.
9398         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9399         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9400         (test-xfail-UNIX98/sched.h/conform): Likewise.
9402 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9404         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9405         error absence of trapping exception support.
9406         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9408 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9410         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9411         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9412         * timezone/Makefile (testdata): Move definition above include of
9413         Rules.
9414         (test-zones): New variable.
9415         (tests-special): Add zone files.
9416         (build-testdata): Use $(evaluate-test).
9418         * elf/Makefile (tests-special): Rename tests to end with .out.
9419         ($(objpfx)noload-mem): Likewise.
9420         ($(objpfx)tst-leaks1-mem): Likewise.
9421         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9422         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9423         $(objpfx)test-iconvconfig.out.
9424         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9425         set -e inside subshell and redirect output to file.
9426         * iconvdata/Makefile (generated): Rename tests to end with .out.
9427         Correct type.
9428         (tests-special): Rename tests to end with .out.
9429         ($(objpfx)mtrace-tst-loading): Likewise.
9430         * intl/Makefile (generated): Likewise.
9431         (tests-special): Likewise.
9432         ($(objpfx)mtrace-tst-gettext): Likewise.
9433         * misc/Makefile (generated): Likewise.
9434         (tests-special): Likewise.
9435         ($(objpfx)tst-error1-mem): Likewise.
9436         * nptl/Makefile (tests-special): Likewise.
9437         ($(objpfx)tst-stack3-mem): Likewise.
9438         (generated): Likewise.
9439         * posix/Makefile (generated): Likewise.
9440         (tests-special): Likewise.
9441         (xtests-special): Likewise.
9442         ($(objpfx)tst-fnmatch-mem): Likewise.
9443         ($(objpfx)bug-regex2-mem): Likewise.
9444         ($(objpfx)bug-regex14-mem): Likewise.
9445         ($(objpfx)bug-regex21-mem): Likewise.
9446         ($(objpfx)bug-regex31-mem): Likewise.
9447         ($(objpfx)tst-vfork3-mem): Likewise.
9448         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9449         ($(objpfx)tst-pcre-mem): Likewise.
9450         ($(objpfx)tst-boost-mem): Likewise.
9451         ($(objpfx)bug-ga2-mem): Likewise.
9452         ($(objpfx)bug-glob2-mem): Likewise.
9453         * resolv/Makefile (generate): Likewise.
9454         (tests-special): Likewise.
9455         (xtests-special): Likewise.
9456         (generated): Likewise.
9457         ($(objpfx)mtrace-tst-leaks): Likewise.
9458         ($(objpfx)mtrace-tst-leaks2): Likewise.
9460         * scripts/merge-test-results.sh: New file.
9461         * Makefile (tests-special-notdir): New variable.
9462         (tests): Run merge-test-results.sh.
9463         (xtests): Likewise.
9464         * Rules (tests-special-notdir): New variable.
9465         (xtests-special-notdir): Likewise.
9466         (tests): Run merge-test-results.sh
9467         (xtests): Likewise.
9469         * Makeconfig (test-xfail-name): New variable.
9470         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9471         compute variable name for expected failures.
9472         * conform/Makefile (conformtest-headers-data): New variable.
9473         (conformtest-standards): Likewise.
9474         (conformtest-headers-ISO): Likewise.
9475         (conformtest-headers-ISO99): Likewise.
9476         (conformtest-headers-ISO11): Likewise.
9477         (conformtest-headers-POSIX): Likewise.
9478         (conformtest-headers-XPG3): Likewise.
9479         (conformtest-headers-XPG4): Likewise.
9480         (conformtest-headers-UNIX98): Likewise.
9481         (conformtest-headers-XOPEN2K): Likewise.
9482         (conformtest-headers-POSIX2008): Likewise.
9483         (conformtest-headers-XOPEN2K8): Likewise.
9484         (conformtest-header-list-base): Likewise.
9485         (conformtest-header-list-tests): Likewise.
9486         (conformtest-header-base): Likewise.
9487         (conformtest-header-tests): Likewise.
9488         (tests-special): Add $(conformtest-header-list-tests).  If
9489         [$(fast-check) && !$(cross-compiling)], add
9490         $(conformtest-header-tests) instead of
9491         $(objpfx)run-conformtest.out.
9492         (generated): Add $(conformtest-header-list-base).  If
9493         [$(fast-check) && !$(cross-compiling)], add
9494         $(conformtest-header-base).  Remove previous setting.
9495         ($(conformtest-header-list-tests)): New target.
9496         (test-xfail-run-conformtest): Remove variable.
9497         ($(objpfx)run-conformtest.out): Remove target.
9498         (test-xfail-ISO11/complex.h/conform): New variable.
9499         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9500         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9501         (test-xfail-XPG3/varargs.h/conform): Likewise.
9502         (test-xfail-XPG4/varargs.h/conform): Likewise.
9503         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9504         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9505         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9506         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9507         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9508         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9509         (test-xfail-XPG3/ftw.h/conform): Likewise.
9510         (test-xfail-XPG3/grp.h/conform): Likewise.
9511         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9512         (test-xfail-XPG3/limits.h/conform): Likewise.
9513         (test-xfail-XPG3/pwd.h/conform): Likewise.
9514         (test-xfail-XPG3/search.h/conform): Likewise.
9515         (test-xfail-XPG3/signal.h/conform): Likewise.
9516         (test-xfail-XPG3/stdio.h/conform): Likewise.
9517         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9518         (test-xfail-XPG3/string.h/conform): Likewise.
9519         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9520         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9521         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9522         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9523         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9524         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9525         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9526         (test-xfail-XPG3/termios.h/conform): Likewise.
9527         (test-xfail-XPG3/time.h/conform): Likewise.
9528         (test-xfail-XPG3/unistd.h/conform): Likewise.
9529         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9530         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9531         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9532         (test-xfail-XPG4/netdb.h/conform): Likewise.
9533         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9534         (test-xfail-XPG4/signal.h/conform): Likewise.
9535         (test-xfail-XPG4/stdio.h/conform): Likewise.
9536         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9537         (test-xfail-XPG4/stropts.h/conform): Likewise.
9538         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9539         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9540         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9541         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9542         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9543         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9544         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9545         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9546         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9547         (test-xfail-XPG4/termios.h/conform): Likewise.
9548         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9549         (test-xfail-XPG4/unistd.h/conform): Likewise.
9550         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9551         (test-xfail-POSIX/sched.h/conform): Likewise.
9552         (test-xfail-POSIX/signal.h/conform): Likewise.
9553         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9554         (test-xfail-POSIX/tar.h/conform): Likewise.
9555         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9556         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9557         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9558         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9559         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9560         (test-xfail-UNIX98/sched.h/conform): Likewise.
9561         (test-xfail-UNIX98/signal.h/conform): Likewise.
9562         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9563         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9564         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9565         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9566         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9567         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9568         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9569         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9570         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9571         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9572         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9573         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9574         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9575         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9576         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9577         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9578         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9579         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9580         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9581         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9582         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9583         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9584         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9585         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9586         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9587         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9588         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9589         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9590         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9591         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9592         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9593         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9594         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9595         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9596         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9597         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9598         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9599         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9600         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9601         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9602         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9603         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9604         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9605         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9606         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9607         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9608         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9609         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9610         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9611         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9612         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9613         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9614         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9615         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9616         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9617         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9618         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9619         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9620         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9621         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9622         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9623         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9624         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9625         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9626         (conformtest-cc-flags): Likewise.
9627         ($(conformtest-header-tests): New target.
9628         * conform/check-header-lists.sh: New file.
9629         * conform/run-conformtest.sh: Remove.
9631         * conform/conformtest.pl: Allow ' and \ in values given for
9632         constants.
9633         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9634         inclusion.
9635         [POSIX] (sys/types.h): Likewise.
9636         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9637         inclusion.
9638         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9639         inclusion.
9640         * conform/data/signal.h-data (SIGIO): Remove expectation.
9641         [XPG3] (SIGBUS): Do not expect.
9642         [POSIX || XPG3] (SIGPOLL): Likewise.
9643         [POSIX || XPG3] (SIGPROF): Likewise.
9644         [POSIX || XPG3] (SIGSYS): Likewise.
9645         [XPG3] (SIGTRAP): Likewise.
9646         [POSIX || XPG3] (SIGURG): Likewise.
9647         [POSIX || XPG3] (SIGVTALRM): Likewise.
9648         [POSIX || XPG3] (SIGXCPU): Likewise.
9649         [POSIX || XPG3] (SIGXFSZ): Likewise.
9650         [POSIX] (SA_SIGINFO): Expect.
9651         [XPG3] (siginfo_t): Do not expect type or contents.
9652         [POSIX] (si_pid): Do not expect element.
9653         [POSIX] (si_uid): Likewise.
9654         [POSIX] (si_addr): Likewise.
9655         [POSIX] (si_status): Likewise.
9656         [POSIX] (si_band): Likewise.
9657         [XPG4] (si_value): Likewise.
9658         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9659         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9660         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9661         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9662         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9663         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9664         [POSIX || XPG3] (ILL_COPROC): Likewise.
9665         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9666         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9667         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9668         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9669         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9670         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9671         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9672         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9673         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9674         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9675         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9676         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9677         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9678         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9679         [POSIX || XPG3] (CLD_EXITED): Likewise.
9680         [POSIX || XPG3] (CLD_KILLED): Likewise.
9681         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9682         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9683         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9684         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9685         [POSIX || XPG3] (POLL_IN): Likewise.
9686         [POSIX || XPG3] (POLL_OUT): Likewise.
9687         [POSIX || XPG3] (POLL_MSG): Likewise.
9688         [POSIX || XPG3] (POLL_ERR): Likewise.
9689         [POSIX || XPG3] (POLL_PRI): Likewise.
9690         [POSIX || XPG3] (POLL_HUP): Likewise.
9691         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9692         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9693         (SIG*): Do not allow.
9694         [XPG3] (si_*): Likewise.
9695         [XPG3] (SI_*): Likewise.
9696         [XPG3 || XPG4] (sigev_*): Likewise.
9697         [XPG3 || XPG4] (SIGEV_*): Likewise.
9698         [XPG3 || XPG4] (sival_*): Likewise.
9699         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9700         [POSIX || XPG3] (BUS_*): Likewise.
9701         [POSIX || XPG3] (CLD_*): Likewise.
9702         [POSIX || XPG3] (FPE_*): Likewise.
9703         [POSIX || XPG3] (ILL_*): Likewise.
9704         [POSIX || XPG3] (POLL_*): Likewise.
9705         [POSIX || XPG3] (SEGV_*): Likewise.
9706         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9707         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9708         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9709         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9710         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9711         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9712         Specify type and value.
9713         (TVERSLEN): Likewise.
9714         (REGTYPE): Likewise.
9715         (AREGTYPE): Likewise.
9716         (LNKTYPE): Likewise.
9717         (SYMTYPE): Likewise.
9718         (CHRTYPE): Likewise.
9719         (BLKTYPE): Likewise.
9720         (DIRTYPE): Likewise.
9721         (FIFOTYPE): Likewise.
9722         (CONTTYPE): Likewise.
9723         (TSUID): Likewise.
9724         (TSGID): Likewise.
9725         (TSVTX): Likewise.
9726         (TUREAD): Likewise.
9727         (TUWRITE): Likewise.
9728         (TUEXEC): Likewise.
9729         (TGREAD): Likewise.
9730         (TGWRITE): Likewise.
9731         (TGEXEC): Likewise.
9732         (TOREAD): Likewise.
9733         (TOWRITE): Likewise.
9734         (TOEXEC): Likewise.
9735         [POSIX] (TSVTX): Expect constant.
9737 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9739         * Makefile (tests): Change dependencies to ....
9740         (tests-special): ... additions to this variable.
9741         (tests): Depend on $(tests-special).
9742         * Makerules (check-abi-list): New variable.
9743         (check-abi): Depend on $(check-abi-list).
9744         [$(subdir) = elf] (tests-special): Add
9745         $(objpfx)check-abi-libc.out.
9746         [$(build-shared) = yes && subdir] (tests-special): Add
9747         $(check-abi-list).
9748         [$(build-shared) = yes && subdir] (tests): Do not depend on
9749         check-abi.
9750         * Rules (tests): Depend on $(tests-special).
9751         (xtests): Depend on $(xtests-special).
9752         * catgets/Makefile (tests): Change dependencies to ....
9753         (tests-special): ... additions to this variable.
9754         * conform/Makefile (tests): Change dependencies to ....
9755         (tests-special): ... additions to this variable.
9756         * elf/Makefile (tests): Change dependencies to ....
9757         (tests-special): ... additions to this variable.
9758         * grp/Makefile (tests): Change dependencies to ....
9759         (tests-special): ... additions to this variable.
9760         * iconv/Makefile (xtests): Change dependencies to ....
9761         (xtests-special): ... additions to this variable.
9762         * iconvdata/Makefile (tests): Change dependencies to ....
9763         (tests-special): ... additions to this variable.
9764         * intl/Makefile (tests): Change dependencies to ....
9765         (tests-special): ... additions to this variable.  Also add
9766         $(objpfx)tst-gettext.out.
9767         * io/Makefile (tests): Change dependencies to ....
9768         (tests-special): ... additions to this variable.
9769         * libio/Makefile (tests): Change dependencies to ....
9770         (tests-special): ... additions to this variable.
9771         * malloc/Makefile (tests): Change dependencies to ....
9772         (tests-special): ... additions to this variable.
9773         * misc/Makefile (tests): Change dependencies to ....
9774         (tests-special): ... additions to this variable.
9775         * nptl/Makefile (tests): Change dependencies to ....
9776         (tests-special): ... additions to this variable.
9777         * nptl_db/Makefile (tests): Change dependencies to ....
9778         (tests-special): ... additions to this variable.
9779         * posix/Makefile (tests): Change dependencies to ....
9780         (tests-special): ... additions to this variable.
9781         (xtests): Change dependencies to ....
9782         (xtests-special): ... additions to this variable.
9783         * resolv/Makefile (tests): Change dependencies to ....
9784         (tests-special): ... additions to this variable.
9785         (xtests): Change dependencies to ....
9786         (xtests-special): ... additions to this variable.
9787         * stdio-common/Makefile (tests): Change dependencies to ....
9788         (tests-special): ... additions to this variable.
9789         (do-tst-unbputc): Remove target.
9790         (do-tst-printf): Likewise.
9791         * stdlib/Makefile (tests): Change dependencies to ....
9792         (tests-special): ... additions to this variable.
9793         * string/Makefile (tests): Change dependencies to ....
9794         (tests-special): ... additions to this variable.
9795         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9796         (tests-special): ... additions to this variable.
9798         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9799         whole file.
9800         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9801         whole file.
9802         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9803         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9805         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9806         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9807         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9808         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9809         * conform/data/libgen.h-data [XPG3]: Likewise.
9810         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9811         * conform/data/ndbm.h-data [XPG3]: Likewise.
9812         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9813         * conform/data/netdb.h-data [XPG3]: Likewise.
9814         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9815         * conform/data/poll.h-data [XPG3]: Likewise.
9816         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9817         * conform/data/strings.h-data [XPG3]: Likewise.
9818         * conform/data/stropts.h-data [XPG3]: Likewise.
9819         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9820         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9821         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9822         Likewise.
9823         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9824         * conform/data/sys/time.h-data [XPG3]: Likewise.
9825         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9826         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9827         * conform/data/sys/un.h-data [XPG3]: Likewise.
9828         * conform/data/syslog.h-data [XPG3]: Likewise.
9829         * conform/data/ucontext.h-data [XPG3]: Likewise.
9830         * conform/data/utmpx.h-data [XPG3]: Likewise.
9831         * conform/data/varargs.h-data [UNIX98]: Enable file.
9833         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9835         * math/libm-test.inc (struct test_f_f_data): Move expected results
9836         into structure for each rounding mode.
9837         (struct test_ff_f_data): Likewise.
9838         (struct test_ff_f_data_nexttoward): Likewise.
9839         (struct test_fi_f_data): Likewise.
9840         (struct test_fl_f_data): Likewise.
9841         (struct test_if_f_data): Likewise.
9842         (struct test_fff_f_data): Likewise.
9843         (struct test_c_f_data): Likewise.
9844         (struct test_f_f1_data): Likewise.
9845         (struct test_fF_f1_data): Likewise.
9846         (struct test_ffI_f1_data): Likewise.
9847         (struct test_c_c_data): Likewise.
9848         (struct test_cc_c_data): Likewise.
9849         (struct test_f_i_data): Likewise.
9850         (struct test_ff_i_data): Likewise.
9851         (struct test_f_l_data): Likewise.
9852         (struct test_f_L_data): Likewise.
9853         (struct test_fFF_11_data): Likewise.
9854         (RM_): New macro.
9855         (RM_FE_DOWNWARD): Likewise.
9856         (RM_FE_TONEAREST): Likewise.
9857         (RM_FE_TOWARDZERO): Likewise.
9858         (RM_FE_UPWARD): Likewise.
9859         (RUN_TEST_LOOP_f_f): Update references to expected results.
9860         (RUN_TEST_LOOP_2_f): Likewise.
9861         (RUN_TEST_LOOP_fff_f): Likewise.
9862         (RUN_TEST_LOOP_c_f): Likewise.
9863         (RUN_TEST_LOOP_f_f1): Likewise.
9864         (RUN_TEST_LOOP_fF_f1): Likewise.
9865         (RUN_TEST_LOOP_fI_f1): Likewise.
9866         (RUN_TEST_LOOP_ffI_f1): Likewise.
9867         (RUN_TEST_LOOP_c_c): Likewise.
9868         (RUN_TEST_LOOP_cc_c): Likewise.
9869         (RUN_TEST_LOOP_f_i): Likewise.
9870         (RUN_TEST_LOOP_f_i_tg): Likewise.
9871         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9872         (RUN_TEST_LOOP_f_b): Likewise.
9873         (RUN_TEST_LOOP_f_b_tg): Likewise.
9874         (RUN_TEST_LOOP_f_l): Likewise.
9875         (RUN_TEST_LOOP_f_L): Likewise.
9876         (RUN_TEST_LOOP_fFF_11): Likewise.
9877         * math/gen-libm-test.pl (parse_args): Output four copies of
9878         expected results for each test.
9880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9881         (__ASSUME_UTIMES): Remove.
9882         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9883         (__ASSUME_UTIMES): Likewise.
9885         * math/gen-auto-libm-tests.c: Update comment on output format.
9886         (output_for_one_input_case): Generate before-rounding and
9887         after-rounding information as conditions on output flags not
9888         floating-point format.
9889         * math/auto-libm-test-out: Regenerated.
9890         * math/gen-libm-test.pl (cond_value): New function.
9891         (or_cond_value): Use cond_value.
9892         (generate_testfile): Handle conditional exceptions.
9894 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9896         * math/libm-test.inc (max_valid_error): New variable.
9897         (init_max_error): Take new argument specifying whether function
9898         results are exactly determined.  Set max_valid_error and bound
9899         other variables for errors based on this argument.
9900         (set_max_error): Do not record results above max_valid_error.
9901         (check_float_internal): Only accept errors of up to 0.5ulps if
9902         also at most max_valid_error.
9903         (START): Take new argument EXACT and pass it to init_max_error.
9904         (acos_test): Update call to START.
9905         (acos_test_tonearest): Likewise.
9906         (acos_test_towardzero): Likewise.
9907         (acos_test_downward): Likewise.
9908         (acos_test_upward): Likewise.
9909         (acosh_test): Likewise.
9910         (asin_test): Likewise.
9911         (asin_test_tonearest): Likewise.
9912         (asin_test_towardzero): Likewise.
9913         (asin_test_downward): Likewise.
9914         (asin_test_upward): Likewise.
9915         (asinh_test): Likewise.
9916         (atan_test): Likewise.
9917         (atanh_test): Likewise.
9918         (atan2_test): Likewise.
9919         (cabs_test): Likewise.
9920         (cacos_test): Likewise.
9921         (cacosh_test): Likewise.
9922         (carg_test): Likewise.
9923         (casin_test): Likewise.
9924         (casinh_test): Likewise.
9925         (catan_test): Likewise.
9926         (catanh_test): Likewise.
9927         (cbrt_test): Likewise.
9928         (ccos_test): Likewise.
9929         (ccosh_test): Likewise.
9930         (ceil_test): Likewise.
9931         (cexp_test): Likewise.
9932         (cimag_test): Likewise.
9933         (clog_test): Likewise.
9934         (clog10_test): Likewise.
9935         (conj_test): Likewise.
9936         (copysign_test): Likewise.
9937         (cos_test): Likewise.
9938         (cos_test_tonearest): Likewise.
9939         (cos_test_towardzero): Likewise.
9940         (cos_test_downward): Likewise.
9941         (cos_test_upward): Likewise.
9942         (cosh_test): Likewise.
9943         (cosh_test_tonearest): Likewise.
9944         (cosh_test_towardzero): Likewise.
9945         (cosh_test_downward): Likewise.
9946         (cosh_test_upward): Likewise.
9947         (cpow_test): Likewise.
9948         (cproj_test): Likewise.
9949         (creal_test): Likewise.
9950         (csin_test): Likewise.
9951         (csinh_test): Likewise.
9952         (csqrt_test): Likewise.
9953         (ctan_test): Likewise.
9954         (ctan_test_tonearest): Likewise.
9955         (ctan_test_towardzero): Likewise.
9956         (ctan_test_downward): Likewise.
9957         (ctan_test_upward): Likewise.
9958         (ctanh_test): Likewise.
9959         (ctanh_test_tonearest): Likewise.
9960         (ctanh_test_towardzero): Likewise.
9961         (ctanh_test_downward): Likewise.
9962         (ctanh_test_upward): Likewise.
9963         (erf_test): Likewise.
9964         (erfc_test): Likewise.
9965         (exp_test): Likewise.
9966         (exp_test_tonearest): Likewise.
9967         (exp_test_towardzero): Likewise.
9968         (exp_test_downward): Likewise.
9969         (exp_test_upward): Likewise.
9970         (exp10_test): Likewise.
9971         (exp10_test_tonearest): Likewise.
9972         (exp10_test_towardzero): Likewise.
9973         (exp10_test_downward): Likewise.
9974         (exp10_test_upward): Likewise.
9975         (pow10_test): Likewise.
9976         (exp2_test): Likewise.
9977         (expm1_test): Likewise.
9978         (expm1_test_tonearest): Likewise.
9979         (expm1_test_towardzero): Likewise.
9980         (expm1_test_downward): Likewise.
9981         (expm1_test_upward): Likewise.
9982         (fabs_test): Likewise.
9983         (fdim_test): Likewise.
9984         (floor_test): Likewise.
9985         (fma_test): Likewise.
9986         (fma_test_towardzero): Likewise.
9987         (fma_test_downward): Likewise.
9988         (fma_test_upward): Likewise.
9989         (fmax_test): Likewise.
9990         (fmin_test): Likewise.
9991         (fmod_test): Likewise.
9992         (fpclassify_test): Likewise.
9993         (frexp_test): Likewise.
9994         (hypot_test): Likewise.
9995         (ilogb_test): Likewise.
9996         (isfinite_test): Likewise.
9997         (finite_test): Likewise.
9998         (isgreater_test): Likewise.
9999         (isgreaterequal_test): Likewise.
10000         (isinf_test): Likewise.
10001         (isless_test): Likewise.
10002         (islessequal_test): Likewise.
10003         (islessgreater_test): Likewise.
10004         (isnan_test): Likewise.
10005         (isnormal_test): Likewise.
10006         (issignaling_test): Likewise.
10007         (isunordered_test): Likewise.
10008         (j0_test): Likewise.
10009         (j1_test): Likewise.
10010         (jn_test): Likewise.
10011         (ldexp_test): Likewise.
10012         (lgamma_test): Likewise.
10013         (gamma_test): Likewise.
10014         (lrint_test): Likewise.
10015         (lrint_test_tonearest): Likewise.
10016         (lrint_test_towardzero): Likewise.
10017         (lrint_test_downward): Likewise.
10018         (lrint_test_upward): Likewise.
10019         (llrint_test): Likewise.
10020         (llrint_test_tonearest): Likewise.
10021         (llrint_test_towardzero): Likewise.
10022         (llrint_test_downward): Likewise.
10023         (llrint_test_upward): Likewise.
10024         (log_test): Likewise.
10025         (log10_test): Likewise.
10026         (log1p_test): Likewise.
10027         (log2_test): Likewise.
10028         (logb_test): Likewise.
10029         (logb_test_downward): Likewise.
10030         (lround_test): Likewise.
10031         (llround_test): Likewise.
10032         (modf_test): Likewise.
10033         (nearbyint_test): Likewise.
10034         (nextafter_test): Likewise.
10035         (nexttoward_test): Likewise.
10036         (pow_test): Likewise.
10037         (pow_test_tonearest): Likewise.
10038         (pow_test_towardzero): Likewise.
10039         (pow_test_downward): Likewise.
10040         (pow_test_upward): Likewise.
10041         (remainder_test): Likewise.
10042         (drem_test): Likewise.
10043         (remainder_test_tonearest): Likewise.
10044         (drem_test_tonearest): Likewise.
10045         (remainder_test_towardzero): Likewise.
10046         (drem_test_towardzero): Likewise.
10047         (remainder_test_downward): Likewise.
10048         (drem_test_downward): Likewise.
10049         (remainder_test_upward): Likewise.
10050         (drem_test_upward): Likewise.
10051         (remquo_test): Likewise.
10052         (rint_test): Likewise.
10053         (rint_test_tonearest): Likewise.
10054         (rint_test_towardzero): Likewise.
10055         (rint_test_downward): Likewise.
10056         (rint_test_upward): Likewise.
10057         (round_test): Likewise.
10058         (scalb_test): Likewise.
10059         (scalbn_test): Likewise.
10060         (scalbln_test): Likewise.
10061         (signbit_test): Likewise.
10062         (sin_test): Likewise.
10063         (sin_test_tonearest): Likewise.
10064         (sin_test_towardzero): Likewise.
10065         (sin_test_downward): Likewise.
10066         (sin_test_upward): Likewise.
10067         (sincos_test): Likewise.
10068         (sinh_test): Likewise.
10069         (sinh_test_tonearest): Likewise.
10070         (sinh_test_towardzero): Likewise.
10071         (sinh_test_downward): Likewise.
10072         (sinh_test_upward): Likewise.
10073         (sqrt_test): Likewise.
10074         (sqrt_test_tonearest): Likewise.
10075         (sqrt_test_towardzero): Likewise.
10076         (sqrt_test_downward): Likewise.
10077         (sqrt_test_upward): Likewise.
10078         (tan_test): Likewise.
10079         (tan_test_tonearest): Likewise.
10080         (tan_test_towardzero): Likewise.
10081         (tan_test_downward): Likewise.
10082         (tan_test_upward): Likewise.
10083         (tanh_test): Likewise.
10084         (tgamma_test): Likewise.
10085         (trunc_test): Likewise.
10086         (y0_test): Likewise.
10087         (y1_test): Likewise.
10088         (yn_test): Likewise.
10089         (significand_test): Likewise.
10091         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10092         individual tests in comment.
10093         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10094         (prev_max_error): New variable.
10095         (prev_real_max_error): Likewise.
10096         (prev_imag_max_error): Likewise.
10097         (compare_ulp_data): Don't refer to test names in comment.
10098         (find_test_ulps): Remove function.
10099         (find_function_ulps): Likewise.
10100         (find_complex_function_ulps): Likewise.
10101         (init_max_error): Take function name as argument.  Look up ulps
10102         for that function.
10103         (print_ulps): Remove function.
10104         (print_max_error): Use prev_max_error instead of calling
10105         find_function_ulps.
10106         (print_complex_max_error): Use prev_real_max_error and
10107         prev_imag_max_error instead of calling find_complex_function_ulps.
10108         (check_float_internal): Take max_ulp parameter instead of calling
10109         find_test_ulps.  Don't call print_ulps.
10110         (check_float): Update call to check_float_internal.
10111         (check_complex): Update calls to check_float_internal.
10112         (START): Pass argument to init_max_error.
10113         * math/gen-libm-test.pl (%results): Don't include "kind"
10114         information.
10115         (parse_ulps): Don't handle ulps of individual tests.
10116         (print_ulps_file): Likewise.
10117         (output_ulps): Likewise.
10118         * math/README.libm-test: Update.
10119         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10120         individual tests.
10121         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10122         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10123         * sysdeps/arm/libm-test-ulps: Likewise.
10124         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10125         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10126         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10127         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10128         * sysdeps/microblaze/libm-test-ulps: Likewise.
10129         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10130         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10132         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10133         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10134         * sysdeps/sh/libm-test-ulps: Likewise.
10135         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10136         * sysdeps/tile/libm-test-ulps: Likewise.
10137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10139 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10141         * math/libm-test.inc (print_complex_max_error): Check separately
10142         whether real and imaginary errors are within allowed range and
10143         pass 0 to print_complex_function_ulps instead of value within
10144         allowed range.
10146 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10148         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10149         formatting.
10150         (get_handles_fopen): Likewise.
10151         (do_write_test): Likewise.
10153         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10155         * libio/fileops.c (do_ftell): Use cached offset when
10156         available.
10157         * libio/iofwide.c (do_ftell_wide): Likewise.
10158         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10159         _IO_file_attach.
10160         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10162         [BZ #16532]
10163         * libio/libioP.h (get_file_offset): New function.
10164         * libio/fileops.c (get_file_offset): Likewise.
10165         (do_ftell): Likewise.
10166         (_IO_new_file_seekoff): Split out ftell logic.
10167         * libio/wfileops.c (do_ftell_wide): Likewise.
10168         (_IO_wfile_seekoff): Split out ftell logic.
10169         * libio/tst-ftell-active-handler.c: New test case.
10170         * libio/Makefile (tests): Add it.
10172 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10174         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10175         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10177 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10179         [BZ #16639]
10180         * nscd/connections.c (nscd_init): Call do_exit.
10181         (start_threads): Call do_exit and notify_parent.
10182         (begin_drop_privileges): Call do_exit.
10183         (finish_drop_privileges): Likewise.
10184         * nscd/selinux.c (preserve_capabilities): Likewise.
10185         (install_real_capabilities): Likewise.
10186         (nscd_selinux_enabled): Likewise.
10187         (avc_create_thread): Likewise.
10188         (avc_alloc_lock): Likewise.
10189         (nscd_avc_init): Likewise.
10190         * nscd/nscd.c (parent_fd): New static variable.
10191         (main): Create a pipe between parent and child processes.
10192         Skip closing parent_fd.
10193         (monitor_child): New function.
10194         (do_exit): Likewise.
10195         (notify_parent): Likewise.
10196         * nscd/nscd.h (notify_parent): Likewise.
10197         (do_exit): Likewise.
10199 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10201         * malloc/malloc.c (__libc_calloc): Revert last change.
10203 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10207 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10209         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10211         implementation.
10212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10213         (__libc_ifunc_impl_list): Likewise.
10214         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10215         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10216         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10217         * string/strrchr.c: Define STRRCHR.
10219 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10221         * benchtest/bench-strtok.c (simple_strtok): Delete.
10222         (strtok_string): Use as benchmark.
10223         * string/strtok (STRTOK): New macro.
10225 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10227         * manual/threads.texi: Add header and standard comments to all
10228         functions.
10230         * elf/dl-lookup.c (check_match): New function.
10231         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10232         (do_lookup_x): Remove nested function check_match. Use non-nested
10233         function check_match.
10235 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10237         * csu/Makefile (generated, before-compile): Use += rather than =.
10238         * catgets/Makefile (generated, generated-dirs): Likewise.
10239         * debug/Makefile (generated): Likewise.
10240         * dlfcn/Makefile (generated): Likewise.
10241         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10242         * iconvdata/Makefile (before-compile, generated): Likewise.
10243         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10244         * libio/Makefile (generated): Likewise.
10245         * malloc/Makefile (generated): Likewise.
10246         * manual/Makefile (generated, generated-dirs): Likewise.
10247         * misc/Makefile (generated): Likewise.
10248         * posix/Makefile (generated): Likewise.
10249         * resolv/Makefile (generated): Likewise.
10250         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10251         * timezone/Makefile (generated, generated-dirs): Likewise.
10253         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10255 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10258         power8 implementation.
10259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10260         file: POWER8 llround ifunc implementation.
10261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10262         (__lllround): Add POWER8 implementation.
10263         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10264         POWER8 llround implementation.
10266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10267         power8 implementation.
10268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10269         file: POWER8 llrint ifunc implementation.
10270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10271         Add POWER8 implementation.
10272         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10273         POWER8 llrint implementation.
10275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10276         power8 implementation.
10277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10278         file: POWER8 finite ifunc implementation.
10279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10280         Add POWER8 implementation.
10281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10282         Likewise.
10283         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10284         POWER8 finite implementation.
10285         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10288         power8 implementation.
10289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10290         file: POWER8 isinf ifunc implementation.
10291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10292         POWER8 implementation.
10293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10294         Likewise.
10295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10296         isinf implementation.
10297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10299         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10300         (INIT_ARCH): Add hwcap2 initialization.
10301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10302         power8 implementation.
10303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10304         file: POWER8 isnan ifunc implementation.
10305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10306         POWER8 implementation.
10307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10308         Likewise.
10309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10310         isnan implementation.
10311         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10313 2014-02-27  Joey Ye  <joey.ye@arm.com>
10315         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10316         (_FP_NANFRAC_Q): Set to zero.
10318 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10320         [BZ #16623]
10321         * math/auto-libm-test-in: New test inputs.
10322         * math/auto-libm-test-out: Regenerate.
10323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10324         and DA.
10325         (__cos): Likewise.
10326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10328 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10330         * scripts/evaluate-test.sh: Take new argument indicating whether
10331         failure is expected.
10332         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10333         indicating whether failure is expected.
10334         * conform/Makefile (test-xfail-run-conformtest): New variable.
10335         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10336         level.
10337         * posix/Makefile (test-xfail-annexc): New variable.
10338         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10340 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10342         * argp/Makefile: Include Makeconfig immediately after defining
10343         subdir.
10344         * assert/Makefile: Likewise.
10345         * benchtests/Makefile: Likewise.
10346         * catgets/Makefile: Likewise.
10347         * conform/Makefile: Likewise.
10348         * crypt/Makefile: Likewise.
10349         * csu/Makefile: Likewise.
10350         (all): Remove target.
10351         * ctype/Makefile: Include Makeconfig immediately after defining
10352         subdir.
10353         * debug/Makefile: Likewise.
10354         * dirent/Makefile: Likewise.
10355         * dlfcn/Makefile: Likewise.
10356         * gmon/Makefile: Likewise.
10357         * gnulib/Makefile: Likewise.
10358         * grp/Makefile: Likewise.
10359         * gshadow/Makefile: Likewise.
10360         * hesiod/Makefile: Likewise.
10361         * hurd/Makefile: Likewise.
10362         (all): Remove target.
10363         * iconvdata/Makefile: Include Makeconfig immediately after
10364         defining subdir.
10365         * inet/Makefile: Likewise.
10366         * intl/Makefile: Likewise.
10367         * io/Makefile: Likewise.
10368         * libio/Makefile: Likewise.
10369         (all): Remove target.
10370         * locale/Makefile: Include Makeconfig immediately after defining
10371         subdir.
10372         * login/Makefile: Likewise.
10373         * mach/Makefile: Likewise.
10374         (all): Remove target.
10375         * malloc/Makefile: Include Makeconfig immediately after defining
10376         subdir.
10377         (all): Remove target.
10378         * manual/Makefile: Include Makeconfig immediately after defining
10379         subdir.
10380         * math/Makefile: Likewise.
10381         * misc/Makefile: Likewise.
10382         * nis/Makefile: Likewise.
10383         * nss/Makefile: Likewise.
10384         * po/Makefile: Likewise.
10385         (all): Remove target.
10386         * posix/Makefile: Include Makeconfig immediately after defining
10387         subdir.
10388         * pwd/Makefile: Likewise.
10389         * resolv/Makefile: Likewise.
10390         * resource/Makefile: Likewise.
10391         * rt/Makefile: Likewise.
10392         * setjmp/Makefile: Likewise.
10393         * shadow/Makefile: Likewise.
10394         * signal/Makefile: Likewise.
10395         * socket/Makefile: Likewise.
10396         * soft-fp/Makefile: Likewise.
10397         * stdio-common/Makefile: Likewise.
10398         * stdlib/Makefile: Likewise.
10399         * streams/Makefile: Likewise.
10400         * string/Makefile: Likewise.
10401         * sunrpc/Makefile: Likewise.
10402         (all): Remove target.
10403         * sysvipc/Makefile: Include Makeconfig immediately after defining
10404         subdir.
10405         * termios/Makefile: Likewise.
10406         * time/Makefile: Likewise.
10407         * timezone/Makefile: Likewise.
10408         (all): Remove target.
10409         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10410         subdir.
10411         * wctype/Makefile: Likewise.
10413 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10415         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10416         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10417         (libc_feholdexcept_setround_mips): Ditto.
10418         (libc_feholdsetround): New.
10419         (libc_feholdsetroundf): New.
10420         (libc_feholdsetroundl): New.
10421         (libc_feupdateenv_test_mips): New.
10422         (libc_feupdateenv_test): New.
10423         (libc_feupdateenv_testf): New.
10424         (libc_feupdateenv_testl): New.
10425         (libc_feresetround): New.
10426         (libc_feresetroundf): New.
10427         (libc_feresetroundl): New.
10428         (libc_fetestexcept_mips): New.
10429         (libc_fetestexcept): New.
10430         (libc_fetestexceptf): New.
10431         (libc_fetestexceptl): New.
10432         (HAVE_RM_CTX): New.
10433         (libc_feholdexcept_setround_mips_ctx): New.
10434         (libc_feholdexcept_setround_ctx): New.
10435         (libc_feholdexcept_setroundf_ctx): New.
10436         (libc_feholdexcept_setroundl_ctx): New.
10437         (libc_fesetenv_mips_ctx): New.
10438         (libc_fesetenv_ctx): New.
10439         (libc_fesetenv_ctxf): New.
10440         (libc_fesetenv_ctxl): New.
10441         (libc_feupdateenv_mips_ctx): New.
10442         (libc_feupdateenv_ctx): New.
10443         (libc_feupdateenvf_ctx): New.
10444         (libc_feupdateenvl_ctx): New.
10445         (libc_feholdsetround_mips_ctx): New.
10446         (libc_feholdsetround_ctx): New.
10447         (libc_feholdsetroundf_ctx): New.
10448         (libc_feholdsetroundl_ctx): New.
10449         (libc_feresetround_mips_ctx): New.
10450         (libc_feresetround_ctx): New.
10451         (libc_feresetroundf_ctx): New.
10452         (libc_feresetroundl_ctx): New.
10454 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10456         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10458         * manual/ipc.texi: New file.
10459         * manual/Makefile (chapters): Add ipc.
10460         * manual/job.texi: Add "Inter-Process Communication" to next.
10461         * manual/process.texi: Add "Inter-Process Communication" to prev.
10463 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10467 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10469         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10471         * manual/arith.texi: Fix spaces after sentences.
10472         * manual/charset.texi: Likewise.
10473         * manual/errno.texi: Likewise.
10474         * manual/install.texi: Likewise.
10475         * manual/llio.texi: Likewise.
10476         * manual/locale.texi: Likewise.
10477         * manual/maint.texi: Likewise.
10478         * manual/math.texi: Likewise.
10479         * manual/memory.texi: Likewise.
10480         * manual/message.texi: Likewise.
10481         * manual/probes.texi: Likewise.
10482         * manual/resource.texi: Likewise.
10483         * manual/signal.texi: Likewise.
10484         * manual/socket.texi: Likewise.
10485         * manual/stdio.texi: Likewise.
10486         * manual/string.texi: Likewise.
10487         * manual/time.texi: Likewise.
10488         * manual/users.texi: Likewise.
10490 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10492         [BZ #16632]
10493         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10494         _DEFAULT_SOURCE is defined.
10496 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10497             Carlos O'Donell  <carlos@redhat.com>
10499         [BZ #16613]
10500         * elf/dl-tls.c (_dl_count_modids): New function.
10501         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10502         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10503         audit library and increment generation counter.
10504         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10505         * elf/tst-audit9.c: New file.
10506         * elf/tst-auditmod9a.c: New file.
10507         * elf/tst-auditmod9b.c: New file.
10508         * elf/Makefile: Add rules to build and run tst-audit9.
10510 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10512         [BZ #15347]
10513         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10515 2014-02-25  Will Newton  <will.newton@linaro.org>
10517         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10518         (__longjmp): Restore sp and lr before restoring callee
10519         saved registers.  Add longjmp and longjmp_target
10520         SystemTap probe point.
10521         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10522         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10523         Define to zero to match jmpbuf layout.
10524         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10525         (__sigsetjmp): Save sp and lr before saving callee
10526         saved registers.  Add setjmp SystemTap probe point.
10528 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10530         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10532 2014-02-24  Andreas Schwab  <schwab@suse.de>
10534         [BZ #15804]
10535         * elf/pldd.c (wait_for_ptrace_stop): New function.
10536         (main): Call it after attaching.
10538 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10540         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10541         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10542         Versions files is now verboten.
10543         * hurd/Versions (libc: GLIBC_2.0):
10544         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10545         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10546         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10547         * mach/Versions: Likewise.
10549         * csu/Versions: Remove unused %include.
10550         * resolv/Versions: Likewise.
10552 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10554         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10555         ($(objpfx)check-local-headers.out): Likewise.
10556         ($(objpfx)begin-end-check.out): Likewise.
10557         * Makerules (check-abi-%.out): Likewise.
10558         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10559         ($(objpfx)test2.cat): Likewise.
10560         ($(objpfx)de/libc.cat): Likewise.
10561         ($(objpfx)test-gencat.out): Likewise.
10562         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10563         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10564         ($(objpfx)noload-mem): Likewise.
10565         ($(objpfx)tst-pathopt.out): Likewise.
10566         ($(objpfx)tst-rtld-load-self.out): Likewise.
10567         ($(objpfx)tst-array1-cmp.out): Likewise.
10568         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10569         ($(objpfx)tst-array2-cmp.out): Likewise.
10570         ($(objpfx)tst-array3-cmp.out): Likewise.
10571         ($(objpfx)tst-array4-cmp.out): Likewise.
10572         ($(objpfx)tst-array5-cmp.out): Likewise.
10573         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10574         ($(objpfx)check-textrel.out): Likewise.
10575         ($(objpfx)check-execstack.out): Likewise.
10576         ($(objpfx)check-localplt.out): Likewise.
10577         ($(objpfx)order2-cmp.out): Likewise.
10578         ($(objpfx)tst-leaks1-mem): Likewise.
10579         ($(objpfx)tst-leaks1-static-mem): Likewise.
10580         ($(objpfx)tst-initorder-cmp.out): Likewise.
10581         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10582         ($(objpfx)tst-unused-dep.out): Likewise.
10583         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10584         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10585         * iconv/Makefile (test-iconvconfig): Likewise.
10586         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10587         ($(objpfx)iconv-test.out): Likewise.
10588         ($(objpfx)tst-tables.out): Likewise.
10589         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10590         ($(objpfx)tst-gettext.out): Likewise.
10591         ($(objpfx)tst-translit.out): Likewise.
10592         ($(objpfx)tst-gettext2.out): Likewise.
10593         ($(objpfx)tst-gettext4.out): Likewise.
10594         ($(objpfx)tst-gettext6.out): Likewise.
10595         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10596         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10597         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10598         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10599         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10600         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10601         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10602         ($(objpfx)wordexp-tst.out): Likewise.
10603         ($(objpfx)annexc.out): Likewise.
10604         ($(objpfx)tst-fnmatch-mem): Likewise.
10605         ($(objpfx)bug-regex2-mem): Likewise.
10606         ($(objpfx)bug-regex14-mem): Likewise.
10607         ($(objpfx)bug-regex21-mem): Likewise.
10608         ($(objpfx)bug-regex31-mem): Likewise.
10609         ($(objpfx)tst-vfork3-mem): Likewise.
10610         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10611         ($(objpfx)tst-pcre-mem): Likewise.
10612         ($(objpfx)tst-boost-mem): Likewise.
10613         ($(objpfx)tst-getconf.out): Likewise.
10614         ($(objpfx)bug-ga2-mem): Likewise.
10615         ($(objpfx)bug-glob2-mem): Likewise.
10616         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10617         ($(objpfx)mtrace-tst-leaks2): Likewise.
10618         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10619         ($(objpfx)tst-printf.out): Likewise.
10620         ($(objpfx)tst-setvbuf1.out): Likewise.
10621         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10622         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10623         ($(objpfx)tst-fmtmsg.out): Likewise.
10624         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10625         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10627         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10628         * bits/sigaction.h [__USE_MISC]: Likewise.
10629         * bits/waitstatus.h: Update #endif comments.
10630         * ctype/ctype.h: Likewise.
10631         * dirent/dirent.h: Likewise.
10632         [__USE_MISC]: Remove redundant conditionals.
10633         * grp/grp.h: Update #endif comments.
10634         [__USE_GNU]: Remove redundant conditionals.
10635         [__USE_MISC]: Likewise.
10636         * inet/netinet/in.h [__USE_GNU]: Likewise.
10637         * io/sys/stat.h [__USE_MISC]: Likewise.
10638         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10639         * libio/bits/stdio.h: Update #endif comments.
10640         [__USE_MISC]: Remove redundant conditionals.
10641         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10642         * libio/stdio.h: Update #endif comments.
10643         [__USE_MISC]: Remove redundant conditionals.
10644         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10645         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10646         * math/math.h: Update #else and #endif comments.
10647         [__USE_MISC]: Remove redundant conditionals.
10648         * misc/sys/uio.h: Update #endif comments.
10649         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10650         * posix/glob.h [__USE_MISC]: Likewise.
10651         * posix/sys/types.h: Update #endif comments.
10652         [__USE_MISC]: Remove redundant conditionals.
10653         * posix/sys/wait.h: Update #endif comments.
10654         [__USE_MISC]: Remove redundant conditionals.
10655         * posix/unistd.h: Update #endif comments.
10656         [__USE_MISC]: Remove redundant conditionals.
10657         * pwd/pwd.h [__USE_GNU]: Likewise.
10658         [__USE_MISC]: Likewise.
10659         * resolv/netdb.h [__USE_GNU]: Likewise.
10660         * signal/signal.h: Update #endif comments.
10661         [__USE_MISC]: Remove redundant conditionals.
10662         * stdlib/stdlib.h: Update #else and #endif comments.
10663         [__USE_MISC]: Remove redundant conditionals.
10664         [__USE_GNU]: Likewise.
10665         * string/bits/string2.h [__USE_MISC]: Likewise.
10666         * string/string.h: Update #endif comments.
10667         [__USE_MISC]: Remove redundant conditionals.
10668         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10669         Likewise.
10670         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10671         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10672         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10673         Likewise.
10674         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10675         Likewise.
10676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10677         comments.
10678         [__USE_MISC]: Remove redundant conditionals.
10679         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10680         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10681         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10682         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10683         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10686         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10689         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10690         Likewise.
10691         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10692         Likewise.
10693         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10694         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10697         Likewise.
10698         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10699         * sysdeps/x86/bits/string.h: Update #endif comments.
10700         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10701         conditionals.
10702         * time/sys/time.h: Update #endif comments.
10703         * time/time.h: Likewise.
10704         [__USE_MISC]: Remove redundant conditionals.
10706 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10708         [BZ #16600]
10709         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10711 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10713         * Versions.def (librt): Add GLIBC_2.17.
10715 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10717         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10718         synonym for _SYS_AUXV_H to allow direct inclusion.
10719         * sysdeps/sparc/bits/hwcap.h: Likewise.
10720         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10721         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10722         * sysdeps/sparc/sysdep.h: Likewise.
10724 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10726         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10728 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10730         * benchtests/bench-strrchr.c: Print length instead of position.
10732 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10734         [BZ #16611]
10735         * sysdeps/unix/sysv/linux/kernel-features.h
10736         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10737         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10738         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10739         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10740         Likewise.
10741         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10742         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10743         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10744         (__ASSUME_SENDMMSG): Define instead of using previous
10745         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10746         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10747         (__ASSUME_SENDMMSG_SYSCALL): Define.
10748         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10749         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10750         Likewise.
10751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10752         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10753         Likewise.
10754         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10755         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10758         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10759         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10760         [__ASSUME_SENDMMSG]: Change conditionals to
10761         [__ASSUME_SENDMMSG_SOCKETCALL].
10762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10763         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10764         Define.
10765         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10766         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10767         Likewise.
10768         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10769         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10770         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10771         [!__ASSUME_SENDMMSG]: Change conditional to
10772         [!__ASSUME_SENDMMSG_SOCKETCALL].
10773         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10774         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10775         Define.
10777         [BZ #16610]
10778         * sysdeps/unix/sysv/linux/kernel-features.h
10779         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10780         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10781         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10782         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10783         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10784         [__i386__ || __sparc__]
10785         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10786         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10787         (__ASSUME_RECVMMSG): Define instead of using previous
10788         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10789         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10790         (__ASSUME_RECVMMSG_SYSCALL): Define.
10791         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10793         Likewise.
10794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10795         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10796         Likewise.
10797         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10798         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10799         Likewise.
10800         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10801         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10802         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10803         [__ASSUME_RECVMMSG]: Change condition to
10804         [__ASSUME_RECVMMSG_SOCKETCALL].
10805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10806         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10807         Define.
10808         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10811         Likewise.
10812         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10813         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10814         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10815         [!__ASSUME_RECVMMSG]: Change condition to
10816         [!__ASSUME_RECVMMSG_SOCKETCALL].
10817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10818         (__ASSUME_RECVMMSG_SYSCALL): Define.
10820         [BZ #16609]
10821         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10822         __powerpc__ || __s390__ || __sh__ || __sparc__]
10823         (__ASSUME_SOCKETCALL): Define.
10824         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10825         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10826         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10827         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10828         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10829         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10830         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10831         (__ASSUME_ACCEPT4): Define instead of using previous
10832         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10833         __powerpc__ || __sparc__ || __s390__)] condition.
10834         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10835         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10836         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10837         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10838         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10839         [!__ASSUME_ACCEPT4]: Change condition to
10840         [!__ASSUME_ACCEPT4_SOCKETCALL].
10841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10842         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10843         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10844         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10845         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10846         __ASSUME_ACCEPT4_SYSCALL.
10847         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10848         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10849         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10850         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10851         __ASSUME_ACCEPT4_SYSCALL.
10852         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10853         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10854         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10855         [__ASSUME_ACCEPT4]: Change condition to
10856         [__ASSUME_ACCEPT4_SOCKETCALL].
10857         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10858         (__ASSUME_SOCKETCALL): Define.
10859         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10861         (__ASSUME_SOCKETCALL): Define.
10862         (__ASSUME_ACCEPT4): Remove.
10863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10864         Define.
10865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10866         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10867         Likewise.
10868         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10869         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10871         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10872         macro.
10873         (HWCAP_ARM_LPAE): Likewise.
10874         (HWCAP_ARM_EVTSTRM): Likewise.
10875         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10876         Add vpfd32, lpae and evtstrm.
10877         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10878         Increase to 22.
10880 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10882         * math/auto-libm-test-in: Add tests of clog10.
10883         * math/auto-libm-test-out: Regenerated.
10884         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10885         * sysdeps/i386/fpu/libm-test-ulps: Update.
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10888 2014-02-18  Andreas Schwab  <schwab@suse.de>
10890         [BZ #16574]
10891         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10892         Store non-zero if the second buffer was newly allocated.
10893         (send_dg): Likewise.
10894         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10895         to send_vc and send_dg.
10896         (res_nsend): Pass NULL for ansp2_malloced.
10897         * resolv/res_query.c (__libc_res_nquery): Add parameter
10898         answerp2_malloced and pass it down to __libc_res_nsend.
10899         (res_nquery): Pass additional NULL to __libc_res_nquery.
10900         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10901         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10902         second answer buffer if answerp2_malloced was set.
10903         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10904         (__libc_res_nquerydomain): Add parameter
10905         answerp2_malloced and pass it down to __libc_res_nquery.
10906         (res_nquerydomain): Pass additional NULL to
10907         __libc_res_nquerydomain.
10908         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10909         additional NULL to __libc_res_nsend and __libc_res_nquery.
10910         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10911         additional NULL to __libc_res_nsearch.
10912         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10913         parameter of __libc_res_nsearch to check for separately allocated
10914         second buffer.
10915         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10916         __libc_res_nquery.
10917         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10918         additional NULL to __libc_res_nquery.
10919         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10920         __libc_res_nsearch.
10921         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10922         * include/resolv.h: Update prototypes of __libc_res_nquery,
10923         __libc_res_nsearch, __libc_res_nsend.
10925 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10927         * math/auto-libm-test-in: Add tests of fma.
10928         * math/auto-libm-test-out: Regenerated.
10929         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10930         (fma_towardzero_test_data): Likewise.
10931         (fma_downward_test_data): Likewise.
10932         (fma_upward_test_data): Likewise.
10933         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10934         mpc_mode.
10935         (rounding_modes): Add values for new field.
10936         (func_calc_method): Add value mpfr_fff_f.
10937         (func_calc_desc): Add mpfr_fff_f union field.
10938         (test_function): Add field exact_args.
10939         (FUNC): Add macro argument EXACT_ARGS.
10940         (FUNC_mpfr_f_f): Update call to FUNC.
10941         (FUNC_mpfr_f_f): Likewise.
10942         (FUNC_mpfr_ff_f): Likewise.
10943         (FUNC_mpfr_if_f): Likewise.
10944         (FUNC_mpc_c_f): Likewise.
10945         (FUNC_mpc_c_c): Likewise.
10946         (test_functions): Add fma.  Update calls to FUNC.
10947         (handle_input_arg): Add argument exact_args.
10948         (add_test): Update call to handle_input_arg.
10949         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10950         (output_for_one_input_case): Update call to calc_generic_results.
10951         Recalculate exact zero results in each rounding mode.
10953         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10954         non-negative before setting low bit.
10955         * math/auto-libm-test-in: Mark one asin test possibly having
10956         spurious underflow.
10957         * math/auto-libm-test-out: Regenerated.
10958         * sysdeps/i386/fpu/libm-test-ulps: Update.
10959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10961 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10963         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10964         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10965         ports/sysdeps/unix/sysv/linux/microblaze.
10966         * README: Add missing listing for microblaze*-*-linux-gnu.
10968 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10970         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10971         duplicate code
10973 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10975         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10976         * sysdeps/unix/sysv/linux/ia64: Move directory from
10977         ports/sysdeps/unix/sysv/linux/ia64.
10978         * README: Update listing for ia64-*-linux-gnu.
10980 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10981             Joseph Myers  <joseph@codesourcery.com>
10983         * Makeconfig (test-name): New variable.
10984         (evaluate-test): Likewise.
10985         * Makerules (do-test-clean): Remove .test-result files.
10986         (common-mostlyclean): Likewise.
10987         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10988         * scripts/evaluate-test.sh: New file.
10990 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10992         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10993         separate $(objpfx)tst-fopenloc-cmp.out and
10994         $(objpfx)tst-fopenloc-mem.out targets.
10995         (tests): Update dependencies.
10996         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10997         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10998         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10999         (tst-rxspencer-no-utf8-ARGS): New variable.
11000         (tst-rxspencer-no-utf8-ENV): Likewise.
11001         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11002         instead of $(objpfx)tst-rxspencer-mem.
11003         ($(objpfx)tst-rxspencer-mem): Change target to
11004         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11005         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11006         * posix/tst-rxspencer-no-utf8.c: New file.
11008         * elf/Makefile ($(objpfx)order.out): Remove rule.
11009         [$(run-built-tests) = yes] (tests): Depend on
11010         $(objpfx)order-cmp.out.
11011         ($(objpfx)order-cmp.out): New rule.
11012         [$(run-built-tests) = yes] (tests): Depend on
11013         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11014         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11015         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11016         $(objpfx)tst-array5-static-cmp.out.
11017         ($(objpfx)tst-array1.out): Remove rule.
11018         ($(objpfx)tst-array1-cmp.out): New rule.
11019         ($(objpfx)tst-array1-static.out): Remove rule.
11020         ($(objpfx)tst-array1-static-cmp.out): New rule.
11021         ($(objpfx)tst-array2.out): Remove rule.
11022         ($(objpfx)tst-array2-cmp.out): New rule.
11023         ($(objpfx)tst-array3.out): Remove rule.
11024         ($(objpfx)tst-array3-cmp.out): New rule.
11025         ($(objpfx)tst-array4.out): Remove rule.
11026         ($(objpfx)tst-array4-cmp.out): New rule.
11027         ($(objpfx)tst-array5.out): Remove rule.
11028         ($(objpfx)tst-array5-cmp.out): New rule.
11029         ($(objpfx)tst-array5-static.out): Remove rule.
11030         ($(objpfx)tst-array5-static-cmp.out): New rule.
11031         [$(run-built-tests) = yes] (tests): Depend on
11032         $(objpfx)order2-cmp.out.
11033         ($(objpfx)order2.out): Remove rule.
11034         ($(objpfx)order2-cmp.out): New rule.
11035         ($(objpfx)tst-initorder.out): Remove rule.
11036         [$(run-built-tests) = yes] (tests): Depend on
11037         $(objpfx)tst-initorder-cmp.out.
11038         ($(objpfx)tst-initorder-cmp.out): New rule.
11039         ($(objpfx)tst-initorder2.out): Remove rule.
11040         [$(run-built-tests) = yes] (tests): Depend on
11041         $(objpfx)tst-initorder2-cmp.out.
11042         ($(objpfx)tst-initorder2-cmp.out): New rule.
11043         [$(run-built-tests) = yes] (tests): Depend on
11044         $(objpfx)tst-unused-dep-cmp.out.
11045         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11046         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11047         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11048         on $(objpfx)tst-setvbuf1-cmp.out.
11049         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11050         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11051         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11052         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11053         ($(objpfx)tst-svc.out): Remove rule.
11054         ($(objpfx)tst-svc-cmp.out): New rule.
11056 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11058         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11059         * ctype/ctype.h [__USE_MISC]: Likewise.
11060         * dirent/dirent.h [__USE_MISC]: Likewise.
11061         * grp/grp.h [__USE_MISC]: Likewise.
11062         * io/fcntl.h [__USE_MISC]: Likewise.
11063         * io/sys/stat.h [__USE_MISC]: Likewise.
11064         * libio/stdio.h [__USE_MISC]: Likewise.
11065         * posix/unistd.h [__USE_MISC]: Likewise.
11066         * pwd/pwd.h [__USE_MISC]: Likewise.
11067         * stdlib.h [__USE_MISC]: Likewise.
11068         * string/bits/string2.h [__USE_MISC]: Likewise.
11069         * string/string.h [__USE_MISC]: Likewise.
11070         * time/time.h [__USE_MISC]: Likewise.
11072 2014-02-13  Andreas Schwab  <schwab@suse.de>
11074         [BZ #16574]
11075         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11076         second answer buffer if it was separately allocated.
11078 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11080         * sysdeps/mips/math-tests.h: Include <features.h>.
11081         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11082         (ROUNDING_TESTS_long_double): Do not define.
11083         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11084         (EXCEPTION_TESTS_long_double): Likewise.
11085         * sysdeps/mips/mips64/libm-test-ulps: Update.
11087         * include/features.h (__USE_BSD): Remove macro definitions.
11088         (__USE_SVID): Likewise.
11089         (_BSD_SOURCE): Likewise.
11090         (_SVID_SOURCE): Likewise.
11091         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11092         from definition of _DEFAULT_SOURCE.
11093         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11094         [_DEFAULT_SOURCE].
11095         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11096         * bits/mman.h [__USE_BSD]: Likewise.
11097         * bits/termios.h [__USE_BSD]: Likewise.
11098         * bits/waitstatus.h [__USE_BSD]: Likewise.
11099         * ctype/ctype.h [__USE_SVID]: Likewise.
11100         * dirent/dirent.h [__USE_BSD]: Likewise.
11101         * grp/grp.h [__USE_SVID]: Likewise.
11102         [__USE_BSD]: Likewise.
11103         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11104         * io/fcntl.h [__USE_BSD]: Likewise.
11105         * io/ftw.h [__USE_BSD]: Likewise.
11106         * io/sys/stat.h [__USE_BSD]: Likewise.
11107         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11108         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11109         * libio/stdio.h [__USE_SVID]: Likewise.
11110         [__USE_BSD]: Likewise.
11111         * math/math.h [__USE_SVID]: Likewise.
11112         [__USE_BSD]: Likewise.
11113         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11114         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11115         * misc/search.h [__USE_SVID]: Likewise.
11116         * misc/sys/mman.h [__USE_BSD]: Likewise.
11117         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11118         * misc/sys/uio.h [__USE_BSD]: Likewise.
11119         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11120         * posix/glob.h [__USE_BSD]: Likewise.
11121         * posix/regex.h [__USE_BSD]: Likewise.
11122         * posix/sys/types.h [__USE_BSD]: Likewise.
11123         [__USE_SVID]: Likewise.
11124         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11125         * posix/sys/wait.h [__USE_BSD]: Likewise.
11126         [__USE_SVID]: Likewise.
11127         * posix/unistd.h [__USE_BSD]: Likewise.
11128         [__USE_SVID]: Likewise.
11129         * pwd/pwd.h [__USE_SVID]: Likewise.
11130         * resolv/netdb.h [__USE_BSD]: Likewise.
11131         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11132         * signal/signal.h [__USE_BSD]: Likewise.
11133         [__USE_SVID]: Likewise.
11134         * socket/sys/socket.h [__USE_BSD]: Likewise.
11135         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11136         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11137         [__USE_SVID]: Likewise.
11138         * string/bits/string2.h [__USE_BSD]: Likewise.
11139         [__USE_SVID]: Likewise.
11140         * string/bits/string3.h [__USE_BSD]: Likewise.
11141         * string/endian.h [__USE_BSD]: Likewise.
11142         * string/string.h [__USE_SVID]: Likewise.
11143         [__USE_BSD]: Likewise.
11144         * string/strings.h [__USE_BSD]: Likewise.
11145         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11146         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11147         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11148         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11149         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11150         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11151         Likewise.
11152         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11153         Likewise.
11154         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11155         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11156         Likewise.
11157         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11158         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11159         Likewise.
11160         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11161         Likewise.
11162         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11163         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11164         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11165         Likewise.
11166         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11167         Likewise.
11168         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11169         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11170         * termios/termios.h [__USE_BSD]: Likewise.
11171         * time/sys/time.h [__USE_BSD]: Likewise.
11172         * time/time.h [__USE_BSD]: Likewise.
11173         [__USE_SVID]: Likewise.
11175         * Makefile (subdir_targets): Remove subdir_lint.out.
11177         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11178         (do-tst-printf): Likewise.
11179         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11180         $(objpfx)tst-printf.out.
11182         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11184         * Makerules (check-abi-%): Change target to
11185         $(objpfx)check-abi-%.out.
11186         (check-abi target): Update dependencies.
11187         (check-abi-pattern variable): Redirect output of diff to $@.
11188         (check-abi variable): Likewise.
11189         * elf/Makefile (check-abi): Update dependencies.
11191         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11192         unused.
11193         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11194         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11195         subnormal range.
11196         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11197         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11198         value has largest subnormal exponent.
11199         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11200         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11201         * sysdeps/aarch64/soft-fp/sfp-machine.h
11202         (_FP_TININESS_AFTER_ROUNDING): New macro.
11203         * sysdeps/alpha/soft-fp/sfp-machine.h
11204         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11205         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11206         Likewise.
11207         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11209         * sysdeps/mips/soft-fp/sfp-machine.h
11210         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11211         * sysdeps/powerpc/soft-fp/sfp-machine.h
11212         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11213         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11214         Likewise.
11215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11216         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11218         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11219         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11220         Likewise.
11222 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11224         [BZ #16545]
11225         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11226         model 1.
11228 2014-02-12  Richard Henderson  <rth@redhat.com>
11230         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11231         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11232         * sysdeps/unix/sysv/linux/alpha: Move directory from
11233         ports/sysdeps/unix/sysv/linux/alpha.
11234         * README: Update listing for alpha-*-linux-gnu.
11236 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11238         * include/features.h: Update comment documenting feature test
11239         macros.
11240         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11241         _DEFAULT_SOURCE.
11242         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11243         (_SVID_SOURCE): Likewise.
11244         (_DEFAULT_SOURCE): Update description of default features.
11245         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11246         with _GNU_SOURCE.
11247         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11248         (S_ISVTX): Likewise.
11249         * manual/math.texi (Mathematical Constants): Likewise.
11250         * manual/signal.texi (Interrupted Primitives): Likewise.
11251         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11252         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11253         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11254         Don't refer to _SVID_SOURCE in warning text.
11256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11258         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11259         already defined.
11260         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11261         * sysdeps/mips/dl-lookup.c: Remove.
11262         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11264 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11266         [BZ #16447]
11267         * math/auto-libm-test-in: Add testcase for expl.
11268         * math/auto-libm-test-out: Regenerate.
11269         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11270         calculation of unsafe.
11271         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11273 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11275         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11276         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11277         ports/sysdeps/unix/sysv/linux/aarch64.
11278         * README: Update listing for aarch64*-*-linux-gnu.
11280 2014-02-11  Will Newton  <will.newton@linaro.org>
11282         * manual/probes.texi (Mathematical Function Probes): Use
11283         "triggered" instead of "hit".
11285         * manual/probes.texi (Internal Probes): Add documentation
11286         of setjmp, longjmp and longjmp_target probes.
11288         * include/stap-probe.h: Add comment about probe argument
11289         format.
11291         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11292         definition.  (tr_where, tr_freehook, tr_mallochook,
11293         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11295 2014-02-11  David S. Miller  <davem@davemloft.net>
11297         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11298         processing int_tests.
11300 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11302         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11303         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11304         * sysdeps/unix/sysv/linux/mips: Move directory from
11305         ports/sysdeps/unix/sysv/linux/mips.
11306         * README: Update listing for mips-*-linux-gnu and
11307         mips64-*-linux-gnu.
11309 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11311         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11312         * sysdeps/unix/sysv/linux/m68k: Move directory from
11313         ports/sysdeps/unix/sysv/linux/m68k.
11314         * README: Update listing for m68k-*-linux-gnu.
11316 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11318         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11319         * sysdeps/unix/sysv/linux/generic: Move directory from
11320         ports/sysdeps/unix/sysv/linux/generic.
11321         * sysdeps/unix/sysv/linux/tile: Move directory from
11322         ports/sysdeps/unix/sysv/linux/tile.
11323         * README: Update listing for tile*-*-linux-gnu.
11325 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11327         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11328         __builtin_expect.
11329         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11330         * catgets/open_catalog.c (__open_catalog): Likewise.
11331         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11332         * debug/confstr_chk.c: Likewise.
11333         * debug/fread_chk.c (__fread_chk): Likewise.
11334         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11335         * debug/getgroups_chk.c: Likewise.
11336         * debug/mbsnrtowcs_chk.c: Likewise.
11337         * debug/mbsrtowcs_chk.c: Likewise.
11338         * debug/mbstowcs_chk.c: Likewise.
11339         * debug/memcpy_chk.c: Likewise.
11340         * debug/memmove_chk.c: Likewise.
11341         * debug/mempcpy_chk.c: Likewise.
11342         * debug/memset_chk.c: Likewise.
11343         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11344         * debug/strcat_chk.c (__strcat_chk): Likewise.
11345         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11346         * debug/strncat_chk.c (__strncat_chk): Likewise.
11347         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11348         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11349         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11350         * debug/wcpncpy_chk.c: Likewise.
11351         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11352         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11353         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11354         * debug/wcsncpy_chk.c: Likewise.
11355         * debug/wcsnrtombs_chk.c: Likewise.
11356         * debug/wcsrtombs_chk.c: Likewise.
11357         * debug/wcstombs_chk.c: Likewise.
11358         * debug/wmemcpy_chk.c: Likewise.
11359         * debug/wmemmove_chk.c: Likewise.
11360         * debug/wmempcpy_chk.c: Likewise.
11361         * debug/wmemset_chk.c: Likewise.
11362         * dirent/scandirat.c (SCANDIRAT): Likewise.
11363         * dlfcn/dladdr1.c (dladdr1): Likewise.
11364         * dlfcn/dladdr.c (dladdr): Likewise.
11365         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11366         * dlfcn/dlerror.c (__dlerror): Likewise.
11367         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11368         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11369         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11370         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11371         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11372         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11373         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11374         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11375         Likewise.
11376         * elf/dl-conflict.c: Likewise.
11377         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11378         * elf/dl-dst.h: Likewise.
11379         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11380         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11381         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11382         * elf/dl-init.c (call_init, _dl_init): Likewise.
11383         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11384         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11385         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11386         Likewise.
11387         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11388         Likewise.
11389         * elf/dl-minimal.c (__libc_memalign): Likewise.
11390         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11391         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11392         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11393         * elf/dl-sym.c (do_sym): Likewise.
11394         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11395         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11396         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11397         * elf/dl-writev.h (_dl_writev): Likewise.
11398         * elf/ldconfig.c (search_dir): Likewise.
11399         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11400         (dl_main): Likewise.
11401         * elf/setup-vdso.h (setup_vdso): Likewise.
11402         * grp/compat-initgroups.c (compat_call): Likewise.
11403         * grp/fgetgrent.c (fgetgrent): Likewise.
11404         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11405         * grp/putgrent.c (putgrent): Likewise.
11406         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11407         Likewise.
11408         * hurd/hurdinit.c: Likewise.
11409         * iconvdata/8bit-gap.c (struct): Likewise.
11410         * iconvdata/ansi_x3.110.c : Likewise.
11411         * iconvdata/big5.c : Likewise.
11412         * iconvdata/big5hkscs.c : Likewise.
11413         * iconvdata/cp1255.c: Likewise.
11414         * iconvdata/cp1258.c : Likewise.
11415         * iconvdata/cp932.c : Likewise.
11416         * iconvdata/euc-cn.c: Likewise.
11417         * iconvdata/euc-jisx0213.c : Likewise.
11418         * iconvdata/euc-jp.c: Likewise.
11419         * iconvdata/euc-jp-ms.c : Likewise.
11420         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11421         * iconvdata/gb18030.c : Likewise.
11422         * iconvdata/gbbig5.c (const): Likewise.
11423         * iconvdata/gbgbk.c: Likewise.
11424         * iconvdata/gbk.c : Likewise.
11425         * iconvdata/ibm1364.c : Likewise.
11426         * iconvdata/ibm930.c : Likewise.
11427         * iconvdata/ibm932.c: Likewise.
11428         * iconvdata/ibm933.c : Likewise.
11429         * iconvdata/ibm935.c : Likewise.
11430         * iconvdata/ibm937.c : Likewise.
11431         * iconvdata/ibm939.c : Likewise.
11432         * iconvdata/ibm943.c: Likewise.
11433         * iconvdata/iso_11548-1.c: Likewise.
11434         * iconvdata/iso-2022-cn.c : Likewise.
11435         * iconvdata/iso-2022-cn-ext.c : Likewise.
11436         * iconvdata/iso-2022-jp-3.c: Likewise.
11437         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11438         * iconvdata/iso-2022-kr.c : Likewise.
11439         * iconvdata/iso646.c (gconv_end): Likewise.
11440         * iconvdata/iso_6937-2.c : Likewise.
11441         * iconvdata/iso_6937.c : Likewise.
11442         * iconvdata/iso8859-1.c: Likewise.
11443         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11444         * iconvdata/shift_jisx0213.c : Likewise.
11445         * iconvdata/sjis.c : Likewise.
11446         * iconvdata/t.61.c : Likewise.
11447         * iconvdata/tcvn5712-1.c : Likewise.
11448         * iconvdata/tscii.c: Likewise.
11449         * iconvdata/uhc.c : Likewise.
11450         * iconvdata/unicode.c (gconv_end): Likewise.
11451         * iconvdata/utf-16.c (gconv_end): Likewise.
11452         * iconvdata/utf-32.c (gconv_end): Likewise.
11453         * iconvdata/utf-7.c (base64): Likewise.
11454         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11455         * iconv/gconv_close.c (__gconv_close): Likewise.
11456         * iconv/gconv_open.c (__gconv_open): Likewise.
11457         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11458         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11459         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11460         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11461         (ucs4le_internal_loop_single): Likewise.
11462         * iconv/iconv.c (iconv): Likewise.
11463         * iconv/iconv_close.c: Likewise.
11464         * iconv/loop.c (SINGLE): Likewise.
11465         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11466         * include/atomic.h: Likewise.
11467         * inet/inet6_option.c (option_alloc): Likewise.
11468         * intl/bindtextdom.c (set_binding_values): Likewise.
11469         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11470         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11471         * intl/localealias.c (read_alias_file): Likewise.
11472         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11473         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11474         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11475         * libio/fmemopen.c (fmemopen): Likewise.
11476         * libio/iofgets.c (_IO_fgets): Likewise.
11477         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11478         * libio/iofgetws.c (fgetws): Likewise.
11479         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11480         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11481         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11482         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11483         * locale/findlocale.c (_nl_find_locale): Likewise.
11484         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11485         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11486         Likewise.
11487         * locale/setlocale.c (setlocale): Likewise.
11488         * login/programs/pt_chown.c (main): Likewise.
11489         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11490         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11491         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11492         (mmap, mmap64, mremap, munmap): Likewise.
11493         * math/e_exp2l.c: Likewise.
11494         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11495         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11496         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11497         * math/s_catan.c (__catan): Likewise.
11498         * math/s_catanf.c (__catanf): Likewise.
11499         * math/s_catanh.c (__catanh): Likewise.
11500         * math/s_catanhf.c (__catanhf): Likewise.
11501         * math/s_catanhl.c (__catanhl): Likewise.
11502         * math/s_catanl.c (__catanl): Likewise.
11503         * math/s_ccosh.c (__ccosh): Likewise.
11504         * math/s_ccoshf.c (__ccoshf): Likewise.
11505         * math/s_ccoshl.c (__ccoshl): Likewise.
11506         * math/s_cexp.c (__cexp): Likewise.
11507         * math/s_cexpf.c (__cexpf): Likewise.
11508         * math/s_cexpl.c (__cexpl): Likewise.
11509         * math/s_clog10.c (__clog10): Likewise.
11510         * math/s_clog10f.c (__clog10f): Likewise.
11511         * math/s_clog10l.c (__clog10l): Likewise.
11512         * math/s_clog.c (__clog): Likewise.
11513         * math/s_clogf.c (__clogf): Likewise.
11514         * math/s_clogl.c (__clogl): Likewise.
11515         * math/s_csin.c (__csin): Likewise.
11516         * math/s_csinf.c (__csinf): Likewise.
11517         * math/s_csinh.c (__csinh): Likewise.
11518         * math/s_csinhf.c (__csinhf): Likewise.
11519         * math/s_csinhl.c (__csinhl): Likewise.
11520         * math/s_csinl.c (__csinl): Likewise.
11521         * math/s_csqrt.c (__csqrt): Likewise.
11522         * math/s_csqrtf.c (__csqrtf): Likewise.
11523         * math/s_csqrtl.c (__csqrtl): Likewise.
11524         * math/s_ctan.c (__ctan): Likewise.
11525         * math/s_ctanf.c (__ctanf): Likewise.
11526         * math/s_ctanh.c (__ctanh): Likewise.
11527         * math/s_ctanhf.c (__ctanhf): Likewise.
11528         * math/s_ctanhl.c (__ctanhl): Likewise.
11529         * math/s_ctanl.c (__ctanl): Likewise.
11530         * math/w_pow.c: Likewise.
11531         * math/w_powf.c: Likewise.
11532         * math/w_powl.c: Likewise.
11533         * math/w_scalb.c (sysv_scalb): Likewise.
11534         * math/w_scalbf.c (sysv_scalbf): Likewise.
11535         * math/w_scalbl.c (sysv_scalbl): Likewise.
11536         * misc/error.c (error_tail): Likewise.
11537         * misc/pselect.c (__pselect): Likewise.
11538         * nis/nis_callback.c (__nis_create_callback): Likewise.
11539         * nis/nis_call.c (__nisfind_server): Likewise.
11540         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11541         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11542         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11543         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11544         * nis/nis_lookup.c (nis_lookup): Likewise.
11545         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11546         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11547         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11548         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11549         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11550         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11551         * nis/nss_compat/compat-initgroups.c (add_group)
11552         (internal_getgrent_r): Likewise.
11553         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11554         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11555         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11556         (internal_getspnam_r): Likewise.
11557         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11558         (_nss_nis_getaliasbyname_r): Likewise.
11559         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11560         (_nss_nis_getntohost_r): Likewise.
11561         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11562         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11563         (_nss_nis_getgrgid_r): Likewise.
11564         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11565         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11566         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11567         (_nss_nis_gethostbyname4_r): Likewise.
11568         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11569         (initgroups_netid): Likewise.
11570         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11571         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11572         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11573         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11574         (_nss_nis_getprotobynumber_r): Likewise.
11575         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11576         (_nss_nis_getsecretkey): Likewise.
11577         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11578         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11579         (_nss_nis_getpwuid_r): Likewise.
11580         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11581         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11582         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11583         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11584         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11585         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11586         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11587         Likewise.
11588         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11589         (_nss_nisplus_getntohost_r): Likewise.
11590         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11591         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11592         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11593         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11594         Likewise.
11595         * nis/nss_nisplus/nisplus-initgroups.c
11596         (_nss_nisplus_initgroups_dyn): Likewise.
11597         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11598         (_nss_nisplus_getnetbyaddr_r): Likewise.
11599         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11600         (_nss_nisplus_getprotobynumber_r): Likewise.
11601         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11602         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11603         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11604         Likewise.
11605         * nis/nss_nisplus/nisplus-service.c
11606         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11607         (_nss_nisplus_getservbyport_r): Likewise.
11608         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11609         (_nss_nisplus_getspnam_r): Likewise.
11610         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11611         Likewise.
11612         * nscd/aicache.c (addhstaiX): Likewise.
11613         * nscd/cache.c (cache_search, prune_cache): Likewise.
11614         * nscd/connections.c (register_traced_file, send_ro_fd)
11615         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11616         (main_loop_epoll): Likewise.
11617         * nscd/grpcache.c (addgrbyX): Likewise.
11618         * nscd/hstcache.c (addhstbyX): Likewise.
11619         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11620         * nscd/mem.c (gc, mempool_alloc): Likewise.
11621         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11622         (addinnetgrX): Likewise.
11623         * nscd/nscd-client.h (__nscd_acquire_maplock)
11624         (__nscd_drop_map_ref): Likewise.
11625         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11626         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11627         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11628         Likewise.
11629         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11630         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11631         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11632         (__nscd_get_map_ref): Likewise.
11633         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11634         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11635         Likewise.
11636         * nscd/pwdcache.c (addpwbyX): Likewise.
11637         * nscd/selinux.c (preserve_capabilities): Likewise.
11638         * nscd/servicescache.c (addservbyX): Likewise.
11639         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11640         * posix/fnmatch.c (fnmatch): Likewise.
11641         * posix/getopt.c (_getopt_internal_r): Likewise.
11642         * posix/glob.c (glob, glob_in_dir): Likewise.
11643         * posix/wordexp.c (exec_comm_child): Likewise.
11644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11645         (getanswer_r, gaih_getanswer_slice): Likewise.
11646         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11647         * resolv/res_init.c: Likewise.
11648         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11649         * resolv/res_query.c (__libc_res_nquery): Likewise.
11650         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11651         Likewise.
11652         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11653         * stdio-common/perror.c (perror): Likewise.
11654         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11655         * stdio-common/tmpnam.c (tmpnam): Likewise.
11656         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11657         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11658         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11659         Likewise.
11660         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11661         * stdlib/putenv.c (putenv): Likewise.
11662         * stdlib/setenv.c (__add_to_environ): Likewise.
11663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11664         * stdlib/strtol_l.c (INTERNAL): Likewise.
11665         * string/memmem.c (memmem): Likewise.
11666         * string/strerror.c (strerror): Likewise.
11667         * string/strnlen.c (__strnlen): Likewise.
11668         * string/test-memmem.c (simple_memmem): Likewise.
11669         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11670         * sunrpc/pm_getport.c (__get_socket): Likewise.
11671         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11672         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11673         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11674         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11675         Likewise.
11676         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11678         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11679         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11680         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11681         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11682         Likewise.
11683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11684         Likewise.
11685         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11686         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11688         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11689         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11691         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11692         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11693         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11694         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11695         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11696         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11697         Likewise.
11698         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11699         Likewise.
11700         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11701         Likewise.
11702         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11705         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11706         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11707         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11708         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11709         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11711         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11712         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11714         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11715         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11716         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11717         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11718         Likewise.
11719         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11720         Likewise.
11721         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11722         Likewise.
11723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11724         Likewise.
11725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11727         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11728         Likewise.
11729         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11730         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11731         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11732         * sysdeps/posix/sleep.c: Likewise.
11733         * sysdeps/posix/tempname.c: Likewise.
11734         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11735         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11736         Likewise.
11737         * sysdeps/powerpc/powerpc32/dl-machine.h
11738         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11739         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11741         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11742         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11743         Likewise.
11744         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11745         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11746         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11747         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11748         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11749         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11750         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11751         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11752         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11753         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11754         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11755         (elf_machine_lazy_rel): Likewise.
11756         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11758         (elf_machine_lazy_rel): Likewise.
11759         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11760         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11761         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11762         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11763         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11764         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11765         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11769         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11770         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11771         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11772         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11773         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11774         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11775         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11776         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11777         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11778         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11779         Likewise.
11780         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11781         (__posix_fallocate64_l64): Likewise.
11782         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11783         (posix_fallocate): Likewise.
11784         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11785         Likewise.
11786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11787         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11788         (getifaddrs_internal): Likewise.
11789         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11790         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11791         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11792         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11793         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11794         (__posix_fallocate64_l64): Likewise.
11795         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11796         Likewise.
11797         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11798         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11799         (__get_clockfreq): Likewise.
11800         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11801         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11802         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11805         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11806         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11807         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11808         Likewise.
11809         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11810         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11811         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11812         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11813         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11814         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11815         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11816         Likewise.
11817         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11818         (posix_fallocate): Likewise.
11819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11820         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11821         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11822         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11823         (elf_machine_rela, elf_machine_rela_relative)
11824         (elf_machine_lazy_rel): Likewise.
11825         * time/asctime.c (asctime_internal): Likewise.
11826         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11827         * time/tzset.c (__tzset_parse_tz): Likewise.
11828         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11829         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11830         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11831         * wcsmbs/wcsmbsload.h: Likewise.
11833         [BZ #15894]
11834         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11836         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11837         (arena_get2): Remove THREAD_STATS conditionals.
11838         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11839         (__malloc_stats, int): Likewise.
11841 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11843         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11844         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11846         * manual/setjmp.texi: Fix typos/grammar errors.
11848         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11849         Only return early when n is <= 0.  Delete unused return statement.
11851         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11852         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11853         * debug/tst-longjmp_chk3.c: New file.
11855         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11856         (test_main): Replace code with set_fortify_handler call.
11857         * debug/test-strcpy_chk.c: Likewise.
11858         * debug/tst-chk1.c: Likewise.
11859         * debug/tst-longjmp_chk.c: Likewise.
11860         * test-skeleton.c: Include fcntl.h & paths.h
11861         (set_fortify_handler): Define.
11863         * debug/tst-longjmp_chk.c: Add header comment and include
11864         ../test-skeleton.c.
11865         (do_test): Mark static.
11866         (TEST_FUNCTION): Define.
11868         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11869         (IP_PMTUDISC_INTERFACE): Likewise.
11870         (IP_MULTICAST_IF): Likewise.
11871         (IP_MULTICAST_TTL): Likewise.
11872         (IP_MULTICAST_LOOP): Likewise.
11873         (IP_ADD_MEMBERSHIP): Likewise.
11874         (IP_DROP_MEMBERSHIP): Likewise.
11875         (IP_UNBLOCK_SOURCE): Likewise.
11876         (IP_BLOCK_SOURCE): Likewise.
11877         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11878         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11879         (IP_MSFILTER): Likewise.
11880         (MCAST_JOIN_GROUP): Likewise.
11881         (MCAST_BLOCK_SOURCE): Likewise.
11882         (MCAST_UNBLOCK_SOURCE): Likewise.
11883         (MCAST_LEAVE_GROUP): Likewise.
11884         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11885         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11886         (MCAST_MSFILTER): Likewise.
11887         (IP_MULTICAST_ALL): Likewise.
11888         (IP_UNICAST_IF): Likewise.
11890         * timezone/Makefile: Delete $(have-ksh) check.
11891         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11892         * timezone/tzselect.ksh: Add +x mode bits.
11894         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11895         (ANON_INODE_FS_MAGIC): Likewise.
11896         (BDEVFS_MAGIC): Likewise.
11897         (BINFMTFS_MAGIC): Likewise.
11898         (BTRFS_TEST_MAGIC): Likewise.
11899         (CRAMFS_MAGIC_WEND): Likewise.
11900         (DEBUGFS_MAGIC): Likewise.
11901         (ECRYPTFS_SUPER_MAGIC): Likewise.
11902         (EXT3_SUPER_MAGIC): Likewise.
11903         (EXT4_SUPER_MAGIC): Likewise.
11904         (FUTEXFS_SUPER_MAGIC): Likewise.
11905         (HOSTFS_SUPER_MAGIC): Likewise.
11906         (HUGETLBFS_MAGIC): Likewise.
11907         (MINIX3_SUPER_MAGIC): Likewise.
11908         (MTD_INODE_FS_MAGIC): Likewise.
11909         (NILFS_SUPER_MAGIC): Likewise.
11910         (OPENPROM_SUPER_MAGIC): Likewise.
11911         (PIPEFS_MAGIC): Likewise.
11912         (PSTOREFS_MAGIC): Likewise.
11913         (QNX6_SUPER_MAGIC): Likewise.
11914         (RAMFS_MAGIC): Likewise.
11915         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11916         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11917         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11918         (SECURITYFS_MAGIC): Likewise.
11919         (SELINUX_MAGIC): Likewise.
11920         (SMACK_MAGIC): Likewise.
11921         (SOCKFS_MAGIC): Likewise.
11922         (SQUASHFS_MAGIC): Likewise.
11923         (STACK_END_MAGIC): Likewise.
11924         (TMPFS_MAGIC): Likewise.
11925         (USBDEVICE_SUPER_MAGIC): Likewise.
11926         (V9FS_MAGIC): Likewise.
11927         (XENFS_SUPER_MAGIC): Likewise.
11928         (CRAMFS_MAGIC): Fix typo in comment.
11929         (EXT2_SUPER_MAGIC): Update comment.
11930         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11932 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11934         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11935         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11936         * sysdeps/unix/sysv/linux/arm: Move directory from
11937         ports/sysdeps/unix/sysv/linux/arm.
11938         * README: Update listing for arm-*-linux-gnueabi.
11940         * README: Remove mention of am33.
11942 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11944         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11945         than the comma operator, to avoid "rhs of comma has no effect"
11946         compiler warnings.
11947         (__sigfillset, __sigandset, __sigorset): Likewise.
11948         * include/signal.h (__sigemptyset): Likewise.
11949         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11951 2014-02-07  Allan McRae  <allan@archlinux.org>
11953         * version.h (RELEASE): Set to "development".
11954         (VERSION): Set to "2.19.90"
11955         * NEWS: Add 2.20 section.
11957 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11959         [BZ #16529]
11960         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11962 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11964         * manual/contrib.texi: Update entry for Carlos O'Donell,
11965         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11967 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11969         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11971         * sysdeps/unix/sysv/linux/kernel-features.h
11972         [__LINUX_KERNEL_VERSION >= 0x020621]
11973         (__ASSUME_PROC_PID_TASK_COMM): Define.
11975 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11977         [BZ #16398]
11978         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11979         conversion when destination buffer does not have enough space.
11980         * libio/tst-ftell-partial-wide.c: New test case.
11981         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11983         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11984         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11985         Leonard and Allan McRae.
11987 2014-02-04  David S. Miller  <davem@davemloft.net>
11989         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11990         32-bit.
11992 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11995         New file
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11997         New file
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11999         New file.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12001         New file.
12002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12003         New file.
12004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12005         New file.
12006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12007         New file.
12008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12009         New file.
12010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12011         New file.
12012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12013         New file.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12015         New file.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12017         New file.
12018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12019         New file.
12021 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12023         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12024         * shlib-versions: Likewise.
12026 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12027             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12029         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12030         (abilist-pattern): New variable, set to %-le.abilist.
12032         * Makerules (abilist-pattern): New variable.
12033         (vpath): Use $(abilist-pattern) in place of %.abilist.
12034         (check-abi-% pattern rule): Likewise.
12035         (check-abi, update-abi): Likewise.
12037 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12041 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12043         * manual/startup.texi: Add next, previous, and top entries for
12044         the `Program Arguments' and `Environment Variables' nodes.
12046 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12048         * manual/macros.texi: Add comments before MTASC-safety macros.
12050         * manual/users.texi: Document MTASC-safety properties.
12052         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12053         (pthread_getspecific, pthread_setspecific): Format with
12054         @deftypefun, and add @safety note.
12055         * manual/signal.texi: Move comments that analyze the above
12056         functions to their home place.
12058 2014-02-03  Allan McRae  <allan@archlinux.org>
12060         * po/sl.po: Update Slovenian translation from translation project.
12062 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12064         * manual/time.texi (timegm): Add missing blank after @c.
12065         Reported by Joseph Myers <joseph@codesourcery.com>.
12067 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12069         * manual/check-safety.sh: New.
12070         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12072         * manual/terminal.texi: Document MTASC-safety properties.
12074         * manual/filesys.texi: Document MTASC-safety properties.
12076         * manual/errno.texi: Document MTASC-safety properties.
12078         * manual/intro.texi: Document safety identifiers and
12079         conditionals.
12081         * manual/string.texi (wcstok): Fix prototype.
12082         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12084         * manual/time.texi: Document MTASC-safety properties.
12086         * manual/string.texi: Document MTASC-safety properties.
12088         * manual/threads.texi: Document MTASC-safety properties.
12090         * manual/stdio.texi: Document MTASC-safety properties.
12092         * manual/syslog.texi: Document MTASC-safety properties.
12094         * manual/sysinfo.texi: Document MTASC-safety properties.
12096         * manual/startup.texi: Document MTASC-safety properties.
12098         * manual/socket.texi: Document MTASC-safety properties.
12100         * manual/signal.texi: Document MTASC-safety properties.
12102 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12104         * manual/setjmp.texi: Document MTASC-safety properties.
12106         * manual/search.texi: Document MTASC-safety properties.
12108         * manual/resource.texi: Document MTASC-safety properties.
12110         * manual/process.texi: Document MTASC-safety properties.
12112         * manual/platform.texi: Document MTASC-safety properties.
12114         * manual/pipe.texi: Document MTASC-safety properties.
12116         * manual/pattern.texi: Document MTASC-safety properties.
12118         * manual/message.texi: Document MTASC-safety properties.
12120         [BZ #12751]
12121         * manual/memory.texi: Document MTASC-safety properties.
12123         * manual/math.texi: Document MTASC-safety properties.
12125         * manual/locale.texi: Document MTASC-safety properties.
12127         * manual/llio.texi: Document MTASC-safety properties.
12129         * manual/libdl.texi: New.
12131         * manual/lang.texi: Document MTASC-safety properties.
12133         * manual/job.texi: Document MTASC-safety properties.
12135         * manual/getopt.texi: Document MTASC-safety properties.
12137         * manual/ctype.texi: Document MTASC-safety properties.
12139 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12141         [BZ #16046]
12142         * csu/libc-tls.c (static_map): Remove variable.
12143         (__libc_setup_tls): Use main executable's link map for TLS data.
12144         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12145         casing for LM_ID_BASE and GL(dl_nns).
12146         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12147         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12148         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12149         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12150         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12151         member.
12152         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12153         l_phnum members.
12155 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12157         * manual/debug.texi: Document MTASC-safety properties.
12159 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12161         [BZ #16510]
12162         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12163         of __x86_64__ when disabling x87 inline functions.
12165 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12167         * manual/charset.texi: Document MTASC-safety properties.
12169         * manual/crypt.texi: Document MTASC-safety properties.
12171         * manual/conf.texi: Document MTASC-safety properties.
12173         * manual/arith.texi: Document MTASC-safety properties.
12175         * manual/argp.texi: Document MTASC-safety properties.
12177         * manual/macros.texi: Introduce macros to document multi
12178         thread, asynchronous signal and asynchronous cancellation
12179         safety properties.
12180         * manual/intro.texi: Introduce the properties themselves.
12182 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12184         * sysdeps/sh/sh4/Makefile: New file.
12186 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12188         * math/gen-libm-test.pl ($srcdir): New variable.
12189         ($auto_input): Use it.
12191 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12193         [BZ #16506]
12194         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12195         access beyond array bounds when parsing netgroups file.
12197         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12198         the old buffer before realloc.
12200 2014-01-27  Allan McRae  <allan@archlinux.org>
12202         * po/fr.po: Update French translation from translation project.
12204 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12206         * sysdeps/sh/libm-test-ulps: Regenerate.
12208 2014-01-24  David S. Miller  <davem@davemloft.net>
12210         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12212 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12214         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12215         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12217 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12219         [BZ #16474]
12220         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12221         string pointers after reallocation.
12223 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12225         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12226         __SH4A__ instead of __SH_FPU_ANY__.
12228 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12230         * sysdeps/sh/fpu_control.h: New file.
12231         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12232         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12233         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12234         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12235         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12236         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12237         * sysdeps/sh/sys/ucontext.h: Remove.
12238         * sysdeps/sh/sys: Remove directory.
12240 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12242         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12243         s390/sys/ucontext.h.
12244         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12247 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12249         [BZ #15605]
12250         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12252 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12254         [BZ#16431]
12255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12256         Adjust the vDSO correctly for internal calls.
12257         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12259 2014-01-20  Allan McRae  <allan@archlinux.org>
12261         * po/ca.po: Update Catalan translation from translation project.
12263 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12265         * sysdeps/s390/sotruss-lib.c: New file.
12267 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12269         [BZ#16430]
12270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12271         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12272         local calls issues by not having a PLT stub required for IFUNC calls.
12273         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12275 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12277         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12278         * math/test-fpucw-static.c: Likewise.
12280 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12282         [BZ #16453]
12283         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12285 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12287         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12288         implementation for powerpc.
12290 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12292         [BZ #14782]
12293         * sysdeps/posix/system.c (__libc_system): Do not enable
12294         asynchronous cancellation.
12296 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12298         [BZ #16427]
12299         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12300         handling only for numbers special also in the IEEE case.
12302 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12304         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12306 2014-01-11  Allan McRae  <allan@archlinux.org>
12308         * po/bg.po: Update Bulgarian translation from translation project.
12310         * po/de.po: Update German translation from translation project.
12312 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12314         * sysdeps/generic/gcc-compat.h: New file.
12316 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12318         * benchtests/asin-inputs: Correct slow inputs.
12319         * benchtests/acos-inputs: Likewise.
12321 2014-01-10  Allan McRae  <allan@archlinux.org>
12323         * po:sv.po: Update Swedish translation from translation project.
12325         * po/vi.po: Update Vietnamese translation from translation project.
12327         * po/eo.po: Update Esperanto translation from translation project.
12329         * po/cs.po: Update Czech translation from translation project.
12331         * po/nl.po: Update Dutch translation from translation project.
12333         * po/pl.po: Update Polish translation from translation project.
12335         * po/ru.po: Update Russian translation from translation project.
12337         * po/uk.po: Update Ukrainian translation from translation project.
12339 2014-01-08  Brooks Moses  <bmoses@google.com>
12341         * elf/dl-load.c: Fix comment typo.
12343 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12345         * po/header.pot: Rename to...
12346         * po/pot.header: ... this.
12347         * po/Makefile: Use pot.header.
12349 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12350             Maxim Kuvyrkov  <maxim@kugelworks.com>
12352         [BZ #16394]
12353         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12354         SRC and DEST against LEN.
12356 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12358         [BZ #16414]
12359         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12360         implementation.
12361         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12363 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12367 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12369         [BZ #16408]
12370         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12371         for large positive arguments.
12373 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12375         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12377         * math/auto-libm-test-in: Mark various tests with
12378         xfail-rounding:ldbl-128ibm.
12379         * math/auto-libm-test-out: Regenerated.
12381         [BZ #16407]
12382         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12383         Increase overflow threshold.
12385 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12387         [BZ #14286]
12388         * stdio-common/vfprintf.c: Check for integer overflow.
12390 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12392         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12393         the first argument and return value of __tls_get_addr_internal.
12395 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12397         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12398         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12400 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12402         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12403         * sysdeps/s390/rtld-global-offsets.sym: New file.
12404         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12405         GLIBC_2.19 symbol.
12406         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12409         ... this.
12410         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12411         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12412         ... this.
12413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12414         Regenerate.
12415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12416         Regenerate.
12417         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12418         halfs of GPRs for high_gprs contexts.
12419         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12420         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12421         field.
12422         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12423         uc_flags field.
12424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12425         64 bit versions:
12426         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12427         for high GPRs (uc_high_gprs) and for future extensions
12428         (__reserved).
12429         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12430         for future extensions (__reserved).
12431         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12432         64 bit versions:
12433         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12434         SC_HIGHGPRS offset definition.
12435         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12436         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12438         * Versions.def: Add GLIBC_2.19 for libpthread.
12439         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12440         siglongjmp for libpthread with GLIBC_2.19 symver.
12441         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12442         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12443         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12444         * sysdeps/s390/__longjmp.c: New file.
12445         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12446         * sysdeps/s390/longjmp.c: New file.
12447         * sysdeps/s390/setjmp.S: New file.
12448         * sysdeps/s390/sigjmp.S: New file.
12449         * sysdeps/s390/v1-longjmp.c: New file.
12450         * sysdeps/s390/v1-setjmp.h: New file.
12451         * sysdeps/s390/v1-sigjmp.c: New file.
12452         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12453         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12454         GLIBC_2.19 version.
12455         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12456         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12457         versioned symbols for ____longjmp_chk.
12458         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12461         Regenerate.
12462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12463         Regenerate.
12464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12465         Regenerate.
12466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12467         Regenerate.
12468         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12469         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12470         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12471         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12472         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12473         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12474         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12475         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12476         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12477         * sysdeps/s390/rtld-__longjmp.c: New file.
12478         * sysdeps/s390/rtld-setjmp.S: New file.
12480 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12482         [BZ #16400]
12483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12484         Return -__logl (x) for small positive arguments without evaluating
12485         a polynomial.
12487 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12489         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12490         Rename to ...
12491         (__ptrace_peeksiginfo_args): ... this.
12492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12496 2014-01-06  Allan McRae  <allan@archlinux.org>
12498         * inet/netinet/in.h: Fix typo in comment.
12500 2014-01-05  Andreas Jaeger  <aj@suse.de>
12502         * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 2014-01-05  Allan McRae  <allan@archlinux.org>
12506         * po/libc.pot: Regenerated.
12508         * malloc/memusagestat.c: Fix gettext call formatting.
12510 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12512         * nscd/nscd.c: Improve usage() output.
12514 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12516         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12517         * sysdeps/unix/sysv/linux/configure: Regenerated.
12518         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12519         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12521 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12523         [BZ #16390]
12524         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12525         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12527 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12529         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12530         extra tokens at end of #undef directive.
12531         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12533         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12535 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12537         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12539         * math/auto-libm-test-in: Mark various tests with
12540         xfail-rounding:ldbl-128ibm.
12541         * math/auto-libm-test-out: Regenerated.
12543 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12545         [BZ #16386]
12546         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12547         numbers with subnormal high part when calculating exponent.
12549         [BZ #16385]
12550         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12551         fabs.
12553         [BZ #16384]
12554         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12555         M_LN2l.
12556         (__ieee754_acoshl): Use __log1pl not __log1p.
12558 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12560         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12561         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12562         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12563         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12564         (reused_arena, arena_get2): Convert to GNU style.
12565         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12566         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12567         (memalign_check, __malloc_set_state): Likewise.
12568         * malloc/mallocbug.c (main): Likewise.
12569         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12570         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12571         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12572         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12573         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12574         (__posix_memalign, malloc_info): Likewise.
12575         * malloc/malloc.h: Likewise.
12576         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12577         (mallochook, memalignhook, reallochook, mabort): Likewise.
12578         * malloc/mcheck.h: Likewise.
12579         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12580         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12581         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12582         * malloc/morecore.c (__default_morecore): Likewise.
12583         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12584         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12585         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12586         (print_and_abort): Likewise.
12587         * malloc/obstack.h: Likewise.
12588         * malloc/set-freeres.c (__libc_freeres): Likewise.
12589         * malloc/tst-mallocstate.c (main): Likewise.
12590         * malloc/tst-mtrace.c (main): Likewise.
12591         * malloc/tst-realloc.c (do_test): Likewise.
12593 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12595         [BZ #16366]
12596         * nscd/netgroupcache.c (do_notfound): New function.
12597         (addgetnetgrentX): Use it.
12599         [BZ # 16365]
12600         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12601         NSS_STATUS_NOTFOUND.
12603 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12605         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608 2014-01-01  Allan McRae  <allan@archlinux.org>
12610         * scripts/update-copyrights: Update configure input file suffix.
12612         * NEWS: Update copyright year.
12613         * catgets/gencat.c: Likewise.
12614         * csu/version.c: Likewise.
12615         * debug/catchsegv.sh: Likewise.
12616         * debug/pcprofiledump.c: Likewise.
12617         * debug/xtrace.sh: Likewise.
12618         * elf/ldconfig.c: Likewise.
12619         * elf/ldd.bash.in: Likewise.
12620         * elf/pldd.c: Likewise.
12621         * elf/sotruss.ksh: Likewise.
12622         * elf/sprof.c: Likewise.
12623         * iconv/iconv_prog.c: Likewise.
12624         * iconv/iconvconfig.c: Likewise.
12625         * locale/programs/locale.c: Likewise.
12626         * locale/programs/localedef.c: Likewise.
12627         * login/programs/pt_chown.c: Likewise.
12628         * malloc/memusage.sh: Likewise.
12629         * malloc/memusagestat.c: Likewise.
12630         * malloc/mtrace.pl: Likewise.
12631         * manual/libc.texinfo: Likewise.
12632         * nscd/nscd.c: Likewise.
12633         * nss/getent.c: Likewise.
12634         * nss/makedb.c: Likewise.
12635         * posix/getconf.c: Likewise.
12636         * scripts/test-installation.pl: Likewise.
12638         * All files with FSF copyright notices: Update copyright dates
12639         using scripts/update-copyrights.
12640         * intl/plural.c: Regenerated.
12641         * locale/programs/charmap-kw.h: Likewise.
12642         * locale/programs/locfile-kw.h: Likewise.
12644 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12646         * sysdeps/unix/sysv/linux/configure: Regenerated.
12647         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12648         the linux/fanotify.h header.
12649         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12650         HAVE_LINUX_FANOTIFY_H is defined.
12652 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12654         * benchtests/cos-inputs: New inputs.
12655         * benchtests/sin-inputs: Likewise.
12657         * benchtests/atan-inputs: New inputs. Fix name of multiple
12658         precision fallback inputs.
12660         * benchtests/atanh-inputs: New inputs.
12661         * benchtests/tanh-inputs: Likewise.
12663         * benchtests/acosh-inputs: New inputs.
12664         * benchtests/asinh-inputs: Likewise.
12666         * benchtests/cosh-inputs: New inputs.
12667         * benchtests/sinh-inputs: Likewise.
12669         * benchtests/acos-inputs: Add more inputs.
12670         * benchtests/asin-inputs: Likewise.
12672 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12674         [BZ #16375]
12675         * manual/arith.texi: Fix spelling.
12676         * manual/charset.texi: Likewise.
12677         * manual/errno.texi: Likewise.
12678         * manual/filesys.texi: Likewise.
12679         * manual/lang.texi: Likewise.
12680         * manual/llio.texi: Likewise.
12681         * manual/locale.texi: Likewise.
12682         * manual/message.texi: Likewise.
12683         * manual/resource.texi: Likewise.
12684         * manual/search.texi: Likewise.
12685         * manual/setjmp.texi: Likewise.
12686         * manual/stdio.texi: Likewise.
12687         * manual/string.texi: Likewise.
12688         * manual/sysinfo.texi: Likewise.
12689         * manual/time.texi: Likewise.
12691 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12693         * po/sl.po: New file.
12695 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12697         * .gitignore: Add core/.gdbinit/.gdb_history.
12699 2013-12-27  Allan McRae  <allan@archlinux.org>
12701         [BZ #16369]
12702         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12703         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12705 2013-12-24  Brooks Moses  <bmoses@google.com>
12707         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12708         all compilers that claim C++98 compliance, not just GCC.
12709         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12710         Likewise.
12712 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12714         * NEWS: Restore accidentally deleted bug-fix entries.
12716 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12717             Ondřej Bílka  <neleai@seznam.cz>
12719         [BZ #15073]
12720         * malloc/malloc.c (_int_free): Perform sanity check only if we
12721         have_lock.
12723 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12725         [BZ #12986]
12726         * manual/stdio.texi (String Input Conversions): Clarify that character
12727         classes are not supported.
12729 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12733 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #16337]
12736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12737         Calculate results for small negative arguments directly rather
12738         than using reflection formula with special underflow handling.
12740         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12741         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12742         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12743         (fchflags): Likewise.
12744         (revoke): Likewise.
12745         (setlogin): Likewise.
12746         (sigaltstack): Likewise.
12747         (wait4): Likewise.
12748         (sigblock): Remove.
12749         (sigsetmask): Likewise.
12750         (wait3): Likewise.
12751         (waitpid): Likewise.
12752         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12753         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12754         file.
12755         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12756         * sysdeps/unix/bsd/Makefile: ... here.
12757         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12758         * sysdeps/unix/bsd/Versions: ... here.
12759         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12760         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12761         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12762         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12763         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12764         * sysdeps/unix/bsd/sigblock.c: ... here.
12765         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12766         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12767         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12768         * sysdeps/unix/bsd/sigvec.c: ... here.
12769         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12770         * sysdeps/unix/bsd/tcdrain.c: ... here.
12771         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12772         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12773         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12774         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12775         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12776         * sysdeps/unix/bsd/wait.c: ... here.
12777         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12778         * sysdeps/unix/bsd/wait3.c: ... here.
12779         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12780         * sysdeps/unix/bsd/waitpid.c: ... here.
12782 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12784         [BZ #16356]
12785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12786         round-to-nearest for [!USE_AS_EXPM1L].
12787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12788         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12789         more tests of exp and exp10.  Expect some exp10 tests to miss
12790         exceptions or fail in directed rounding modes.
12791         * math/auto-libm-test-out: Regenerated.
12792         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12793         (exp10_test_tonearest): New function.
12794         (exp10_towardzero_test_data): New array.
12795         (exp10_test_towardzero): New function.
12796         (exp10_downward_test_data): New array.
12797         (exp10_test_downward): New function.
12798         (exp10_upward_test_data): New array.
12799         (exp10_test_upward): New function.
12800         (main): Call the new functions.
12801         * sysdeps/i386/fpu/libm-test-ulps: Update.
12802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12804 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12806         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12807         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12808         * math/auto-libm-test-out: Regenerated.
12809         * math/libm-test.inc (acosh_test_data): Add more tests.
12810         (atanh_test_data): Likewise.
12811         (ceil_test_data): Likewise.
12812         (copysign_test_data): Likewise.
12813         * sysdeps/i386/fpu/libm-test-ulps: Update.
12814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816         * timezone/checktab.awk: Update from tzcode 2013i.
12817         * timezone/private.h: Likewise.
12818         * timezone/scheck.c: Likewise.
12819         * timezone/tzfile.h: Likewise.
12820         * timezone/tzselect.ksh: Likewise.
12821         * timezone/zdump.c: Likewise.
12822         * timezone/zic.c: Likewise.
12824         * math/auto-libm-test-in: Add tests of cpow.
12825         * math/auto-libm-test-out: Regenerated.
12826         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12827         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12828         mpc_cc_c.
12829         (func_calc_desc): Add mpc_cc_c union field.
12830         (test_functions): Add cpow.
12831         (special_fill_2pi): New function.
12832         (special_real_inputs): Add 2pi.
12833         (calc_generic_results): Handle mpc_cc_c.
12834         * sysdeps/i386/fpu/libm-test-ulps: Update.
12835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12837         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12838         csqrt, ctan and ctanh.
12839         * math/auto-libm-test-out: Regenerated.
12840         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12841         (TEST_COND_x86): Likewise.
12842         (ccos_test_data): Use AUTO_TESTS_c_c.
12843         (ccosh_test_data): Likewise.
12844         (cexp_test_data): Likewise.
12845         (clog_test_data): Likewise.
12846         (csqrt_test_data): Likewise.
12847         (ctan_test_data): Likewise.
12848         (ctan_tonearest_test_data): Likewise.
12849         (ctan_towardzero_test_data): Likewise.
12850         (ctan_downward_test_data): Likewise.
12851         (ctan_upward_test_data): Likewise.
12852         (ctanh_test_data): Likewise.
12853         (ctanh_tonearest_test_data): Likewise.
12854         (ctanh_towardzero_test_data): Likewise.
12855         (ctanh_downward_test_data): Likewise.
12856         (ctanh_upward_test_data): Likewise.
12857         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12858         mpc_c_c.
12859         (func_calc_desc): Add mpc_c_c union field.
12860         (FUNC_mpc_c_c): New macro.
12861         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12862         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12863         ctanh.
12864         (special_fill_min_subnorm_p120): New function.
12865         (special_real_inputs): Add min_subnorm_p120.
12866         (calc_generic_results): Handle mpc_c_c.
12867         * sysdeps/i386/fpu/libm-test-ulps: Update.
12868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12870 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12873         (do_sin_slow): New functions.
12874         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12875         (cslow2, csloww1, csloww2): Use the new functions.
12877         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12878         Use M to change sign of result instead of X.  Assume X is
12879         positive.
12880         (csloww1): Likewise.
12881         (__sin): Adjust.
12882         (__cos): Adjust.
12884         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12885         arguments A and DA.
12886         (__sin): Adjust.
12887         (__cos): Likewise.
12889         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12890         (__cos): Likewise.
12891         (sloww1): Don't adjust sign of DX.
12892         (csloww1): Likewise.
12893         (sloww2): Use X directly and don't adjust sign of DX.
12894         (csloww2): Likewise.
12896 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12898         * math/auto-libm-test-in: Add tests of cabs and carg.
12899         * math/auto-libm-test-out: Regenerated.
12900         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12901         (carg_test_data): Likewise.
12902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12903         mpc_c_f.
12904         (func_calc_desc): Add mpc_c_f union field.
12905         (test_functions): Add cabs and carg.
12906         (calc_generic_results): Handle mpc_c_f.
12908         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12909         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12910         as a macro and a compat symbol.
12911         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12912         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12913         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12914         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12915         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12917         not use .hidden.
12918         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12919         Likewise.
12920         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12921         Likewise.
12922         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12923         Likewise.
12924         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12925         Likewise.
12926         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12927         Likewise.
12928         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12929         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12930         from GLIBC_2.3.2.
12932 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12936 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12938         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12939         trailing whitespace removed.
12940         * scripts/config.guess: Update to version 2013-11-29.
12941         * scripts/config.sub: Update to version 2013-10-01.
12943         * math/auto-libm-test-in: Add tests of sincos.
12944         * math/auto-libm-test-out: Regenerated.
12945         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12947         mpfr_f_11.
12948         (func_calc_desc): Add mpfr_f_11 union field.
12949         (test_functions): Add sincos.
12950         (calc_generic_results): Handle mpfr_f_11.
12951         * sysdeps/i386/fpu/libm-test-ulps: Update.
12952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12954 2013-12-19  Andreas Schwab  <schwab@suse.de>
12956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12957         CALL_MCOUNT.
12958         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12960         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12962 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12964         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12965         * sysdeps/i386/fpu/libm-test-ulps: Update.
12966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968         [BZ #16293]
12969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12970         round-to-nearest mode when using frndint.
12971         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12972         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12973         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12974         Likewise.
12975         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12976         sinh test to fail.
12977         * math/auto-libm-test-out: Regenerated.
12978         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12979         (TEST_COND_x86): Likewise.
12980         (expm1_tonearest_test_data): New array.
12981         (expm1_test_tonearest): New function.
12982         (expm1_towardzero_test_data): New array.
12983         (expm1_test_towardzero): New function.
12984         (expm1_downward_test_data): New array.
12985         (expm1_test_downward): New function.
12986         (expm1_upward_test_data): New array.
12987         (expm1_test_upward): New function.
12988         (main): Run the new test functions.
12989         * sysdeps/i386/fpu/libm-test-ulps: Update.
12990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12992         * include/features.h: Update comment documenting feature test
12993         macros.  Mention _DEFAULT_SOURCE in comment.
12994         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12995         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12996         _BSD_SOURCE and _SVID_SOURCE.
12997         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12998         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12999         !_SVID_SOURCE]: Likewise.
13000         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13001         (__USE_POSIX_IMPLICITLY): Define.
13002         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13003         (_POSIX_SOURCE): Undefine and redefine.
13004         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13005         (_POSIX_C_SOURCE): Likewise.
13006         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13007         (Feature Test Macros): Update documentation of default features.
13009 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13011         * benchtests/Makefile: Add bench-strtok.
13012         * benchtests/bench-strtok.c: New file: strtok benchtest.
13014 2013-12-19  Allan McRae  <allan@archlinux.org>
13016         * manual/install.texi: Suppress menu for plain text output.
13017         * INSTALL: Regenerated.
13019 2013-12-18  Brooks Moses  <bmoses@google.com>
13021         [BZ #15846]
13022         * misc/getauxval.c: Include errno.h.
13023         (__getauxval): Set errno to ENOENT if the requested type is not
13024         found.
13025         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13026         don't declare with __attribute_const__.
13027         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13028         * manual/startup.texi: Document that getauxval sets errno.
13030 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13032         * math/auto-libm-test-in: Add tests of jn and yn.
13033         * math/auto-libm-test-out: Regenerated.
13034         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13035         (yn_test_data): Likewise.
13036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13037         mpfr_if_f.
13038         (func_calc_desc): Add mpfr_if_f union field.
13039         (FUNC_mpfr_if_f): New macro.
13040         (test_functions): Add jn and yn.
13041         (calc_generic_results): Assert type of second input for
13042         mpfr_ff_f.  Handle mpfr_if_f.
13043         (output_for_one_input_case): Disable all checking for arguments
13044         fitting floating-point types in case of an integer argument.
13045         * sysdeps/i386/fpu/libm-test-ulps: Update.
13046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13049         Don't expect fegetround reference in libm.so.
13051 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13053         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13054         $(config-cflags-nofma).
13056 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13058         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13059         * math/auto-libm-test-out: Regenerated.
13061         [BZ #16338]
13062         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13063         to determine exponent and adjust argument to have exponent of -1.
13064         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13065         log2.
13066         * math/auto-libm-test-out: Regenerated.
13067         * sysdeps/i386/fpu/libm-test-ulps: Update.
13068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13070 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13072         * manual/probes.texi: Remove cases when per-thread arenas are
13073         disabled.
13075 2013-12-18  Andreas Schwab  <schwab@suse.de>
13077         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13078         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13079         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13080         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13081         * sysdeps/i386/i686/multiarch/Makefile: Update.
13082         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13084 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13086         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13087         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13089 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13091         [BZ #15968]
13092         Support TZ transition times < 00:00:00.
13093         This is needed for version-3 tz-format files; it supports time
13094         stamps past 2037 for America/Godthab (the only entry in the tz
13095         database for which this change is relevant).
13096         * manual/time.texi (TZ Variable): Document transition times
13097         from -167:59:59 through -00:00:01.
13098         * time/tzset.c (tz_rule): Time of day is now signed.
13099         (__tzset_parse_tz): Parse negative time of day.
13101         Document TZ transition times >= 25:00:00.
13102         * manual/time.texi (TZ Variable): Document transition times from
13103         25:00:00 through 167:59:59.  These are already supported, and this
13104         support will help with version-3 tz-format files.
13106         * manual/time.texi (TZ Variable): Modernize North America example
13107         to reflect current (i.e., 2007-and-later) daylight saving rules.
13109         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13111 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13113         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13114         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13117         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13118         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13119         * sysdeps/unix/bsd/clock.c: Likewise.
13120         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13121         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13122         * sysdeps/unix/bsd/init-posix.c: Likewise.
13123         * sysdeps/unix/bsd/poll.c: Likewise.
13124         * sysdeps/unix/bsd/ptsname.c: Likewise.
13125         * sysdeps/unix/bsd/seekdir.c: Likewise.
13126         * sysdeps/unix/bsd/setegid.c: Likewise.
13127         * sysdeps/unix/bsd/seteuid.c: Likewise.
13128         * sysdeps/unix/bsd/setgid.c: Likewise.
13129         * sysdeps/unix/bsd/setrgid.c: Likewise.
13130         * sysdeps/unix/bsd/setruid.c: Likewise.
13131         * sysdeps/unix/bsd/setsid.c: Likewise.
13132         * sysdeps/unix/bsd/setuid.c: Likewise.
13133         * sysdeps/unix/bsd/sigaction.c: Likewise.
13134         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13135         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13136         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13137         * sysdeps/unix/bsd/telldir.c: Likewise.
13138         * sysdeps/unix/bsd/times.c: Likewise.
13139         * sysdeps/unix/bsd/usleep.c: Likewise.
13141         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13142         ($(objpfx)libbsd-compat.a): Remove rule.
13144         * include/features.h (__FAVOR_BSD): Do not define.
13145         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13146         features conflicting with POSIX.
13147         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13148         (_BSD_SOURCE): Remove description of not being a subset of other
13149         feature test macros.
13150         * manual/job.texi (getpgrp): Do not document BSD version.
13151         (getpgid): Do not document by reference to BSD getpgrp.
13152         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13153         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13154         * signal/signal.h [__FAVOR_BSD]: Likewise.
13155         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13156         instead of making contents conditional on [__FAVOR_BSD].
13157         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13159 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13163 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #16314]
13166         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13167         values below 2**-450, not 2**-500.
13168         * math/auto-libm-test-in: Don't allow spurious underflow from
13169         hypot.
13170         * math/auto-libm-test-out: Regenerated.
13172         [BZ #16316]
13173         [BZ #16330]
13174         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13175         values of ha and hb and sort them after adjusting subnormal
13176         arguments.
13177         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13178         Likewise.
13179         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13180         values of ea and eb and sort them after adjusting subnormal
13181         arguments.
13182         * math/auto-libm-test-in: Do not expect some hypot tests of
13183         subnormals to fail.  Add more hypot tests.
13184         * math/auto-libm-test-out: Regenerated.
13186 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13188         [BZ #13304]
13189         * sysdeps/sh/s_fma.c: New file.
13190         * sysdeps/sh/s_fmaf.c: New file.
13191         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13192         version.
13193         * sysdeps/sh/Implies: Add sh/soft-fp.
13195 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13197         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13198         level of indirection to members `objname', `errstring', `malloced'.
13199         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13200         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13201         it as the __longjmp argument (just pass 1 instead).
13202         (_dl_catch_error): Initialize C with argument pointers and address of
13203         volatile local ERRCODE rather than copying values out of C at return.
13205 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13207         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13208         * math/auto-libm-test-out: Regenerated.
13209         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13210         (hypot_test_data): Likewise.
13211         (pow_test_data): Likewise.
13212         (pow_tonearest_test_data): Likewise.
13213         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13214         mpfr_ff_f.
13215         (func_calc_desc): Add mpfr_ff_f union field.
13216         (FUNC_mpfr_ff_f): New macro.
13217         (test_functions): Add atan2, hypot and pow.
13218         (special_fill_min): New function.
13219         (special_fill_minus_min): Likewise.
13220         (special_fill_min_subnorm): Likewise.
13221         (special_fill_minus_min_subnorm): Likewise.
13222         (special_real_inputs): Add min, -min, min_subnorm and
13223         -min_subnorm.
13224         (calc_generic_results): Handle mpfr_ff_f.
13225         * sysdeps/i386/fpu/libm-test-ulps: Update.
13226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13228 2013-12-16  Will Newton  <will.newton@linaro.org>
13230         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13231         (Aligned Memory Blocks): Add documentation for aligned_alloc
13232         and suggest it as an alternative to posix_memalign.
13233         (Hooks for Malloc): Document __memalign_hook is also called
13234         for aligned_alloc.  (Summary of Malloc): Add summary for
13235         aligned alloc.  Document __memalign_hook is also called
13236         for aligned_alloc.
13238 2013-12-16  Will Newton  <will.newton@linaro.org>
13240         * manual/memory.texi (Malloc Examples): Clarify default
13241         alignment documentation.  Suggest posix_memalign rather
13242         than memalign or valloc.
13243         (Aligned Memory Blocks): Remove suggestion to use memalign
13244         or valloc.  Remove obsolete comment about BSD.
13245         Document memalign errno values and mark the function obsolete.
13246         Document posix_memalign returned error codes.  Mark valloc
13247         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13248         called for posix_memalign and valloc.
13249         (Summary of Malloc): Add posix_memalign to function summary.
13250         __memalign_hook is also called for posix_memalign and valloc.
13252 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13254         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13255         TAYLOR_SIN.
13256         (__sin): Adjust.
13257         (__cos): Likewise.
13258         (sloww): Use mynumber union.  Expand ternary operator into
13259         if-else statements.
13260         (cslow): use mynumber union.
13262 2013-12-16  Allan McRae  <allan@archlinux.org>
13264         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13265         * configure: Regenerated.
13267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13269         [BZ #14120]
13270         * configure.ac: Added --enable-maintainer-mode. Check for
13271         autoconf when enabled.
13272         * configure: Regenerated.
13274         * nscd/nscd.service: New file.
13275         * nscd/nscd.tmpfiles: New file.
13277 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13279         [BZ #12100]
13280         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13281         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13282         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13283         (strstr): Add __strstr_sse2_unaligned ifunc.
13284         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13285         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13286         (strcasestr): Remove __strcasestr_sse42 ifunc.
13287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13291 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13293         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13294         * sysdeps/sh/bits/fenv.h: ... here.
13295         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13297 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13299         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13302         hypotf multiarch implementations.
13303         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13306         multiarch hypot for PPC64.
13307         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13310         multiarch hypotf for PPC64.
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13313         modff multiarch implementations.
13314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13317         multiarch modf for PPC64.
13318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13321         multiarch modff for PPC64.
13323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13324         and logl multiarch implementations.
13325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13328         multiarch logb for PPC64.
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13332         multiarch logb for PPC64.
13333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13336         multiarch logb for PPC64.
13338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13339         isinff multiarch implementation.
13340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13341         file.
13342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13344         multiarch isinf for PPC64.
13345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13346         file.
13347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13348         multiarch isinff for PPC64.
13350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13351         finitef multiarch implementation.
13352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13353         file.
13354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13356         multiarch finite for PPC64.
13357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13358         file.
13359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13360         multiarch finitef for PPC64.
13362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13363         lrint multiarch implementation.
13364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13365         file.
13366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13368         multiarch llrint for PPC64.
13369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13370         multiarch lrint for PPC64.
13372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13373         copysignf multiarch implementation.
13374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13375         file.
13376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13377         file.
13378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13379         multiarch copysign for PPC64.
13380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13381         multiarch copysignf for PPC64.
13383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13384         multiarch implementation.
13385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13386         file.
13387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13388         file.
13389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13390         file.
13391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13392         file.
13393         multiarch llround for PPC64.
13394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13395         multiarch trunc for PPC64.
13396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13397         multiarch truncf for PPC64.
13399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13400         multiarch implementation.
13401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13402         file.
13403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13404         file.
13405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13406         file.
13407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13408         file.
13409         multiarch llround for PPC64.
13410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13411         multiarch round for PPC64.
13412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13413         multiarch roundf for PPC64.
13415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13416         multiarch implementation.
13417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13418         file.
13419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13420         file.
13421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13422         file.
13423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13424         file.
13425         multiarch llround for PPC64.
13426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13427         multiarch floor for PPC64.
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13429         multiarch floorf for PPC64.
13431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13432         multiarch implementation.
13433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13434         file.
13435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13436         file.
13437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13438         file.
13439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13440         file.
13441         multiarch llround for PPC64.
13442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13443         multiarch ceil for PPC64.
13444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13445         multiarch ceilf for PPC64.
13447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13448         multiarch implementation.
13449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13450         file.
13451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13452         file.
13453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13454         file.
13455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13456         multiarch llround for PPC64.
13457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13458         multiarch lround for PPC64.
13460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13461         multiarch implementation.
13462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13465         file.
13466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13469         multiarch isnan for PPC64.
13470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13471         multiarch isnanf for PPC64.
13473         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13474         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13475         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13476         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13477         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13480         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13481         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13483         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13486         multiarch implementations.
13487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13488         (__libc_ifunc_impl_list): Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13490         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13491         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13492         multiarch stpcpy for PPC64.
13494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13495         multiarch implementations.
13496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13497         (__libc_ifunc_impl_list): Likewise.
13498         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13499         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13500         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13501         multiarch strcpy for PPC64.
13503         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13504         redefine function name.
13505         (_wordcopy_fwd_dest_aligned): Likewise.
13506         (_wordcopy_bwd_aligned): Likewise.
13507         (_wordcopy_bwd_dest_aligned): Likewise.
13508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13509         multiarch implementations.
13510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13511         (__libc_ifunc_impl_list): Likewise.
13512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13513         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13514         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13516         multiarch wcscpy for PPC64.
13518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13519         multiarch implementations.
13520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13521         (__libc_ifunc_impl_list): Likewise.
13522         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13523         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13524         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13525         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13526         multiarch wcscpy for PPC64.
13528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13529         multiarch implementations.
13530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531         (__libc_ifunc_impl_list): Likewise.
13532         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13533         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13534         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13535         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13536         multiarch wcsrchr for PPC64.
13538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13539         multiarch implementations.
13540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13541         (__libc_ifunc_impl_list): Likewise.
13542         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13543         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13544         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13545         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13546         multiarch wcschr for PPC64.
13548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13549         multiarch implementations.
13550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13551         (__libc_ifunc_impl_list): Likewise.
13552         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13553         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13554         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13555         multiarch strchrnul for PPC64.
13557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13558         implementations.
13559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13560         (__libc_ifunc_impl_list): Likewise.
13561         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13562         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13563         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13564         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13565         strchr for PPC64.
13567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13568         implementations.
13569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13570         (__libc_ifunc_impl_list): Likewise.
13571         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13572         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13574         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13575         strncmp for PPC64.
13577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13578         multiarch implementations.
13579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13580         (__libc_ifunc_impl_list): Likewise.
13581         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13582         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13583         strncasecmp for PPC64.
13584         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13585         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13586         multiarch strncasecmp_l for PPC64.
13588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13589         multiarch implementations.
13590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13591         (__libc_ifunc_impl_list): Likewise.
13592         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13594         multiarch strcasecmp for PPC64.
13595         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13596         file.
13597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13598         multiarch strcasecmp_l for PPC64.
13600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13601         implementations.
13602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13603         (__libc_ifunc_impl_list): Likewise.
13604         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13605         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13606         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13607         strnlen for PPC64.
13609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13610         implementations.
13611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13612         (__libc_ifunc_impl_list): Likewise.
13613         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13614         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13615         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13616         strlen for PPC64.
13618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13619         implementations.
13620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13621         (__libc_ifunc_impl_list): Likewise.
13622         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13623         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13624         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13625         rawmemrchr for PPC64.
13627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13628         implementation.
13629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13630         (__libc_ifunc_impl_list): Likewise.
13631         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13632         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13633         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13634         memrchr for PPC64.
13636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13637         implementation.
13638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13639         (__libc_ifunc_impl_list): Likewise.
13640         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13641         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13642         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13643         memchr for PPC64.
13645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13646         implementation.
13647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13648         (__libc_ifunc_impl_list): Likewise.
13649         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13650         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13651         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13652         mempcpy for PPC64.
13654         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13655         avoid cretion of __bzero symbol.
13656         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13657         Likewise.
13658         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13659         Likewise.
13660         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13661         Likewise.
13662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13663         multiarch implementations.
13664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13665         (__libc_ifunc_impl_list): Likewise.
13666         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13667         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13668         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13669         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13670         bzero for PPC32.
13671         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13672         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13673         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13674         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13675         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13676         memset for PPC64.
13677         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13679         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13681         implementations.
13682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13683         (__libc_ifunc_impl_list): Likewise.
13684         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13685         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13686         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13687         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13688         memcmp for PPC64.
13690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13691         multiarch for POWER/PPC64.
13692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13693         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13694         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13695         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13696         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13697         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13698         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13699         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13700         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13701         memcpy for PPC64.
13703         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13704         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13705         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13706         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13707         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13708         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13709         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13710         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13711         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13712         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13713         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13714         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13715         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13716         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13717         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13726 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13728         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13730 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * benchtests/Makefile (bench): Add exp2 and log2.
13733         (LDLIBS-bench-exp2): Add -lm.
13734         (LDLIBS-bench-log2): Likewise.
13735         * benchtests/exp2-inputs: New inputs file.
13736         * benchtests/log2-inputs: New inputs file.
13737         * benchtests/log-inputs: Add new inputs.
13738         * benchtests/tan-inputs: Likewise.
13740 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13742         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13743         definition...
13744         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13745         (csloww2): ... from here.
13747         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13748         instead of structures.
13749         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13750         (POLYNOMIAL): Likewise.
13751         (TAYLOR_SLOW): Likewise.
13752         (__sin): Likewise.
13753         (__cos): Likewise.
13754         (slow1): Likewise.
13755         (slow2): Likewise.
13756         (sloww): Likewise.
13757         (sloww1); Likewise.
13758         (sloww2): Likewise.
13759         (bsloww1): Likewise.
13760         (bsloww2): Likewise.
13761         (cslow2): Likewise.
13762         (csloww): Likewise.
13763         (csloww1): Likewise.
13764         (csloww2): Likewise.
13766 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13768         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13769         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13770         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13771         * malloc/hooks.c (realloc_check): Likewise.
13773         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13774         * malloc/arena.c: Remove PER_THREAD conditional.
13775         [!PER_THREAD]: Remove code.
13776         (ptmalloc_unlock_all2): Likewise.
13777         (ptmalloc_init): Likewise.
13778         (_int_new_arena): Likewise.
13779         (arena_get2): Likewise.
13780         * malloc/hooks.c (__malloc_get_state): Likewise.
13781         (__malloc_set_state): Likewise.
13782         * malloc/malloc.c: Likewise.
13783         (struct malloc_state): Likewise.
13784         (struct malloc_par): Likewise.
13785         (__libc_realloc): Likewise.
13786         (__libc_mallopt): Likewise.
13788 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13790         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13792 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13794         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13795         macro to a function.  Check for zero perturb_byte.
13796         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13798         * malloc/malloc.c: (force_reg): Remove.
13799         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13800         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13801         force_reg by atomic_forced_read.
13802         * malloc/arena.c (ptmalloc_init): Likewise.
13803         * malloc/hooks.c (top_check): Likewise.
13805 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13809 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13813 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13815         * math/auto-libm-test-in: Add tests of lgamma.
13816         * math/auto-libm-test-out: Regenerated.
13817         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13818         (M_LOG_2_SQRT_PIl): Likewise.
13819         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13821         mpfr_f_f1.
13822         (func_calc_desc): Add mpfr_f_f1 union field.
13823         (ARGS1): New macro.
13824         (ARGS2): Likewise.
13825         (ARGS3): Likewise.
13826         (ARGS4): Likewise.
13827         (RET1): Likewise.
13828         (RET2): Likewise.
13829         (CALC): Likewise.
13830         (FUNC): Likewise.
13831         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13832         (test_functions): Add lgamma.
13833         (calc_generic_results): Handle mpfr_f_f1.
13834         * sysdeps/i386/fpu/libm-test-ulps: Update.
13835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13839         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13840         __mpn_add_n for PowerPC64/POWER7.
13841         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13842         __mpn_sub_n for PowerPC64/POWER7.
13844         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13845         __mpn_addmul_1 for PowerPC64.
13846         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13847         __mpn_submul_1 for PowerPC64.
13848         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13849         for PowerPC64.
13850         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13851         for PowerPC64.
13853 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13855         [BZ #15089]
13856         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13858 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13860         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13862         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13863         add multiarch folders.
13864         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13865         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13866         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13867         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13868         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13869         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13870         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13871         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13872         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13873         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13874         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13883         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13885         New file.
13886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13887         New file.
13888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13889         multiarch __ieee754_hypot for PowerPC32.
13890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13891         New file.
13892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13893         New file.
13894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13895         multiarch __ieee754_hypotf for PowerPC32.
13897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13898         long_double_symbol only if __logbl is defined.
13899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13900         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13902         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13903         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13904         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13906         path for implementation.
13907         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13908         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13910         logb, and logbl multiarch implementations for PowerPC32.
13911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13912         file.
13913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13914         file.
13915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13916         multiarch logb for PowerPC32.
13917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13918         file.
13919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13920         file.
13921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13922         multiarch logbf for PowerPC32.
13923         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13925         file.
13926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13927         multiarch logbl implementation for PowerPC32.
13929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13930         and modff multiarch implementations.
13931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13932         New file.
13933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13934         New file.
13935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13936         multiarch modf for PowerPC32.
13937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13938         New file.
13939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13940         New file.
13941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13942         multiarch modff for PowerPC32.
13944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13945         and lrintf multiarch implementations.
13946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13947         New file.
13948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13949         New file.
13950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13951         multiarch lrint for PowerPC32.
13952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13953         file: multiarch lrintf for PowerPC32.
13955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13956         and lroundf multiarch implementations.
13957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13958         New file.
13959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13960         New file.
13961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13962         New file.
13963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13964         multiarch lround for PowerPC32.
13965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13966         file: multiarch lroundf for PowerPC32.
13968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13969         copysign and copysignf multiarch implementations.
13970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13971         New file.
13972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13973         New file.
13974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13975         file: multiarch copysign for PowerPC32.
13976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13977         file: multiarch copysignf for PowerPC32.
13979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13980         and truncf multiarch implementations.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13982         New file.
13983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13984         file.
13985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13986         multiarch trunc for PowerPC32.
13987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13988         New file.
13989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13990         New file.
13991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13992         multiarch truncf for PowerPC32.
13994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13995         and roundf multiarch implementations.
13996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13997         New file.
13998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13999         file.
14000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14001         multiarch round for PowerPC32.
14002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14003         New file.
14004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14005         New file.
14006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14007         multiarch roundf for PowerPC32.
14009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14010         and floorf multiarch implementations.
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14012         New file.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14014         file.
14015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14016         multiarch floor for PowerPC32.
14017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14018         New file.
14019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14020         New file.
14021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14022         multiarch floorf for PowerPC32.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14025         and ceilf multiarch implementations.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14027         New file.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14029         file.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14031         multiarch ceil for PowerPC32.
14032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14033         New file.
14034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14035         file.
14036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14037         multiarch ceilf for PowerPC32.
14039         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14040         is defined.
14041         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14042         FINITEF is defined.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14044         and finitef multiarch implementations.
14045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14046         New file.
14047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14048         file.
14049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14050         multiarch finite for PowerPC32.
14051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14052         New file.
14053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14054         file: multiarch finitef for PowerPC32.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14057         and isinff multiarch implementations.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14059         file.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14061         file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14063         multiarch isinf for PowerPC32.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14065         New file.
14066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14067         multiarch isinff for PowerPC32.
14069         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14070         alias when __isnan is defined.
14071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14072         and isnanf multiarch implementations.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14074         file.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14076         file.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14078         file.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14080         file.
14081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14082         multiarch isnan for PowerPC32.
14083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14084         New file.
14085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14086         New file.
14087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14088         multiarch isnanf for PowerPC32.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14091         and sqrtf multiarch implementations.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14093         file.
14094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14095         file.
14096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14097         multiarch sqrt for PowerPC32.
14098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14099         file.
14100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14101         file.
14102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14103         multiarch sqrtf for PowerPC32.
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14106         and llroundf multiarch implementations.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14108         New file.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14110         New file.
14111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14112         New file.
14113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14114         file: multiarch llround for PowerPC32.
14115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14116         file: multiarch llroundf for PowerPC32.
14118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14119         multiarch PowerPC32 fpu implementations.
14120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14121         New file.
14122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14123         New file.
14124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14125         multiarch llrint for PowerPC32.
14126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14127         New file.
14128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14129         New file.
14130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14131         file.
14133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14136         file.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14138         file.
14139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14140         file.
14141         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14142         multiarch wordcopy for PPC32.
14143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14144         wordcopy objects.
14145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14146         (__libc_ifunc_impl_list): Likewise.
14147         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14148         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14149         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14150         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14151         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14152         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14154         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14156         file.
14157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14158         file.
14159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14160         file.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14162         multiarch wcscpy for PPC32.
14163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14164         multiarch objects.
14165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14166         (__libc_ifunc_impl_list): Likewise.
14167         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14168         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14169         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14170         sysdeps/powerpc/power6/wcscpy.c.
14172         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14174         file.
14175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14176         file.
14177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14178         file.
14179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14180         multiarch wcsrchr for PPC32.
14181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14182         multiarch objects.
14183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14184         (__libc_ifunc_impl_list): Likewise.
14185         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14186         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14187         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14188         sysdeps/powerpc/power6/wcsrchr.c.
14190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14191         file.
14192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14193         file.
14194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14196         multiarch wcschr for PPc32.
14197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14198         multiarch objects.
14199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14200         (__libc_ifunc_impl_list): Likewise.
14201         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14202         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14203         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14204         sysdeps/powerpc/power6/wcschr.c.
14206         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14208         file.
14209         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14210         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14211         file: multiarch strchr for PPC32.
14212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14213         multiarch objects.
14214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14215         (__libc_ifunc_impl_list): Likewise.
14217         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14218         name.
14219         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14220         file.
14221         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14222         file.
14223         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14224         multiarch strchrnul for PPC32.
14225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14226         multiarch objects.
14227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14228         (__libc_ifunc_impl_list): Likewise.
14230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14231         file.
14232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14233         multiarch strncasecmp for PPC32.
14234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14235         file.
14236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14237         multiarch strncasecmp_l for PPC32.
14238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14239         strncasecmp multiarch objects.
14240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14241         (__libc_ifunc_impl_list): Likewise.
14243         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14244         file.
14245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14246         multiarch strncasecmp for PPC32.
14247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14248         New file.
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14250         multiarch strcasecmp_l for PPC32.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14252         multiarch objects.
14253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14254         (__libc_ifunc_impl_list): Likewise.
14256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14257         file.
14258         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14259         file.
14260         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14261         multiarch strncmp for PPC32.
14262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14263         multiarch objects.
14264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14265         (__libc_ifunc_impl_list): Likewise.
14267         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14268         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14269         file.
14270         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14271         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14273         multiarch objects.
14274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14275         (__libc_ifunc_impl_list): Likewise.
14277         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14278         file.
14279         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14280         file.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14283         multiarch objects.
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14285         (__libc_ifunc_impl_list): Likewise.
14287         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14288         file.
14289         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14290         file.
14291         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14292         multiarch rawmemchr for PPC32.
14293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14294         multiarch objects.
14295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14296         (__libc_ifunc_impl_list): Likewise.
14298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14299         file.
14300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14301         file.
14302         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14303         file: memrchr multiarch for PPC32.
14304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14305         multiarch objects.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14307         (__libc_ifunc_impl_list): Likewise.
14309         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14311         file.
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14314         multiarch memchr for PPC32.
14315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14316         multiarch objects.
14317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14318         (__libc_ifunc_impl_list): Likewise.
14320         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14322         file.
14323         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14324         file.
14325         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14326         file: multiarch mempcpy for PPC32.
14327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14328         multiarch objects.
14329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14330         (__libc_ifunc_impl_list): Likewise.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14333         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14334         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14335         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14336         multiarch bzero for PPC32.
14337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14338         file.
14339         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14340         file.
14341         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14342         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14343         file: multiarch memset for PPC32.
14344         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14346         memset multiarch objects.
14347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14348         (__libc_ifunc_impl_list): Likewise.
14350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14351         file.
14352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14354         memcmp for PPC32.
14355         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14357         multiarch objects.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14359         (__libc_ifunc_impl_list): Likewise.
14361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14364         file.
14365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14366         file.
14367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14368         file.
14369         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14370         multiarch memcpy for PPC32.
14371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14372         multiarch objects.
14373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14374         (__libc_ifunc_impl_list): Likewise.
14376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14377         support multiarch for POWER/PPC32.
14378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14379         Likewise.
14380         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14382         Implies file to make multiarch folder appers before the fpu and
14383         default folder for power4 configuration.
14385 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14387         * scripts/bench.pl: Append volatile keyword to type.
14389 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14391         * sysdeps/sh/sotruss-lib.c: New file.
14392         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14394 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #6810]
14401         * math/w_tgamma.c: Include <errno.h>.
14402         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14403         * math/w_tgammaf.c: Include <errno.h>.
14404         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14405         * math/w_tgammal.c: Include <errno.h>.
14406         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14407         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14408         underflow.  Add more tgamma tests.
14409         * math/auto-libm-test-out: Regenerated.
14410         * sysdeps/i386/fpu/libm-test-ulps: Update.
14411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14414         sin, sinh, tan, tanh, tgamma, y0 and y1.
14415         * math/auto-libm-test-out: Regenerated.
14416         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14417         (TEST_COND_x86): Likewise.
14418         (M_E2l): Remove macro.
14419         (M_E3l): Likewise.
14420         (M_2_SQRT_PIl): Likewise.
14421         (M_SQRT_PIl): Likewise.
14422         (M_1_DIV_El): Likewise.
14423         (log_test_data): Use AUTO_TESTS_f_f.
14424         (log10_test_data): Likewise.
14425         (log1p_test_data): Likewise.
14426         (log2_test_data): Likewise.
14427         (sin_test_data): Likewise.
14428         (sin_tonearest_test_data): Likewise.
14429         (sin_towardzero_test_data): Likewise.
14430         (sin_downward_test_data): Likewise.
14431         (sin_upward_test_data): Likewise.
14432         (sinh_test_data): Likewise.
14433         (sinh_tonearest_test_data): Likewise.
14434         (sinh_towardzero_test_data): Likewise.
14435         (sinh_downward_test_data): Likewise.
14436         (sinh_upward_test_data): Likewise.
14437         (tan_test_data): Likewise.
14438         (tan_tonearest_test_data): Likewise.
14439         (tan_towardzero_test_data): Likewise.
14440         (tan_downward_test_data): Likewise.
14441         (tan_upward_test_data): Likewise.
14442         (tanh_test_data): Likewise.
14443         (tgamma_test_data): Likewise.
14444         (y0_test_data): Likewise.
14445         (y1_test_data): Likewise.
14446         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14447         (special_real_inputs): Add pi/4.
14448         * sysdeps/i386/fpu/libm-test-ulps: Update.
14449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14453         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14454         "longjmp_target" static probes.
14455         (__longjmp): Rename to __longjmp_symbol.
14456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14457         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14458         on which longjmp to generate.
14459         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14460         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14461         probe.
14462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14463         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14465         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14466         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14467         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14469         __longjmp_symbol based on which __longjmp to generate.
14470         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14471         probe.
14472         (setjmp): Rename to setjmp_symbol.
14473         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14474         (_setjmp): Rename to _setjmp_symbol.
14475         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14476         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14477         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14478         which setjmp to generate.
14479         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14480         "longjmp_target" static probes.
14482 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484         * benchtests/README: Add note about output arguments.
14485         * benchtests/bench-sincos.c: Remove file.
14486         * benchtests/sincos-inputs: New file.
14487         * scripts/bench.pl: Identify output arguments and define
14488         static variables for them.
14490         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14492         [BZ #15941]
14493         * Makefile (INSTALL): Add install-plain.texi as the primary
14494         dependency.
14495         * manual/install-plain.texi: New file.
14496         * manual/install.texi: Include node directive only for
14497         non-plaintext output.
14499 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14501         * stdlib/longlong.h: Update from GCC.
14503         [BZ #6807]
14504         [BZ #15901]
14505         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14506         * math/w_j0f.c (y0f): Likewise.
14507         * math/w_j0l.c (__y0l): Likewise.
14508         * math/w_j1.c (y1): Likewise.
14509         * math/w_j1f.c (y1f): Likewise.
14510         * math/w_j1l.c (__y1l): Likewise
14511         * math/w_jn.c (yn): Likewise.
14512         * math/w_jnf.c (ynf): Likewise.
14513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14514         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14515         value for Bessel function domain errors outside _SVID_ mode.
14516         Adjust sign of return value for yn (negative integer, 0).
14517         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14518         by zero in return for negative x and set sign appropriately for
14519         negative n.
14520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14521         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14522         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14523         expectations in error cases.
14524         (y1_test_data): Likewise.
14525         (yn_test_data): Likewise.
14526         * sysdeps/i386/fpu/libm-test-ulps: Update.
14527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14531         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14532         "64" to "64-v1".  Add "64-v2".
14533         (abi-64-options): Rename to ...
14534         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14535         (abi-64-condition): Rename to ...
14536         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14537         (abi-64-ld-soname): Rename to ...
14538         (abi-64-v1-ld-soname): ... this.
14539         (abi-64-v2-options): Define.
14540         (abi-64-v2-condition): Likewise.
14541         (abi-64-v2-ld-soname): Likewise.
14542         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14543         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14548 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14549             Alan Modra  <amodra@gmail.com>
14551         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14552         New versions for use with the ELFv2 ABI.
14553         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14554         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14555         declaration.
14556         (struct La_ppc64v2_retval): Likewise.
14557         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14558         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14559         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14560         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14561         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14563         Do not save or restore CR.
14564         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14565         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14566         return values for ELFv2 ABI.  Fix location of FPR return registers.
14567         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14568         updated values for _CALL_ELF == 2.
14569         (La_regs, La_retval, int_retval): Likewise.
14571 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14573         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14574         (FRAME_MIN_SIZE_PARM): Likewise.
14575         (FRAME_BACKCHAIN): Likewise.
14576         (FRAME_CR_SAVE): Likewise.
14577         (FRAME_LR_SAVE): Likewise.
14578         (FRAME_TOC_SAVE): Likewise.
14579         (FRAME_PARM_SAVE): Likewise.
14580         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14581         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14582         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14583         (call_mcount_parm_offset): New macro.
14584         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14585         (PROF): Use symbolic stack frame offsets.
14586         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14587         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14588         Redefine in terms of FRAME_MIN_SIZE.
14589         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14590         (_dl_profile_resolve): Likewise.  Update comment.
14591         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14592         symbols stack frame offsets.
14593         (__sigsetjmp): Likewise.
14594         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14595         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14596         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14597         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14600         (FRAME_BACKCHAIN): Remove.
14601         (FRAME_CR_SAVE): Likewise.
14602         (FRAME_LR_SAVE): Likewise.
14603         (FRAME_COMPILER_DW): Likewise.
14604         (FRAME_LINKER_DW): Likewise.
14605         (FRAME_TOC_SAVE): Likewise.
14606         (FRAME_PARM_SAVE): Likewise.
14607         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14608         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14609         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14611         (CHECK_SP): Use symbolic stack frame offsets.
14612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14613         zone" instead of caller's parameter save area for temp storage.
14614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14615         Likewise.  Also, use symbolic stack frame offsets.
14616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14617         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14618         our own stack frame instead of the caller's.
14619         (__socket): Use symbolic stack frame offsets.
14621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14622             Alan Modra  <amodra@gmail.com>
14624         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14625         Define.
14626         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14627         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14628         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14629         New function.
14630         (elf_machine_fixup_plt): Call it.
14631         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14632         reloc arguments.
14633         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14634         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14635         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14636         r2 before calling target.
14638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14639             Alan Modra  <amodra@gmail.com>
14641         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14642         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14643         versions of macros to support ELFv2 ABI.
14644         (LOCALENTRY): New macro.
14645         (ENTRY, EALIGN): Use it.
14646         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14647         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14648         fall through into ENTRY entry point.
14649         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14650         Only define if _CALL_ELF != 2.
14652         (elf_machine_matches_host): Verify ABI version matches.
14653         (RTLD_START): Use LOCALENTRY.
14654         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14655         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14656         (PLT_ENTRY_WORDS): New macro.
14657         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14658         (elf_machine_runtime_setup): Support ELFv2 ABI.
14659         (elf_machine_fixup_plt): Likewise.
14660         (elf_machine_plt_conflict): Likewise.
14661         (resolve_ifunc): Likewise.
14662         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14664         Likewise.
14665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14666         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14668         (makecontext): Support ELFv2 ABI.
14669         * elf/elf.h (EF_PPC64_ABI): Define.
14671 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14673         * sysdeps/powerpc/powerpc64/sysdep.h
14674         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14675         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14676         (ENTRY) [ASSEMBLER]: ... but instead here ...
14677         (EALIGN) [ASSEMBLER]: ... and here.
14678         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14679         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14680         (ENTRY_2) [!ASSEMBLER]: Use it.
14681         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14682         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14683         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14684         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14685         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14687         Use PPC64_LOAD_FUNCPTR.
14689         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14691 2013-12-04  Alan Modra  <amodra@gmail.com>
14693         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14694         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14695         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14696         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14699         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14700         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14701         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14702         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14703         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14708         (__makecontext): Fix incorrect CFI when backtracing out of
14709         context created via makecontext.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14711         (__setcontext): Fix incorrect CFI during switch to new context.
14712         (__novec_setcontext): Likewise.
14714 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14716         [BZ #4772]
14717         * time/strptime_l.c (__strptime_internal): Allow modifiers
14718         in strptime.
14719         * time/tst-strptime.c (day_tests): Add testcase.
14721 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723         * scripts/bench.pl: Skip over blank lines.
14725 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14727         [BZ #926]
14728         * manual/time.texi (Calendar Time): Clarify what timezone functions
14729         use.
14731 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14735 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14737         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14738         implementation.
14739         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14740         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14741         * debug/memset_chk.c (__memset_chk): Likewise.
14742         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14743         * debug/strncpy_chk.c: Likewise.
14745 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14747         [BZ #15268]
14748         [BZ #15425]
14749         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14750         (__ieee754_exp): For possibly underflowing results, check size of
14751         result and force underflow exception if required.
14752         * math/auto-libm-test-in: Add more tests of exp.
14753         * math/auto-libm-test-out: Regenerated.
14754         * sysdeps/i386/fpu/libm-test-ulps: Update.
14755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14757         [BZ #16283]
14758         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14759         * math/w_exp2f.c (__exp2f): Likewise.
14760         * math/w_exp2l.c (__exp2l): Likewise.
14761         * math/auto-libm-test-in: Do not allow missing errno on exp2
14762         underflow.
14763         * math/auto-libm-test-out: Regenerated.
14765 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14767         [BZ #16274]
14768         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14769         handle filename validation.
14770         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14771         (do_open): Delete.
14773 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14775         [BZ #6786]
14776         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14777         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14778         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14779         <float.h>.
14780         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14781         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14782         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14784         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14785         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14786         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14787         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14788         Add more erfc tests.
14789         * math/auto-libm-test-out: Regenerated.
14790         * sysdeps/i386/fpu/libm-test-ulps: Update.
14791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14793         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14794         exp2, expm1, j0 and j1.
14795         * math/auto-libm-test-out: Regenerated.
14796         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14797         (erfc_test_data): Likewise.
14798         (exp_test_data): Likewise.
14799         (exp_tonearest_test_data): Likewise.
14800         (exp_towardzero_test_data): Likewise.
14801         (exp_downward_test_data): Likewise.
14802         (exp_upward_test_data): Likewise.
14803         (exp10_test_data): Likewise.
14804         (exp2_test_data): Likewise.
14805         (expm1_test_data): Likewise.
14806         (j0_test_data): Likewise.
14807         (j1_test_data): Likewise.
14808         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14809         (input_flag_type): Add flag_xfail_rounding.
14810         (input_flags): Add xfail-rounding.
14811         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14812         (output_for_one_input_case): Handle flag_xfail_rounding.
14813         * sysdeps/i386/fpu/libm-test-ulps: Update.
14814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14816 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14818         [BZ #16289]
14819         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14820         division by 0.
14822 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14824         [BZ #16195]
14825         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14826         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14827         (STAP_PROBE0): New macro.
14828         (STAP_PROBE1): Likewise.
14829         (STAP_PROBE2): Likewise.
14830         (STAP_PROBE3): Likewise.
14831         (STAP_PROBE4): Likewise.
14833 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14835         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14837 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14839         * benchtests/Makefile (bench): Add sqrt.
14840         (LDLIBS-bench-sqrt): New.
14841         * benchtests/sqrt-input: New.
14843 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14845         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14846         (GAIH_EAI): Likewise.
14847         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14848         (gaih_inet): Likewise.
14849         (getaddrinfo): Don't use GAIH_EAI.
14851         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14852         (struct gaih): Remove definition.
14854 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14856         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14857         Use HERRNOP directly.
14859 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14863 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14865         * math/gen-auto-libm-tests.c (test_functions): Add more
14866         single-argument functions.
14867         (special_fill_pi_2): New function.
14868         (special_fill_minus_pi_2): Likewise.
14869         (special_fill_pi_6): Likewise.
14870         (special_fill_minus_pi_6): Likewise.
14871         (special_fill_pi_3): Likewise.
14872         (special_fill_2pi_3): Likewise.
14873         (special_fill_e): Likewise.
14874         (special_fill_1_e): Likewise.
14875         (special_fill_e_minus_1): Likewise.
14876         (special_real_inputs): Add more special inputs.
14877         (output_for_one_input_case): Do not require ERANGE on underflow to
14878         zero if round-to-nearest result does not underflow to zero, unless
14879         exact results required.
14880         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14881         atan, atanh, cbrt, cos and cosh.
14882         * math/auto-libm-test-out: Regenerated.
14883         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14884         (acos_tonearest_test_data): Likewise.
14885         (acos_towardzero_test_data): Likewise.
14886         (acos_downward_test_data): Likewise.
14887         (acos_upward_test_data): Likewise.
14888         (acosh_test_data): Likewise.
14889         (asin_test_data): Likewise.
14890         (asin_tonearest_test_data): Likewise.
14891         (asin_towardzero_test_data): Likewise.
14892         (asin_upward_test_data): Likewise.
14893         (asinh_test_data): Likewise.
14894         (atan_test_data): Likewise.
14895         (atanh_test_data): Likewise.
14896         (cbrt_test_data): Likewise.
14897         (cos_test_data): Likewise.
14898         (cos_tonearest_test_data): Likewise.
14899         (cos_towardzero_test_data): Likewise.
14900         (cos_downward_test_data): Likewise.
14901         (cos_upward_test_data): Likewise.
14902         (cosh_test_data): Likewise.
14903         (cosh_tonearest_test_data): Likewise.
14904         (cosh_towardzero_test_data): Likewise.
14905         (cosh_downward_test_data): Likewise.
14906         (cosh_upward_test_data): Likewise.
14907         * sysdeps/i386/fpu/libm-test-ulps: Update.
14908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14910 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14912         [BZ #6787]
14913         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14914         * math/w_exp10f.c (__exp10f): Likewise.
14915         * math/w_exp10l.c (__exp10l): Likewise.
14916         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14917         errno settings in existing tests.
14919         [BZ #14032]
14920         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14921         precision control set to double precision.
14922         * sysdeps/i386/fpu/w_sqrt.c: New file.
14923         * math/auto-libm-test-in: Add more tests.
14924         * math/auto-libm-test-out: Update.
14926         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14927         (sqrt_test_tonearest): New function.
14928         (sqrt_towardzero_test_data): New variable.
14929         (sqrt_test_towardzero): New function.
14930         (sqrt_downward_test_data): New variable.
14931         (sqrt_test_downward): New function.
14932         (sqrt_upward_test_data): New variable.
14933         (sqrt_test_upward): New function.
14934         (main): Call the new functions.
14936         * math/gen-auto-libm-tests.c: New file.
14937         * math/auto-libm-test-in: Likewise.
14938         * math/auto-libm-test-out: New generated file.
14939         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14940         variables.
14941         (%beautify): Add generated representations of zero.
14942         (top level): Set $auto_input and call parse_auto_input.
14943         (beautify): Remove trailing "f" from hex float constants.
14944         (parse_args): Handle XFAIL_TEST.
14945         (convert_condition): New function.
14946         (or_value): Likewise.
14947         (or_cond_value): Likewise.
14948         (generate_testfile): Handle AUTO_TESTS_* lines.
14949         (parse_auto_input): New function.
14950         * math/libm-test.inc (XFAIL_TEST): New macro.
14951         (ERRNO_UNCHANGED): Update value.
14952         (ERRNO_EDOM): Likewise.
14953         (ERRNO_ERANGE): Likewise.
14954         (IGNORE_RESULT): Likewise.
14955         (TEST_COND_flt_32): New macro.
14956         (TEST_COND_dbl_64): Likewise.
14957         (TEST_COND_ldbl_96_intel): Likewise.
14958         (TEST_COND_ldbl_96_m68k): Likewise.
14959         (TEST_COND_ldbl_128): Likewise.
14960         (TEST_COND_ldbl_128ibm): Likewise.
14961         (TEST_COND_long32): Likewise.
14962         (TEST_COND_long64): Likewise.
14963         (TEST_COND_before_rounding): Likewise.
14964         (TEST_COND_after_rounding): Likewise.
14965         (enable_test): Handle XFAIL_TEST flag.
14966         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14967         with finite results.
14968         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14969         auto-libm-test-out.
14971 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14974         [BZ #16214]
14975         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14976         __tls_get_addr_internal instead of __tls_get_offset in order to
14977         avoid GOT pointer dependency.  Make rtld export
14978         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14979         __tls_get_addr since we are a __tls_get_offset platform.
14980         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14981         GOT pointer being set up before.
14982         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14984 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14986         * manual/math.texi (Errors in Math Functions): Document accuracy
14987         goals.
14989         [BZ #15004]
14990         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14991         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14994         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14995         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14996         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14997         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14999         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15000         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15001         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15002         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15007         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15008         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15009         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15010         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15011         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15012         Likewise.
15013         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15014         Likewise.
15015         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15016         Likewise.
15017         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15019         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15020         atomic-feupdateenv and flt-rounds.
15021         * sysdeps/powerpc/nofpu/Versions (libc): Add
15022         __atomic_feholdexcept, __atomic_feclearexcept,
15023         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15024         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15025         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15026         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15027         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15028         here.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15030         Update.
15032         * manual/arith.texi (FP Exceptions): Document that exceptions may
15033         not be raised when matherr is used.
15034         (Math Error Reporting): Document overflow in directed rounding
15035         modes.  Document that errno may not be set when finite values are
15036         returned on overflow.  Document intent to set errno on underflow
15037         only for underflow to zero.
15039         [BZ #16271]
15040         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15041         round-to-nearest then adjust result for other rounding modes.
15042         * include/fenv.h (fegetround): Use libm_hidden_proto.
15043         * math/fegetround.c (fegetround): Use libm_hidden_def.
15044         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15045         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15046         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15047         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15048         Likewise.
15049         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15050         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15051         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15052         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15054 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15056         [BZ #16077]
15057         * nss/Versions (libnss_files): Add
15058         _nss_files_gethostbyname3_r.
15059         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15060         New function.
15061         (HOST_DB_LOOKUP): Remove macro.
15062         (_nss_files_gethostbyname_r): Implement function without the
15063         HOST_DB_LOOKUP macro.
15064         (_nss_files_gethostbyname2_r): Likewise.
15066 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15068         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15070 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15072         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15073         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15074         warning.
15076 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15078         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15079         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15080         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15081         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15082         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15083         __fe_nomask_env_priv and attribute_hidden.
15084         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15085         (libc_feupdateenv_test_ppc): Likewise.
15086         (libc_feresetround_ppc): Likewise.
15087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15088         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15089         compat_symbol macro.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15091         (__fe_nomask_env): Likewise.
15092         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15094 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15096         * string/Makefile: Remove ifunc tests.
15097         * string/test-string.h: Define TEST_IFUNC.
15098         * string/test-bcopy-ifunc.c: Remove.
15099         * string/test-bzero-ifunc.c: Likewise.
15100         * string/test-memccpy-ifunc.c: Likewise.
15101         * string/test-memchr-ifunc.c: Likewise.
15102         * string/test-memcmp-ifunc.c: Likewise.
15103         * string/test-memcpy-ifunc.c: Likewise.
15104         * string/test-memmem-ifunc.c: Likewise.
15105         * string/test-memmove-ifunc.c: Likewise.
15106         * string/test-mempcpy-ifunc.c: Likewise.
15107         * string/test-memrchr-ifunc.c: Likewise.
15108         * string/test-memset-ifunc.c: Likewise.
15109         * string/test-rawmemchr-ifunc.c: Likewise.
15110         * string/test-stpcpy-ifunc.c: Likewise.
15111         * string/test-stpncpy-ifunc.c: Likewise.
15112         * string/test-strcasecmp-ifunc.c: Likewise.
15113         * string/test-strcasestr-ifunc.c: Likewise.
15114         * string/test-strcat-ifunc.c: Likewise.
15115         * string/test-strchr-ifunc.c: Likewise.
15116         * string/test-strchrnul-ifunc.c: Likewise.
15117         * string/test-strcmp-ifunc.c: Likewise.
15118         * string/test-strcpy-ifunc.c: Likewise.
15119         * string/test-strcspn-ifunc.c: Likewise.
15120         * string/test-strlen-ifunc.c: Likewise.
15121         * string/test-strncasecmp-ifunc.c: Likewise.
15122         * string/test-strncat-ifunc.c: Likewise.
15123         * string/test-strncmp-ifunc.c: Likewise.
15124         * string/test-strncpy-ifunc.c: Likewise.
15125         * string/test-strnlen-ifunc.c: Likewise.
15126         * string/test-strpbrk-ifunc.c: Likewise.
15127         * string/test-strrchr-ifunc.c: Likewise.
15128         * string/test-strspn-ifunc.c: Likewise.
15129         * string/test-strstr-ifunc.c: Likewise.
15131 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15133         * benchtests/Makefile: Remove ifunc tests.
15134         * benchtests/bench-string.h: Define TEST_IFUNC.
15135         * benchtests/bench-bcopy-ifunc.c: Remove.
15136         * benchtests/bench-bzero-ifunc.c: Likewise.
15137         * benchtests/bench-memccpy-ifunc.c: Likewise.
15138         * benchtests/bench-memchr-ifunc.c: Likewise.
15139         * benchtests/bench-memcmp-ifunc.c: Likewise.
15140         * benchtests/bench-memcpy-ifunc.c: Likewise.
15141         * benchtests/bench-memmem-ifunc.c: Likewise.
15142         * benchtests/bench-memmove-ifunc.c: Likewise.
15143         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15144         * benchtests/bench-memrchr-ifunc.c: Likewise.
15145         * benchtests/bench-memset-ifunc.c: Likewise.
15146         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15147         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15148         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15149         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15150         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15151         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15152         * benchtests/bench-strcat-ifunc.c: Likewise.
15153         * benchtests/bench-strchr-ifunc.c: Likewise.
15154         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15155         * benchtests/bench-strcmp-ifunc.c: Likewise.
15156         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15157         * benchtests/bench-strcpy-ifunc.c: Likewise.
15158         * benchtests/bench-strcspn-ifunc.c: Likewise.
15159         * benchtests/bench-strlen-ifunc.c: Likewise.
15160         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15161         * benchtests/bench-strncat-ifunc.c: Likewise.
15162         * benchtests/bench-strncmp-ifunc.c: Likewise.
15163         * benchtests/bench-strncpy-ifunc.c: Likewise.
15164         * benchtests/bench-strnlen-ifunc.c: Likewise.
15165         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15166         * benchtests/bench-strrchr-ifunc.c: Likewise.
15167         * benchtests/bench-strsep-ifunc.c: Likewise.
15168         * benchtests/bench-strspn-ifunc.c: Likewise.
15169         * benchtests/bench-strstr-ifunc.c: Likewise.
15171 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15173         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15175 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15177         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15178         * rt/aio.h: Likewise.
15179         * sysdeps/gnu/bits/utmp.h: Likewise.
15180         * sysdeps/gnu/bits/utmpx.h: Likewise.
15181         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15182         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15183         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15184         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15185         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15186         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15187         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15188         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15189         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15190         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15192         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15193         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15195         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15196         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15197         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15198         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15199         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15200         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15201         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15202         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15203         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15204         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15205         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15206         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15207         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15208         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15209         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15210         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15211         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15212         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15213         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15214         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15215         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15216         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15217         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15218         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15219         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15220         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15221         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15222         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15224 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15226         [BZ #16245]
15227         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15228         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15230 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15232         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15233         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15234         Likewise.
15236 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15239         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15240         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15241         (__fesetround): Remove define.
15242         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15243         rounding and exceptions handling.
15244         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15245         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15246         (__fe_nomask_env): Likewise.
15247         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15248         __fegetround instead of fegetround.
15249         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15250         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15252 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15254         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15255         it's there.
15257         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15259 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15261         [BZ #11157]
15262         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15263         (encrypt_r): Likewise.
15264         * malloc/obstack.h (obstack_free): Likewise.
15265         * posix/unistd.h (encrypt): Likewise.
15267 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15269         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15270         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15271         DL_CALL_DT_FINI() that call the functions directly.
15272         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15273         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15274         * elf/dl-fini.c: Likewise.
15276 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15278         * malloc/hooks.c (memalign_check): Add alignment rounding.
15279         * malloc/malloc.c (_mid_memalign): New function.
15280         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15281         Implement by calling _mid_memalign.
15282         * manual/probes.texi (Memory Allocation Probes): Remove
15283         memory_valloc_retry and memory_pvalloc_retry.
15285 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15287         * locale/programs/locarchive.c (open_archive): Add const
15288         qualifier to ARCHIVEFNAME and copy default fname to
15289         DEFAULT_FNAME.
15291         [BZ #15601]
15292         * libio/tst-widetext.input: Rename Oriya to Odia.
15293         * locale/iso-639.def: Likewise.
15295         * manual/probes.texi (Mathematical Function Probes): Add
15296         documentation for sin, cos, asin and acos probes.
15297         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15298         (__sin32): Add slowasin probe.
15299         (__cos32): Add slowacos probe.
15300         (__mpsin): Add slowsin probe.
15301         (__mpcos): Add slowcos probe.
15303 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15305         [BZ #15483]
15306         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15307         thread-local __sim_exceptions_thread and global
15308         __sim_exceptions_global.
15309         (__sim_disabled_exceptions): Change to thread-local
15310         __sim_disabled_exceptions_thread and global
15311         __sim_disabled_exceptions_global.
15312         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15313         and global __sim_round_mode_global.
15314         (__simulate_exceptions): Use thread-local floating-point state and
15315         set global state from it as needed.
15316         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15317         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15318         __sim_round_mode_thread.
15319         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15320         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15321         and global __sim_exceptions_global.
15322         (__sim_disabled_exceptions): Change to thread-local
15323         __sim_disabled_exceptions_thread and global
15324         __sim_disabled_exceptions_global.
15325         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15326         and global __sim_round_mode_global.
15327         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15328         (SIM_SET_GLOBAL): Likewise.
15329         * sysdeps/powerpc/soft-fp/sfp-machine.h
15330         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15331         __sim_round_mode_thread.
15332         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15333         __sim_disabled_exceptions_thread.
15334         (__sim_exceptions): Change to __sim_exceptions_thread.
15335         (__sim_disabled_exceptions): Change to
15336         __sim_disabled_exceptions_thread.
15337         (__sim_round_mode): Change to __sim_round_mode_thread.
15338         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15339         thread-local floating-point state and set global state from it as
15340         needed.
15341         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15342         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15343         (__sim_disabled_exceptions): Remove extern declaration.
15344         (feenableexcept): Use thread-local floating-point state and set
15345         global state from it as needed.
15346         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15347         extern declaration.
15348         (__sim_disabled_exceptions): Likewise.
15349         (__sim_round_mode): Likewise.
15350         (__fegetenv): Use thread-local floating-point state.
15351         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15352         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15353         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15354         floating-point state and set global state from it as needed.
15355         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15356         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15357         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15358         Likewise.
15359         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15360         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15361         Likewise.
15362         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15363         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15364         Use __sim_round_mode_thread.
15365         * math/test-fenv-tls.c: New file.
15366         * math/Makefile (tests): Add test-fenv-tls.
15367         ($(objpfx)test-fenv-tls): Depend on
15368         $(common-objpfx)nptl/libpthread.so.
15370 2013-11-19  Andreas Schwab  <schwab@suse.de>
15372         * locale/programs/locale.c (show_info): Decode wordarray elements.
15373         * locale/categories.def (LC_MONETARY): Add element for
15374         _NL_MONETARY_CRNCYSTR.
15375         * locale/C-monetary.c (conversion_rate): New variable.
15376         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15377         element.
15379 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15381         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15382         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15384 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15386         * elf/Makefile (tst-auxv): New test.
15387         * elf/tst-auxv.c: New
15388         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15390 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15392         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15393         (hidden_proto): Caller changed.
15394         (hidden_tls_proto): New macro.
15395         (libc_hidden_tls_proto): Likewise.
15396         (rtld_hidden_tls_proto): Likewise.
15397         (libm_hidden_tls_proto): Likewise.
15398         (libresolv_hidden_tls_proto): Likewise.
15399         (librt_hidden_tls_proto): Likewise.
15400         (libdl_hidden_tls_proto): Likewise.
15401         (libnss_files_hidden_tls_proto): Likewise.
15402         (libnsl_hidden_tls_proto): Likewise.
15403         (libnss_nisplus_hidden_tls_proto): Likewise.
15404         (libutil_hidden_tls_proto): Likewise.
15406 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15408         [BZ #10253]
15409         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15410         (decompose_rpath): Defer expansion to fillin_rpath.
15411         (_dl_init_paths): Pass linkmap to fillin_rpath.
15413 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15415         * benchtests/Makefile: Add strsep.
15416         * benchtests/bench-strsep.c: New file: strsep benchtest.
15417         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15419 2013-11-18  Andreas Schwab  <schwab@suse.de>
15421         * locale/programs/locale.c (show_info) [case byte]: Check for
15422         '\377' instead of '\177'.
15423         * locale/C-monetary.c (not_available): Always use "\377".
15424         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15425         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15426         detect unavailable sign_posn locale elements.
15427         * locale/localeconv.c (__localeconv): For grouping and
15428         mon_grouping handle "\177" and "\377" like no grouping.
15429         (INT_ELEM): New macro.  Use it to set all numeric members.
15430         * locale/programs/ld-monetary.c (monetary_read)
15431         <tok_mon_grouping>: Normalize single -1 to the empty string.
15432         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15433         Likewise.
15435 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15437         [BZ #16055]
15438         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15439         when we match (nil).
15440         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15442 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15444         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15445         (NO_TEST_INLINE): Update value.
15446         (ERRNO_UNCHANGED): Likewise.
15447         (ERRNO_EDOM): Likewise.
15448         (ERRNO_ERANGE): Likewise.
15449         (IGNORE_RESULT): Likewise.
15450         (check_float_internal): Check signs of NaN results if
15451         TEST_NAN_SIGN used.
15452         (check_complex): Pass TEST_NAN_SIGN flag through to second
15453         check_float_internal call.
15454         (copysign_test_data): Add tests with quiet NaNs as second
15455         argument.  Use TEST_NAN_SIGN.
15456         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15457         TEST_NAN_SIGN.
15458         (signbit_test_data): Add tests of quiet NaN argument.
15459         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15461         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15462         $ignore_result.
15463         (parse_args): Handle function results specified as IGNORE.
15464         * math/libm-test.inc (IGNORE_RESULT): New macro.
15465         (check_float_internal): Do not check numerical result if flag
15466         IGNORE_RESULT set.
15467         (check_complex): Pass through IGNORE_RESULT to second
15468         check_float_internal call.
15469         (check_int): Do not check numerical result if flag IGNORE_RESULT
15470         set.
15471         (check_long): Likewise.
15472         (check_bool): Likewise.
15473         (check_longlong): Likewise.
15474         (lrint_test_data): Add tests of infinite and NaN arguments.
15475         (lrint_tonearest_test_data): Likewise.
15476         (lrint_towardzero_test_data): Likewise.
15477         (lrint_downward_test_data): Likewise.
15478         (lrint_upward_test_data): Likewise.
15479         (llrint_test_data): Likewise.
15480         (llrint_tonearest_test_data): Likewise.
15481         (llrint_towardzero_test_data): Likewise.
15482         (llrint_downward_test_data): Likewise.
15483         (llrint_upward_test_data): Likewise.
15484         (lround_test_data): Likewise.
15485         (llround_test_data): Likewise.
15487         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15488         (ERRNO_UNCHANGED): Update value.
15489         (ERRNO_EDOM): Likewise.
15490         (ERRNO_ERANGE): Likewise.
15491         (NO_TEST_INLINE_FLOAT): New macro.
15492         (NO_TEST_INLINE_DOUBLE): Likewise.
15493         (enable_test): New function.
15494         (RUN_TEST_f_f): Check enable_test before running test.
15495         (RUN_TEST_2_f): Likewise.
15496         (RUN_TEST_fff_f): Likewise.
15497         (RUN_TEST_c_f): Likewise.
15498         (RUN_TEST_f_f1): Likewise.
15499         (RUN_TEST_fF_f1): Likewise.
15500         (RUN_TEST_fI_f1): Likewise.
15501         (RUN_TEST_ffI_f1): Likewise.
15502         (RUN_TEST_c_c): Likewise.
15503         (RUN_TEST_cc_c): Likewise.
15504         (RUN_TEST_f_i): Likewise.
15505         (RUN_TEST_f_i_tg): Likewise.
15506         (RUN_TEST_ff_i_tg): Likewise.
15507         (RUN_TEST_f_b): Likewise.
15508         (RUN_TEST_f_b_tg): Likewise.
15509         (RUN_TEST_f_l): Likewise.
15510         (RUN_TEST_f_L): Likewise.
15511         (RUN_TEST_fFF_11): Likewise.
15512         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15513         conditionals.
15514         (cosh_test_data): Likewise.
15515         (exp_test_data): Likewise.
15516         (expm1_test_data): Likewise.
15517         (hypot_test_data): Likewise.
15518         (pow_test_data): Likewise.
15519         (sinh_test_data): Likewise.
15520         (tanh_test_data): Likewise.
15521         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15522         flags argument.
15524         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15525         tests with quiet NaN input and output.
15526         (acosh_test_data): Likewise.
15527         (asin_test_data): Likewise.
15528         (asinh_test_data): Likewise.
15529         (atan_test_data): Likewise.
15530         (atanh_test_data): Likewise.
15531         (atan2_test_data): Likewise.
15532         (cbrt_test_data): Likewise.
15533         (cos_test_data): Likewise.
15534         (cosh_test_data): Likewise.
15535         (erf_test_data): Likewise.
15536         (erfc_test_data): Likewise.
15537         (exp_test_data): Likewise.
15538         (exp10_test_data): Likewise.
15539         (exp2_test_data): Likewise.
15540         (expm1_test_data): Likewise.
15541         (hypot_test_data): Likewise.
15542         (j0_test_data): Likewise.
15543         (j1_test_data): Likewise.
15544         (jn_test_data): Likewise.
15545         (lgamma_test_data): Likewise.
15546         (log_test_data): Likewise.
15547         (log10_test_data): Likewise.
15548         (log1p_test_data): Likewise.
15549         (log2_test_data): Likewise.
15550         (pow_test_data): Likewise.
15551         (scalb_test_data): Likewise.
15552         (sin_test_data): Likewise.
15553         (sincos_test_data): Likewise.
15554         (sinh_test_data): Likewise.
15555         (tan_test_data): Likewise.
15556         (tanh_test_data): Likewise.
15557         (tgamma_test_data): Likewise.
15558         (y0_test_data): Likewise.
15559         (y1_test_data): Likewise.
15560         (yn_test_data): Likewise.
15562         [BZ #16167]
15563         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15564         argument being NaN and avoid computations with second argument in
15565         that case.
15566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15567         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15568         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15570 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15572         * locale/iso-639.def: Add Chitwani Tharu (the).
15574 2013-11-14  Andreas Schwab  <schwab@suse.de>
15576         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15577         word instead of empty string.
15579 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15582         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15584         (__fe_nomask_env): Likewise.
15586 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15588         * benchtests/bench-timing.h: Include time.h.
15590 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15592         [BZ #15997]
15593         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15594         to 3.4.0 for x32.
15595         * sysdeps/unix/sysv/linux/configure: Regenerated.
15597 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15599         [BZ #16151]
15600         * stdlib/strtod_l.c (round_and_return): Do not consider
15601         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15602         exponent one less than half the least subnormal exponent.
15603         * stdlib/test-strtod-round-data: Add more tests.
15604         * stdlib/tst-strtod-round.c (tests): Regenerated.
15606 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15608         [BZ #14143]
15609         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15610         (__fe_mask_env): Likewise.
15611         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15612         libm_hidden_proto and add function prototype.
15613         (__fe_mask_env): Add function prototype.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15615         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15617         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15619         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15621 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15623         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15624         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15626 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15628         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15629         of htab_find_slot().
15631 2013-11-11  David S. Miller  <davem@davemloft.net>
15633         [BZ #16150]
15634         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15635         symbol in the non-vis3 case in static builds.
15636         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15637         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15638         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15639         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15641 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15643         [BZ #387]
15644         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15645         it is empty.
15647 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15649         * benchtests/Makefile: Add bench-strtod.
15650         * benchtests/bench-strtod.c: New file: strtod benchtest
15652 2013-11-11  Andreas Schwab  <schwab@suse.de>
15654         [BZ #16153]
15655         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15656         terminating NUL in key length.
15658 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15660         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15661         Add artificial ODP entry for vDSO symbol for PPC64.
15662         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15663         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15665 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15667         [BZ #15374]
15668         * nss/getent.c (services_keys): Recognize services starting with digit.
15670 2013-11-06  David S. Miller  <davem@davemloft.net>
15672         [BZ #15985]
15673         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15674         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15676 2013-11-06  Will Newton  <will.newton@linaro.org>
15678         * manual/memory.texi (Malloc Examples): Remove register
15679         keyword from examples.
15681 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15683         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15685 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15687         [BZ #6981]
15688         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15689         depending on [__GCC_IEC_559 > 0].
15690         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15691         depending on [__GCC_IEC_559_COMPLEX > 0].
15693 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15695         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15696         to iso-639.def.
15698 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15700         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15702 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15704         [BZ #16112]
15705         * malloc/malloc (malloc_info): Do not handle first bin as
15706         special case.
15708 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15710         * locale/iso-639.def: Add Central Nahuatl (nhn).
15712 2013-11-01  Bruno Haible  <bruno@clisp.org>
15714         [BZ #7003]
15715         * manual/math.texi (BSD Random): Specify range upper bound as
15716         in POSIX.
15718 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15720         * locale/iso-639.def: Add Meadow Mari (mhr).
15722 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15724         [BZ #14752], [BZ #15763]
15725         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15726         Validate name.
15727         * rt/tst_shm.c: Add test for escaping directory.
15729 2013-10-31  Andreas Schwab  <schwab@suse.de>
15731         [BZ #15917]
15732         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15733         followed by 'x' as part of digit sequence.
15734         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15736 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15738         [BZ #16037]
15739         * configure.ac: allow GNU Make 4.0 and greater.
15740         * configure: Regenerated.
15742 2013-10-30  Will Newton  <will.newton@linaro.org>
15744         [BZ #16038]
15745         * malloc/hooks.c (memalign_check): Limit alignment to the
15746         maximum representable power of two.
15747         * malloc/malloc.c (__libc_memalign): Likewise.
15748         * malloc/tst-memalign.c (do_test): Add test for very
15749         large alignment values.
15750         * malloc/tst-posix_memalign.c (do_test): Likewise.
15752 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15754         [BZ #11087]
15755         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15756         (munmap_chunk): Likewise.
15757         (mremap_chunk): Likewise.
15759 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15761         [BZ #15799]
15762         * stdlib/div.c (div): Remove obsolete code.
15763         * stdlib/ldiv.c (ldiv): Likewise.
15764         * stdlib/lldiv.c (lldiv): Likewise.
15766 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15768         [BZ #16071]
15769         * nss/nss_files/files-XXX.c (get_contents_ret): New
15770         enumerator.
15771         (get_contents): New function.
15772         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15774 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15776         * configure.in: Moved to ...
15777         * configure.ac: ... here. Change reference to configure.in
15778         to configure.ac.
15779         * sysdeps/arm/preconfigure.ac: ... here.
15780         configure.in to configure.ac.
15781         * sysdeps/gnu/configure.in: Moved to ...
15782         * sysdeps/gnu/configure.ac: ... here.
15783         * sysdeps/i386/configure.in: Moved to ...
15784         * sysdeps/i386/configure.ac: ... here.
15785         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15786         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15787         * sysdeps/mach/configure.in: Moved to ...
15788         * sysdeps/mach/configure.ac: ... here.
15789         * sysdeps/mach/hurd/configure.in: Moved to ...
15790         * sysdeps/mach/hurd/configure.ac: ... here.
15791         * sysdeps/powerpc/configure.in: Moved to ...
15792         * sysdeps/powerpc/configure.ac: ... here.
15793         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15794         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15795         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15796         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15797         * sysdeps/s390/s390-32/configure.in: Moved to ...
15798         * sysdeps/s390/s390-32/configure.ac: ... here.
15799         * sysdeps/s390/s390-64/configure.in: Moved to ...
15800         * sysdeps/s390/s390-64/configure.ac: ... here.
15801         * sysdeps/sh/configure.in: Moved to ...
15802         * sysdeps/sh/configure.ac: ... here.
15803         * sysdeps/sparc/configure.in: Moved to ...
15804         * sysdeps/sparc/configure.ac: ... here.
15805         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15806         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15807         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15808         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15809         * sysdeps/x86_64/configure.in: Moved to ...
15810         * sysdeps/x86_64/configure.ac: ... here.
15811         * sysdeps/x86_64/preconfigure.in: Moved to ...
15812         * sysdeps/x86_64/preconfigure.ac: ... here.
15813         * aclocal.m4: Change reference to configure.in to configure.ac.
15814         * config.h.in: Likewise.
15815         * manual/install.texi: Likewise.
15816         * manual/maint.texi: Likewise.
15817         * Makefile: Likewise.
15818         * malloc/Makefile: Likewise.
15819         * nscd/Makefile: Likewise.
15820         * Makeconfig: Change reference to configure.in and
15821         preconfigure.in to configure.ac and preconfigure.ac
15822         respectively.
15823         * INSTALL: Regenerated.
15824         * configure: Likewise.
15825         * sysdeps/gnu/configure: Likewise.
15826         * sysdeps/i386/configure: Likewise.
15827         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15828         * sysdeps/mach/configure: Likewise.
15829         * sysdeps/mach/hurd/configure: Likewise.
15830         * sysdeps/powerpc/configure: Likewise.
15831         * sysdeps/powerpc/powerpc32/configure: Likewise.
15832         * sysdeps/powerpc/powerpc64/configure: Likewise.
15833         * sysdeps/s390/s390-32/configure: Likewise.
15834         * sysdeps/s390/s390-64/configure: Likewise.
15835         * sysdeps/sh/configure: Likewise.
15836         * sysdeps/sparc/configure: Likewise.
15837         * sysdeps/unix/sysv/linux/configure: Likewise.
15838         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15839         * sysdeps/x86_64/configure: Likewise.
15840         * sysdeps/x86_64/preconfigure: Likewise.
15842 2013-10-29  Andreas Schwab  <schwab@suse.de>
15844         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15846 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15848         * benchtests/pow-inputs: Add new inputs.
15850         * benchtests/exp-inputs: Add new inputs.
15852         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15853         conditional check for return value.
15854         (__cos32): Likewise.
15856 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15858         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15859         to provide a boost for large inputs with word alignment.
15860         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15861         implementation based on optimized PPC64 strcpy.
15862         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15863         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15864         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15865         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15867 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15869         [BZ #2801]
15870         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15872 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15874         [BZ #14876]
15875         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15876         * time/tst-strptime.c (day_tests): Add testcase.
15878 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15880         [BZ #14029]
15881         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15883 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15885         [BZ #16074]
15886         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15887         MAP_FAILED on error.
15889 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15891         [BZ #16072]
15892         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15893         heap for large requests.
15895 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15897         [BZ #9954]
15898         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15899         result if the result has no associated interface.
15900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15901         interface for all 127.X.Y.Z addresses.
15903 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15905         * locale/iso-639.def: Add Ligurian (lij)
15907 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15909         [BZ #15825]
15910         * sunrpc/rpc_main.c: Document rpcgen -5.
15912 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15914         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15916 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15918         [BZ #10278]
15919         * posix/glob.c: Match only directories when trailing slash is present.
15920         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15921         (main): Add testcase.
15923 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15925         [BZ #15670]
15926         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15928 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15930         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15931         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15932         AUTH_DES and cindex for FIPS 140-2.
15933         (DES Encryption): Add cindex FIPS 46-3.
15935         * locale/locarchive.h (struct locarhandle): Add fname.
15936         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15937         if an optional argument was specified to --list-archive,
15938         otherwise NULL.
15939         * locale/programs/locarchive.c (show_archive_content): Take new
15940         argument fname and pass it via ah.fname to open_archive.
15941         * locale/programs/localedef.h: Update decl.
15942         (open_archive): If AH->fname is non-null, open that file
15943         rather than the default file name, and don't ignore ENOENT.
15944         (create_archive): Set AH.fname to NULL.
15945         (delete_locales_from_archive): Likewise.
15946         (add_locales_to_archive): Likewise.
15947         * locale/programs/locfile.c (write_all_categories): Likewise.
15949 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15950             Aldy Hernandez  <aldyh@redhat.com>
15952         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15953         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15954         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15955         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15956         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15957         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15958         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15959         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15960         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15961         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15962         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15963         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15964         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15965         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15966         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15967         Likewise.
15968         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15969         Likewise.
15970         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15971         Likewise.
15972         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15973         Likewise.
15974         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15975         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15976         Likewise.
15977         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15978         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15979         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15980         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15981         Likewise.
15982         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15983         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15984         * sysdeps/powerpc/preconfigure: Likewise.
15985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15986         Likewise.
15987         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15988         Replace contents of file by #include of <fenv_libc.h>.
15989         * sysdeps/powerpc/soft-fp/sfp-machine.h
15990         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15991         and <sys/prctl.h>.
15992         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15997         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16000         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16003         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16005         Allow copysignl PLT reference to be missing.
16007 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16008             Joseph Myers  <joseph@codesourcery.com
16010         [BZ #15948]
16011         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16012         single character.
16013         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16015 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16018         * elf/tst-tls1.c: Likewise.
16019         * elf/tst-tls10.h: Likewise.
16020         * elf/tst-tls14.c: Likewise.
16021         * elf/tst-tls2.c: Likewise.
16022         * elf/tst-tls3.c: Likewise.
16023         * elf/tst-tls4.c: Likewise.
16024         * elf/tst-tls5.c: Likewise.
16025         * elf/tst-tls6.c: Likewise.
16026         * elf/tst-tls7.c: Likewise.
16027         * elf/tst-tls8.c: Likewise.
16028         * elf/tst-tls9.c: Likewise.
16029         * elf/tst-tlsmod1.c: Likewise.
16030         * elf/tst-tlsmod13.c: Likewise.
16031         * elf/tst-tlsmod13a.c: Likewise.
16032         * elf/tst-tlsmod14a.c: Likewise.
16033         * elf/tst-tlsmod16a.c: Likewise.
16034         * elf/tst-tlsmod16b.c: Likewise.
16035         * elf/tst-tlsmod2.c: Likewise.
16036         * elf/tst-tlsmod3.c: Likewise.
16037         * elf/tst-tlsmod4.c: Likewise.
16038         * elf/tst-tlsmod5.c: Likewise.
16039         * elf/tst-tlsmod6.c: Likewise.
16041 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16043         [BZ #12486]
16044         * malloc/malloc.c: remove checks for statistics.
16046 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16048         [BZ #15277]
16049         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16050         * inet/tst-network.c: Add testcase.
16052 2013-10-17  Andreas Schwab  <schwab@suse.de>
16054         [BZ #15218]
16055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16056         to determine canonical name.
16058 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16060         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16061         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16062         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16063         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16064         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16065         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16066         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16067         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16068         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16069         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16070         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16071         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16073         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16074         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16075         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16076         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16077         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16078         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16079         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16080         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16081         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16083         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16084         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16085         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16086         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16087         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16088         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16089         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16090         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16091         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16092         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16093         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16094         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16095         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16096         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16097         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16098         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16099         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16100         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16101         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16102         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16103         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16104         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16105         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16106         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16107         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16108         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16109         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16110         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16111         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16112         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16113         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16114         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16115         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16117         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16119 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16121         [BZ #16041]
16122         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16123         make result into a quiet NaN.
16125 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16127         * soft-fp/adddf3.c: Fix horizontal whitespace.
16128         * soft-fp/addsf3.c: Likewise.
16129         * soft-fp/addtf3.c: Likewise.
16130         * soft-fp/divdf3.c: Likewise.
16131         * soft-fp/divsf3.c: Likewise.
16132         * soft-fp/divtf3.c: Likewise.
16133         * soft-fp/double.h: Likewise.
16134         * soft-fp/eqdf2.c: Likewise.
16135         * soft-fp/eqsf2.c: Likewise.
16136         * soft-fp/eqtf2.c: Likewise.
16137         * soft-fp/extenddftf2.c: Likewise.
16138         * soft-fp/extended.h: Likewise.
16139         * soft-fp/extendsfdf2.c: Likewise.
16140         * soft-fp/extendsftf2.c: Likewise.
16141         * soft-fp/extendxftf2.c: Likewise.
16142         * soft-fp/fixdfdi.c: Likewise.
16143         * soft-fp/fixdfsi.c: Likewise.
16144         * soft-fp/fixdfti.c: Likewise.
16145         * soft-fp/fixsfdi.c: Likewise.
16146         * soft-fp/fixsfsi.c: Likewise.
16147         * soft-fp/fixsfti.c: Likewise.
16148         * soft-fp/fixtfdi.c: Likewise.
16149         * soft-fp/fixtfsi.c: Likewise.
16150         * soft-fp/fixtfti.c: Likewise.
16151         * soft-fp/fixunsdfdi.c: Likewise.
16152         * soft-fp/fixunsdfsi.c: Likewise.
16153         * soft-fp/fixunsdfti.c: Likewise.
16154         * soft-fp/fixunssfdi.c: Likewise.
16155         * soft-fp/fixunssfsi.c: Likewise.
16156         * soft-fp/fixunssfti.c: Likewise.
16157         * soft-fp/fixunstfdi.c: Likewise.
16158         * soft-fp/fixunstfsi.c: Likewise.
16159         * soft-fp/fixunstfti.c: Likewise.
16160         * soft-fp/floatdidf.c: Likewise.
16161         * soft-fp/floatdisf.c: Likewise.
16162         * soft-fp/floatditf.c: Likewise.
16163         * soft-fp/floatsidf.c: Likewise.
16164         * soft-fp/floatsisf.c: Likewise.
16165         * soft-fp/floatsitf.c: Likewise.
16166         * soft-fp/floattidf.c: Likewise.
16167         * soft-fp/floattisf.c: Likewise.
16168         * soft-fp/floattitf.c: Likewise.
16169         * soft-fp/floatundidf.c: Likewise.
16170         * soft-fp/floatundisf.c: Likewise.
16171         * soft-fp/floatunditf.c: Likewise.
16172         * soft-fp/floatunsidf.c: Likewise.
16173         * soft-fp/floatunsisf.c: Likewise.
16174         * soft-fp/floatunsitf.c: Likewise.
16175         * soft-fp/floatuntidf.c: Likewise.
16176         * soft-fp/floatuntisf.c: Likewise.
16177         * soft-fp/floatuntitf.c: Likewise.
16178         * soft-fp/fmadf4.c: Likewise.
16179         * soft-fp/fmasf4.c: Likewise.
16180         * soft-fp/fmatf4.c: Likewise.
16181         * soft-fp/gedf2.c: Likewise.
16182         * soft-fp/gesf2.c: Likewise.
16183         * soft-fp/getf2.c: Likewise.
16184         * soft-fp/ledf2.c: Likewise.
16185         * soft-fp/lesf2.c: Likewise.
16186         * soft-fp/letf2.c: Likewise.
16187         * soft-fp/muldf3.c: Likewise.
16188         * soft-fp/mulsf3.c: Likewise.
16189         * soft-fp/multf3.c: Likewise.
16190         * soft-fp/negdf2.c: Likewise.
16191         * soft-fp/negsf2.c: Likewise.
16192         * soft-fp/negtf2.c: Likewise.
16193         * soft-fp/op-1.h: Likewise.
16194         * soft-fp/op-2.h: Likewise.
16195         * soft-fp/op-4.h: Likewise.
16196         * soft-fp/op-8.h: Likewise.
16197         * soft-fp/op-common.h: Likewise.
16198         * soft-fp/quad.h: Likewise.
16199         * soft-fp/single.h: Likewise.
16200         * soft-fp/soft-fp.h: Likewise.
16201         * soft-fp/sqrtdf2.c: Likewise.
16202         * soft-fp/sqrtsf2.c: Likewise.
16203         * soft-fp/sqrttf2.c: Likewise.
16204         * soft-fp/subdf3.c: Likewise.
16205         * soft-fp/subsf3.c: Likewise.
16206         * soft-fp/subtf3.c: Likewise.
16207         * soft-fp/truncdfsf2.c: Likewise.
16208         * soft-fp/trunctfdf2.c: Likewise.
16209         * soft-fp/trunctfsf2.c: Likewise.
16210         * soft-fp/trunctfxf2.c: Likewise.
16211         * soft-fp/unorddf2.c: Likewise.
16212         * soft-fp/unordsf2.c: Likewise.
16213         * soft-fp/unordtf2.c: Likewise.
16215 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16217         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16218         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16220 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16222         * elf/dl-libc.c: Clear initfini list after freeing.
16224 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16226         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16227         * soft-fp/addsf3.c: Likewise.
16228         * soft-fp/addtf3.c: Likewise.
16229         * soft-fp/divdf3.c: Likewise.
16230         * soft-fp/divsf3.c: Likewise.
16231         * soft-fp/divtf3.c: Likewise.
16232         * soft-fp/double.h: Likewise.
16233         * soft-fp/eqdf2.c: Likewise.
16234         * soft-fp/eqsf2.c: Likewise.
16235         * soft-fp/eqtf2.c: Likewise.
16236         * soft-fp/extenddftf2.c: Likewise.
16237         * soft-fp/extended.h: Likewise.
16238         * soft-fp/extendsfdf2.c: Likewise.
16239         * soft-fp/extendsftf2.c: Likewise.
16240         * soft-fp/extendxftf2.c: Likewise.
16241         * soft-fp/fixdfdi.c: Likewise.
16242         * soft-fp/fixdfsi.c: Likewise.
16243         * soft-fp/fixdfti.c: Likewise.
16244         * soft-fp/fixsfdi.c: Likewise.
16245         * soft-fp/fixsfsi.c: Likewise.
16246         * soft-fp/fixsfti.c: Likewise.
16247         * soft-fp/fixtfdi.c: Likewise.
16248         * soft-fp/fixtfsi.c: Likewise.
16249         * soft-fp/fixtfti.c: Likewise.
16250         * soft-fp/fixunsdfdi.c: Likewise.
16251         * soft-fp/fixunsdfsi.c: Likewise.
16252         * soft-fp/fixunsdfti.c: Likewise.
16253         * soft-fp/fixunssfdi.c: Likewise.
16254         * soft-fp/fixunssfsi.c: Likewise.
16255         * soft-fp/fixunssfti.c: Likewise.
16256         * soft-fp/fixunstfdi.c: Likewise.
16257         * soft-fp/fixunstfsi.c: Likewise.
16258         * soft-fp/fixunstfti.c: Likewise.
16259         * soft-fp/floatdidf.c: Likewise.
16260         * soft-fp/floatdisf.c: Likewise.
16261         * soft-fp/floatditf.c: Likewise.
16262         * soft-fp/floatsidf.c: Likewise.
16263         * soft-fp/floatsisf.c: Likewise.
16264         * soft-fp/floatsitf.c: Likewise.
16265         * soft-fp/floattidf.c: Likewise.
16266         * soft-fp/floattisf.c: Likewise.
16267         * soft-fp/floattitf.c: Likewise.
16268         * soft-fp/floatundidf.c: Likewise.
16269         * soft-fp/floatundisf.c: Likewise.
16270         * soft-fp/floatunsidf.c: Likewise.
16271         * soft-fp/floatunsisf.c: Likewise.
16272         * soft-fp/floatuntidf.c: Likewise.
16273         * soft-fp/floatuntisf.c: Likewise.
16274         * soft-fp/floatuntitf.c: Likewise.
16275         * soft-fp/fmadf4.c: Likewise.
16276         * soft-fp/fmasf4.c: Likewise.
16277         * soft-fp/fmatf4.c: Likewise.
16278         * soft-fp/gedf2.c: Likewise.
16279         * soft-fp/gesf2.c: Likewise.
16280         * soft-fp/getf2.c: Likewise.
16281         * soft-fp/ledf2.c: Likewise.
16282         * soft-fp/lesf2.c: Likewise.
16283         * soft-fp/letf2.c: Likewise.
16284         * soft-fp/muldf3.c: Likewise.
16285         * soft-fp/mulsf3.c: Likewise.
16286         * soft-fp/multf3.c: Likewise.
16287         * soft-fp/negdf2.c: Likewise.
16288         * soft-fp/negsf2.c: Likewise.
16289         * soft-fp/negtf2.c: Likewise.
16290         * soft-fp/op-1.h: Likewise.
16291         * soft-fp/op-2.h: Likewise.
16292         * soft-fp/op-4.h: Likewise.
16293         * soft-fp/op-8.h: Likewise.
16294         * soft-fp/op-common.h: Likewise.
16295         * soft-fp/quad.h: Likewise.
16296         * soft-fp/single.h: Likewise.
16297         * soft-fp/soft-fp.h: Likewise.
16298         * soft-fp/sqrtdf2.c: Likewise.
16299         * soft-fp/sqrtsf2.c: Likewise.
16300         * soft-fp/sqrttf2.c: Likewise.
16301         * soft-fp/subdf3.c: Likewise.
16302         * soft-fp/subsf3.c: Likewise.
16303         * soft-fp/subtf3.c: Likewise.
16304         * soft-fp/truncdfsf2.c: Likewise.
16305         * soft-fp/trunctfdf2.c: Likewise.
16306         * soft-fp/trunctfsf2.c: Likewise.
16307         * soft-fp/trunctfxf2.c: Likewise.
16308         * soft-fp/unorddf2.c: Likewise.
16309         * soft-fp/unordsf2.c: Likewise.
16310         * soft-fp/unordtf2.c: Likewise.
16312 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16314         [BZ #15672]
16315         * misc/error.c (error_tail): Fix possible buffer overflow.
16317 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16319         [BZ #13028]
16320         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16321         address.
16323 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16325         [BZ #832]
16326         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16327         testing pipefail option.
16329 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16331         * soft-fp/double.h: Indent preprocessor directives inside #if.
16332         * soft-fp/extended.h: Likewise.
16333         * soft-fp/op-2.h: Likewise.
16334         * soft-fp/op-4.h: Likewise.
16335         * soft-fp/op-common.h: Likewise.
16336         * soft-fp/quad.h: Likewise.
16337         * soft-fp/single.h: Likewise.
16338         * soft-fp/soft-fp.h: Likewise.
16340 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16342         * iconv/iconv_prog.c: Fix typos.
16343         * stdio-common/psiginfo-data.h: Likewise.
16345 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16347         [BZ #15764]
16348         * locale/setlocale.c: Fix typo.
16350 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #16036]
16353         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16354         signaling NaN arguments.
16355         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16356         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16358         [BZ #14910]
16359         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16360         unordered operands.
16361         * soft-fp/gesf2.c (__gesf2): Likewise.
16362         * soft-fp/getf2.c (__getf2): Likewise.
16363         * soft-fp/ledf2.c (__ledf2): Likewise.
16364         * soft-fp/lesf2.c (__lesf2): Likewise.
16365         * soft-fp/letf2.c (__letf2): Likewise.
16367         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16368         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16369         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16370         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16371         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16372         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16373         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16374         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16375         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16376         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16377         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16378         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16379         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16380         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16381         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16382         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16383         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16384         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16385         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16386         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16387         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16388         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16389         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16390         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16391         * soft-fp/floattidf.c (__floattidf): Likewise.
16392         * soft-fp/floattisf.c (__floattisf): Likewise.
16393         * soft-fp/floattitf.c (__floattitf): Likewise.
16394         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16395         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16396         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16397         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16398         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16399         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16400         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16401         * soft-fp/gesf2.c (__gesf2): Likewise.
16402         * soft-fp/getf2.c (__getf2): Likewise.
16403         * soft-fp/ledf2.c (__ledf2): Likewise.
16404         * soft-fp/lesf2.c (__lesf2): Likewise.
16405         * soft-fp/letf2.c (__letf2): Likewise.
16407         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16408         Undefine and redefine.
16409         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16410         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16411         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16412         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16413         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16414         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16415         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16416         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16417         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16418         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16419         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16420         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16421         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16422         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16423         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16425         [BZ #16032]
16426         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16427         without decrementing exponent if mantissa >= that for the
16428         denominator, not >.
16429         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16430         denominator, not >.  Decrement exponent in < case instead of
16431         incrementing in >= case.
16432         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16433         without decrementing exponent if mantissa >= that for the
16434         denominator, not >.
16436         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16437         computing saturated result for unsigned overflow.
16439 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16440             Jeff Law  <law@redhat.com>
16442         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16443         (atan2Mp): Add systemtap probe marker.
16444         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16445         (__ieee754_log): Add systemtap probe marker.
16446         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16447         (atanMp): Add systemtap probe marker.
16448         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16449         (tanMp): Add systemtap probe marker.
16450         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16451         (__slowexp): Add systemtap probe marker.
16452         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16453         (__slowpow): Add systemtap probe marker.
16454         * manual/probes.texi: Document probes.
16456 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16458         [BZ #15362]
16459         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16460         written.
16461         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16462         written.
16463         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16464         written to buffer but not flushed.
16465         * libio/iofwrite_u.c:  Likewise.
16466         * libio/iopadn.c:  Return bytes returned even if EOF was
16467         encountered.
16468         * libio/iowpadn.c:  Likewise.
16469         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16470         if _IO_padn does not write the whole buffer.
16471         [!COMPILE_WPRINTF] (PAD): Likewise.
16473 2013-10-10  David S. Miller  <davem@davemloft.net>
16475         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16476         directory block.
16478 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16480         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16481         instead of FSF address.
16482         * soft-fp/fixdfti.c: Likewise.
16483         * soft-fp/fixsfti.c: Likewise.
16484         * soft-fp/fixtfti.c: Likewise.
16485         * soft-fp/fixunsdfti.c: Likewise.
16486         * soft-fp/fixunssfti.c: Likewise.
16487         * soft-fp/fixunstfti.c: Likewise.
16488         * soft-fp/floattidf.c: Likewise.
16489         * soft-fp/floattisf.c: Likewise.
16490         * soft-fp/floattitf.c: Likewise.
16491         * soft-fp/floatuntidf.c: Likewise.
16492         * soft-fp/floatuntisf.c: Likewise.
16493         * soft-fp/floatuntitf.c: Likewise.
16494         * soft-fp/trunctfxf2.c: Likewise.
16496         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16497         * soft-fp/fixdfti.c: Likewise.
16498         * soft-fp/fixsfti.c: Likewise.
16499         * soft-fp/fixtfti.c: Likewise.
16500         * soft-fp/fixunsdfti.c: Likewise.
16501         * soft-fp/fixunssfti.c: Likewise.
16502         * soft-fp/fixunstfti.c: Likewise.
16503         * soft-fp/floattidf.c: Likewise.
16504         * soft-fp/floattisf.c: Likewise.
16505         * soft-fp/floattitf.c: Likewise.
16506         * soft-fp/floatuntidf.c: Likewise.
16507         * soft-fp/floatuntisf.c: Likewise.
16508         * soft-fp/floatuntitf.c: Likewise.
16509         * soft-fp/trunctfxf2.c: Likewise.
16511 2013-10-10  David S. Miller  <davem@davemloft.net>
16513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16515 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16517         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16518         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16519         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16520         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16521         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16522         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16523         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16526         for NaNs before doing comparisons on argument.
16527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16528         Likewise.
16530 2013-10-10  Will Newton  <will.newton@linaro.org>
16532         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16533         passed to _int_memalign does not overflow.
16535 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16537         * scripts/bench.pl: Add include-sources directive.
16538         * benchtests/README: Update documentation.
16540 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16542         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16543         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16544         instead of FP_INIT_ROUNDMODE.
16545         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16546         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16548         [BZ #16034]
16549         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16550         copy class of input value.
16551         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16552         not handle exceptions.
16553         * soft-fp/negsf2.c (__negsf2): Likewise.
16554         * soft-fp/negtf2.c (__negtf2): Likewise.
16555         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16557 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16559         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16560         semicolon.  From Linux kernel.
16562 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16564         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16566 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16568         [BZ #156]
16569         * manual/socket.texi: Added statement about buffer
16570         for gethostbyname2_r.
16572 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16574         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16575         Use .p2align directive instead, throughout.
16576         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16577         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16578         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16581         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16582         * sysdeps/x86_64/strchr.S: Likewise.
16583         * sysdeps/x86_64/strrchr.S: Likewise.
16585 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16587         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16589         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16591         * sysdeps/generic/math_private.h (__mpsin1): Remove
16592         declaration.
16593         (__mpcos1): Likewise.
16594         (__mpsin): New argument __range_reduce.
16595         (__mpcos): Likewise.
16596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16597         (slow): Use __mpsin and __mpcos.
16598         (slow1): Likewise.
16599         (slow2): Likewise.
16600         (sloww): Likewise.
16601         (sloww1): Likewise.
16602         (sloww2): Likewise.
16603         (bsloww): Likewise.
16604         (bsloww1): Likewise.
16605         (bsloww2): Likewise.
16606         (cslow2): Likewise.
16607         (csloww): Likewise.
16608         (csloww1): Likewise.
16609         (csloww2): Likewise.
16610         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16611         range_reduce.  Merge in __mpsin1.
16612         (__mpcos): Likewise.
16613         (__mpsin1): Remove.
16614         (__mpcos1): Likewise.
16616 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16618         * locale/loadlocale.c (_nl_intern_locale_data): Use
16619         LOCFILE_ALIGNED_P.
16620         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16621         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16622         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16623         obstack data is appropriately aligned.
16624         (obstack_int32_grow_fast): Likewise.
16625         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16626         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16627         (add_locale_uint32_array): Likewise.
16629 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16631         * benchtests/Makefile: Remove ARGLIST and RET variables.
16632         ($(objpfx)bench-%.c): Pass only function name to the script.
16633         * benchtests/README: Update documentation.
16634         * benchtests/acos-inputs: Add new directives.
16635         * benchtests/acosh-inputs: Likewise.
16636         * benchtests/asin-inputs: Likewise.
16637         * benchtests/asinh-inputs: Likewise.
16638         * benchtests/atan-inputs: Likewise.
16639         * benchtests/atanh-inputs: Likewise.
16640         * benchtests/cos-inputs: Likewise.
16641         * benchtests/cosh-inputs: Likewise.
16642         * benchtests/exp-inputs: Likewise.
16643         * benchtests/log-inputs: Likewise.
16644         * benchtests/pow-inputs: Likewise.
16645         * benchtests/rint-inputs: Likewise.
16646         * benchtests/sin-inputs: Likewise.
16647         * benchtests/sinh-inputs: Likewise.
16648         * benchtests/tan-inputs: Likewise.
16649         * benchtests/tanh-inputs: Likewise.
16650         * scripts/bench.pl: Add support for new directives.
16652 2013-10-07  Alan Modra  <amodra@gmail.com>
16654         * README: Fix careless merge.
16656 2013-10-05  Alan Modra  <amodra@gmail.com>
16658         * NEWS: Mention powerpc64le support and bugs fixed.
16659         * README: Both big-endian and little-endian powerpc64 supported.
16661 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16663         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16664         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16665         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16666         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16668 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16670         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16671         match prototype.
16673 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16675         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16676         Move -mhard-float appending from
16677         ports/sysdeps/powerpc/powerpc32/Makefile.
16678         [$(with-fp) = yes] (ASFLAGS): Likewise.
16679         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16680         * sysdeps/powerpc/nofpu: Move directory from
16681         ports/sysdeps/powerpc/nofpu.
16682         * sysdeps/powerpc/soft-fp: Move directory from
16683         ports/sysdeps/powerpc/soft-fp.
16684         * sysdeps/powerpc/powerpc32/405: Move directory from
16685         ports/sysdeps/powerpc/powerpc32/405.
16686         * sysdeps/powerpc/powerpc32/440: Move directory from
16687         ports/sysdeps/powerpc/powerpc32/440.
16688         * sysdeps/powerpc/powerpc32/464: Move directory from
16689         ports/sysdeps/powerpc/powerpc32/464.
16690         * sysdeps/powerpc/powerpc32/476: Move directory from
16691         ports/sysdeps/powerpc/powerpc32/476.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16693         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16697         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16699         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16701         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16702         * README: Update for powerpc-*-linux-gnu software floating point
16703         support in libc.
16705         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16706         case to powerpc/powerpc32*.
16707         * sysdeps/unix/sysv/linux/configure: Regenerated.
16709         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16710         (_FPU_MASK_OM): Define as 0x04.
16711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16713         0x00c10080.
16714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16715         0x0000003c.
16716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16719         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16720         getcontext_e500.
16721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16722         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16723         setcontext_e500.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16725         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16726         and setcontext_e500.
16728 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16730         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16732 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16734         * manual/threads.texi (Default Thread Attributes): Fix typo.
16736 2013-10-04  Will Newton  <will.newton@linaro.org>
16738         * malloc/Makefile: Add tst-memalign.
16739         * malloc/tst-memalign.c: New file.
16741         * malloc/tst-posix_memalign.c: Add comments.
16742         (do_test): Add comments and call free on all potentially
16743         allocated pointers. Add space after cast.
16745         * malloc/tst-pvalloc.c: Add comments.
16746         (do_test): Add comments and call free on all potentially
16747         allocated pointers. Remove duplicate check for NULL pointer.
16748         Add space after cast.
16750         * malloc/tst-valloc.c: Add comments.
16751         (do_test): Add comments and call free on all potentially
16752         allocated pointers. Remove duplicate check for NULL pointer.
16753         Add space after cast.
16755 2013-10-04  Alan Modra  <amodra@gmail.com>
16757         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16758         Use stdint types in rather than __attribute__((mode())).
16759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16761 2013-10-04  Alan Modra  <amodra@gmail.com>
16763         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16764         Correct handling of unaligned relocs for little-endian.
16765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16767 2013-10-04  Alan Modra  <amodra@gmail.com>
16769         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16770         * configure: Regenerate.
16771         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16772         * shlib-versions: Likewise.
16774 2013-10-04  Alan Modra  <amodra@gmail.com>
16776         * string/tester.c (test_memrchr): Increment reported test cycle.
16778 2013-10-04  Alan Modra  <amodra@gmail.com>
16780         * string/test-memcpy.c (do_one_test): When reporting errors, print
16781         string address and don't overrun end of string.
16783 2013-10-04  Alan Modra  <amodra@gmail.com>
16785         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16786         insrdi.  Make better use of reg selection to speed exit slightly.
16787         Schedule entry path a little better.  Remove useless "are we done"
16788         checks on entry to main loop.  Handle wrapping around zero address.
16789         Correct main loop count.  Handle single left-over word from main
16790         loop inline rather than by using loop_small.  Remove extra word
16791         case in loop_small caused by wrong loop count.  Add little-endian
16792         support.
16793         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16794         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16795         cache hint.
16796         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16797         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16798         support.  Avoid rlwimi.
16799         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16801 2013-10-04  Alan Modra  <amodra@gmail.com>
16803         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16804         insrdi.  Formatting.
16805         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16806         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16807         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16808         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16809         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16810         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16812 2013-10-04  Alan Modra  <amodra@gmail.com>
16814         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16815         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16816         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16817         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16818         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16820         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16821         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16822         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16823         use of regs.  Use power7 mtocrf.  Tidy function tails.
16825 2013-10-04  Alan Modra  <amodra@gmail.com>
16827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16828         Formatting.  Consistently use rXXX register defines or rN defines.
16829         Use early exit labels that avoid restoring unused non-volatile regs.
16830         Make cr field use more consistent with rWORDn compares.  Rename
16831         regs used as shift registers for unaligned loop, using rN defines
16832         for short lifetime/multiple use regs.
16833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16834         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16835         addi 1,1,64 to pop stack frame.  Simplify return value code.
16836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16838 2013-10-04  Alan Modra  <amodra@gmail.com>
16840         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16841         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16842         rather than rlwimi.
16843         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16844         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16845         little-endian support.  Correct typos.
16846         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16847         rather than rlwimi.
16848         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16849         in loop and entry code to keep "and." results.
16850         (strchr): Add little-endian support.  Comment.  Move cntlzd
16851         earlier in tail.
16852         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16854 2013-10-04  Alan Modra  <amodra@gmail.com>
16856         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16857         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16858         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16859         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16861 2013-10-04  Alan Modra  <amodra@gmail.com>
16863         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16864         (rTMP): Define as r11.
16865         (strcmp): Add little-endian support.  Optimise tail.
16866         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16867         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16868         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16869         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16870         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16871         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16874 2013-10-04  Alan Modra  <amodra@gmail.com>
16876         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16877         little-endian support.  Remove unnecessary "are we done" tests.
16878         Handle "s" wrapping around zero and extremely large "size".
16879         Correct main loop count.  Handle single left-over word from main
16880         loop inline rather than by using small_loop.  Correct comments.
16881         Delete "zero" tail, use "end_max" instead.
16882         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16884 2013-10-04  Alan Modra  <amodra@gmail.com>
16886         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16887         support.  Don't branch over align.
16888         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16889         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16890         support.  Rearrange tmp reg use to suit.  Comment.
16891         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16893 2013-10-04  Alan Modra  <amodra@gmail.com>
16895         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16897 2013-10-04  Alan Modra  <amodra@gmail.com>
16899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16900         conditional form of branch and link when obtaining pc.
16901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16903 2013-10-04  Alan Modra  <amodra@gmail.com>
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16906         HIWORD/LOWORD.
16907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16910 2013-10-04  Alan Modra  <amodra@gmail.com>
16912         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16913         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16914         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16915         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16916         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16917         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16918         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16919         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16920         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16921         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16923 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16924             Alistair Popple <alistair@ozlabs.au.ibm.com>
16925             Alan Modra <amodra@gmail.com>
16927         [BZ #15723]
16928         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16929         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16930         _dl_hwcap access for little-endian.
16931         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16932         destroy vmx regs when saving unaligned.
16933         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16934         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16935         destroy vmx regs when saving unaligned.
16937 2013-10-04  Alan Modra  <amodra@gmail.com>
16939         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16940         Don't use a union to pack hi/low value.
16942 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16944         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16945         for little-endian.
16946         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16948         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16949         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16950         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16952 2013-10-04  Alan Modra  <amodra@gmail.com>
16954         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16955         constants to usual value for .cst8 section, and remove redundant
16956         high address load.
16957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16958         constant for 0x1p52.  Load little-endian words of double from
16959         correct stack offsets.
16961 2013-10-04  Alan Modra  <amodra@gmail.com>
16963         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16964         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16965         words of double from correct stack offsets.
16966         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16967         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16968         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16969         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16970         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16971         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16972         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16973         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16974         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16976         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16977         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16978         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16979         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16980         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16982         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16984 2013-10-04  Alan Modra  <amodra@gmail.com>
16986         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16987         64-bit int/double union.
16988         (_FPU_SETCW): Likewise.
16989         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16990         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16992 2013-10-04  Alan Modra  <amodra@gmail.com>
16994         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16995         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16997 2013-10-04  Alan Modra  <amodra@gmail.com>
16999         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17000         use vector int constants.
17001         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17005         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17006         array with long long.
17007         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17008         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17009         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17010         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17011         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17012         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17013         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17014         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17015         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17016         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17017         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17018         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17019         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17021 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17023         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17024         (__signbit): Likewise.  Correct for little-endian.
17025         (__signbitl): Call __signbit.
17026         (lrint): Correct for little-endian.
17027         (lrintf): Call lrint.
17029 2013-10-04  Alan Modra  <amodra@gmail.com>
17031         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17032         union 32-bit int array member with 64-bit int array.
17033         (t515, tm256): Double rather than long double.
17034         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17036 2013-10-04  Alan Modra  <amodra@gmail.com>
17038         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17039         Delete.
17040         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17041         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17042         version of math_ldbl.h.
17044 2013-10-04  Alan Modra  <amodra@gmail.com>
17046         [BZ #15734], [BZ #15735]
17047         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17048         all uses of ieee875 long double macros and unions.  Simplify test
17049         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17050         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17051         normalize after ldbl_extract_mantissa, and don't add hidden bit
17052         already handled.  Don't treat low word of ieee854 mantissa like
17053         low word of IBM long double and mask off bit when testing for
17054         zero.
17055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17056         all uses of ieee875 long double macros and unions.  Simplify tests
17057         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17058         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17059         two1022, instead use their values.  Recognise that tests for large
17060         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17061         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17062         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17063         test for 0.0L and nan.  Correct negation.
17064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17065         ieee875 long double macros and unions.  Correct output for large
17066         magnitude x.  Correct absolute value calculation.
17067         (__erfcl): Likewise.
17068         * math/libm-test.inc: Add tests for errors discovered in IBM long
17069         double versions of fmodl, remainderl, erfl and erfcl.
17071 2013-10-04  Alan Modra  <amodra@gmail.com>
17073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17074         all uses of ieee854 long double macros and unions.  Simplify tests
17075         for long doubles that are fully specified by the high double.
17076         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17077         Likewise.
17078         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17079         Remove dead code too.
17080         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17081         (__ieee754_ynl): Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17083         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17085         Remove dead code too.
17086         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17087         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17088         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17090         Simplify.
17091         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17092         Simplify.
17093         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17094         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17096         Comment on variable precision.
17097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17099         Likewise.
17100         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17103         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17104         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17106 2013-10-04  Alan Modra  <amodra@gmail.com>
17108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17109         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17110         all uses of ieee854 long double macros and unions.
17111         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17112         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17113         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17114         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17115         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17116         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17117         Likewise.
17118         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17119         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17122         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17124         Simplify sign and nan test too.
17125         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17126         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17127         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17128         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17129         Likewise.
17130         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17131         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17132         Likewise.
17133         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17134         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17135         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17136         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17137         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17138         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17140 2013-10-04  Alan Modra  <amodra@gmail.com>
17142         * stdio-common/printf_size.c (__printf_size): Don't use
17143         union ieee854_long_double in fpnum union.
17144         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17145         signbit macro to retrieve sign from long double.
17146         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17147         retrieve sign from long double.
17148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17149         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17150         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17151         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17152         * math/test-misc.c (main): Don't use union ieee854_long_double.
17154 2013-10-04  Alan Modra  <amodra@gmail.com>
17156         [BZ #15680]
17157         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17158         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17159         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17160         calculation.  Remove unnecessary test for denormal exponent.
17161         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17162         Correct handling of denormals.  Avoid undefined shift behaviour.
17163         Correct normalisation of low mantissa when low double is denormal.
17164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17165         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17166         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17167         Correct normalisation of low mantissa.  Test for overflow of high
17168         mantissa and normalise.
17169         (ldbl_nearbyint): Use more readable constant for two52.
17170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17171         (__mpn_construct_long_double): Fix test for overflow of high
17172         mantissa and correct normalisation.  Avoid undefined shift.
17174 2013-10-04  Alan Modra  <amodra@gmail.com>
17176         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17177         (union ibm_extended_long_double): Define as an array of ieee754_double.
17178         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17179         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17180         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17181         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17183         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17187         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17190 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17192         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17193         page size instead of calling getpagesize.
17195         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17196         (LOCFILE_ALIGN_MASK): Likewise.
17197         (LOCFILE_ALIGN_UP): Likewise.
17198         (LOCFILE_ALIGNED_P): Likewise.
17199         * locale/programs/ld-collate.c (collate_output): Use the new
17200         macros instead of __alignof__ (int32_t).
17201         * locale/weight.h (findidx): Likewise.
17203 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17205         [BZ #431]
17206         * manual/string.texi: Fix strncat and wcsncat.
17208 2013-10-03  Brooks Moses  <bmoses@google.com>
17210         [BZ #15915]
17211         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17212         * Makerules: ...here, and adjust associated comments.
17214 2013-10-02  Will Newton  <will.newton@linaro.org>
17216         * malloc/Makefile: Add tst-pvalloc.
17217         * malloc/tst-pvalloc.c: New file.
17219 2013-10-02  Will Newton  <will.newton@linaro.org>
17221         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17222         improve test coverage.
17224 2013-10-02  Will Newton  <will.newton@linaro.org>
17226         * malloc/Makefile: Add tst-posix_memalign.
17227         * malloc/tst-posix_memalign.c: New file.
17229 2013-10-01  Eric Blake  <eblake@redhat.com>
17231         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17232         Use __THROWNL rather than __THROW on static functions.
17234 2013-09-30  Petr Machata  <pmachata@redhat.com>
17236         * elf/elf.h (R_AARCH64_ABS16): New macro.
17237         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17238         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17239         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17240         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17241         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17242         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17243         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17244         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17245         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17246         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17247         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17248         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17249         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17250         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17251         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17252         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17253         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17254         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17255         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17256         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17257         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17258         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17259         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17260         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17261         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17262         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17263         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17264         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17265         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17266         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17267         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17268         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17269         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17270         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17271         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17272         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17273         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17274         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17275         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17276         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17277         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17278         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17279         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17280         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17281         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17282         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17283         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17284         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17285         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17286         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17287         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17288         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17289         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17290         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17291         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17292         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17293         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17294         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17295         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17296         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17297         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17298         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17299         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17300         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17301         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17302         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17303         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17304         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17305         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17306         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17307         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17308         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17309         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17310         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17311         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17312         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17313         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17314         (R_AARCH64_TLSDESC_LDR): Likewise.
17315         (R_AARCH64_TLSDESC_ADD): Likewise.
17316         (R_AARCH64_TLSDESC_CALL): Likewise.
17318 2013-09-30  Andreas Schwab  <schwab@suse.de>
17320         [BZ #15048]
17321         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17322         the nss database lookup.
17323         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17326 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17328         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17330 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17333         ${Bash-specific parameter/pattern/string} parameter expansion.
17334         * sysdeps/unix/make-syscalls.sh: Likewise.
17336 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17338         * sysdeps/sh/stackguard-macros.h: New file.
17340 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17344         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17347         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17349 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17351         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17352         Fix thread ID register.
17354 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17356         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17357         [POSIX || UNIX98]: Require rather than permitting all symbols from
17358         <time.h>.
17359         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17360         element of struct sched_param.
17361         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17362         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17363         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17364         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17365         constant.
17367 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17369         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17370         argument calculation.
17372 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17374         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17375         Expect macro.
17376         [POSIX] (pthread_attr_t): Do not require type.
17377         [POSIX] (pthread_cond_t): Likewise.
17378         [POSIX] (pthread_condattr_t): Likewise.
17379         [POSIX] (pthread_key_t): Likewise.
17380         [POSIX] (pthread_mutex_t): Likewise.
17381         [POSIX] (pthread_mutexattr_t): Likewise.
17382         [POSIX] (pthread_once_t): Likewise.
17383         [POSIX] (pthread_t): Likewise.
17384         [POSIX-based standards] (pthread_atfork): Expect function.
17386 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17387             Richard Sandiford  <richard@codesourcery.com>
17389         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17390         (swap_endianness_p): New extern variable.
17391         (set_big_endian): New inline function.
17392         (maybe_swap_uint32): Likewise.
17393         (maybe_swap_uint32_array): Likewise.
17394         (maybe_swap_uint32_obstack): Likewise.
17395         * locale/programs/locfile.c: Include <stdbool.h>.
17396         (swap_endianness_p): New variable.
17397         (add_locale_uint32): Call maybe_swap_uint32.
17398         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17399         (write_locale_data): Call maybe_swap_uint32_array.
17400         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17401         maybe_swap_uint32.
17402         (obstack_int32_grow_fast): Likewise.
17403         (output_weightwc): Call maybe_swap_uint32_obstack.
17404         (collate_output): Likewise.
17405         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17406         (OPT_LITTLE_ENDIAN): Likewise.
17407         (options): Add --little-endian and --big-endian options.
17408         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17409         * locale/programs/locarchive.c: Include "locfile.h".
17410         (GET): New macro.
17411         (SET): Likewise.
17412         (INC): Likewise.
17413         (create_archive): Use the new macros to access fields of
17414         structures directly mapped from or written to locale archives.
17415         (oldlocrecentcmp): Likewise.
17416         (enlarge_archive): Likewise.
17417         (insert_name): Likewise.
17418         (add_alias): Likewise.
17419         (add_locale): Likewise.
17420         (delete_locales_from_archive): Likewise.
17421         (show_archive_content): Likewise.
17422         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17423         locale data.
17425 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17427         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17428         http://www.gnu.org/doc/freemanuals.texi.
17429         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17431 2013-09-24  Will Newton  <will.newton@linaro.org>
17433         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17434         macro.
17436 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17438         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17439         unsigned char.
17441 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17443         * manual/threads.texi (POSIX Threads): Fix a typo.
17445 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17447         [BZ #14547]
17448         * string/tst-strcoll-overflow.c: New test case.
17449         * string/Makefile (xtests): Add tst-strcoll-overflow.
17450         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17451         cache if string sizes may cause integer overflow.
17453         [BZ #14547]
17454         * string/strcoll_l.c (coll_seq): New members rule, idx,
17455         save_idx and back_us.
17456         (get_next_seq_nocache): New function.
17457         (do_compare_nocache): New function.
17458         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17459         when malloc fails.
17461 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17463         [BZ #15754]
17464         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17465         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17466         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17468         [BZ #15754]
17469         * elf/Makefile (tests): Add tst-ptrguard1.
17470         (tests-static): Add tst-ptrguard1-static.
17471         (tst-ptrguard1-ARGS): Define.
17472         (tst-ptrguard1-static-ARGS): Define.
17473         * elf/tst-ptrguard1.c: New file.
17474         * elf/tst-ptrguard1-static.c: New file.
17475         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17476         * sysdeps/i386/stackguard-macros.h: Likewise.
17477         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17478         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17479         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17480         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17481         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17482         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17484 2013-09-23  Hector Marco  <hecmargi@upv.es>
17485             Ismael Ripoll  <iripoll@disca.upv.es>
17486             Carlos O'Donell  <carlos@redhat.com>
17488         [BZ #15754]
17489         * sysdeps/generic/stackguard-macros.h: Define
17490         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17491         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17492         Define __pointer_chk_guard_local.
17493         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17494         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17496 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17498         [BZ #15859]
17499         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17501 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17503         * include/string.h (__ffs): Declare as hidden.
17504         * string/ffs.c (__ffs): Define as hidden.
17505         * sysdeps/i386/ffs.c (__ffs): Likewise.
17506         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17507         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17508         * sysdeps/s390/ffs.c (__ffs): Likewise.
17509         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17511 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17513         * NEWS: Mention malloc probes.
17515         * malloc/arena.c (new_heap): New memory_heap_new probe.
17516         (grow_heap): New memory_heap_more probe.
17517         (shrink_heap): New memory_heap_less probe.
17518         (heap_trim): New memory_heap_free probe.
17519         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17520         (systrim): New memory_sbrk_less probe.
17521         * manual/probes.texi: Document them.
17523         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17524         * manual/probes.texi: Document it.
17526         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17527         (__libc_realloc): Add memory_realloc_retry probe.
17528         (__libc_memalign): Add memory_memalign_retry probe.
17529         (__libc_valloc): Add memory_valloc_retry probe.
17530         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17531         (__libc_calloc): Add memory_calloc_retry probe.
17532         * manual/probes.texi: Document them.
17534         * malloc/arena.c (get_free_list): Add probe
17535         memory_arena_reuse_free_list.
17536         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17537         and memory_arena_reuse.
17538         (arena_get2) [!PER_THREAD]: Likewise.
17539         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17540         memory_arena_reuse_realloc.
17541         * manual/probes.texi: Document them.
17543         * malloc/malloc.c (__libc_free): Add
17544         memory_mallopt_free_dyn_thresholds probe.
17545         (__libc_mallopt): Add multiple memory_mallopt probes.
17546         * manual/probes.texi: Document them.
17548         * malloc/malloc.c: Include stap-probe.h.
17549         (__libc_mallopt): Add memory_mallopt probe.
17550         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17551         * manual/probes.texi: New.
17552         * manual/Makefile (chapters): Add probes.
17553         * manual/threads.texi: Set next node.
17555 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17557         [BZ #15963, #13985]
17558         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17559         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17560         Add `Chinese' to `nan' entry name.
17562 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17564         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17565         (POLYNOMIAL): Likewise.
17566         (TAYLOR_SINCOS): Likewise.
17567         (TAYLOR_SLOW): Likewise.
17568         (__sin): Use TAYLOR_SINCOS.
17569         (__cos): Likewise.
17570         (slow): Use TAYLOR_SLOW.
17571         (sloww): Likewise.
17572         (bsloww): Likewise.
17573         (csloww): Likewise.
17575 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17577         * stdlib/strtod_l.c: Fix buffer overrun.
17579 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17581         * benchtests/Makefile (bench): Add sincos.
17582         * benchtests/bench-sincos.c: New file.
17584         * math/libm-test.inc (cos_test_data): New test inputs.
17585         (sin_test_data): Likewise.
17587         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17588         macro.
17589         (__sin): Use it.
17590         (__cos): Likewise.
17591         (slow1): Likewise.
17592         (slow2): Likewise.
17593         (sloww1): Likewise.
17594         (sloww2): Likewise.
17595         (bsloww1): Likewise.
17596         (bsloww2): Likewise.
17597         (cslow2): Likewise.
17598         (csloww1): Likewise.
17599         (csloww2): Likewise.
17601         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17602         function.
17603         (__sin): Use it.
17604         (__cos): Likewise.
17606         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17607         gotos.
17608         (__cos): Likewise.
17610 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17612         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17613         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17614         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17615         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17616         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17617         * elf/cache.c (print_entry): Handle the new cache flags.
17619 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17620             Aldy Hernandez  <aldyh@redhat.com>
17622         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17623         Change condition to [_SOFT_FLOAT].
17624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17636         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17639         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17640         declaration.
17642 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17644         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17645         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17646         (__longjmp): Use LOAD_GP to load saved GPRs.
17647         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17648         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17649         (__sigsetjmp): Use SAVE_GP to save GPRs.
17651         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17652         Do not append -msoft-float.
17653         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17655 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17657         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17659 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #15966]
17662         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17663         (_FPU_GETCW): Use initial "__" on variable and field names but not
17664         on macro parameter name.
17665         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17666         parentheses around reference to macro parameter.
17668 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17670         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17671         prototype.
17672         (ctype_startup): Use uint32_t in cast and sizeof for
17673         ctype->charnames.
17675 2013-09-11  Jia Liu  <proljc@gmail.com>
17677         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17678         __daddr_t_defined.
17679         [__FreeBSD__]: Likewise.
17681 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17684         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17685         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17686         (strchr): Remove __strchr_sse42 ifunc selection.
17687         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17688         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17690 2013-09-11  Will Newton  <will.newton@linaro.org>
17692         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17693         parameter to RES. Remove hardcoded 1000 value.
17694         * benchtests/bench-skeleton.c (main): Pass RES parameter
17695         to TIMING_INIT and multiply result by 1000.
17697 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17701 2013-09-11  Andreas Schwab  <schwab@suse.de>
17703         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17704         if not defined.
17705         (O_TMPFILE) [__USE_GNU]: Define.
17706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17707         Define.
17709 2013-09-11  Will Newton  <will.newton@linaro.org>
17711         [BZ #15857]
17712         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17713         does not overflow.
17715 2013-09-11  Will Newton  <will.newton@linaro.org>
17717         [BZ #15856]
17718         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17719         does not overflow.
17721 2013-09-11  Will Newton  <will.newton@linaro.org>
17723         [BZ #15855]
17724         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17725         does not overflow.
17727 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17729         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17730         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17731         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17732         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17733         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17735 2013-09-10  Allan McRae  <allan@archlinux.org>
17737         [BZ #15748]
17738         * manual/arith.texi (Parsing of Floats): Clarify
17739         cross-reference.
17741         [BZ #15849]
17742         * manual/install.texi (Running make install): Mention
17743         --enable-pt-chown.
17744         * INSTALL: Regenerated.
17746 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17748         * csu/init-first.c (_init): Remove the !SHARED condition around
17749         FPU control word initialization.
17750         * elf/dl-support.c (_dl_fpu_control): New variable.
17751         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17752         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17753         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17754         * math/test-fpucw-static.c: New file.
17755         * math/test-fpucw-ieee.c: New file.
17756         * math/test-fpucw-ieee-static.c: New file.
17757         * math/Makefile (tests): Add `test-fpucw-ieee' and
17758         `$(tests-static)'.
17759         (tests-static): New variable.
17760         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17761         dependency to...
17762         [($(build-shared),yes)]
17763         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17764         ... this.
17765         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17766         New dependency.
17768 2013-09-09  Allan McRae  <allan@archlinux.org>
17770         [BZ #15939]
17771         * manual/string.texi (Collation Functions): Fix typo in
17772         strcoll example.
17773         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17775         [BZ #15893]
17776         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17778         [BZ #15892]
17779         * libio/memstream.c (open_memstream): Fix memory leak.
17780         * libio/wmemstream.c (open_wmemstream): Likewise.
17782         [BZ #15895]
17783         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17785 2013-09-09  Will Newton  <will.newton@linaro.org>
17787         * malloc/Makefile: Add tst-realloc to tests.
17788         * malloc/tst-realloc.c: New file.
17790 2013-09-09  Allan McRae  <allan@archlinux.org>
17792         [BZ #15844]
17793         * COPYING: Update from GNU website to fix FSF address.
17794         * COPYING.LIB: Likewise.
17796 2013-09-06  David S. Miller  <davem@davemloft.net>
17798         * po/zh_TW.po: Update Chinese (traditional) translation from
17799         translation project.
17801 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17802             Joseph Myers  <joseph@codesourcery.com>
17804         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17805         "localeinfo.h".
17806         (obstack_chunk_alloc): New macro.
17807         (obstack_chunk_free): Likewise.
17808         (record_offset): New function.
17809         (init_locale_data): Likewise.
17810         (align_locale_data): Likewise.
17811         (add_locale_empty): Likewise.
17812         (add_locale_raw_data): Likewise.
17813         (add_locale_raw_obstack): Likewise.
17814         (add_locale_string): Likewise.
17815         (add_locale_wstring): Likewise.
17816         (add_locale_uint32): Likewise.
17817         (add_locale_uint32_array): Likewise.
17818         (add_locale_char): Likewise.
17819         (start_locale_structure): Likewise.
17820         (end_locale_structure): Likewise.
17821         (start_locale_prelude): Likewise.
17822         (end_locale_prelude): Likewise.
17823         (write_locale_data): Take locale_file structure rather than an
17824         iovec.
17825         * locale/programs/locfile.h: Include "obstack.h".
17826         (struct locale_file): Change to store locale file contents instead
17827         of header.
17828         (init_locale_data): New prototype.
17829         (align_locale_data): Likewise.
17830         (add_locale_empty): Likewise.
17831         (add_locale_raw_data): Likewise.
17832         (add_locale_raw_obstack): Likewise.
17833         (add_locale_string): Likewise.
17834         (add_locale_wstring): Likewise.
17835         (add_locale_uint32): Likewise.
17836         (add_locale_uint32_array): Likewise.
17837         (add_locale_char): Likewise.
17838         (start_locale_structure): Likewise.
17839         (end_locale_structure): Likewise.
17840         (start_locale_prelude): Likewise.
17841         (end_locale_prelude): Likewise.
17842         (write_locale_data): Update prototype.
17843         * locale/programs/3level.h (struct TABLE): Remove result field.
17844         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17845         Use new locale_file interface.
17846         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17847         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17848         * locale/programs/ld-address.c (address_output): Use new
17849         locale_file interface.
17850         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17851         NO_ADD_LOCALE.
17852         (collate_finish): Don't call collseq_table_finalize.
17853         (collate_output): Use new locale_file interface.
17854         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17855         in file.
17856         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17857         (TABLE): Move defines earlier in file.
17858         (ELEMENT): Likewise.
17859         (DEFAULT): Likewise.
17860         (wctrans_table_add): Move macro and inline function earlier in
17861         file.
17862         (struct wctype_table): Move type earlier in file.
17863         (add_locale_wctype_table): New static prototype.
17864         (struct locale_ctype_t): Use logical types instead of struct iovec
17865         pointers for members.
17866         (ctype_output): Use new locale_file interface.
17867         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17868         new locale_file interface.
17869         (allocate_arrays): Update for use of new locale_file interface.
17870         * locale/programs/ld-identification.c (identification_output): Use
17871         new locale_file interface.
17872         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17873         * locale/programs/ld-messages.c (messages_output): Likewise.
17874         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17875         * locale/programs/ld-name.c (name_output): Likewise.
17876         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17877         * locale/programs/ld-paper.c (paper_output): Likewise.
17878         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17879         * locale/programs/ld-time.c (time_output): Likewise.
17881 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17883         * benchtests/Makefile: Add memrchr benchmark.
17884         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17885         benchmark as memrchr.
17886         * benchtests/bench-memrchr-ifunc.c: New file.
17887         * benchtests/bench-memrchr.c: New file.
17889 2013-09-06   Will Newton  <will.newton@linaro.org>
17891         * benchtests/Makefile (string-bench): Add memcpy.
17893 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17894             Cong Wang  <amwang@redhat.com>
17896         [BZ #15850]
17897         * sysdeps/unix/sysv/linux/bits/in.h
17898         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17899         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17900         before __USE_KERNEL_IPV6_DEFS uses.
17901         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17902         IPPROTO_BEETPH.
17903         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17904         sockaddr_in6, or ipv6_mreq.
17906 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17908         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17909         memory access for final bytes in some large inputs.
17910         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17912 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17914         * string/test-memrchr.c: New file.
17915         * string/test-memrchr-ifunc.c: New file.
17916         * string/Makefile: Add new memrchr testcase.
17918 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17920         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17921         fanotify_init returns EPERM.
17923 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17925         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17926         errors.
17927         (top level): Treat second token from macro or constant entries for
17928         allowed headers as allowed.
17929         * include/complex.h: Condition internal declarations on
17930         [!_ISOMAC].
17931         * include/fenv.h: Condition include of <stdbool.h> and internal
17932         declarations on [!_ISOMAC].
17934 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17936         [BZ #15923]
17937         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17939 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17941         * configure.in (--enable-versioning): Remove configure option.
17942         (libc_cv_asm_symver_directive): Remove configure test.
17943         (libc_cv_ld_version_script_option): Likewise.
17944         (VERSIONING): Remove variable and AC_SUBST.
17945         (DO_VERSIONING): Remove AC_DEFINE.
17946         * configure: Regenerated.
17947         * config.h.in (DO_VERSIONING): Remove macro.
17948         * Makerules [$(versioning) = yes]: Change conditionals to
17949         [$(build-shared) = yes].
17950         * config.make.in (versioning): Remove variable.
17951         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17952         [$(build-shared) = yes].
17953         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17954         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17955         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17956         [$(build-shared) = yes].
17957         * extra-lib.mk [$(versioning) = yes]: Likewise.
17958         * hurd/Makefile [$(versioning) = yes]: Likewise.
17959         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17960         [SHARED].
17961         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17962         [SHARED].
17963         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17964         [SHARED && !NO_HIDDEN].
17965         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17966         [SHARED].
17967         [SHARED && DO_VERSIONING]: Likewise..
17968         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17969         [$(build-shared) = yes].
17970         * manual/install.texi (--disable-versioning): Remove
17971         documentation.
17972         * INSTALL: Regenerated.
17973         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17974         to [SHARED].
17975         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17976         [$(build-shared) = yes].
17977         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17978         * sysdeps/i386/i686/multiarch/strstr-c.c
17979         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17980         [SHARED && !NO_HIDDEN].
17981         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17982         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17983         * sysdeps/powerpc/powerpc32/dl-machine.c
17984         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17985         * sysdeps/powerpc/powerpc32/sysdep.h
17986         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17987         to [SHARED && PIC && !NO_HIDDEN].
17988         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17989         conditional to [SHARED].
17991 2013-09-04   Will Newton  <will.newton@linaro.org>
17993         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17994         * benchtests/bench-string.h: Include bench-timing.h instead
17995         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17996         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17997         call to HP_TIMING_DIFF_INIT.
17998         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17999         instead of hp-timing.h macros.
18000         * benchtests/bench-memchr.c: Likewise.
18001         * benchtests/bench-memcmp.c: Likewise.
18002         * benchtests/bench-memcpy.c: Likewise.
18003         * benchtests/bench-memmem.c: Likewise.
18004         * benchtests/bench-memmove.c: Likewise.
18005         * benchtests/bench-memset.c: Likewise.
18006         * benchtests/bench-rawmemchr.c: Likewise.
18007         * benchtests/bench-strcasecmp.c: Likewise.
18008         * benchtests/bench-strcasestr.c: Likewise.
18009         * benchtests/bench-strcat.c: Likewise.
18010         * benchtests/bench-strchr.c: Likewise.
18011         * benchtests/bench-strcmp.c: Likewise.
18012         * benchtests/bench-strcpy.c: Likewise.
18013         * benchtests/bench-strcpy_chk.c: Likewise.
18014         * benchtests/bench-strlen.c: Likewise.
18015         * benchtests/bench-strncasecmp.c: Likewise.
18016         * benchtests/bench-strncat.c: Likewise.
18017         * benchtests/bench-strncmp.c: Likewise.
18018         * benchtests/bench-strncpy.c: Likewise.
18019         * benchtests/bench-strnlen.c: Likewise.
18020         * benchtests/bench-strpbrk.c: Likewise.
18021         * benchtests/bench-strrchr.c: Likewise.
18022         * benchtests/bench-strspn.c: Likewise.
18023         * benchtests/bench-strstr.c: Likewise.
18025 2013-09-04  Will Newton  <will.newton@linaro.org>
18027         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18029 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18031         [BZ #15427]
18032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18033         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18034         * math/libm-test.inc (lgamma_test_data): Add more tests.
18035         * sysdeps/i386/fpu/libm-test-ulps: Update.
18036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18038 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18040         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18042         Add ifunc.
18043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18044         Add strcmp-sse2-unaligned
18045         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18047 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18049         * Versions.def (libc): Add GLIBC_2.19.
18051 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18053         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18054         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18056 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18058         [BZ #14155]
18059         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18060         intermediate calculations in recurrence.
18061         (__ieee754_ynf): Likewise.
18062         * math/libm-test.inc (jn_test_data): Do not allow spurious
18063         underflow exception.  Add more tests.
18064         (yn_test_data): Add more tests.
18065         * sysdeps/i386/fpu/libm-test-ulps: Update.
18066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18068 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18072 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18074         * csu/init-first.c: Fix then/than typos.
18075         * locale/programs/ld-collate.c: Likewise.
18076         * locale/programs/linereader.h: Likewise.
18077         * manual/charset.texi: Likewise.
18078         * manual/filesys.texi: Likewise.
18079         * manual/stdio.texi: Likewise.
18080         * manual/string.texi: Likewise.
18081         * stdlib/fmtmsg.c: Likewise.
18082         * sysdeps/i386/stpncpy.S: Likewise.
18083         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18084         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18085         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18086         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18088 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18090         * elf/dl-open.c: Fix typos.
18091         * iconvdata/gbbig5.c: Likewise.
18092         * iconvdata/iso-2022-jp.c: Likewise.
18093         * iconv/gconv_int.h: Likewise.
18094         * iconv/loop.c: Likewise.
18095         * nis/rpcsvc/nis.h: Likewise.
18096         * resolv/ns_name.c: Likewise.
18097         * stdio-common/vfscanf.c: Likewise.
18098         * streams/stropts.h: Likewise.
18099         * sunrpc/rpc_thread.c: Likewise.
18100         * sysdeps/i386/strpbrk.S: Likewise.
18101         * sysdeps/ieee754/k_standard.c: Likewise.
18102         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18104         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18105         * sysdeps/mach/hurd/profil.c: Likewise.
18106         * sysdeps/s390/dl-procinfo.h: Likewise.
18107         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18108         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18109         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18110         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18113 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18115         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18118 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18120         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18121         aix specific files.
18122         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18123         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18124         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18125         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18126         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18127         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18128         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18131 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18132             Roland McGrath  <roland@hack.frob.com>
18134         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18135         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18137 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18139         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18140         __executable_start symbol instead of _start.
18142 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18144         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18145         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18146         Move macros to...
18147         * sysdeps/gnu/ldsodefs.h: ... this new file.
18149         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18150         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18151         instead of ELFOSABI_LINUX.
18153         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18154         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18155         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18156         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18157         Likewise.
18158         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18159         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18160         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18161         Likewise.
18162         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18163         (ibm_extended_long_double): Add ieee_nan member.
18164         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18165         (do_test): New function.
18167         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18168         TEST_TRUNC.
18169         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18170         functions, renamed from truncdfsf_test, trunctfsf_test,
18171         trunctfdf_test.
18172         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18173         functions.
18174         (do_test): Run all these.
18176 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18178         * argp/argp-help.c: Fix typos.
18179         * argp/argp-parse.c: Likewise.
18180         * debug/backtracesyms.c: Likewise.
18181         * elf/elf.h: Likewise.
18182         * malloc/malloc.c: Likewise.
18183         * nis/nis_print.c: Likewise.
18184         * resolv/res_comp.c: Likewise.
18185         * stdlib/stdlib.h: Likewise.
18186         * sunrpc/clnt_tcp.c: Likewise.
18187         * sunrpc/clnt_udp.c: Likewise.
18188         * sunrpc/clnt_unix.c: Likewise.
18189         * sysdeps/unix/bsd/ptsname.c: Likewise.
18190         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18191         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18193         Likewise.
18194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18195         Likewise.
18196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18197         Likewise.
18198         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18200 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18202         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18205 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18207         [BZ #15897]
18208         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18209         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18210         ($(objpfx)bug-dl-leaf): New rule.
18211         ($(objpfx)bug-dl-leaf.so): Likewise.
18212         ($(objpfx)bug-dl-leaf.out): Likewise.
18213         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18214         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18215         * dlfcn/bug-dl-leaf.c: New test.
18216         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18217         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18218         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18219         (dlclose): Likewise.
18220         (dlmopen): Likewise.
18222 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18224         * include/netdb.h [!_ISOMAC]:
18225         Don't include <tls.h>.
18226         (h_errno, __libc_h_errno): Move declaration and macros out of
18227         [_LIBC_REENTRANT].
18229         * include/resolv.h [_RESOLV_H_]:
18230         Don't include <tls.h>.
18231         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18232         * resolv/res_libc.c: Don't include <tls.h>.
18233         (_res): Use __attribute__ ((nocommon)) in place of
18234         __attribute__ ((section (".bss"))).
18236         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18237         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18239         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18241         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18242         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18244         * resolv/res_mkquery.c: Include <sys/time.h>.
18246         * inet/ifreq.c: Moved to ...
18247         * sysdeps/unix/ifreq.c: ... here.
18248         * inet/ifreq.c: New file, true stub version.
18250         * socket/sa_len.c: New file.
18251         * socket/Makefile (aux): Add it.
18252         * sysdeps/unix/sysv/linux/Makefile
18253         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18254         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18255         and #include <socket/sa_len.c>.
18256         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18257         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18259         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18260         * bits/socket.h: ... here.
18262         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18263         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18264         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18266 2013-08-27  Andreas Schwab  <schwab@suse.de>
18268         [BZ #15736]
18269         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18270         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18271         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18272         * string/test-strcasecmp.c (test_main): Run tests in several
18273         locales.
18274         * string/test-strncasecmp.c (test_main): Likewise.
18276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18277         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18278         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18280         (__strncasecmp_ssse3) [PIC]: Likewise.
18282 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18284         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18286         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18287         instead of explicitly declaring xdecrypt.
18288         * nis/nss_nis/nis-publickey.c: Likewise.
18290 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18292         [BZ #15890]
18293         * nscd/aicache.c: Include res_hconf.h.
18294         (addhstaiX): Initialize res_hconf.
18296 2013-08-26  Andreas Schwab  <schwab@suse.de>
18298         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18299         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18301 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18303         * nscd/aicache.c (addhstaiX): Fix indentation.
18305 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18307         * configure.ac: Quote $build_pt_chown test.
18308         * configure: Regenerated.
18310 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18312         [BZ #15532]
18313         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18314         * math/s_cexpf.c (__cexpf): Likewise.
18315         * math/s_cexpl.c (__cexpl): Likewise.
18316         * math/libm-test.inc (cexp_test_data): Correct expected return
18317         value for NaN + i0.  Add another test.
18319 2013-08-22  David S. Miller  <davem@davemloft.net>
18321         * po/ca.po: Update Catalan translation from translation project.
18322         * po/uk.po: Add Ukrainian translations from translation project.
18324 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18326         [BZ #15797]
18327         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18328         is infinite, not alongside NaN test.
18329         * math/s_fdimf.c (__fdimf): Likewise.
18330         * math/s_fdiml.c (__fdiml): Likewise.
18331         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18332         errno is unchanged.
18334 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18336         * argp/argp-help.c: Fix typos.
18337         * crypt/speeds.c: Likewise.
18338         * csu/check_fds.c: Likewise.
18339         * elf/dl-load.c: Likewise.
18340         * elf/dl-open.c: Likewise.
18341         * elf/reldep3.c: Likewise.
18342         * elf/reldep.c: Likewise.
18343         * elf/sprof.c: Likewise.
18344         * iconv/iconv_charmap.c: Likewise.
18345         * iconv/skeleton.c: Likewise.
18346         * iconv/strtab.c: Likewise.
18347         * io/lockf64.c: Likewise.
18348         * libio/libioP.h: Likewise.
18349         * resolv/gai_notify.c: Likewise.
18350         * resolv/ns_name.c: Likewise.
18351         * resolv/ns_samedomain.c: Likewise.
18352         * resolv/res_send.c: Likewise.
18353         * stdlib/random.c: Likewise.
18354         * sunrpc/rpc/xdr.h: Likewise.
18355         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18356         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18357         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18358         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18359         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18362         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18363         * sysdeps/mach/hurd/check_fds.c: Likewise.
18364         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18365         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18366         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18368         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18369         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18370         * sysdeps/pthread/aio_notify.c: Likewise.
18371         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18372         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18373         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18375         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18377 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18379         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18380         version if bit_Slow_SSE4_2 is set.
18381         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18384 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18386         [BZ #15867]
18387         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18388         trampoline stack frame information.
18389         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18391         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18392         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18393         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18394         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18395         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18396         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18397         sa_flags value.
18398         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18399         interrupting a syscall and set with option SA_SIGINFO.
18401 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18403         [BZ #15531]
18404         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18405         argument is infinite.
18406         * math/s_cprojf.c (__cprojf): Likewise.
18407         * math/s_cprojl.c (__cprojl): Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18409         * math/libm-test.inc (cproj_test_data): Add more tests.
18411         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18414         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18415         size.  Use __ffs to determine corresponding shift.
18417 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18418             Roland McGrath  <roland@hack.frob.com>
18420         * Makefile (INSTALL): Remove trailing blank lines from output of
18421         makeinfo.
18423 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18425         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18426         Align 32 bit compat elf_greg to 8 bytes.
18428 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18430         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18432 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18434         * string/strcoll_l.c (coll_seq): New structure.
18435         (get_next_seq_cached): New function.
18436         (get_next_seq): New function.
18437         (do_compare): New function.
18438         (STRCOLL): Use GNU style definition.  Simplify implementation
18439         by using get_next_seq, get_next_seq_cached and do_compare.
18441 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18443         [BZ #14699]
18444         CVE-2013-4237
18445         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18446         member.
18447         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18448         member.
18449         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18450         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18451         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18452         conditional.
18453         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18454         GETDENTS_64BIT_ALIGNED.
18455         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18456         * manual/filesys.texi (Reading/Closing Directory): Document
18457         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18458         strongly.
18459         * manual/conf.texi (Limits for Files): Add portability note to
18460         NAME_MAX, PATH_MAX.
18461         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18463 2013-08-13  Andreas Schwab  <schwab@suse.de>
18465         [BZ #15749]
18466         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18467         of fabs.
18468         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18469         LDBL_MAX_EXP >= 16384]: Add tests for it.
18471 2013-08-12  David S. Miller  <davem@davemloft.net>
18473         * version.h (RELEASE): Set to "development".
18474         (VERSION): Set to "2.18.90".
18475         * NEWS: Add 2.19 section.
18477 2013-08-03  David S. Miller  <davem@davemloft.net>
18479         * po/ko.po: Update Korean translation from translation project.
18481 2013-08-01  David S. Miller  <davem@davemloft.net>
18483         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18484         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18485         Bilka.
18487 2013-07-30  David S. Miller  <davem@davemloft.net>
18489         * po/fr.po: Update French translation from translation project.
18491 2013-07-28  David S. Miller  <davem@davemloft.net>
18493         * po/cs.po: Update Czech translation from translation project.
18495         * po/sv.po: Update Swedish translation from translation project.
18497 2013-07-27  David S. Miller  <davem@davemloft.net>
18499         * po/eo.po: Update Esperanto translation from translation project.
18501         * po/vi.po: Update Vietnamese translation from translation project.
18503         * po/de.po: Update German translation from translation project.
18505 2013-07-26  David S. Miller  <davem@davemloft.net>
18507         * po/bg.po: Update Bulgarian translation from translation project.
18509         * po/nl.po: Update Dutch translation from translation project.
18510         * po/pl.po: Update Polish translation from translation project.
18511         * po/ru.po: Update Russian translation from translation project.
18513 2013-07-24  David S. Miller  <davem@davemloft.net>
18515         * po/libc.pot: Update.
18517 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18519         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18520         variable page size.
18521         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18522         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18523         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18525 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18527         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18529 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18530             Andreas Schwab  <schwab@suse.de>
18531             Roland McGrath  <roland@hack.frob.com>
18532             Joseph Myers  <joseph@codesourcery.com>
18533             Carlos O'Donell  <carlos@redhat.com>
18535         [BZ #15755]
18536         * config.h.in: Define HAVE_PT_CHOWN.
18537         * config.make.in (build-pt-chown): New variable.
18538         * configure.in (--enable-pt_chown): New configure option.
18539         * configure: Regenerate.
18540         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18541         build-pt-chown is enabled.
18542         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18543         pt_chown to fix pty ownership.
18544         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18545         CLOSE_ALL_FDS.
18546         * manual/install.texi (Configuring and compiling): Mention
18547         --enable-pt_chown. Add @findex for grantpt.
18548         * INSTALL: Regenerate.
18550 2013-07-20  David S. Miller  <davem@davemloft.net>
18552         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18553         difference between 32-bit and 64-bit.
18555 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18557         [BZ #15711]
18558         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18559         Avoid system header dependency with -ffreestanding.
18560         ($(objpfx)bits/syscall%d): Likewise.
18562 2013-07-13  David S. Miller  <davem@davemloft.net>
18564         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18565         underflows from atanl/atan2l due to bug 15319.
18566         (casinh_test_data): Likewise.
18568 2013-07-07  David S. Miller  <davem@davemloft.net>
18570         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18572 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18574         * sysdeps/i386/fpu/libm-test-ulps: Update.
18575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18579         * configure.in (--enable-lock-elision): Fix message text.
18580         * INSTALL: Regenerate.
18581         * configure: Regenerate.
18583 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18587 2013-07-03  Andreas Jaeger  <aj@suse.de>
18589         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18590         define.
18591         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18592         (ptrace_peeksiginfo_args): Add.
18593         (__ptrace_peeksiginfo_flags): Add.
18594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18596         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18598 2013-07-03  Allan McRae  <allan@archlinux.org>
18600         * sysdeps/i386/fpu/libm-test-ulps: Update.
18602 2013-07-02  David S. Miller  <davem@davemloft.net>
18604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18606 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18610 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18612         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18615 2013-07-02  Andi Kleen <ak@linux.intel.com>
18617         * config.h.in (ENABLE_LOCK_ELISION): Add.
18618         * configure.in (--enable-lock-elision): Add option.
18619         * manual/install.texi: Document --enable lock elision.
18620         * configure: Regenerate
18621         * INSTALL: Regenerate.
18623 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18625         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18626         SSE4.2 strcasecmp for libc.a.
18627         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18629 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18631         [BZ #13304]
18632         * soft-fp/op-common.h (_FP_FMA): New macro.
18633         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18634         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18635         (_FP_MUL_MEAT_1_imm): ... here.
18636         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18637         (_FP_MUL_MEAT_1_wide): ... here.
18638         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18639         (_FP_MUL_MEAT_1_hard): ... here.
18640         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18641         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18642         (_FP_MUL_MEAT_2_wide): ... here.
18643         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18644         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18645         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18646         (_FP_MUL_MEAT_2_gmp): ... here.
18647         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18648         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18649         (_FP_MUL_MEAT_4_wide): ... here.
18650         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18651         (_FP_MUL_MEAT_4_gmp): ... here.
18652         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18653         (_FP_WFRACBITS_DW_S): Likewise.
18654         (_FP_WFRACXBITS_DW_S): Likewise.
18655         (_FP_HIGHBIT_DW_S): Likewise.
18656         (FP_FMA_S): Likewise.
18657         (_FP_FRAC_HIGH_DW_S): Likewise.
18658         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18659         (_FP_WFRACBITS_DW_D): Likewise.
18660         (_FP_WFRACXBITS_DW_D): Likewise.
18661         (_FP_HIGHBIT_DW_D): Likewise.
18662         (FP_FMA_D): Likewise.
18663         (_FP_FRAC_HIGH_DW_D): Likewise.
18664         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18665         (_FP_WFRACBITS_DW_E): Likewise.
18666         (_FP_WFRACXBITS_DW_E): Likewise.
18667         (_FP_HIGHBIT_DW_E): Likewise.
18668         (FP_FMA_E): Likewise.
18669         (_FP_FRAC_HIGH_DW_E): Likewise.
18670         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18671         (_FP_WFRACBITS_DW_Q): Likewise.
18672         (_FP_WFRACXBITS_DW_Q): Likewise.
18673         (_FP_HIGHBIT_DW_Q): Likewise.
18674         (FP_FMA_Q): Likewise.
18675         (_FP_FRAC_HIGH_DW_Q): Likewise.
18676         * soft-fp/fmasf4.c: New file.
18677         * soft-fp/fmadf4.c: Likewise.
18678         * soft-fp/fmatf4.c: Likewise.
18680 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18683         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18684         Silvermont.
18685         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18686         macro.
18687         (index_Slow_SSE4_2): Likewise.
18688         (index_Prefer_PMINUB_for_stringop): Likewise.
18689         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18690         bit_Slow_SSE4_2 is set.
18691         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18692         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18694 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18696         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18697         rtld_global._dl_hwcap2.
18698         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18699         POWER8.
18700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18701         POWER8 feature descriptions defined in _dl_hwcap2.
18702         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18703         string handling for POWER8 feature bits.
18704         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18705         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18706         _dl_powerpc_cap_flags.
18707         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18708         * sysdeps/powerpc/rtld-global-offsets.sym
18709         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18710         _dl_hwcap2 in the rtld_global_ro structure.
18712 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18714         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18715         hardware capabilities in support of AT_HWCAP2.
18716         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18717         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18718         GLRO(dl_hwcap2).
18719         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18720         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18721         explicitly the unknown a_type display mechanism is used.
18722         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18723         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18724         struct member.
18725         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18726         to macro prototype for AT_HWCAP2 support.
18727         * sysdeps/i386/dl-procinfo.h: Likewise.
18728         * sysdeps/s390/dl-procinfo.h: Likewise.
18729         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18730         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18731         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18732         return -1 for unknown a_type display fallback.
18733         * sysdeps/sparc/dl-procinfo.h: Likewise.
18734         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18735         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18737 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18739         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18740         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18742 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18744         [BZ #12492]
18745         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18746         mprotect making __stack_prot writable.
18748 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18749             Joseph Myers  <joseph@codesourcery.com>
18751         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18752         as being properly aligned.
18754 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18756         * dlfcn/modstatic5.c: New file.
18757         * dlfcn/tststatic5.c: New file.
18758         * dlfcn/Makefile (tests): Add tststatic5.
18759         (tests-static): Likewise.
18760         (modules-names): Add modstatic5.
18761         (tststatic5-ENV): New variable.
18762         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18764         [BZ #15022]
18765         * elf/dl-support.c (_dl_main_map): New variable.
18766         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18767         (_dl_nns, _dl_load_adds): Set to 1.
18768         (_dl_initial_searchlist): Refer to _dl_main_map.
18769         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18770         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18771         call to _dl_get_origin.
18772         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18773         around call_map.
18774         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18775         * dlfcn/modstatic3.c: New file.
18776         * dlfcn/tststatic3.c: New file.
18777         * dlfcn/tststatic4.c: New file.
18778         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18779         (tests-static): Likewise.
18780         (modules-names): Add modstatic3.
18781         (tststatic3-ENV, tststatic4-ENV): New variables.
18782         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18783         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18785 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18787         * configure.in (CC): Require GCC version 4.4 or later.
18788         * configure: Regenerated.
18789         * manual/install.texi (Tools for Compilation): Update GCC version
18790         requirement.
18791         * INSTALL: Regenerated.
18793 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18795         [BZ #15674]
18796         * string/test-memcmp.c (check2): New.
18797         (main): Call check2.
18799         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18801 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18803         [BZ #15022]
18804         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18805         over to...
18806         (dl_open_worker) [!SHARED]: ... here.
18808 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18810         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18812 2013-06-25  Richard Henderson  <rth@redhat.com>
18814         * locale/programs/locarchive.c: Include <libc-internal.h>
18816 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18818         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18819         trailing whitespace removed.
18821 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18823         [BZ #10283]
18824         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18825         * locale/programs/locarchive.c: Include libc-mmap.h.
18826         (prepare_address_space): Take two new outputs (the mmap base and len).
18827         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18828         values.
18829         (create_archive): Declare new mmap base and len values for
18830         prepare_address_space, and store the result in ah.
18831         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18832         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18833         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18834         Declare new mmap base and len values for
18835         prepare_address_space, and store the result in new_ah.
18836         (open_archive): Declare new mmap base and len values for
18837         prepare_address_space, and store the result in ah.
18838         (close_archive): If ah->mmap_base is not NULL, use that and
18839         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18840         * sysdeps/generic/libc-mmap.h: New file.
18842 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18844         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18845         (ALIGN_UP): Likewise.
18846         (PTR_ALIGN_DOWN): Likewise.
18847         (PTR_ALIGN_UP): Likewise.
18849 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18851         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18852         entry mapped to PPC_PLATFORM_POWER8.
18853         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18854         POWER8.
18855         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18856         (_dl_string_platform): Add case for exporting platform position for
18857         POWER8.
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18859         search path to sysdeps/powerpc/powerpc32/power8 directory.
18860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18861         search path to sysdeps/powerpc/powerpc64/power8 directory.
18862         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18863         power7 directories.
18864         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18865         power7 directories.
18867 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18869         * INSTALL: Regenerate.
18871         * nscd/connections.c (nscd_init): Fix comment.
18873 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18875         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18877         [BZ #15667]
18878         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18879         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18881 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18883         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18884         DL_DST_REQ_STATIC.
18885         (DL_DST_REQ_STATIC): Remove macro.
18887 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18889         [BZ #7006]
18890         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18891         with a shift of 0 bits.
18893 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18895         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18896         $(tststatic-ENV).
18898 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18900         [BZ #15655]
18901         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18903 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18905         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18906         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18907         accepts -fno-tree-loop-distribute-patterns.
18908         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18909         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18910         recursive call.
18911         * string/memset.c (memset): Likewise.
18912         * string/test-memmove.c (simple_memmove): Disable loop transformation
18913         to library calls.
18914         * string/test-memset.c (simple_memset): Likewise.
18915         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18916         * benchtests/bench-memset.c (simple_memset): Likewise.
18917         * configure: Regenerated.
18919 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18921         * math/test-misc.c (main): Ignore fesetround failure when failures
18922         of subsequent rounding tests would be ignored.
18924         [BZ #15654]
18925         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18926         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18927         * math/fegetenv.c (__fegetenv): Return 0.
18928         * math/fegetexcept.c (fegetexcept): Return 0.
18929         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18930         FE_TONEAREST.
18931         * math/feholdexcpt.c (feholdexcept): Return 0.
18932         * math/fesetenv.c (__fesetenv): Return 0.
18933         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18934         argument FE_TONEAREST.
18935         * math/feupdateenv.c (__feupdateenv): Return 0.
18936         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18938 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18940         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18941         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18942         ($(objpfx)rtld-%.os rules): Use them.
18944 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18946         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18947         fields.
18949 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18951         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18952         length of target pattern, then descending length of dependency pattern.
18953         * configure.in (AWK): Require gawk 3.1.2 or newer.
18954         * manual/install.texi (Tools for Compilation): Say that we do.
18955         * configure: Regenerated.
18957         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18958         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18959         * scripts/sysd-rules.awk: ... this new script.
18960         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18961         than a glob-style pattern.
18963 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18965         * math/test-misc.c (main): Do not treat incorrectly rounded
18966         conversions as failure unless ROUNDING_TESTS passes.
18968 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18970         [BZ #15631]
18971         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18972         restore exception state around main square root computation, then
18973         check for inexactness explicitly.
18975         * math/libm-test.inc (fma_test_data): Add another test.
18977 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18979         * manual/threads.texi (Non-POSIX Extensions): New document
18980         node.  Document pthread_getattr_default_np and
18981         pthread_setattr_default_np.
18983         * Versions.def (libpthread): Add GLIBC_2.18.
18984         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18986         Likewise.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18988         Likewise.
18989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18990         Likewise.
18991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18992         Likewise.
18993         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18994         Likewise.
18995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18996         Likewise.
18997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18998         Likewise.
18999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19000         Likewise.
19001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19002         Likewise.
19004 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19007         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19009 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19010             H.J. Lu  <hjl.tools@gmail.com>
19012         [BZ #15627]
19013         * sysdeps/x86_64/rtld-memset.c: Remove file.
19014         * sysdeps/x86_64/rtld-memset.S: New file.
19016 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19018         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19019         (test_in_one_mode): Take arguments for whether the rounding mode
19020         is supported for each floating-point type.
19021         (do_test): Pass new arguments to test_in_one_mode using
19022         ROUNDING_TESTS.
19024 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19026         * posix/tst-waitid.c (do_test): Distinguish different instances of
19027         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19028         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19029         before entering the kernel for waitpid.
19031 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19033         * NEWS: Fix note on clock function precision.  Text by Roland
19034         McGrath.
19036 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19038         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19039         it into place only when and if the sanity check passes.
19041 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19043         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19044         output for whether conversion result is exact.  Take argument
19045         indicating whether type is IBM long double.
19046         (round_for_all): Change need_exact field to ibm_ld.
19047         * stdlib/tst-strtod-round.c (struct exactness): New type.
19048         (struct test): Change bool ld_ok field to struct exactness exact.
19049         (TEST): Update all definitions for change to field.
19050         (tests): Regenerate array contents.
19051         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19052         field value.  Check for IBM long double here.
19053         (do_test): Update calls to test_in_one_mode.
19055 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19057         [BZ #12515]
19058         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19059         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19061 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19063         [BZ #15605]
19064         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19065         generated by the compiler on loop optimizations.
19066         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19067         general definitions.
19069 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19071         * math/bug-nextafter.c: Include <math-tests.h>.
19072         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19073         the relevant type.
19074         * math/bug-nexttoward.c: Include <math-tests.h>.
19075         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19076         the relevant type.
19077         * math/test-misc.c: Include <math-tests.h>.
19078         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19079         the relevant type.
19081 2013-06-12  Andreas Jaeger  <aj@suse.de>
19083         * po/ia.po: Update Interlingua translation from translation
19084         project.
19086 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19088         * include/fenv.h: Include stdbool.h.
19089         (struct rm_ctx): New structure.
19090         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19091         Define macro.
19092         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19093         (SET_RESTORE_ROUNDF): Likewise.
19094         (SET_RESTORE_ROUNDL): Likewise.
19095         (SET_RESTORE_ROUND_NOEX): Likewise.
19096         (SET_RESTORE_ROUND_NOEXF): Likewise.
19097         (SET_RESTORE_ROUND_NOEXL): Likewise.
19098         (SET_RESTORE_ROUND_53BIT): Likewise.
19099         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19100         (libc_feresetround_noexf_ctx): Likewise.
19101         (libc_feresetround_noexl_ctx): Likewise.
19102         (libc_feholdsetround_53bit_ctx): Likewise.
19103         (libc_feresetround_53bit_ctx): Likewise.
19104         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19105         (libc_feholdexcept_setround_sse_ctx): New function.
19106         (libc_fesetenv_sse_ctx): Likewise.
19107         (libc_feupdateenv_sse_ctx): Likewise.
19108         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19109         (libc_feholdexcept_setround_387_ctx): Likewise.
19110         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19111         (libc_feholdsetround_387_prec_ctx): Likewise.
19112         (libc_feholdsetround_387_ctx): Likewise.
19113         (libc_feholdsetround_387_53bit_ctx): Likewise.
19114         (libc_feholdsetround_sse_ctx): Likewise.
19115         (libc_feresetround_sse_ctx): Likewise.
19116         (libc_feresetround_387_ctx): Likewise.
19117         (libc_feupdateenv_387_ctx): Likewise.
19118         (libc_feholdexcept_setroundf_ctx): Define macro.
19119         (libc_fesetenvf_ctx): Likewise.
19120         (libc_feupdateenvf_ctx): Likewise.
19121         (libc_feholdsetroundf_ctx): Likewise.
19122         (libc_feresetroundf_ctx): Likewise.
19123         (libc_feholdexcept_setround_ctx): Likewise.
19124         (libc_fesetenv_ctx): Likewise.
19125         (libc_feupdateenv_ctx): Likewise.
19126         (libc_feholdsetround_ctx): Likewise.
19127         (libc_feresetround_ctx): Likewise.
19128         (libc_feholdexcept_setroundl_ctx): Likewise.
19129         (libc_feupdateenvl_ctx): Likewise.
19130         (libc_feholdsetroundl_ctx): Likewise.
19131         (libc_feresetroundl_ctx): Likewise.
19132         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19133         (libc_feresetround_53bit_ctx): Likewise.
19135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19137         * locale/iso-639.def: Convert to UTF-8.
19139 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19141         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19142         (EXCEPTION_TESTS_double): Likewise.
19143         (EXCEPTION_TESTS_long_double): Likewise.
19144         (EXCEPTION_TESTS): Likewise.
19145         * math/libm-test.inc (test_exceptions): Only test exceptions if
19146         EXCEPTION_TESTS (FLOAT).
19148 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19150         * benchtests/Makefile (string-bench): Add strcpy_chk and
19151         stpcpy_chk.
19152         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19153         * benchtests/bench-stpcpy_chk.c: New file.
19154         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19155         * benchtests/bench-strcpy_chk.c: New file.
19156         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19157         code.
19158         (do_test): Likewise.
19160 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19162         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19163         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19164         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19165         with tabs where appropriate.
19166         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19167         dl-procinfo.h.
19168         [PPC_PLATFORM_PPC440]: Likewise.
19169         [PPC_PLATFORM_PPC464]: Likewise.
19170         [PPC_PLATFORM_PPC476]: Likewise.
19171         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19172         ppc464, and ppc476 platform strings merging from ports/
19173         dl-procinfo.h.
19175 2013-06-11  Andreas Schwab  <schwab@suse.de>
19177         [BZ #14991]
19178         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19179         (from_ucs4_idx): Regenerate.
19180         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19181         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19182         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19183         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19184         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19185         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19186         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19187         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19188         from FROM_LOOP and TO_LOOP specific macros.
19189         (BODY): Handle combining characters.
19190         * iconvdata/BIG5HKSCS.irreversible: Update.
19191         * iconvdata/BIG5HKSCS.precomposed: New file.
19192         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19193         characters.
19194         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19196 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19198         * include/sys/time.h: Fix indentation and add copyright header.
19200         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19201         (do_test): Likewise.
19202         * string/test-memchr.c (do_one_test): Likewise.
19203         (do_test): Likewise.
19204         * string/test-memcmp.c (do_one_test): Likewise.
19205         (do_test): Likewise.
19206         * string/test-memcpy.c (do_one_test): Likewise.
19207         (do_test): Likewise.
19208         * string/test-memmem.c (do_one_test): Likewise.
19209         (do_test): Likewise.
19210         (do_random_tests): Likewise.
19211         * string/test-memmove.c (do_one_test): Likewise.
19212         (do_test): Likewise.
19213         * string/test-memset.c (do_one_test): Likewise.
19214         (do_test): Likewise.
19215         * string/test-rawmemchr.c (do_one_test): Likewise.
19216         (do_test): Likewise.
19217         * string/test-strcasecmp.c (do_one_test): Likewise.
19218         (do_test): Likewise.
19219         * string/test-strcasestr.c (do_one_test): Likewise.
19220         (do_test): Likewise.
19221         * string/test-strcat.c (do_one_test): Likewise.
19222         (do_test): Likewise.
19223         * string/test-strchr.c (do_one_test): Likewise.
19224         (do_test): Likewise.
19225         * string/test-strcmp.c (do_one_test): Likewise.
19226         (do_test): Likewise.
19227         * string/test-strcpy.c (do_one_test): Likewise.
19228         (do_test): Likewise.
19229         * string/test-string.h: Likewise.
19230         (test_init): Likewise.
19231         * string/test-strlen.c (do_one_test): Likewise.
19232         (do_test): Likewise.
19233         * string/test-strncasecmp.c (do_one_test): Likewise.
19234         (do_test): Likewise.
19235         * string/test-strncat.c (do_one_test): Likewise.
19236         (do_test): Likewise.
19237         * string/test-strncmp.c (do_one_test): Likewise.
19238         (do_test_limit): Likewise.
19239         (do_test): Likewise.
19240         * string/test-strncpy.c (do_one_test): Likewise.
19241         (do_test): Likewise.
19242         * string/test-strnlen.c (do_one_test): Likewise.
19243         (do_test): Likewise.
19244         * string/test-strpbrk.c (do_one_test): Likewise.
19245         (do_test): Likewise.
19246         * string/test-strrchr.c (do_one_test): Likewise.
19247         (do_test): Likewise.
19248         * string/test-strspn.c (do_one_test): Likewise.
19249         (do_test): Likewise.
19250         * string/test-strstr.c (do_one_test): Likewise.
19251         (do_test): Likewise.
19253         * benchtests/Makefile (string-bench): Add string benchmarks.
19254         * benchtests/bench-bcopy-ifunc.c: New file.
19255         * benchtests/bench-bcopy.c: New file.
19256         * benchtests/bench-bzero-ifunc.c: New file.
19257         * benchtests/bench-bzero.c: New file.
19258         * benchtests/bench-memccpy-ifunc.c: New file.
19259         * benchtests/bench-memccpy.c: New file.
19260         * benchtests/bench-memchr-ifunc.c: New file.
19261         * benchtests/bench-memchr.c: New file.
19262         * benchtests/bench-memcmp-ifunc.c: New file.
19263         * benchtests/bench-memcmp.c: New file.
19264         * benchtests/bench-memmem-ifunc.c: New file.
19265         * benchtests/bench-memmem.c: New file.
19266         * benchtests/bench-memmove-ifunc.c: New file.
19267         * benchtests/bench-memmove.c: New file.
19268         * benchtests/bench-mempcpy-ifunc.c: New file.
19269         * benchtests/bench-mempcpy.c: New file.
19270         * benchtests/bench-memset-ifunc.c: New file.
19271         * benchtests/bench-memset.c: New file.
19272         * benchtests/bench-rawmemchr-ifunc.c: New file.
19273         * benchtests/bench-rawmemchr.c: New file.
19274         * benchtests/bench-stpcpy-ifunc.c: New file.
19275         * benchtests/bench-stpcpy.c: New file.
19276         * benchtests/bench-stpncpy-ifunc.c: New file.
19277         * benchtests/bench-stpncpy.c: New file.
19278         * benchtests/bench-strcasecmp-ifunc.c: New file.
19279         * benchtests/bench-strcasecmp.c: New file.
19280         * benchtests/bench-strcasestr-ifunc.c: New file.
19281         * benchtests/bench-strcasestr.c: New file.
19282         * benchtests/bench-strcat-ifunc.c: New file.
19283         * benchtests/bench-strcat.c: New file.
19284         * benchtests/bench-strchr-ifunc.c: New file.
19285         * benchtests/bench-strchr.c: New file.
19286         * benchtests/bench-strchrnul-ifunc.c: New file.
19287         * benchtests/bench-strchrnul.c: New file.
19288         * benchtests/bench-strcmp-ifunc.c: New file.
19289         * benchtests/bench-strcmp.c: New file.
19290         * benchtests/bench-strcpy-ifunc.c: New file.
19291         * benchtests/bench-strcpy.c: New file.
19292         * benchtests/bench-strcspn-ifunc.c: New file.
19293         * benchtests/bench-strcspn.c: New file.
19294         * benchtests/bench-strlen-ifunc.c: New file.
19295         * benchtests/bench-strlen.c: New file.
19296         * benchtests/bench-strncasecmp-ifunc.c: New file.
19297         * benchtests/bench-strncasecmp.c: New file.
19298         * benchtests/bench-strncat-ifunc.c: New file.
19299         * benchtests/bench-strncat.c: New file.
19300         * benchtests/bench-strncmp-ifunc.c: New file.
19301         * benchtests/bench-strncmp.c: New file.
19302         * benchtests/bench-strncpy-ifunc.c: New file.
19303         * benchtests/bench-strncpy.c: New file.
19304         * benchtests/bench-strnlen-ifunc.c: New file.
19305         * benchtests/bench-strnlen.c: New file.
19306         * benchtests/bench-strpbrk-ifunc.c: New file.
19307         * benchtests/bench-strpbrk.c: New file.
19308         * benchtests/bench-strrchr-ifunc.c: New file.
19309         * benchtests/bench-strrchr.c: New file.
19310         * benchtests/bench-strspn-ifunc.c: New file.
19311         * benchtests/bench-strspn.c: New file.
19312         * benchtests/bench-strstr-ifunc.c: New file.
19313         * benchtests/bench-strstr.c: New file.
19315         * benchtests/Makefile: Disable parallel execution of targets.
19316         (string-bench): Add memcpy.
19317         (benchset): New variable to store a list of benchmark sets.
19318         (bench-func): Renamed from bench.
19319         (bench-set): New target.
19320         (bench): Depend on bench-func and bench-set.
19321         * benchtests/README: Add section on benchmark sets.
19322         * benchtests/bench-memcpy-ifunc.c: New file.
19323         * benchtests/bench-memcpy.c: New file.
19324         * benchtests/bench-string.h: New file.
19326 2013-06-11  Andreas Schwab  <schwab@suse.de>
19328         [BZ #15577]
19329         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19330         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19331         values in the triple.
19332         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19333         terminator in the group key.
19335 2013-06-11  Andreas Jaeger  <aj@suse.de>
19337         * po/zh_TW.po: Update Chinese (traditional) translation from
19338         translation project.
19340 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19343         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19344         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19345         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19346         (clock_getcpuclockid): Likewise.
19347         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19348         Add weak_alias and libc_hidden_def.
19349         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19350         * rt/clock_gettime.c (clock_gettime): Rename to
19351         __clock_gettime.  Add weak_alias and libc_hidden_def.
19352         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19353         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19354         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19355         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19356         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19357         Likewise.
19358         * rt/clock_settime.c (clock_settime): Rename to
19359         __clock_settime.  Add weak_alias and libc_hidden_def.
19360         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19362 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19364         * mach/err_boot.sub: Remove trailing whitespace.
19365         * mach/err_ipc.sub: Likewise.
19366         * mach/err_mach.sub: Likewise.
19368         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19369         (ROUNDING_TESTS_double): Likewise.
19370         (ROUNDING_TESTS_long_double): Likewise.
19371         (ROUNDING_TESTS): Likewise.
19372         * math/libm-test.inc: Include <math-tests.h>.
19373         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19374         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19375         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19376         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19378 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19380         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19381         of assigning.
19383 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19385         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19386         otherwise empty TRANS lines.
19387         * sysdeps/gnu/errlist.c: Regenerated.
19389         * catgets/gencat.c (error_print): Use (void) in function
19390         definition.
19391         * crypt/crypt_util.c (__init_des): Likewise.
19392         * crypt/speeds.c (Stop): Likewise.
19393         (main): Likewise.
19394         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19395         * inet/ruserpass.c (token): Likewise.
19396         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19397         * intl/localealias.c (extend_alias_table): Likewise.
19398         * intl/plural-exp.c (init_germanic_plural): Likewise.
19399         * libio/fcloseall.c (__fcloseall): Likewise.
19400         * libio/genops.c (_IO_flush_all): Likewise.
19401         (_IO_flush_all_linebuffered): Likewise.
19402         (_IO_cleanup): Likewise.
19403         (_IO_iter_begin): Likewise.
19404         (_IO_iter_end): Likewise.
19405         (_IO_list_lock): Likewise.
19406         (_IO_list_unlock): Likewise.
19407         (_IO_list_resetlock): Likewise.
19408         * libio/getchar.c (getchar): Likewise.
19409         * libio/getchar_u.c (getchar_unlocked): Likewise.
19410         * libio/getwchar.c (getwchar): Likewise.
19411         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19412         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19413         * login/getpt.c (__getpt): Likewise.
19414         * login/tst-utmp.c (main): Likewise.
19415         * malloc/hooks.c (__malloc_check_init): Likewise.
19416         * malloc/malloc.c (__malloc_stats): Likewise.
19417         * malloc/mtrace.c (tr_break): Likewise.
19418         (mtrace): Likewise.
19419         (muntrace): Likewise.
19420         * misc/fstab.c (endfsent): Likewise.
19421         * misc/getclktck.c (__getclktck): Likewise.
19422         * misc/getdtsz.c (__getdtablesize): Likewise.
19423         * misc/gethostid.c (gethostid): Likewise.
19424         * misc/getpagesize.c (__getpagesize): Likewise.
19425         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19426         (__get_nprocs): Likewise.
19427         (__get_phys_pages): Likewise.
19428         (__get_avphys_pages): Likewise.
19429         * misc/getttyent.c (getttyent): Likewise.
19430         (setttyent): Likewise.
19431         (endttyent): Likewise.
19432         * misc/getusershell.c (getusershell): Likewise.
19433         (endusershell): Likewise.
19434         (setusershell): Likewise.
19435         (initshells): Likewise.
19436         * misc/hsearch.c (__hdestroy): Likewise.
19437         * misc/sync.c (sync): Likewise.
19438         * misc/syslog.c (closelog_internal): Likewise.
19439         (closelog): Likewise.
19440         * misc/ttyslot.c (ttyslot): Likewise.
19441         * misc/vhangup.c (vhangup): Likewise.
19442         * posix/fork.c (__fork): Likewise.
19443         * posix/getegid.c (__getegid): Likewise.
19444         * posix/geteuid.c (__geteuid): Likewise.
19445         * posix/getgid.c (__getgid): Likewise.
19446         * posix/getpid.c (__getpid): Likewise.
19447         * posix/getppid.c (__getppid): Likewise.
19448         * posix/getuid.c (__getuid): Likewise.
19449         * posix/pause.c (pause): Likewise.
19450         * posix/setpgrp.c (setpgrp): Likewise.
19451         * posix/setsid.c (__setsid): Likewise.
19452         * posix/test-vfork.c (noop): Likewise.
19453         * resolv/gethnamaddr.c (_endhtent): Likewise.
19454         (_gethtent): Likewise.
19455         (ht_endhostent): Likewise.
19456         (gethostent): Likewise.
19457         (dns_service): Likewise.
19458         * stdlib/drand48.c (drand48): Likewise.
19459         * stdlib/lrand48.c (lrand48): Likewise.
19460         * stdlib/mrand48.c (mrand48): Likewise.
19461         * stdlib/rand.c (rand): Likewise.
19462         * stdlib/random.c (__random): Likewise.
19463         * stdlib/setenv.c (clearenv): Likewise.
19464         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19465         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19466         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19467         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19468         (__get_nprocs): Likewise.
19469         (__get_phys_pages): Likewise.
19470         (__get_avphys_pages): Likewise.
19471         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19472         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19473         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19474         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19475         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19476         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19477         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19478         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19479         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19480         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19481         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19482         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19483         * sysdeps/posix/clock.c (clock): Likewise.
19484         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19485         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19486         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19487         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19488         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19490         (__get_nprocs_conf): Likewise.
19491         (__get_phys_pages): Likewise.
19492         (__get_avphys_pages): Likewise.
19493         * time/clock.c (clock): Likewise.
19494         * time/tzset.c (__tzname_max): Likewise.
19496 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19498         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19499         (__bswap_32): Do not use "register".
19500         * crypt/crypt.c (_ufc_doit_r): Likewise.
19501         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19502         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19503         * gmon/gmon.c (__monstartup): Likewise.
19504         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19505         * hurd/hurdmalloc.c (more_memory): Likewise.
19506         (malloc): Likewise.
19507         (free): Likewise.
19508         (realloc): Likewise.
19509         (malloc_fork_prepare): Likewise.
19510         (malloc_fork_parent): Likewise.
19511         (malloc_fork_child): Likewise.
19512         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19513         (_svcauth_des): Likewise.
19514         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19515         * inet/inet_net.c (inet_network): Likewise.
19516         * inet/inet_netof.c (inet_netof): Likewise.
19517         * inet/rcmd.c (__validuser2_sa): Likewise.
19518         * io/fts.c (fts_open): Likewise.
19519         (fts_load): Likewise.
19520         (fts_close): Likewise.
19521         (fts_read): Likewise.
19522         (fts_children): Likewise.
19523         (fts_build): Likewise.
19524         (fts_stat): Likewise.
19525         (fts_sort): Likewise.
19526         (fts_alloc): Likewise.
19527         (fts_lfree): Likewise.
19528         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19529         (_IO_file_xsgetn): Likewise.
19530         (_IO_file_xsgetn_mmap): Likewise.
19531         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19532         (_IO_cookie_write): Likewise.
19533         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19534         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19535         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19536         * malloc/obstack.c (_obstack_begin): Likewise.
19537         (_obstack_begin_1): Likewise.
19538         (_obstack_newchunk): Likewise.
19539         (_obstack_allocated_p): Likewise.
19540         (obstack_free): Likewise.
19541         (_obstack_memory_used): Likewise.
19542         * misc/getttyent.c (getttynam): Likewise.
19543         (getttyent): Likewise.
19544         (skip): Likewise.
19545         (value): Likewise.
19546         * misc/getusershell.c (initshells): Likewise.
19547         * misc/syslog.c (__vsyslog_chk): Likewise.
19548         * misc/ttyslot.c (ttyslot): Likewise.
19549         * nis/nis_hash.c (__nis_hash): Likewise.
19550         * posix/fnmatch_loop.c (FCT): Likewise.
19551         * posix/getconf.c (print_all): Likewise.
19552         (main): Likewise.
19553         * posix/getopt.c (exchange): Likewise.
19554         * posix/glob.c (globfree): Likewise.
19555         (prefix_array): Likewise.
19556         (__glob_pattern_type): Likewise.
19557         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19558         (NS_GET32): Likewise.
19559         (NS_PUT16): Likewise.
19560         (NS_PUT32): Likewise.
19561         * resolv/gethnamaddr.c (getanswer): Likewise.
19562         (gethostbyname2): Likewise.
19563         (gethostbyaddr): Likewise.
19564         (_gethtent): Likewise.
19565         (_gethtbyname2): Likewise.
19566         (_gethtbyaddr): Likewise.
19567         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19568         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19569         * resolv/res_init.c (__res_vinit): Likewise.
19570         (net_mask): Likewise.
19571         * resolv/res_mkquery.c (outchar): Likewise.
19572         (PRINT): Likewise.
19573         * stdio-common/printf_fp.c (outchar): Likewise.
19574         (PRINT): Likewise.
19575         * stdio-common/printf_fphex.c (outchar): Likewise.
19576         (PRINT): Likewise.
19577         * stdio-common/printf_size.c (outchar): Likewise.
19578         (PRINT): Likewise.
19579         * stdio-common/test_rdwr.c (main): Likewise.
19580         * stdio-common/tfformat.c (matches): Likewise.
19581         * stdio-common/vfprintf.c (outchar): Likewise.
19582         (printf_unknown): Likewise.
19583         (buffered_vfprintf): Likewise.
19584         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19585         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19586         (ReadFile): Likewise.
19587         * stdlib/qsort.c (SWAP): Likewise.
19588         (_quicksort): Likewise.
19589         * stdlib/setenv.c (__add_to_environ): Likewise.
19590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19591         * stdlib/strtol_l.c (__strtol_l): Likewise.
19592         * stdlib/tst-strtod.c (main): Likewise.
19593         * stdlib/tst-strtol.c (main): Likewise.
19594         * stdlib/tst-strtoll.c (main): Likewise.
19595         * string/bits/string2.h (__strcmp_cc): Likewise.
19596         (__strcmp_cg): Likewise.
19597         (__strcspn_c1): Likewise.
19598         (__strcspn_c2): Likewise.
19599         (__strcspn_c3): Likewise.
19600         (__strspn_c1): Likewise.
19601         (__strspn_c2): Likewise.
19602         (__strspn_c3): Likewise.
19603         (__strsep_1c): Likewise.
19604         (__strsep_2c): Likewise.
19605         (__strsep_3c): Likewise.
19606         * string/memccpy.c (__memccpy): Likewise.
19607         * string/stpcpy.c (__stpcpy): Likewise.
19608         * string/strcmp.c (strcmp): Likewise.
19609         * string/strrchr.c (strrchr): Likewise.
19610         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19611         Likewise.
19612         * sysdeps/mach/hurd/getcwd.c
19613         (_hurd_canonicalize_directory_name_internal): Likewise.
19614         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19615         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19616         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19617         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19618         Likewise, in both definitions.
19619         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19620         definitions.
19621         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19622         64] (__bswap_64): Likewise.
19623         * time/test_time.c (main): Likewise.
19624         * time/tzfile.c (__tzfile_read): Likewise.
19625         (__tzfile_compute): Likewise.
19626         * time/tzset.c (__tzset_parse_tz): Likewise.
19627         (tzset_internal): Likewise.
19628         (compute_change): Likewise.
19629         * wcsmbs/wcscat.c (__wcscat): Likewise.
19630         * wcsmbs/wcschr.c (wcschr): Likewise.
19631         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19632         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19633         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19634         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19635         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19636         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19637         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19638         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19639         * wcsmbs/wmemset.c (wmemset): Likewise.
19641 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19643         * scripts/config.guess: Update to version 2013-05-16.
19644         * scripts/config.sub: Update to version 2013-04-24.
19645         * scripts/install-sh: Update to version 2011-11-20.07.
19646         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19647         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19649 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19651         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19652         * elf/sln.c: Likewise.
19653         * hurd/hurd/ioctl.h: Likewise.
19654         * hurd/hurdmalloc.c: Likewise.
19655         * hurd/xattr.c: Likewise.
19656         * include/shlib-compat.h: Likewise.
19657         * inet/ruserpass.c: Likewise.
19658         * libio/iofgets_u.c: Likewise.
19659         * libio/iofgetws_u.c: Likewise.
19660         * locale/programs/ld-identification.c: Likewise.
19661         * locale/programs/ld-time.c: Likewise.
19662         * mach/msg-destroy.c: Likewise.
19663         * nss/nss_files/files-netgrp.c: Likewise.
19664         * resolv/res_data.c: Likewise.
19665         * soft-fp/op-1.h: Likewise.
19666         * soft-fp/op-2.h: Likewise.
19667         * soft-fp/op-4.h: Likewise.
19668         * soft-fp/op-common.h: Likewise.
19669         * stdio-common/printf_fphex.c: Likewise.
19670         * stdlib/strtod_l.c: Likewise.
19671         * sunrpc/rpc/clnt.h: Likewise.
19672         * sysdeps/generic/framestate.c: Likewise.
19673         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19674         * sysdeps/i386/bsd-setjmp.S: Likewise.
19675         * sysdeps/i386/__longjmp.S: Likewise.
19676         * sysdeps/i386/setjmp.S: Likewise.
19677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19678         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19679         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19680         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19682         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19684         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19686         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19687         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19688         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19689         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19690         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19691         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19692         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19693         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19694         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19695         * sysdeps/ieee754/support.c: Likewise.
19696         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19697         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19698         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19699         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19700         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19701         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19702         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19703         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19704         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19705         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19706         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19707         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19708         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19709         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19710         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19711         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19712         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19715 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19717         * posix/transbug.c: Remove executable mode.
19719 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19721         * crypt/speeds.c: Remove trailing whitespace.
19722         * dlfcn/default.c: Likewise.
19723         * elf/ifuncdep2.c: Likewise.
19724         * elf/ifuncmain1.c: Likewise.
19725         * elf/ifuncmain1vis.c: Likewise.
19726         * elf/testobj.h: Likewise.
19727         * elf/tst-stackguard1.c: Likewise.
19728         * gmon/sys/gmon.h: Likewise.
19729         * hurd/hurdmsg.c: Likewise.
19730         * hurd/new-fd.c: Likewise.
19731         * hurd/ports-get.c: Likewise.
19732         * iconvdata/ibm1008_420.c: Likewise.
19733         * inet/tst-getni1.c: Likewise.
19734         * inet/tst-getni2.c: Likewise.
19735         * libio/ioungetc.c: Likewise.
19736         * libio/wfiledoalloc.c: Likewise.
19737         * manual/libm-err-tab.pl: Likewise.
19738         * math/w_dremf.c: Likewise.
19739         * misc/ftruncate.c: Likewise.
19740         * posix/bug-glob2.c: Likewise.
19741         * posix/tst-pcre.c: Likewise.
19742         * posix/wait4.c: Likewise.
19743         * resolv/README: Likewise.
19744         * resolv/res_debug.h: Likewise.
19745         * resolv/tst-inet_ntop.c: Likewise.
19746         * setjmp/bug269-setjmp.c: Likewise.
19747         * soft-fp/extended.h: Likewise.
19748         * soft-fp/op-1.h: Likewise.
19749         * soft-fp/op-2.h: Likewise.
19750         * soft-fp/op-4.h: Likewise.
19751         * soft-fp/op-8.h: Likewise.
19752         * soft-fp/testit.c: Likewise.
19753         * stdio-common/bug16.c: Likewise.
19754         * stdlib/random.c: Likewise.
19755         * sunrpc/rpcsvc/rquota.x: Likewise.
19756         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19757         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19759         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19760         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19761         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19762         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19763         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19764         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19765         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19766         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19767         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19768         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19769         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19770         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19771         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19772         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19773         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19774         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19775         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19776         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19777         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19778         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19779         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19780         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19781         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19784         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19785         * sysdeps/ieee754/s_lib_version.c: Likewise.
19786         * sysdeps/mach/hurd/check_fds.c: Likewise.
19787         * sysdeps/mach/hurd/getsockname.c: Likewise.
19788         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19789         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19790         * sysdeps/powerpc/bits/link.h: Likewise.
19791         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19792         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19793         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19794         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19795         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19796         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19797         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19798         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19799         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19800         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19801         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19802         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19803         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19804         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19805         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19806         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19808         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19810         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19811         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19812         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19813         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19814         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19815         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19816         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19817         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19818         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19819         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19820         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19821         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19825         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19826         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19827         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19828         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19829         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19830         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19831         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19832         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19833         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19834         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19835         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19836         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19837         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19838         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19839         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19840         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19843         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19844         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19845         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19846         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19847         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19850         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19851         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19852         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19853         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19854         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19855         * sysdeps/powerpc/sysdep.h: Likewise.
19856         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19857         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19858         * sysdeps/sh/dl-trampoline.S: Likewise.
19859         * sysdeps/sh/memset.S: Likewise.
19860         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19861         * sysdeps/sh/strlen.S: Likewise.
19862         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19863         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19864         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19865         * sysdeps/sparc/sparc32/rem.S: Likewise.
19866         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19867         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19868         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19869         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19870         * sysdeps/sparc/sparc32/urem.S: Likewise.
19871         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19872         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19873         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19874         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19876         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19877         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19878         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19879         * sysdeps/unix/bsd/times.c: Likewise.
19880         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19881         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19885         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19886         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19887         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19888         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19889         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19890         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19891         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19892         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19893         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19894         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19895         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19897         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19898         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19899         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19900         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19901         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19902         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19903         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19904         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19905         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19906         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19907         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19908         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19909         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19910         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19911         * sysdeps/x86_64/strcspn.S: Likewise.
19913 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19915         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19916         generated file.  Regenerate properly from gen-translit.pl.
19917         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19918         locale/C-translit.h.
19920 2013-06-05  Andreas Schwab  <schwab@suse.de>
19922         [BZ #15100]
19923         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19924         week as 6 instead of -1.
19925         * time/tst-strptime.c (day_tests): Add test case.
19927 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19929         * sysdeps/generic/math_private.h
19930         (libc_feholdexcept_setround_53bit): Replace with
19931         libc_feholdsetround_53bit.
19932         (libc_feupdateenv_53bit): Replace with
19933         libc_feresetround_53bit.
19934         (SET_RESTORE_ROUND_53BIT): Adjust.
19936 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19938         * string/test-strchrnul.c: Add copyright header.
19940         * posix/tst-getaddrinfo4.c: Increase test timeout.
19942 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19944         [BZ #15536]
19945         * math/libm-test.inc (MAX_EXP): Remove
19946         (MIN_EXP): Define.
19947         (ulp): Use MIN_EXP - MANT_DIG.
19948         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19950 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19952         * po/be.po: Revert last change.
19953         * po/zh_CN.po: Likewise.
19954         * po/header.pot: Likewise.
19956 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19958         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19959         link-libc-deps to empty as target-specific variable.
19960         * Makerules (link-libc-args): New variable.
19961         (libc-for-link): Likewise.
19962         (link-libc-deps): Likewise.
19963         (lib%.so): Depend on $(link-libc-deps).  Link with
19964         $(link-libc-args).
19965         (build-module): Link with $(link-libc-args).
19966         (build-module-asneeded): Likewise.
19967         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19968         list of objects.
19969         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19970         target-specific variable.
19971         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19972         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19973         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19974         libc.
19975         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19976         libc and ld.so.
19977         ($(objpfx)libpcprofile.so): Likewise.
19978         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19979         libc_nonshared.a.
19980         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19981         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19982         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19983         $(link-libc-deps).
19984         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19985         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19986         * login/Makefile ($(objpfx)libutil.so): Likewise.
19987         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19988         * math/Makefile ($(objpfx)libm.so): Likewise.
19989         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19990         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19991         variable instead of depending directly on libc.
19992         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19993         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19994         $(link-libc-deps).
19995         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19996         libc.
19997         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19998         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19999         ($(objpfx)libanl.so): Likewise.
20000         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20001         ld.so.
20002         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20003         $(link-libc-deps).
20004         * sysdeps/i386/fpu/Makefile: Remove file.
20005         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20006         ($(objpfx)libm.so): Remove dependency on ld.so.
20008 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20010         [BZ # 15553]
20011         * nis/yp_xdr.c (XDRMAXNAME): Define.
20012         (XDRMAXRECORD): Define.
20013         (xdr_domainname): Use XDRMAXNAME.
20014         (xdr_mapname): Likewise.
20015         (xdr_peername): Likewise.
20016         (xdr_keydat): Use XDRMAXRECORD.
20017         (xdr_valdat): Likewise.
20019 2013-05-30  Jeff Law  <law@redhat.com>
20021         [BZ #14256]
20022         * manual/errno.texi (ESTALE): Update to account for more than
20023         just NFS file systems.
20024         * sysdeps/gnu/errlist.c: Regenerated.
20026 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20028         [BZ #15465]
20029         * elf/Makefile (tests): Add tst-null-argv.
20030         (modules-names):  Add tst-null-argv-lib.
20031         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20032         (tst-null-argv-ENV): Set environment for tst-null-argv.
20033         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20034         (RTLD_PROGNAME): New macro.
20035         * elf/tst-null-argv.c: New test case.
20036         * elf/tst-null-argv-lib.c: Library for test case.
20037         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20038         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20039         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20040         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20041         * elf/dl-init.c (call_init): Likewise.
20042         (_dl_init): Likewise.
20043         * elf/dl-load.c (print_search_path): Likewise.
20044         (_dl_map_object): Likewise.
20045         * elf/dl-lookup.c (do_lookup_x): Likewise.
20046         (add_dependency): Likewise.
20047         (_dl_lookup_symbol_x): Likewise.
20048         (_dl_debug_bindings): Likewise.
20049         * elf/dl-open.c (_dl_show_scope): Likewise.
20050         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20051         * elf/dl-version.c (match_symbol): Likewise.
20052         (_dl_check_map_versions): Likewise.
20053         * elf/rtld.c (dl_main): Likewise.
20054         (print_unresolved): Use RTLD_PROGNAME.
20055         (print_missing_version): Likewise.
20056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20057         (elf_machine_rela): Likewise.
20058         * sysdeps/powerpc/powerpc32/dl-machine.c
20059         (__process_machine_rela): Likewise.
20060         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20061         Likewise.
20062         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20063         Likewise.
20064         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20065         Likewise.
20066         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20068         Likewise.
20069         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20070         Likewise.
20071         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20073 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20075         * po/be.po: Add descriptive title.
20076         * po/zh_CN.po: Likewise.
20077         * po/header.pot: Likewise.
20079 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20081         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20082         error message.
20083         (enlarge_archive): Likewise.
20085 2013-05-28  Ben North  <ben@redfrontdoor.org>
20087         * manual/arith.texi (frexp): It is the magnitude of the return
20088         value which lies in [0.5, 1), not the return value itself.
20090 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20094 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20096         * stdio-common/bug26.c (main): Correct fscanf template.
20098         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20099         declare _dl_skip_args.
20101         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20102         Don't declare.
20104         * manual/platform.texi: Add missing @end deftypefun.
20106 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20108         [BZ #15529]
20109         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20110         bit of mantissa of 2^16382.
20111         * math/libm-test.inc (hypot_test_data): Add more tests.
20113         * math/libm-test.inc: Add drem and pow10 to list of tested
20114         functions.
20115         (pow10_test): New function.
20116         (drem_test): Likewise.
20117         (drem_test_tonearest): Likewise.
20118         (drem_test_towardzero): Likewise.
20119         (drem_test_downward): Likewise.
20120         (drem_test_upward): Likewise.
20121         (main): Call the new functions.
20123         * math/libm-test.inc (finite_test_data): Remove.
20124         (finite_test): Run tests from isfinite_test_data.
20125         (gamma_test_data): Remove.
20126         (gamma_test): Run tests from lgamma_test_data.
20127         * sysdeps/i386/fpu/libm-test-ulps: Update.
20128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20130 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20132         * manual/platform.texi: Add PowerPC PPR function set documentation.
20133         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20134         implementation.
20136 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20138         * math/libm-test.inc (MAX_EXP): Define.
20139         (ULPDIFF): Define.
20140         (ulp): New function.
20141         (check_float_internal): Use ULPDIFF.
20142         (cpow_test): Disable failing test.
20143         (check_ulp): Test ulp() implemetnation.
20144         (main): Call check_ulp before starting tests.
20146 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20148         * math/gen-libm-test.pl (generate_testfile): Do not handle
20149         START_DATA and END_DATA.
20150         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20151         END_DATA.
20152         (acos_tonearest_test_data): Likewise.
20153         (acos_towardzero_test_data): Likewise.
20154         (acos_downward_test_data): Likewise.
20155         (acos_upward_test_data): Likewise.
20156         (acosh_test_data): Likewise.
20157         (asin_test_data): Likewise.
20158         (asin_tonearest_test_data): Likewise.
20159         (asin_towardzero_test_data): Likewise.
20160         (asin_downward_test_data): Likewise.
20161         (asin_upward_test_data): Likewise.
20162         (asinh_test_data): Likewise.
20163         (atan_test_data): Likewise.
20164         (atanh_test_data): Likewise.
20165         (atan2_test_data): Likewise.
20166         (cabs_test_data): Likewise.
20167         (cacos_test_data): Likewise.
20168         (cacosh_test_data): Likewise.
20169         (carg_test_data): Likewise.
20170         (casin_test_data): Likewise.
20171         (casinh_test_data): Likewise.
20172         (catan_test_data): Likewise.
20173         (catanh_test_data): Likewise.
20174         (cbrt_test_data): Likewise.
20175         (ccos_test_data): Likewise.
20176         (ccosh_test_data): Likewise.
20177         (ceil_test_data): Likewise.
20178         (cexp_test_data): Likewise.
20179         (cimag_test_data): Likewise.
20180         (clog_test_data): Likewise.
20181         (clog10_test_data): Likewise.
20182         (conj_test_data): Likewise.
20183         (copysign_test_data): Likewise.
20184         (cos_test_data): Likewise.
20185         (cos_tonearest_test_data): Likewise.
20186         (cos_towardzero_test_data): Likewise.
20187         (cos_downward_test_data): Likewise.
20188         (cos_upward_test_data): Likewise.
20189         (cosh_test_data): Likewise.
20190         (cosh_tonearest_test_data): Likewise.
20191         (cosh_towardzero_test_data): Likewise.
20192         (cosh_downward_test_data): Likewise.
20193         (cosh_upward_test_data): Likewise.
20194         (cpow_test_data): Likewise.
20195         (cproj_test_data): Likewise.
20196         (creal_test_data): Likewise.
20197         (csin_test_data): Likewise.
20198         (csinh_test_data): Likewise.
20199         (csqrt_test_data): Likewise.
20200         (ctan_test_data): Likewise.
20201         (ctan_tonearest_test_data): Likewise.
20202         (ctan_towardzero_test_data): Likewise.
20203         (ctan_downward_test_data): Likewise.
20204         (ctan_upward_test_data): Likewise.
20205         (ctanh_test_data): Likewise.
20206         (ctanh_tonearest_test_data): Likewise.
20207         (ctanh_towardzero_test_data): Likewise.
20208         (ctanh_downward_test_data): Likewise.
20209         (ctanh_upward_test_data): Likewise.
20210         (erf_test_data): Likewise.
20211         (erfc_test_data): Likewise.
20212         (exp_test_data): Likewise.
20213         (exp_tonearest_test_data): Likewise.
20214         (exp_towardzero_test_data): Likewise.
20215         (exp_downward_test_data): Likewise.
20216         (exp_upward_test_data): Likewise.
20217         (exp10_test_data): Likewise.
20218         (exp2_test_data): Likewise.
20219         (expm1_test_data): Likewise.
20220         (fabs_test_data): Likewise.
20221         (fdim_test_data): Likewise.
20222         (finite_test_data): Likewise.
20223         (floor_test_data): Likewise.
20224         (fma_test_data): Likewise.
20225         (fma_towardzero_test_data): Likewise.
20226         (fma_downward_test_data): Likewise.
20227         (fma_upward_test_data): Likewise.
20228         (fmax_test_data): Likewise.
20229         (fmin_test_data): Likewise.
20230         (fmod_test_data): Likewise.
20231         (fpclassify_test_data): Likewise.
20232         (frexp_test_data): Likewise.
20233         (gamma_test_data): Likewise.
20234         (hypot_test_data): Likewise.
20235         (ilogb_test_data): Likewise.
20236         (isfinite_test_data): Likewise.
20237         (isgreater_test_data): Likewise.
20238         (isgreaterequal_test_data): Likewise.
20239         (isinf_test_data): Likewise.
20240         (isless_test_data): Likewise.
20241         (islessequal_test_data): Likewise.
20242         (islessgreater_test_data): Likewise.
20243         (isnan_test_data): Likewise.
20244         (isnormal_test_data): Likewise.
20245         (issignaling_test_data): Likewise.
20246         (isunordered_test_data): Likewise.
20247         (j0_test_data): Likewise.
20248         (j1_test_data): Likewise.
20249         (jn_test_data): Likewise.
20250         (ldexp_test_data): Likewise.
20251         (lgamma_test_data): Likewise.
20252         (lrint_test_data): Likewise.
20253         (lrint_tonearest_test_data): Likewise.
20254         (lrint_towardzero_test_data): Likewise.
20255         (lrint_downward_test_data): Likewise.
20256         (lrint_upward_test_data): Likewise.
20257         (llrint_test_data): Likewise.
20258         (llrint_tonearest_test_data): Likewise.
20259         (llrint_towardzero_test_data): Likewise.
20260         (llrint_downward_test_data): Likewise.
20261         (llrint_upward_test_data): Likewise.
20262         (log_test_data): Likewise.
20263         (log10_test_data): Likewise.
20264         (log1p_test_data): Likewise.
20265         (log2_test_data): Likewise.
20266         (logb_test_data): Likewise.
20267         (logb_downward_test_data): Likewise.
20268         (lround_test_data): Likewise.
20269         (llround_test_data): Likewise.
20270         (modf_test_data): Likewise.
20271         (nearbyint_test_data): Likewise.
20272         (nextafter_test_data): Likewise.
20273         (nexttoward_test_data): Likewise.
20274         (pow_test_data): Likewise.
20275         (pow_tonearest_test_data): Likewise.
20276         (pow_towardzero_test_data): Likewise.
20277         (pow_downward_test_data): Likewise.
20278         (pow_upward_test_data): Likewise.
20279         (remainder_test_data): Likewise.
20280         (remainder_tonearest_test_data): Likewise.
20281         (remainder_towardzero_test_data): Likewise.
20282         (remainder_downward_test_data): Likewise.
20283         (remainder_upward_test_data): Likewise.
20284         (remquo_test_data): Likewise.
20285         (rint_test_data): Likewise.
20286         (rint_tonearest_test_data): Likewise.
20287         (rint_towardzero_test_data): Likewise.
20288         (rint_downward_test_data): Likewise.
20289         (rint_upward_test_data): Likewise.
20290         (round_test_data): Likewise.
20291         (scalb_test_data): Likewise.
20292         (scalbn_test_data): Likewise.
20293         (scalbln_test_data): Likewise.
20294         (signbit_test_data): Likewise.
20295         (sin_test_data): Likewise.
20296         (sin_tonearest_test_data): Likewise.
20297         (sin_towardzero_test_data): Likewise.
20298         (sin_downward_test_data): Likewise.
20299         (sin_upward_test_data): Likewise.
20300         (sincos_test_data): Likewise.
20301         (sinh_test_data): Likewise.
20302         (sinh_tonearest_test_data): Likewise.
20303         (sinh_towardzero_test_data): Likewise.
20304         (sinh_downward_test_data): Likewise.
20305         (sinh_upward_test_data): Likewise.
20306         (sqrt_test_data): Likewise.
20307         (tan_test_data): Likewise.
20308         (tan_tonearest_test_data): Likewise.
20309         (tan_towardzero_test_data): Likewise.
20310         (tan_downward_test_data): Likewise.
20311         (tan_upward_test_data): Likewise.
20312         (tanh_test_data): Likewise.
20313         (tgamma_test_data): Likewise.
20314         (trunc_test_data): Likewise.
20315         (y0_test_data): Likewise.
20316         (y1_test_data): Likewise.
20317         (yn_test_data): Likewise.
20318         (significand_test_data): Likewise.
20320         * math/gen-libm-test.pl (@functions): Remove variable.
20321         (generate_testfile): Don't handle START and END lines.
20322         * math/libm-test.inc (START): New macro.
20323         (END): Likewise.
20324         (END_COMPLEX): Likewise.
20325         (acos_test): Use END macro without arguments.
20326         (acos_test_tonearest): Likewise.
20327         (acos_test_towardzero): Likewise.
20328         (acos_test_downward): Likewise.
20329         (acos_test_upward): Likewise.
20330         (acosh_test): Likewise.
20331         (asin_test): Likewise.
20332         (asin_test_tonearest): Likewise.
20333         (asin_test_towardzero): Likewise.
20334         (asin_test_downward): Likewise.
20335         (asin_test_upward): Likewise.
20336         (asinh_test): Likewise.
20337         (atan_test): Likewise.
20338         (atanh_test): Likewise.
20339         (atan2_test): Likewise.
20340         (cabs_test): Likewise.
20341         (cacos_test): Use END_COMPLEX macro without arguments.
20342         (cacosh_test): Likewise.
20343         (carg_test): Use END macro without arguments.
20344         (casin_test): Use END_COMPLEX macro without arguments.
20345         (casinh_test): Likewise.
20346         (catan_test): Likewise.
20347         (catanh_test): Likewise.
20348         (cbrt_test): Use END macro without arguments.
20349         (ccos_test): Use END_COMPLEX macro without arguments.
20350         (ccosh_test): Likewise.
20351         (ceil_test): Use END macro without arguments.
20352         (cexp_test): Use END_COMPLEX macro without arguments.
20353         (cimag_test): Use END macro without arguments.
20354         (clog_test): Use END_COMPLEX macro without arguments.
20355         (clog10_test): Likewise.
20356         (conj_test): Likewise.
20357         (copysign_test): Use END macro without arguments.
20358         (cos_test): Likewise.
20359         (cos_test_tonearest): Likewise.
20360         (cos_test_towardzero): Likewise.
20361         (cos_test_downward): Likewise.
20362         (cos_test_upward): Likewise.
20363         (cosh_test): Likewise.
20364         (cosh_test_tonearest): Likewise.
20365         (cosh_test_towardzero): Likewise.
20366         (cosh_test_downward): Likewise.
20367         (cosh_test_upward): Likewise.
20368         (cpow_test): Use END_COMPLEX macro without arguments.
20369         (cproj_test): Likewise.
20370         (creal_test): Use END macro without arguments.
20371         (csin_test): Use END_COMPLEX macro without arguments.
20372         (csinh_test): Likewise.
20373         (csqrt_test): Likewise.
20374         (ctan_test): Likewise.
20375         (ctan_test_tonearest): Likewise.
20376         (ctan_test_towardzero): Likewise.
20377         (ctan_test_downward): Likewise.
20378         (ctan_test_upward): Likewise.
20379         (ctanh_test): Likewise.
20380         (ctanh_test_tonearest): Likewise.
20381         (ctanh_test_towardzero): Likewise.
20382         (ctanh_test_downward): Likewise.
20383         (ctanh_test_upward): Likewise.
20384         (erf_test): Use END macro without arguments.
20385         (erfc_test): Likewise.
20386         (exp_test): Likewise.
20387         (exp_test_tonearest): Likewise.
20388         (exp_test_towardzero): Likewise.
20389         (exp_test_downward): Likewise.
20390         (exp_test_upward): Likewise.
20391         (exp10_test): Likewise.
20392         (exp2_test): Likewise.
20393         (expm1_test): Likewise.
20394         (fabs_test): Likewise.
20395         (fdim_test): Likewise.
20396         (finite_test): Likewise.
20397         (floor_test): Likewise.
20398         (fma_test): Likewise.
20399         (fma_test_towardzero): Likewise.
20400         (fma_test_downward): Likewise.
20401         (fma_test_upward): Likewise.
20402         (fmax_test): Likewise.
20403         (fmin_test): Likewise.
20404         (fmod_test): Likewise.
20405         (fpclassify_test): Likewise.
20406         (frexp_test): Likewise.
20407         (gamma_test): Likewise.
20408         (hypot_test): Likewise.
20409         (ilogb_test): Likewise.
20410         (isfinite_test): Likewise.
20411         (isgreater_test): Likewise.
20412         (isgreaterequal_test): Likewise.
20413         (isinf_test): Likewise.
20414         (isless_test): Likewise.
20415         (islessequal_test): Likewise.
20416         (islessgreater_test): Likewise.
20417         (isnan_test): Likewise.
20418         (isnormal_test): Likewise.
20419         (issignaling_test): Likewise.
20420         (isunordered_test): Likewise.
20421         (j0_test): Likewise.
20422         (j1_test): Likewise.
20423         (jn_test): Likewise.
20424         (ldexp_test): Likewise.
20425         (lgamma_test): Likewise.
20426         (lrint_test): Likewise.
20427         (lrint_test_tonearest): Likewise.
20428         (lrint_test_towardzero): Likewise.
20429         (lrint_test_downward): Likewise.
20430         (lrint_test_upward): Likewise.
20431         (llrint_test): Likewise.
20432         (llrint_test_tonearest): Likewise.
20433         (llrint_test_towardzero): Likewise.
20434         (llrint_test_downward): Likewise.
20435         (llrint_test_upward): Likewise.
20436         (log_test): Likewise.
20437         (log10_test): Likewise.
20438         (log1p_test): Likewise.
20439         (log2_test): Likewise.
20440         (logb_test): Likewise.
20441         (logb_test_downward): Likewise.
20442         (lround_test): Likewise.
20443         (llround_test): Likewise.
20444         (modf_test): Likewise.
20445         (nearbyint_test): Likewise.
20446         (nextafter_test): Likewise.
20447         (nexttoward_test): Likewise.
20448         (pow_test): Likewise.
20449         (pow_test_tonearest): Likewise.
20450         (pow_test_towardzero): Likewise.
20451         (pow_test_downward): Likewise.
20452         (pow_test_upward): Likewise.
20453         (remainder_test): Likewise.
20454         (remainder_test_tonearest): Likewise.
20455         (remainder_test_towardzero): Likewise.
20456         (remainder_test_downward): Likewise.
20457         (remainder_test_upward): Likewise.
20458         (remquo_test): Likewise.
20459         (rint_test): Likewise.
20460         (rint_test_tonearest): Likewise.
20461         (rint_test_towardzero): Likewise.
20462         (rint_test_downward): Likewise.
20463         (rint_test_upward): Likewise.
20464         (round_test): Likewise.
20465         (scalb_test): Likewise.
20466         (scalbn_test): Likewise.
20467         (scalbln_test): Likewise.
20468         (signbit_test): Likewise.
20469         (sin_test): Likewise.
20470         (sin_test_tonearest): Likewise.
20471         (sin_test_towardzero): Likewise.
20472         (sin_test_downward): Likewise.
20473         (sin_test_upward): Likewise.
20474         (sincos_test): Likewise.
20475         (sinh_test): Likewise.
20476         (sinh_test_tonearest): Likewise.
20477         (sinh_test_towardzero): Likewise.
20478         (sinh_test_downward): Likewise.
20479         (sinh_test_upward): Likewise.
20480         (sqrt_test): Likewise.
20481         (tan_test): Likewise.
20482         (tan_test_tonearest): Likewise.
20483         (tan_test_towardzero): Likewise.
20484         (tan_test_downward): Likewise.
20485         (tan_test_upward): Likewise.
20486         (tanh_test): Likewise.
20487         (tgamma_test): Likewise.
20488         (trunc_test): Likewise.
20489         (y0_test): Likewise.
20490         (y1_test): Likewise.
20491         (yn_test): Likewise.
20492         (significand_test): Likewise.
20494 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20496         [BZ #15381]
20497         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20499 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20501         [BZ #14894]
20502         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20503         __ppc_mdoio and __ppc_mdoom.
20504         * manual/platform.texi: Document new functions __ppc_yield,
20505         __ppc_mdoio and __ppc_mdoom.
20507 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20509         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20510         (main): Mention "tls" pseudo-hwcap is legacy.
20511         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20513 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20515         * math/gen-libm-test.pl (parse_args): Output only string of
20516         arguments as text for test name, not full call or descriptions of
20517         tests for extra outputs.
20518         (generate_testfile): Do not pass function name to parse_args.
20519         Generate this_func variable from START.
20520         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20521         field to arg_str.
20522         (struct test_ff_f_data): Likewise.
20523         (test_ff_f_data_nexttoward): Likewise.
20524         (struct test_fi_f_data): Likewise.
20525         (struct test_fl_f_data): Likewise.
20526         (struct test_if_f_data): Likewise.
20527         (struct test_fff_f_data): Likewise.
20528         (struct test_c_f_data): Likewise.
20529         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20530         (struct test_fF_f1_data): Likewise.
20531         (struct test_ffI_f1_data): Likewise.
20532         (struct test_c_c_data): Rename test_name field to arg_str.
20533         (struct test_cc_c_data): Likewise.
20534         (struct test_f_i_data): Likewise.
20535         (struct test_ff_i_data): Likewise.
20536         (struct test_f_l_data): Likewise.
20537         (struct test_f_L_data): Likewise.
20538         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20539         and extra2_name.
20540         (COMMON_TEST_SETUP): New macro.
20541         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20542         (COMMON_TEST_CLEANUP): Likewise.
20543         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20544         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20545         macros.
20546         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20547         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20548         macros.
20549         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20550         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20551         cleanup macros.
20552         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20553         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20554         macros.
20555         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20556         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20557         macros.
20558         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20559         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20560         cleanup macros.
20561         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20562         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20563         cleanup macros.
20564         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20565         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20566         cleanup macros.
20567         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20568         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20569         macros.
20570         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20571         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20572         macros.
20573         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20574         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20575         macros.
20576         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20577         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20578         cleanup macros.
20579         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20580         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20581         cleanup macros.
20582         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20583         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20584         macros.
20585         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20586         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20587         cleanup macros.
20588         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20589         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20590         macros.
20591         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20592         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20593         macros.
20594         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20595         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20596         cleanup macros.
20597         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20599 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20601         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20602         to _sifields.sigfault.
20603         (si_addr_lsb): Define new macro.
20604         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20608 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20610         [BZ #15441]
20611         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20612         returns -1.
20613         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20614         null return -1.
20615         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20616         loading the domain.
20618 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20620         * math/gen-libm-test.pl (parse_args): Do not include expected
20621         result in test name.
20622         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20626         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20629 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20631         * benchtests/Makefile: Sort function entries.
20633         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20634         tanh, asinh, acosh, atanh.
20635         * benchtests/acos-inputs: New file.
20636         * benchtests/acosh-inputs: New file.
20637         * benchtests/asin-inputs: New file.
20638         * benchtests/asinh-inputs: New file.
20639         * benchtests/atanh-inputs: New file.
20640         * benchtests/cosh-inputs: New file.
20641         * benchtests/log-inputs: New file.
20642         * benchtests/sinh-inputs: New file.
20643         * benchtests/tanh-inputs: New file.
20645 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20647         [BZ #15339]
20648         * posix/tst-getaddrinfo4.c: New test.
20649         * posix/Makefile (tests): Add it.
20651 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20653         [BZ #15339]
20654         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20655         when no services were used.
20656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20657         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20659 2013-05-21  Andreas Schwab  <schwab@suse.de>
20661         [BZ #15014]
20662         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20663         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20664         successful.
20665         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20666         redundant variable declarations and reallocation of buffer when
20667         parsing as IPv6 address.  Always set NSS status when called from
20668         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20669         buffer too small.  Correct computation of needed size.
20670         * nss/Makefile (tests): Add test-digits-dots.
20671         * nss/test-digits-dots.c: New test.
20673 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20675         * benchtests/Makefile: Remove instructions for adding
20676         benchmark tests.
20677         * benchtests/README: New file to explain how to execute and
20678         enhance the benchmark tests.
20680 2013-05-21  Andreas Schwab  <schwab@suse.de>
20682         [BZ #15493]
20683         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20684         * setjmp/tst-sigsetjmp.c: New test.
20686 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20688         * sysdeps/x86_64/memset.S (memset): New implementation.
20689         (__bzero): Likewise.
20690         (__memset_tail): New function.
20692 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20694         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20696         __memcpy_sse2_unaligned ifunc selection.
20697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20698         Add memcpy-sse2-unaligned.S.
20699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20700         Add: __memcpy_sse2_unaligned.
20702 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20704         [BZ #15490]
20705         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20706         math_force_eval before restoring floating-point envrionment.
20707         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20709         Likewise.
20710         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20711         <math_private.h>.
20712         (__nearbyintl): Use math_force_eval before restoring
20713         floating-point environment.
20714         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20716         * math/gen-libm-test.pl (special_functions): Remove.
20717         (parse_args): Don't handle TEST_extra.  Handle functions with no
20718         return value.
20719         * math/libm-test.inc (struct test_sincos_data): Replace with
20720         struct test_fFF_11_data.
20721         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20722         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20723         (sincos_test_data): Change element type to struct
20724         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20725         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20726         RUN_TEST_LOOP_sincos.
20727         * math/README.libm-test: Don't mention special handling of
20728         individual functions.
20729         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20731         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20732         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20733         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20736         * math/gen-libm-test.pl (get_variable): Remove function.
20737         (parse_args): Don't show pointer parameters to call in test
20738         names.  Use "extra output N" in test names for extra outputs
20739         rather than naming variables.
20741 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20743         [BZ #15488]
20744         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20745         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20746         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20747         double tests.
20748         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20749         disable.
20750         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20751         check_long_double.
20753         * math/gen-libm-test.pl (@tests): Remove variable.
20754         ($count): Likewise.
20755         (new_test): Remove function.
20756         (show_exceptions): New function.
20757         (special_functions): Use show_exceptions instead of new_test.
20758         (parse_args): Likewise.
20759         (generate_testfile): Pass only function name in generated call to
20760         print_max_error or print_complex_max_error.
20761         (get_ulps): Do not handle complex tests specially.
20762         (output_test): Rename to ...
20763         (get_all_ulps_for_test): ... this.  Return a string rather than
20764         printing to a file.  Require ulps to be present.
20765         (output_ulps): Generate arrays rather than #defines.
20766         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20767         (struct ulp_data): New type.
20768         (BUILD_COMPLEX_ULP): Remove macro.
20769         (compare_ulp_data): New function.
20770         (find_ulps): Likewise.
20771         (find_test_ulps): Likewise.
20772         (find_function_ulps): Likewise.
20773         (find_complex_function_ulps): Likewise.
20774         (print_max_error): Determine allowed ulps using
20775         find_function_ulps.
20776         (print_complex_max_error): Determine allowed ulps using
20777         find_complex_function_ulps.
20778         (check_float_internal): Determine max ulps using find_test_ulps.
20779         (check_float): Do not take max_ulp parameter.  Update call to
20780         check_float_internal.
20781         (check_complex): Likewise.
20782         (check_int): Do not take max_ulp parameter.
20783         (check_long): Likewise.
20784         (check_bool): Likewise.
20785         (check_longlong): Likewise.
20786         (struct test_f_f_data): Remove max_ulp field.
20787         (struct test_ff_f_data): Likewise.
20788         (struct test_ff_f_data_nexttoward): Likewise.
20789         (struct test_fi_f_data): Likewise.
20790         (struct test_fl_f_data): Likewise.
20791         (struct test_if_f_data): Likewise.
20792         (struct test_fff_f_data): Likewise.
20793         (struct test_c_f_data): Likewise.
20794         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20795         (struct test_fF_f1_data): Likewise.
20796         (struct test_ffI_f1_data): Likewise.
20797         (struct test_c_c_data): Remove max_ulp field.
20798         (struct test_cc_c_data): Likewise.
20799         (struct test_f_i_data): Likewise.
20800         (struct test_ff_i_data): Likewise.
20801         (struct test_f_l_data): Likewise.
20802         (struct test_f_L_data): Likewise.
20803         (struct test_sincos_data): Likewise.
20804         (RUN_TEST_f_f): Do not handle ulps.
20805         (RUN_TEST_LOOP_f_f): Likewise.
20806         (RUN_TEST_2_f): Likewise.
20807         (RUN_TEST_LOOP_2_f): Likewise.
20808         (RUN_TEST_fff_f): Likewise.
20809         (RUN_TEST_LOOP_fff_f): Likewise.
20810         (RUN_TEST_c_f): Likewise.
20811         (RUN_TEST_LOOP_c_f): Likewise.
20812         (RUN_TEST_f_f1): Likewise.
20813         (RUN_TEST_LOOP_f_f1): Likewise.
20814         (RUN_TEST_fF_f1): Likewise.
20815         (RUN_TEST_LOOP_fF_f1): Likewise.
20816         (RUN_TEST_fI_f1): Likewise.
20817         (RUN_TEST_LOOP_fI_f1): Likewise.
20818         (RUN_TEST_ffI_f1): Likewise.
20819         (RUN_TEST_LOOP_ffI_f1): Likewise.
20820         (RUN_TEST_c_c): Likewise.
20821         (RUN_TEST_LOOP_c_c): Likewise.
20822         (RUN_TEST_cc_c): Likewise.
20823         (RUN_TEST_LOOP_cc_c): Likewise.
20824         (RUN_TEST_f_i): Likewise.
20825         (RUN_TEST_LOOP_f_i): Likewise.
20826         (RUN_TEST_f_i_tg): Likewise.
20827         (RUN_TEST_LOOP_f_i_tg): Likewise.
20828         (RUN_TEST_ff_i_tg): Likewise.
20829         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20830         (RUN_TEST_f_b): Likewise.
20831         (RUN_TEST_LOOP_f_b): Likewise.
20832         (RUN_TEST_f_b_tg): Likewise.
20833         (RUN_TEST_LOOP_f_b_tg): Likewise.
20834         (RUN_TEST_f_l): Likewise.
20835         (RUN_TEST_LOOP_f_l): Likewise.
20836         (RUN_TEST_f_L): Likewise.
20837         (RUN_TEST_LOOP_f_L): Likewise.
20838         (RUN_TEST_sincos): Likewise.
20839         (RUN_TEST_LOOP_sincos): Likewise.
20841 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20843         [BZ #15480]
20844         [BZ #15485]
20845         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20846         main case of finite arguments, set rounding mode to FE_TONEAREST
20847         and discard exceptions.
20848         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20849         exceptions.
20850         (remainder_tonearest_test_data): New variable.
20851         (remainder_test_tonearest): New function.
20852         (remainder_towardzero_test_data): New variable.
20853         (remainder_test_towardzero): New function.
20854         (remainder_downward_test_data): New variable.
20855         (remainder_test_downward): New function.
20856         (remainder_upward_test_data): New variable.
20857         (remainder_test_upward): New function.
20858         (main): Call the new test functions.
20860         * math/libm-test.inc (struct test_f_f1_data): Remove field
20861         extra_init.
20862         (struct test_fF_f1_data): Likewise.
20863         (struct test_ffI_f1_data): Likewise.
20864         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20865         based on value of EXTRA_EXPECTED.
20866         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20867         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20868         EXTRA_VAR based on value of EXTRA_EXPECTED.
20869         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20870         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20871         EXTRA_VAR based on value of EXTRA_EXPECTED.
20872         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20873         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20874         EXTRA_VAR based on value of EXTRA_EXPECTED.
20875         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20876         * math/gen-libm-test.pl (parse_args): Don't output initializers
20877         for extra output values.
20879         * math/libm-test.inc (check_int): Expect result to be exactly
20880         equal to expected value and do not handle ulps.
20881         (check_long): Likewise.
20882         (check_longlong): Likewise.
20884         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20885         exceptions.
20886         (cimag_test_data): Likewise.
20887         (conj_test_data): Likewise.
20888         (copysign_test_data): Likewise.
20889         (cproj_test_data): Likewise.
20890         (creal_test_data): Likewise.
20891         (fabs_test_data): Likewise.
20892         (fdim_test_data): Likewise.
20893         (finite_test_data): Likewise.
20894         (floor_test_data): Likewise.
20895         (fmax_test_data): Likewise.
20896         (fmin_test_data): Likewise.
20897         (fmod_test_data): Likewise.
20898         (fpclassify_test_data): Likewise.
20899         (frexp_test_data): Likewise.
20900         (ilogb_test_data): Likewise.
20901         (isfinite_test_data): Likewise.
20902         (isgreater_test_data): Likewise.
20903         (isgreaterequal_test_data): Likewise.
20904         (isinf_test_data): Likewise.
20905         (isless_test_data): Likewise.
20906         (islessequal_test_data): Likewise.
20907         (islessgreater_test_data): Likewise.
20908         (isnan_test_data): Likewise.
20909         (isnormal_test_data): Likewise.
20910         (issignaling_test_data): Likewise.
20911         (isunordered_test_data): Likewise.
20912         (ldexp_test_data): Likewise.
20913         (lrint_test_data): Likewise.
20914         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20915         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20916         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20917         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20918         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20919         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20920         test input.
20921         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20922         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20923         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20924         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20925         that test input.
20926         (lrint_downward_test_data): Test for "inexact" exceptions.
20927         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20928         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20929         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20930         test input.
20931         (lrint_upward_test_data): Test for "inexact" exceptions.
20932         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20933         test input.
20934         (llrint_test_data): Test for "inexact" exceptions.
20935         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20936         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20937         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20938         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20939         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20940         (llrint_downward_test_data): Test for "inexact" exceptions.
20941         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20942         (llrint_upward_test_data): Test for "inexact" exceptions.
20943         (logb_test_data): Likewise.
20944         (logb_downward_test_data): Likewise.
20945         (nextafter_test_data): Likewise.
20946         (nexttoward_test_data): Likewise.
20947         (remainder_test_data): Likewise.
20948         (remquo_test_data): Likewise.
20949         (scalbn_test_data): Likewise.
20950         (scalbln_test_data): Likewise.
20951         (signbit_test_data): Likewise.
20952         (sqrt_test_data): Likewise.
20953         (significand_test_data): Likewise.
20955 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20957         [BZ #15424]
20958         * benchtests/bench-modf.c (struct args): Mark arg0 as
20959         volatile.
20960         * scripts/bench.pl: Mark members of struct args as volatile.
20962 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20964         [BZ # 15497]
20965         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20966         negative infinity on POWER6 or lower.
20967         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20969 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20971         [BZ #15442]
20972         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20973         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20974         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20975         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20976         (_FP_SETQNAN): New macro.
20977         (_FP_SETQNAN_SEMIRAW): Likewise.
20978         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20979         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20980         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20981         (FP_EXTEND): Use _FP_FRAC_SNANP.
20982         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20983         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20984         into account.
20985         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20986         New macro.
20987         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20988         Likewise.
20990 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20992         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20993         with DIVIDE_BY_ZERO_EXCEPTION.
20994         (gamma_test_data): Likewise.
20995         (lgamma_test_data): Likewise.
20996         (log_test_data): Likewise.
20997         (log10_test_data): Likewise.
20998         (log2_test_data): Likewise.
20999         (tgamma_test_data): Likewise.
21001         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21002         (acos_test_tonearest): Likewise.
21003         (acos_test_towardzero): Likewise.
21004         (acos_test_downward): Likewise.
21005         (acos_test_upward): Likewise.
21006         (acosh_test): Likewise.
21007         (asin_test): Likewise.
21008         (asin_test_tonearest): Likewise.
21009         (asin_test_towardzero): Likewise.
21010         (asin_test_downward): Likewise.
21011         (asin_test_upward): Likewise.
21012         (asinh_test): Likewise.
21013         (atan_test): Likewise.
21014         (atanh_test): Likewise.
21015         (atan2_test): Likewise.
21016         (cabs_test): Likewise.
21017         (cacos_test): Likewise.
21018         (cacosh_test): Likewise.
21019         (casin_test): Likewise.
21020         (casinh_test): Likewise.
21021         (catan_test): Likewise.
21022         (catanh_test): Likewise.
21023         (cbrt_test): Likewise.
21024         (ccos_test): Likewise.
21025         (ccosh_test): Likewise.
21026         (cexp_test): Likewise.
21027         (clog_test): Likewise.
21028         (clog10_test): Likewise.
21029         (cos_test): Likewise.
21030         (cos_test_tonearest): Likewise.
21031         (cos_test_towardzero): Likewise.
21032         (cos_test_downward): Likewise.
21033         (cos_test_upward): Likewise.
21034         (cosh_test): Likewise.
21035         (cosh_test_tonearest): Likewise.
21036         (cosh_test_towardzero): Likewise.
21037         (cosh_test_downward): Likewise.
21038         (cosh_test_upward): Likewise.
21039         (cpow_test): Likewise.
21040         (csin_test): Likewise.
21041         (csinh_test): Likewise.
21042         (csqrt_test): Likewise.
21043         (ctan_test): Likewise.
21044         (ctan_test_tonearest): Likewise.
21045         (ctan_test_towardzero): Likewise.
21046         (ctan_test_downward): Likewise.
21047         (ctan_test_upward): Likewise.
21048         (ctanh_test): Likewise.
21049         (ctanh_test_tonearest): Likewise.
21050         (ctanh_test_towardzero): Likewise.
21051         (ctanh_test_downward): Likewise.
21052         (ctanh_test_upward): Likewise.
21053         (erf_test): Likewise.
21054         (erfc_test): Likewise.
21055         (exp_test): Likewise.
21056         (exp_test_tonearest): Likewise.
21057         (exp_test_towardzero): Likewise.
21058         (exp_test_downward): Likewise.
21059         (exp_test_upward): Likewise.
21060         (exp10_test): Likewise.
21061         (exp2_test): Likewise.
21062         (expm1_test): Likewise.
21063         (fmod_test): Likewise.
21064         (gamma_test): Likewise.
21065         (hypot_test): Likewise.
21066         (j0_test): Likewise.
21067         (j1_test): Likewise.
21068         (jn_test): Likewise.
21069         (lgamma_test): Likewise.
21070         (log_test): Likewise.
21071         (log10_test): Likewise.
21072         (log1p_test): Likewise.
21073         (log2_test): Likewise.
21074         (logb_test_downward): Likewise.
21075         (pow_test): Likewise.
21076         (pow_test_tonearest): Likewise.
21077         (pow_test_towardzero): Likewise.
21078         (pow_test_downward): Likewise.
21079         (pow_test_upward): Likewise.
21080         (remainder_test): Likewise.
21081         (remquo_test): Likewise.
21082         (sin_test): Likewise.
21083         (sin_test_tonearest): Likewise.
21084         (sin_test_towardzero): Likewise.
21085         (sin_test_downward): Likewise.
21086         (sin_test_upward): Likewise.
21087         (sincos_test): Likewise.
21088         (sinh_test): Likewise.
21089         (sinh_test_tonearest): Likewise.
21090         (sinh_test_towardzero): Likewise.
21091         (sinh_test_downward): Likewise.
21092         (sinh_test_upward): Likewise.
21093         (sqrt_test): Likewise.
21094         (tan_test): Likewise.
21095         (tan_test_tonearest): Likewise.
21096         (tan_test_towardzero): Likewise.
21097         (tan_test_downward): Likewise.
21098         (tan_test_upward): Likewise.
21099         (tanh_test): Likewise.
21100         (tgamma_test): Likewise.
21101         (y0_test): Likewise.
21102         (y1_test): Likewise.
21103         (yn_test): Likewise.
21105         * math/gen-libm-test.pl (adjust_arg): Remove function.
21106         (special_function): Remove argument $in_func.  Only handle
21107         generating output for tables of tests, not inside functions.
21108         (parse_args): Likewise.
21109         (generate_testfile): Remove variable $in_func.  Update call to
21110         parse_args.
21111         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21112         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21113         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21114         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21115         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21116         (MAX_VALUE_INIT): Rename macro to max_value.
21117         (MIN_VALUE_INIT): Rename macro to min_value.
21118         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21119         (plus_zero): Remove variable.
21120         (minus_zero): Likewise.
21121         (plus_infty): Likewise.
21122         (minus_infty): Likewise.
21123         (qnan_value): Likewise.
21124         (max_value): Likewise.
21125         (min_value): Likewise.
21126         (min_subnorm_value): Likewise.
21128 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21130         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21131         uint64_t or uint32_t usage.
21132         * crypt/sha256-block.c: Likewise.
21133         * crypt/sha256-crypt.c: Likewise.
21134         * crypt/sha256.c: Likewise.
21135         * crypt/sha512-block.c: Likewise.
21136         * crypt/sha512-crypt.c: Likewise.
21137         * crypt/sha512.c: Likewise.
21138         * debug/backtrace-tst.c: Likewise.
21139         * debug/pcprofiledump.c: Likewise.
21140         * elf/cache.c: Likewise.
21141         * elf/dl-cache.c: Likewise.
21142         * elf/dl-misc.c: Likewise.
21143         * elf/dl-profile.c: Likewise.
21144         * elf/dl-support.c: Likewise.
21145         * elf/ldconfig.c: Likewise.
21146         * elf/sprof.c: Likewise.
21147         * iconv/dummy-repertoire.c: Likewise.
21148         * iconv/iconv_charmap.c: Likewise.
21149         * iconv/skeleton.c: Likewise.
21150         * iconvdata/8bit-generic.c: Likewise.
21151         * iconvdata/cp737.h: Likewise.
21152         * iconvdata/cp775.h: Likewise.
21153         * iconvdata/ibm1008.h: Likewise.
21154         * iconvdata/ibm1025.h: Likewise.
21155         * iconvdata/ibm1046.h: Likewise.
21156         * iconvdata/ibm1097.h: Likewise.
21157         * iconvdata/ibm1112.h: Likewise.
21158         * iconvdata/ibm1122.h: Likewise.
21159         * iconvdata/ibm1123.h: Likewise.
21160         * iconvdata/ibm1124.h: Likewise.
21161         * iconvdata/ibm1129.h: Likewise.
21162         * iconvdata/ibm1130.h: Likewise.
21163         * iconvdata/ibm1132.h: Likewise.
21164         * iconvdata/ibm1133.h: Likewise.
21165         * iconvdata/ibm1137.h: Likewise.
21166         * iconvdata/ibm1140.h: Likewise.
21167         * iconvdata/ibm1141.h: Likewise.
21168         * iconvdata/ibm1142.h: Likewise.
21169         * iconvdata/ibm1143.h: Likewise.
21170         * iconvdata/ibm1144.h: Likewise.
21171         * iconvdata/ibm1145.h: Likewise.
21172         * iconvdata/ibm1146.h: Likewise.
21173         * iconvdata/ibm1147.h: Likewise.
21174         * iconvdata/ibm1148.h: Likewise.
21175         * iconvdata/ibm1149.h: Likewise.
21176         * iconvdata/ibm1153.h: Likewise.
21177         * iconvdata/ibm1154.h: Likewise.
21178         * iconvdata/ibm1155.h: Likewise.
21179         * iconvdata/ibm1156.h: Likewise.
21180         * iconvdata/ibm1157.h: Likewise.
21181         * iconvdata/ibm1158.h: Likewise.
21182         * iconvdata/ibm1160.h: Likewise.
21183         * iconvdata/ibm1161.h: Likewise.
21184         * iconvdata/ibm1162.h: Likewise.
21185         * iconvdata/ibm1163.h: Likewise.
21186         * iconvdata/ibm1164.h: Likewise.
21187         * iconvdata/ibm1166.h: Likewise.
21188         * iconvdata/ibm1167.h: Likewise.
21189         * iconvdata/ibm12712.h: Likewise.
21190         * iconvdata/ibm1390.h: Likewise.
21191         * iconvdata/ibm1399.h: Likewise.
21192         * iconvdata/ibm16804.h: Likewise.
21193         * iconvdata/ibm4517.h: Likewise.
21194         * iconvdata/ibm4899.h: Likewise.
21195         * iconvdata/ibm4909.h: Likewise.
21196         * iconvdata/ibm4971.h: Likewise.
21197         * iconvdata/ibm5347.h: Likewise.
21198         * iconvdata/ibm803.h: Likewise.
21199         * iconvdata/ibm856.h: Likewise.
21200         * iconvdata/ibm901.h: Likewise.
21201         * iconvdata/ibm902.h: Likewise.
21202         * iconvdata/ibm9030.h: Likewise.
21203         * iconvdata/ibm9066.h: Likewise.
21204         * iconvdata/ibm921.h: Likewise.
21205         * iconvdata/ibm922.h: Likewise.
21206         * iconvdata/ibm9448.h: Likewise.
21207         * iconvdata/isiri-3342.h: Likewise.
21208         * iconvdata/jis0201.h: Likewise.
21209         * include/link.h: Likewise.
21210         * include/netdb.h: Likewise.
21211         * inet/check_native.c: Likewise.
21212         * inet/check_pf.c: Likewise.
21213         * inet/getipv4sourcefilter.c: Likewise.
21214         * inet/getnameinfo.c: Likewise.
21215         * inet/getsourcefilter.c: Likewise.
21216         * inet/htonl.c: Likewise.
21217         * inet/setipv4sourcefilter.c: Likewise.
21218         * inet/setsourcefilter.c: Likewise.
21219         * inet/test-inet6_opt.c: Likewise.
21220         * inet/tst-network.c: Likewise.
21221         * locale/C-collate.c: Likewise.
21222         * locale/C-ctype.c: Likewise.
21223         * locale/C-time.c: Likewise.
21224         * locale/C-translit.h: Likewise.
21225         * locale/loadarchive.c: Likewise.
21226         * locale/programs/3level.h: Likewise.
21227         * locale/programs/charmap.c: Likewise.
21228         * locale/programs/charmap.h: Likewise.
21229         * locale/programs/ld-address.c: Likewise.
21230         * locale/programs/ld-collate.c: Likewise.
21231         * locale/programs/ld-ctype.c: Likewise.
21232         * locale/programs/ld-identification.c: Likewise.
21233         * locale/programs/ld-measurement.c: Likewise.
21234         * locale/programs/ld-messages.c: Likewise.
21235         * locale/programs/ld-monetary.c: Likewise.
21236         * locale/programs/ld-name.c: Likewise.
21237         * locale/programs/ld-numeric.c: Likewise.
21238         * locale/programs/ld-paper.c: Likewise.
21239         * locale/programs/ld-telephone.c: Likewise.
21240         * locale/programs/ld-time.c: Likewise.
21241         * locale/programs/linereader.c: Likewise.
21242         * locale/programs/locale.c: Likewise.
21243         * locale/programs/locarchive.c: Likewise.
21244         * locale/programs/locfile.h: Likewise.
21245         * locale/programs/repertoire.c: Likewise.
21246         * locale/programs/simple-hash.c: Likewise.
21247         * locale/programs/simple-hash.h: Likewise.
21248         * malloc/memusage.c: Likewise.
21249         * malloc/memusagestat.c: Likewise.
21250         * nis/nis_defaults.c: Likewise.
21251         * nis/nis_hash.c: Likewise.
21252         * nis/nis_print.c: Likewise.
21253         * nis/nis_xdr.c: Likewise.
21254         * nscd/connections.c: Likewise.
21255         * nscd/hstcache.c: Likewise.
21256         * nscd/nscd_gethst_r.c: Likewise.
21257         * nscd/nscd_getserv_r.c: Likewise.
21258         * nscd/nscd_helper.c: Likewise.
21259         * nscd/servicescache.c: Likewise.
21260         * nss/makedb.c: Likewise.
21261         * nss/nss_db/db-XXX.c: Likewise.
21262         * nss/nss_db/db-initgroups.c: Likewise.
21263         * nss/nss_db/db-netgrp.c: Likewise.
21264         * nss/nss_files/files-network.c: Likewise.
21265         * nss/nss_files/files-parse.c: Likewise.
21266         * posix/bug-regex5.c: Likewise.
21267         * posix/fnmatch_loop.c: Likewise.
21268         * posix/regcomp.c: Likewise.
21269         * posix/regexec.c: Likewise.
21270         * posix/tst-rfc3484-2.c: Likewise.
21271         * posix/tst-rfc3484-3.c: Likewise.
21272         * posix/tst-rfc3484.c: Likewise.
21273         * resolv/nss_dns/dns-canon.c: Likewise.
21274         * resolv/nss_dns/dns-network.c: Likewise.
21275         * resolv/res_init.c: Likewise.
21276         * resolv/res_mkquery.c: Likewise.
21277         * resolv/tst-aton.c: Likewise.
21278         * stdlib/cxa_atexit.c: Likewise.
21279         * stdlib/cxa_finalize.c: Likewise.
21280         * stdlib/gen-fpioconst.c: Likewise.
21281         * stdlib/strtol_l.c: Likewise.
21282         * string/tst-endian.c: Likewise.
21283         * sunrpc/auth_des.c: Likewise.
21284         * sunrpc/clnt_udp.c: Likewise.
21285         * sunrpc/rtime.c: Likewise.
21286         * sunrpc/svcauth_des.c: Likewise.
21287         * sunrpc/xdr.c: Likewise.
21288         * sunrpc/xdr_intXX_t.c: Likewise.
21289         * sunrpc/xdr_rec.c: Likewise.
21290         * sysdeps/generic/ldconfig.h: Likewise.
21291         * sysdeps/generic/ldsodefs.h: Likewise.
21292         * sysdeps/generic/memusage.h: Likewise.
21293         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21294         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21295         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21296         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21299         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21301         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21303         * sysdeps/posix/getaddrinfo.c: Likewise.
21304         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21305         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21306         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21307         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21308         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21309         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21310         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21311         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21312         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21313         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21314         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21315         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21316         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21317         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21318         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21319         * sysdeps/x86_64/dl-tls.h: Likewise.
21320         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21321         * time/alt_digit.c: Likewise.
21322         * time/era.c: Likewise.
21323         * wcsmbs/tst-c16c32-1.c: Likewise.
21325 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21327         * math/libm-test.inc (struct test_sincos_data): New type.
21328         (RUN_TEST_LOOP_sincos): New macro.
21329         (sincos_test_data): New variable.
21330         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21332 2013-05-16  Richard Henderson  <rth@redhat.com>
21334         * math/atest-exp2.c (LIMB64): New macro.
21335         (CONSTSZ): New macro.
21336         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21337         (hexdig): Move ...
21338         (print_mpn_fp): ... to function scope.
21339         (read_mpn_hex): Remove.
21340         (get_log2): Remove.
21341         (exp2_mpn): Use mp_log2.
21342         (main): Use mp_exp1.
21344 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21346         * math/libm-test.inc: Remove comment about not testing "inexact"
21347         exceptions.
21348         (INEXACT_EXCEPTION): New macro.
21349         (NO_INEXACT_EXCEPTION): Likewise.
21350         (INVALID_EXCEPTION_OK): Update value.
21351         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21352         (OVERFLOW_EXCEPTION_OK): Likewise.
21353         (UNDERFLOW_EXCEPTION_OK): Likewise.
21354         (IGNORE_ZERO_INF_SIGN): Likewise.
21355         (ERRNO_UNCHANGED): Likewise.
21356         (ERRNO_EDOM): Likewise.
21357         (ERRNO_ERANGE): Likewise.
21358         (test_exceptions): Handle testing "inexact" exceptions.
21359         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21360         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21361         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21362         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21363         INEXACT_EXCEPTION.
21364         (rint_towardzero_test_data): Likewise.
21365         (rint_downward_test_data): Likewise.
21366         (rint_upward_test_data): Likewise.
21368         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21369         with OVERFLOW_EXCEPTION.
21370         (exp10_test_data): Likewise.
21371         (exp2_test_data): Likewise.
21372         (expm1_test_data): Likewise.
21373         (lgamma_test_data): Likewise.
21374         (pow_test_data): Likewise.
21375         (tgamma_test_data): Likewise.
21376         (yn_test_data): Remove duplicate test of overflow.
21378         * math/libm-test.inc (struct test_cc_c_data): New type.
21379         (RUN_TEST_LOOP_cc_c): New macro.
21380         (cpow_test_data): New variable.
21381         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21383         * math/libm-test.inc (struct test_f_L_data): New type.
21384         (RUN_TEST_LOOP_f_L): New macro.
21385         (llrint_test_data): New variable.
21386         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21387         (llrint_tonearest_test_data): New variable.
21388         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21389         (llrint_towardzero_test_data): New variable.
21390         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21391         (llrint_downward_test_data): New variable.
21392         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21393         (llrint_upward_test_data): New variable.
21394         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21395         (llround_test_data): New variable.
21396         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21398 2013-05-13  Peter Collingbourne  <pcc@google.com>
21400         * math/atest-exp2.c (get_log2): Remove const attribute.
21402 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21404         * math/libm-test.inc (struct test_f_l_data): New type.
21405         (RUN_TEST_LOOP_f_l): New macro.
21406         (lrint_test_data): New variable.
21407         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21408         (lrint_tonearest_test_data): New variable.
21409         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21410         (lrint_towardzero_test_data): New variable.
21411         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21412         (lrint_downward_test_data): New variable.
21413         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21414         (lrint_upward_test_data): New variable.
21415         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21416         (lround_test_data): New variable.
21417         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21419 2013-05-15  Peter Collingbourne  <pcc@google.com>
21421         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21422         (EXTRACT_WORDS64) Use where appropriate.
21423         (INSERT_WORDS64) Likewise.
21425         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21426         constraints with x constraints.
21427         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21429         * malloc/obstack.c (_obstack_compat): Add initializer.
21431 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21433         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21434         si_trapno and add si_addr_lsb to _sifields.sigfault.
21435         (si_trapno): Remove macro.
21436         (si_addr_lsb): Define new macro.
21437         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21439 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21441         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21442         instead of TEST_f_l.
21443         (llrint_test_tonearest): Likewise.
21444         (llrint_test_towardzero): Likewise.
21445         (llrint_test_downward): Likewise.
21446         (llrint_test_upward): Likewise.
21447         (llround_test): Likewise.
21449         * math/libm-test.inc (struct test_f_i_data): Add comment.
21450         (RUN_TEST_LOOP_f_b): New macro.
21451         (RUN_TEST_LOOP_f_b_tg): Likewise.
21452         (finite_test_data): New variable.
21453         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21454         (isfinite_test_data): New variable.
21455         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21456         (isinf_test_data): New variable.
21457         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21458         (isnan_test_data): New variable.
21459         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21460         (isnormal_test_data): New variable.
21461         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21462         (issignaling_test_data): New variable.
21463         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21464         (signbit_test_data): New variable.
21465         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21467         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21468         with INVALID_EXCEPTION.
21469         (acosh_test_data): Likewise.
21470         (asin_test_data): Likewise.
21471         (atanh_test_data): Likewise.
21472         (fmod_test_data): Likewise.
21473         (log_test_data): Likewise.
21474         (log10_test_data): Likewise.
21475         (log2_test_data): Likewise.
21476         (pow_test_data): Likewise.
21477         (sqrt_test_data): Likewise.
21478         (y0_test_data): Likewise.
21479         (y1_test_data): Likewise.
21480         (yn_test_data): Likewise.
21482         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21483         function contents.
21485         * math/libm-test.inc (struct test_ff_i_data): New type.
21486         (RUN_TEST_LOOP_ff_i_tg): New macro.
21487         (isgreater_test_data): New variable.
21488         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21489         (isgreaterequal_test_data): New variable.
21490         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21491         (isless_test_data): New variable.
21492         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21493         (islessequal_test_data): New variable.
21494         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21495         (islessgreater_test_data): New variable.
21496         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21497         (isunordered_test_data): New variable.
21498         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21500 2013-05-14  David S. Miller  <davem@davemloft.net>
21502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21504 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21506         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21508         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21509         extra_test to int.
21510         (struct test_f_i_data): Change type of max_ulp to int.
21512         * math/libm-test.inc (test_ffI_f1_data): New type.
21513         (RUN_TEST_LOOP_ffI_f1): New macro.
21514         (remquo_test_data): New variable.
21515         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21517         * setjmp/tst-setjmp-fp.c: New file.
21518         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21519         (link-libm): New variable.
21520         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21522         * math/libm-test.inc (struct test_f_i_data): New type.
21523         (RUN_TEST_LOOP_f_i): New macro.
21524         (RUN_TEST_LOOP_f_i_tg): Likewise.
21525         (fpclassify_test_data): New variable.
21526         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21527         (ilogb_test_data): New variable.
21528         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21530         * math/libm-test.inc (scalbln_test): Correct function name in END
21531         call.
21533         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21534         (RUN_TEST_LOOP_fI_f1): New macro.
21535         (frexp_test_data): New variable.
21536         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21538         * math/libm-test.inc (struct test_fF_f1_data): New type.
21539         (RUN_TEST_LOOP_fF_f1): New macro.
21540         (modf_test_data): New variable.
21541         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21543         * math/libm-test.inc (struct test_f_f1_data): New type.
21544         (RUN_TEST_LOOP_f_f1): New macro.
21545         (gamma_test_data): New variable.
21546         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21547         (lgamma_test_data): New variable.
21548         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21550 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21553         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21554         (main): Comment "tls" pseudo-hwcap.
21556 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21558         * math/libm-test.inc (struct test_fl_f_data): New type.
21559         (RUN_TEST_LOOP_fl_f): New variable.
21560         (scalbln_test_data): New variable.
21561         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21563         * math/libm-test.inc (struct test_fi_f_data): New type.
21564         (RUN_TEST_LOOP_fi_f): New macro.
21565         (ldexp_test_data): New variable.
21566         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21567         (scalbn_test_data): New variable.
21568         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21570         * math/libm-test.inc (struct test_c_f_data): New type.
21571         (RUN_TEST_LOOP_c_f): New macro.
21572         (cabs_test_data): New variable.
21573         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21574         (carg_test_data): New variable.
21575         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21576         (cimag_test_data): New variable.
21577         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21578         (creal_test_data): New variable.
21579         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21581         * math/libm-test.inc (struct test_if_f_data): New type.
21582         (RUN_TEST_LOOP_if_f): New macro.
21583         (jn_test_data): New variable.
21584         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21585         (yn_test_data): New variable.
21586         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21588         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21590 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21592         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21593         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21595 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21597         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21598         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21599         (bench-deps): Add bench-timing.h.
21600         * benchtests-bench-skeleton.c: Include bench-timing.h.
21601         (main): Use TIMING_* macros instead of clock_gettime.
21602         * benchtests/bench-timing.h: New file.
21604         [BZ #14582]
21605         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21606         Renamed from _LIB_VERSION.
21607         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21609 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21611         * math/libm-test.inc (struct test_fff_f_data): New type.
21612         (RUN_TEST_LOOP_fff_f): New macro.
21613         (fma_test_data): New variable.
21614         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21615         (fma_towardzero_test_data): New variable.
21616         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21617         (fma_downward_test_data): New variable.
21618         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21619         (fma_upward_test_data): New variable.
21620         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21622         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21623         (struct test_c_c_data): New type.
21624         (RUN_TEST_LOOP_c_c): New macro.
21625         (cacos_test_data): New variable.
21626         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21627         (cacosh_test_data): New variable.
21628         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21629         (casin_test_data): New variable.
21630         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21631         (casinh_test_data): New variable.
21632         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21633         (catan_test_data): New variable.
21634         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21635         (catanh_test_data): New variable.
21636         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21637         (ccos_test_data): New variable.
21638         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21639         (ccosh_test_data): New variable.
21640         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21641         (cexp_test_data): New variable.
21642         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21643         (clog_test_data): New variable.
21644         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21645         (clog10_test_data): New variable.
21646         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21647         (conj_test_data): New variable.
21648         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21649         (cproj_test_data): New variable.
21650         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21651         (csin_test_data): New variable.
21652         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21653         (csinh_test_data): New variable.
21654         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21655         (csqrt_test_data): New variable.
21656         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21657         (ctan_test_data): New variable.
21658         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21659         (ctan_tonearest_test_data): New variable.
21660         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21661         (ctan_towardzero_test_data): New variable.
21662         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21663         (ctan_downward_test_data): New variable.
21664         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21665         (ctan_upward_test_data): New variable.
21666         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21667         (ctanh_test_data): New variable.
21668         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21669         (ctanh_tonearest_test_data): New variable.
21670         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21671         (ctanh_towardzero_test_data): New variable.
21672         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21673         (ctanh_downward_test_data): New variable.
21674         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21675         (ctanh_upward_test_data): New variable.
21676         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21677         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21678         of BUILD_COMPLEX.
21680         * math/libm-test.inc (struct test_ff_f_data): New type.
21681         (struct test_ff_f_data_nexttoward): Likewise.
21682         (RUN_TEST_LOOP_2_f): New macro.
21683         (RUN_TEST_LOOP_ff_f): Likewise.
21684         (atan2_test_data): New variable.
21685         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21686         (copysign_test_data): New variable.
21687         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21688         (fdim_test_data): New variable.
21689         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21690         (fmax_test_data): New variable.
21691         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21692         (fmin_test_data): New variable.
21693         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21694         (fmod_test_data): New variable.
21695         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21696         (hypot_test_data): New variable.
21697         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21698         (nextafter_test_data): New variable.
21699         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21700         (nexttoward_test_data): New variable.
21701         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21702         (pow_test_data): New variable.
21703         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21704         (pow_tonearest_test_data): New variable.
21705         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21706         (pow_towardzero_test_data): New variable.
21707         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21708         (pow_downward_test_data): New variable.
21709         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21710         (pow_upward_test_data): New variable.
21711         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21712         (remainder_test_data): New variable.
21713         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21714         (scalb_test_data): New variable.
21715         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21716         * sysdeps/i386/fpu/libm-test-ulps: Update.
21718 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21720         * math/libm-test.inc (fma_test): Use max_value instead of local
21721         variable fltmax.
21722         (nextafter_test): Likewise.
21724         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21725         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21726         (acos_downward_test_data): New variable.
21727         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21728         (acos_upward_test_data): New variable.
21729         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21730         (acosh_test_data): New variable.
21731         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21732         (asin_test_data): New variable.
21733         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21734         (asin_tonearest_test_data): New variable.
21735         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21736         (asin_towardzero_test_data): New variable.
21737         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21738         (asin_downward_test_data): New variable.
21739         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21740         (asin_upward_test_data): New variable.
21741         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21742         (asinh_test_data): New variable.
21743         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21744         (atan_test_data): New variable.
21745         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21746         (atanh_test_data): New variable.
21747         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21748         (cbrt_test_data): New variable.
21749         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21750         (ceil_test_data): New variable.
21751         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21752         (cos_test_data): New variable.
21753         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21754         (cos_tonearest_test_data): New variable.
21755         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21756         (cos_towardzero_test_data): New variable.
21757         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21758         (cos_downward_test_data): New variable.
21759         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21760         (cos_upward_test_data): New variable.
21761         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21762         (cosh_test_data): New variable.
21763         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21764         (cosh_tonearest_test_data): New variable.
21765         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21766         (cosh_towardzero_test_data): New variable.
21767         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21768         (cosh_downward_test_data): New variable.
21769         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21770         (cosh_upward_test_data): New variable.
21771         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21772         (erf_test_data): New variable.
21773         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21774         (erfc_test_data): New variable.
21775         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21776         (exp_test_data): New variable.
21777         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21778         (exp_tonearest_test_data): New variable.
21779         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21780         (exp_towardzero_test_data): New variable.
21781         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21782         (exp_downward_test_data): New variable.
21783         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21784         (exp_upward_test_data): New variable.
21785         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21786         (exp10_test_data): New variable.
21787         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21788         (exp2_test_data): New variable.
21789         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21790         (expm1_test_data): New variable.
21791         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21792         (fabs_test_data): New variable.
21793         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21794         (floor_test_data): New variable.
21795         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21796         (j0_test_data): New variable.
21797         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21798         (j1_test_data): New variable.
21799         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21800         (log_test_data): New variable.
21801         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21802         (log10_test_data): New variable.
21803         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21804         (log1p_test_data): New variable.
21805         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21806         (log2_test_data): New variable.
21807         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21808         (logb_test_data): New variable.
21809         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21810         (logb_downward_test_data): New variable.
21811         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21812         (nearbyint_test_data): New variable.
21813         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21814         (rint_test_data): New variable.
21815         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21816         (rint_tonearest_test_data): New variable.
21817         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21818         (rint_towardzero_test_data): New variable.
21819         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21820         (rint_downward_test_data): New variable.
21821         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21822         (rint_upward_test_data): New variable.
21823         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21824         (round_test_data): New variable.
21825         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21826         (sin_test_data): New variable.
21827         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21828         (sin_tonearest_test_data): New variable.
21829         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21830         (sin_towardzero_test_data): New variable.
21831         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21832         (sin_downward_test_data): New variable.
21833         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21834         (sin_upward_test_data): New variable.
21835         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21836         (sinh_test_data): New variable.
21837         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21838         (sinh_tonearest_test_data): New variable.
21839         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21840         (sinh_towardzero_test_data): New variable.
21841         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21842         (sinh_downward_test_data): New variable.
21843         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21844         (sinh_upward_test_data): New variable.
21845         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21846         (sqrt_test_data): New variable.
21847         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21848         (tan_test_data): New variable.
21849         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21850         (tan_tonearest_test_data): New variable.
21851         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21852         (tan_towardzero_test_data): New variable.
21853         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21854         (tan_downward_test_data): New variable.
21855         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21856         (tan_upward_test_data): New variable.
21857         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21858         (tanh_test_data): New variable.
21859         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21860         (tgamma_test_data): New variable.
21861         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21862         (trunc_test_data): New variable.
21863         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21864         (y0_test_data): New variable.
21865         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21866         (y1_test_data): New variable.
21867         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21868         (significand_test_data): New variable.
21869         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21871 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21873         [BZ #12387]
21874         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21876 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21878         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21880 2013-05-10  Andreas Jaeger  <aj@suse.de>
21882         [BZ #15448]
21883         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21884         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21886 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21888         * math/gen-libm-test.pl (adjust_arg): New function.
21889         (special_functions): Handle generating output in both functions
21890         and arrays.
21891         (parse_args): Likewise.
21892         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21893         $in_func argument to parse_args.
21894         * math/libm-test.inc (struct test_f_f_data): New type.
21895         (IF_ROUND_INIT_): New macro.
21896         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21897         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21898         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21899         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21900         (ROUND_RESTORE_): Likewise.
21901         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21902         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21903         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21904         (ROUND_RESTORE_FE_UPWARD): Likewise.
21905         (RUN_TEST_LOOP_f_f): New macro.
21906         (acos_test_data): New variable.
21907         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21908         (acos_tonearest_test_data): New variable.
21909         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21911 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21913         * benchtests/bench-skeleton.c (startup): Fix coding style.
21915 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21917         [BZ #6809]
21918         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21919         negative infinity argument.
21920         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21921         negative infinity argument.
21922         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21923         negative infinity argument.
21924         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21925         domain errors.
21927 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21929         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21930         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21931         * iconv/iconv_prog.c (main): Likewise.
21932         * locale/programs/charmap-dir.c (charmap_readdir)
21933         (fopen_uncompressed): Likewise.
21934         * locale/programs/locfile.c (siblings_uncached)
21935         (write_locale_data): Use lstat64 instead of lstat.
21936         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21937         stat.
21939 2013-05-10  Andreas Jaeger  <aj@suse.de>
21941         [BZ #15395]
21942         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21943         localization.
21944         Include <locale.h>.
21946 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21948         * elf/dl-close.c (_dl_close_worker): Add comments.
21950 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21952         [BZ #15359]
21953         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21954         high part of pi/2.
21955         (__ieee754_rem_pio2l): Update comments.
21957         [BZ #15429]
21958         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21959         high part of pi/2.
21960         (__ieee754_rem_pio2l): Update comments.
21962         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21963         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21965         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21966         M_PI_4l.
21968         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21969         (M_PI_34_LOG10El): Likewise.
21970         (M_PI2_LOG10El): Likewise.
21971         (M_PI4_LOG10El): Likewise.
21972         (M_PI_LOG10El): Likewise.
21974 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21978 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21980         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21981         (MINUS_ZERO_INIT): Likewise.
21982         (PLUS_INFTY_INIT): Likewise.
21983         (MINUS_INFTY_INIT): Likewise.
21984         (QNAN_VALUE_INIT): Likewise.
21985         (MAX_VALUE_INIT): Likewise.
21986         (MIN_VALUE_INIT): Likewise.
21987         (MIN_SUBNORM_VALUE_INIT): Likewise.
21988         (plus_zero): Initialize with PLUS_ZERO_INIT.
21989         (minus_zero): Initialize with MINUS_ZERO_INIT.
21990         (plus_infty): Initialize with PLUS_INFTY_INIT.
21991         (minus_infty): Initialize with MINUS_INFTY_INIT.
21992         (qnan_value): Initialize with QNAN_VALUE_INIT.
21993         (max_value): Initialize with MAX_VALUE_INIT.
21994         (min_value): Initialize with MIN_VALUE_INIT.
21995         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21997         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21998         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21999         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22000         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22002         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22003         (RUN_TEST_2_f): Likewise.
22004         (RUN_TEST_ff_f): Likewise.
22005         (RUN_TEST_fi_f): Likewise.
22006         (RUN_TEST_fl_f): Likewise.
22007         (RUN_TEST_fff_f): Likewise.
22008         (RUN_TEST_c_f): Likewise.
22009         (RUN_TEST_f_f1): Likewise.
22010         (RUN_TEST_fF_f1): Likewise.
22011         (RUN_TEST_fI_f1): Likewise.
22012         (RUN_TEST_ffI_f1): Likewise.
22013         (RUN_TEST_c_c): Likewise.
22014         (RUN_TEST_cc_c): Likewise.
22015         (RUN_TEST_f_i): Likewise.
22016         (RUN_TEST_f_i_tg): Likewise.
22017         (RUN_TEST_ff_i_tg): Likewise.
22018         (RUN_TEST_f_b): Likewise.
22019         (RUN_TEST_f_b_tg): Likewise.
22020         (RUN_TEST_f_l): Likewise.
22021         (RUN_TEST_f_L): Likewise.
22022         (RUN_TEST_sincos): Likewise.
22023         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22024         whether to show exceptions.  Do not include ");\n" in return
22025         value.
22026         (special_functions): Output call to RUN_TEST_sincos instead of
22027         check_float calls.  Update calls to new_test.
22028         (parse_args): Output call to single RUN_TEST_* macro instead of
22029         check_* calls and other assignments.  Update calls to new_test.
22031         [BZ #2546]
22032         [BZ #2560]
22033         [BZ #5159]
22034         [BZ #15426]
22035         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22036         input to result for tgamma overflow.
22037         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22038         (gamma_coeff): New variable.
22039         (NCOEFF): New macro.
22040         (gamma_positive): New function.
22041         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22042         underflow here.  Use gamma_positive instead of exp (lgamma) for
22043         other arguments.
22044         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22045         (gamma_coeff): New variable.
22046         (NCOEFF): New macro.
22047         (gammaf_positive): New function.
22048         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22049         underflow here.  Use gamma_positive instead of exp (lgamma) for
22050         other arguments.
22051         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22052         (gamma_coeff): New variable.
22053         (NCOEFF): New macro.
22054         (gammal_positive): New function.
22055         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22056         underflow here.  Use gamma_positive instead of exp (lgamma) for
22057         other arguments.
22058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22059         (gamma_coeff): New variable.
22060         (NCOEFF): New macro.
22061         (gammal_positive): New function.
22062         (__ieee754_gammal_r): Handle positive infinity, overflow and
22063         underflow here.  Handle NaN the same as positive infinity.  Remove
22064         check x < 0xffffffff for negative integers.  Use gamma_positive
22065         instead of exp (lgamma) for other arguments.
22066         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22067         (gamma_coeff): New variable.
22068         (NCOEFF): New macro.
22069         (gammal_positive): New function.
22070         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22071         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22072         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22073         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22074         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22075         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22076         * sysdeps/generic/math_private.h (__gamma_productf): New
22077         prototype.
22078         (__gamma_product): Likewise.
22079         (__gamma_productl): Likewise.
22080         * math/Makefile (libm-calls): Add gamma_product.
22081         * math/libm-test.inc (tgamma_test): Add more tests.
22082         * sysdeps/i386/fpu/libm-test-ulps: Update.
22083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22085 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22087         * benchtests/bench-skeleton.c (main): Preheat CPU.
22089 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22091         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22093 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22095         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22096         and _dl_skip_args_internal.
22098 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22100         * manual/message.texi (Message Translation): Talk about users.
22101         Message to key mapping impacts design.
22103 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22105         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22107         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22109         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22110         * sysdeps/wordsize-64/glob64.c: ... here.
22112         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22113         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22114         New macros.
22116         * debug/getlogin_r_chk.c: Moved to ...
22117         * login/getlogin_r_chk.c: ... here.
22118         * debug/Makefile (routines): Move getlogin_r_chk to ...
22119         * login/Makefile (routines): ... here.
22120         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22121         * login/Versions (libc: GLIBC_2.4): ... here.
22123         * io/poll.c (__poll): Renamed from poll.
22124         Add libc_hidden_def.
22125         (poll): Define as weak alias.
22127         * debug/ptsname_r_chk.c: Moved to ...
22128         * login/ptsname_r_chk.c: ... here.
22129         * debug/Makefile (routines): Move ptsname_r_chk to ...
22130         * login/Makefile (routines): ... here.
22131         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22132         * login/Versions (libc: GLIBC_2.4): ... here.
22134         * posix/getlogin.c: Moved to ...
22135         * login/getlogin.c: ... here.
22136         * posix/getlogin_r.c: Moved to ...
22137         * login/getlogin_r.c: ... here.
22138         * posix/getlogin_r.c: Moved to ...
22139         * login/getlogin_r.c: ... here.
22140         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22141         * login/Makefile (routines): ... here.
22142         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22143         * login/Versions (libc: GLIBC_2.0): ... here.
22145         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22146         (setrlimit): Define as weak alias.
22148         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22149         Call __ names for open, ftruncate, and close.
22150         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22151         (truncate): Define as weak alias.
22153 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22155         * math/gen-libm-test.pl (parse_args): Initialize x before each
22156         test of frexp, modf and remquo.
22158         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22159         test signgam value.
22161 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22163         [BZ #15418]
22164         [BZ #15419]
22165         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22166         internal tests.
22167         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22169 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22171         * elf/dl-writev.h: New file.
22172         * elf/dl-misc.c: Include it.
22173         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22174         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22176 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22178         * math/libm-test.inc (noXFails): Remove variable.
22179         (noXPasses): Likewise.
22180         (BUILD_COMPLEX_INT): Remove macro.
22181         (print_screen): Remove xfail argument.
22182         (print_screen_max_error): Likewise.
22183         (update_stats): Likewise.
22184         (print_max_error): Likewise.  Update calls to other affected
22185         functions.
22186         (print_complex_max_error): Likewise.
22187         (test_single_exception): Update calls to print_screen.
22188         (test_single_errno): Likewise.
22189         (check_float_internal): Remove xfail argument.  Update calls to
22190         other affected functions.
22191         (check_float): Likewise.
22192         (check_complex): Likewise.
22193         (check_int): Likewise.
22194         (check_long): Likewise.
22195         (check_bool): Likewise.
22196         (check_longlong): Likewise.
22197         (main): Don't print noXFails and noXPasses.
22198         * math/gen-libm-test.pl (top level): Don't mention expected
22199         failure handling in comment.
22200         (new_test): Don't handle expected failures.
22201         (parse_args): Don't mention expected failure handling in comment.
22202         (generate_testfile): Don't handle expected failures.
22203         (parse_ulps): Likewise.
22204         (print_ulps_file): Likewise.
22205         (get_failure): Remove function.
22206         (output_test): Don't handle expected failures.
22207         * make/README.libm-test: Don't mention expected failure handling.
22209         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22210         (minus_zero): Likewise.
22211         (plus_infty): Likewise.
22212         (minus_infty): Likewise.
22213         (qnan_value): Likewise.
22214         (max_value): Likewise.
22215         (min_value): Likewise.
22216         (min_subnorm_value): Likewise.
22217         (initialize): Do not initialize those variables dynamically.
22219 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22221         * io/open.c (__open_2): Moved to ...
22222         * io/open_2.c: ... this new file.
22223         * io/open64.c (__open64_2): Moved to ...
22224         * io/open64_2.c: ... this new file.
22225         * io/openat.c (__openat_2): Moved to ...
22226         * io/openat_2.c: ... this new file.
22227         * io/openat64.c (__openat64_2): Moved to ...
22228         * io/openat64_2.c: ... this new file.
22229         * io/Makefile (routines): Add them.
22230         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22231         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22232         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22233         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22234         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22235         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22236         (__openat64): Add hidden_ver.
22237         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22238         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22240         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22241         Separately conditionalize setting of GLRO(dl_sysinfo) so
22242         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22243         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22245 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22247         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22248         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22249         definition.
22250         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22251         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22252         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22253         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22254         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22256 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22258         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22259         test signgam value.
22261         * math/libm-test.inc (hypot_test): Do not use
22262         IGNORE_ZERO_INF_SIGN.
22264 2013-05-03  Andreas Jaeger  <aj@suse.de>
22266         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22267         Linux 3.9.
22268         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22269         (PF_MAX): Adjust for VSOCK change.
22271 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22275 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22277         [BZ #15264]
22278         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22279         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22280         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22282 2013-05-02  David S. Miller  <davem@davemloft.net>
22284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22286 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22288         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22290 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22292         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22294 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22296         [BZ #14952]
22297         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22298         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22299         Use __attribute__ ((__gnu_inline__)).
22300         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22301         Don't use __attribute__ ((__gnu_inline__)).
22303 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #15423]
22306         * math/s_catan.c (__catan): Handle small real or imaginary part of
22307         input specially to avoid spurious underflow.
22308         * math/s_catanf.c (__catanf): Likewise.
22309         * math/s_catanh.c (__catanh): Likewise.
22310         * math/s_catanhf.c (__catanhf): Likewise.
22311         * math/s_catanhl.c (__catanhl): Likewise.
22312         * math/s_catanl.c (__catanl): Likewise.
22313         * math/libm-test.inc (catan_test): Add more tests.
22314         (catanh_test): Likewise.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22322 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22324         [BZ #15416]
22325         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22326         accurately for denominator in atan2.
22327         * math/s_catanf.c (__catanf): Likewise.
22328         * math/s_catanh.c (__catanh): Likewise.
22329         * math/s_catanhf.c (__catanhf): Likewise.
22330         * math/s_catanhl.c (__catanhl): Likewise.
22331         * math/s_catanl.c (__catanl): Likewise.
22332         * math/libm-test.inc (catan_test): Add more tests.
22333         (catanh_test): Likewise.
22334         * sysdeps/i386/fpu/libm-test-ulps: Update.
22335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22337 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22339         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22341         * benchtests/Makefile (bench): Remove slow benchmarks.
22342         * benchtests/atan-inputs: Add slow benchmark inputs.
22343         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22344         (BENCH_FUNC): Accept variant offset.
22345         (VARIANT): Define.
22346         * benchtests/bench-skeleton.c (main): Run benchmark for each
22347         variant.
22348         * benchtests/cos-inputs: Add slow benchmark inputs.
22349         * benchtests/exp-inputs: Likewise.
22350         * benchtests/pow-inputs: Likewise.
22351         * benchtests/sin-inputs: Likewise.
22352         * benchtests/slowatan-inputs: Remove.
22353         * benchtests/slowatan.c: Remove.
22354         * benchtests/slowcos-inputs: Remove.
22355         * benchtests/slowcos.c: Remove.
22356         * benchtests/slowexp-inputs: Remove.
22357         * benchtests/slowexp.c: Remove.
22358         * benchtests/slowpow-inputs: Remove.
22359         * benchtests/slowpow.c: Remove.
22360         * benchtests/slowsin-inputs: Remove.
22361         * benchtests/slowsin.c: Remove.
22362         * benchtests/slowtan-inputs: Remove.
22363         * benchtests/slowtan.c: Remove.
22364         * benchtests/tan-inputs: Add slow benchmark inputs.
22365         * scripts/bench.pl: Parse comments and directives.
22367         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22368         in CPPFLAGS.
22369         ($(objpfx)bench-%.c): Remove *-ITER.
22370         * benchtests/bench-modf.c: Remove definition of ITER.
22371         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22372         (main): Loop for DURATION seconds instead of fixed number of
22373         iterations.
22374         * scripts/bench.pl: Don't expect iterations in parameters.
22376 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22378         * io/fchdir.c (__fchdir): Renamed from fchdir.
22379         (fchdir): Define as weak alias.
22381 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22383         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22384         (ERRNO_EDOM): Likewise.
22385         (ERRNO_ERANGE): Likewise.
22386         (noErrnoTests): New variable.
22387         (init_max_error): Set errno to 0.
22388         (test_single_errno): New function.
22389         (test_errno): Likewise.
22390         (check_float_internal): Call test_errno.  Set errno to 0.
22391         (check_complex): Refer to errno tests in comment.
22392         (check_int): Call test_errno.  Set errno to 0.
22393         (check_long): Likewise.
22394         (check_bool): Likewise.
22395         (check_longlong): Likewise.
22396         (cos_test): Use ERRNO_* flags for errno tests instead of
22397         check_int.
22398         (expm1_test): Likewise.
22399         (fmod_test): Likewise.
22400         (ilogb_test): Likewise.
22401         (lgamma_test): Likewise.
22402         (pow_test): Likewise.
22403         (remainder_test): Likewise.
22404         (sin_test): Likewise.
22405         (tan_test): Likewise.
22406         (yn_test): Likewise.
22407         (initialize): Set errno to 0.
22408         (main): Print number of errno tests.
22409         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22411 2013-04-29  Andreas Jaeger  <aj@suse.de>
22413         [BZ #15084]
22414         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22415         and RES_USEVC.
22417         [BZ #15085]
22418         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22419         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22420         unimplemented.
22422         [BZ #15380]
22423         * stdlib/random.c (__initstate): Return NULL if
22424         __initstate fails.
22426         [BZ #15086]
22427         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22428         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22429         RES_SNGLKUPREOP.
22431 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22435 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22437         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22438         of individual tests.
22439         (casin_test): Likewise.
22440         (casinh_test): Likewise.
22442 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22444         [BZ #15409]
22445         * math/s_catan.c (__catan): Handle arguments with large real or
22446         imaginary part separately without squaring.
22447         * math/s_catanf.c (__catanf): Likewise.
22448         * math/s_catanh.c (__catanh): Likewise.
22449         * math/s_catanhf.c (__catanhf): Likewise.
22450         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22451         and redefine.
22452         (__catanhl): Handle arguments with large real or imaginary part
22453         separately without squaring.
22454         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22455         and redefine.
22456         (__catanl): Handle arguments with large real or imaginary part
22457         separately without squaring.
22458         * math/libm-test.inc (catan_test): Add more tests.
22459         (catanh_test): Likewise.
22460         * sysdeps/i386/fpu/libm-test-ulps: Update.
22461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22463 2013-04-27  Andreas Jaeger  <aj@suse.de>
22465         [BZ #15007]
22466         * stdlib/stdlib.h: Update guards for qecvt.
22467         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22468         <stdlib.h>.
22470 2013-04-27  Allan McRae  <allan@archlinux.org>
22472         * sysdeps/i386/fpu/libm-test-ulps: Update.
22474 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22476         [BZ #15406]
22477         * math/s_catan.c: Include <float.h>.
22478         (__catan): Ensure underflow exception occurs for underflowed
22479         result.
22480         * math/s_catanf.c: Include <float.h>.
22481         (__catanf): Ensure underflow exception occurs for underflowed
22482         result.
22483         * math/s_catanh.c: Include <float.h>.
22484         (__catanh): Ensure underflow exception occurs for underflowed
22485         result.
22486         * math/s_catanhf.c: Include <float.h>.
22487         (__catanhf): Ensure underflow exception occurs for underflowed
22488         result.
22489         * math/s_catanhl.c: Include <float.h>.
22490         (__catanhl): Ensure underflow exception occurs for underflowed
22491         result.
22492         * math/s_catanl.c: Include <float.h>.
22493         (__catanl): Ensure underflow exception occurs for underflowed
22494         result.
22495         * math/libm-test.inc (catan_test): Add more tests.
22496         (catanh_test): Likewise.
22498         [BZ #15405]
22499         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22500         underflowed result.
22501         * math/s_ccoshf.c (__ccoshf): Likewise.
22502         * math/s_ccoshl.c (__ccoshl): Likewise.
22503         * math/s_csin.c (__csin): Likewise.
22504         * math/s_csinf.c (__csinf): Likewise.
22505         * math/s_csinh.c (__csinh): Likewise.
22506         * math/s_csinhf.c (__csinhf): Likewise.
22507         * math/s_csinhl.c (__csinhl): Likewise.
22508         * math/s_csinl.c (__csinl): Likewise.
22509         * math/libm-test.inc (ccos_test): Add more tests.
22510         (ccosh_test): Likewise.
22511         (csin_test): Likewise.
22512         (csinh_test): Likewise.
22514 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22516         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22517         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22518         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22519         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22520         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22521         powerpc/power5+/fpu folders.
22522         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22525 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22529 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22531         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22532         additions to variable.
22533         [$(config-machine) = x86_64] (modules-names): Likewise.
22534         ($(objpfx)tst-audit3): Remove dependency.
22535         ($(objpfx)tst-audit3.out): Likewise.
22536         ($(objpfx)tst-audit4): Likewise.
22537         ($(objpfx)tst-audit4.out): Likewise.
22538         ($(objpfx)tst-audit5): Likewise.
22539         ($(objpfx)tst-audit5.out): Likewise.
22540         ($(objpfx)tst-audit6): Likewise.
22541         ($(objpfx)tst-audit6.out): Likewise.
22542         ($(objpfx)tst-audit7): Likewise.
22543         ($(objpfx)tst-audit7.out): Likewise.
22544         (tst-audit3-ENV): Remove variable.
22545         (tst-audit4-ENV): Likewise.
22546         (tst-audit5-ENV): Likewise.
22547         (tst-audit6-ENV): Likewise.
22548         (tst-audit7-ENV): Likewise.
22549         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22550         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22551         addition to variable.
22552         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22553         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22554         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22555         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22556         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22557         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22558         tst-audit3, tst-audit4 and tst-audit5.
22559         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22560         tst-audit6 and tst-audit7.
22561         [$(subdir) = elf] (modules-names): Add audit modules for those
22562         tests.
22563         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22564         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22565         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22566         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22567         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22568         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22569         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22570         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22571         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22572         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22573         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22574         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22575         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22576         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22577         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22578         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22579         Likewise.
22580         [$(subdir) = elf && $(config-cflags-avx) = yes]
22581         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22582         [$(subdir) = elf && $(config-cflags-avx) = yes]
22583         (CFLAGS-tst-auditmod4a.c): Likewise.
22584         [$(subdir) = elf && $(config-cflags-avx) = yes]
22585         (CFLAGS-tst-auditmod4b.c): Likewise.
22586         [$(subdir) = elf && $(config-cflags-avx) = yes]
22587         (CFLAGS-tst-auditmod6b.c): Likewise.
22588         [$(subdir) = elf && $(config-cflags-avx) = yes]
22589         (CFLAGS-tst-auditmod6c.c): Likewise.
22590         [$(subdir) = elf && $(config-cflags-avx) = yes]
22591         (CFLAGS-tst-auditmod7b.c): Likewise.
22592         * elf/tst-audit3.c: Move to ...
22593         * sysdeps/x86_64/tst-audit3.c: ... here.
22594         * elf/tst-audit4.c: Move to ...
22595         * sysdeps/x86_64/tst-audit4.c: ... here.
22596         * elf/tst-audit5.c: Move to ...
22597         * sysdeps/x86_64/tst-audit5.c: ... here.
22598         * elf/tst-audit6.c: Move to ...
22599         * sysdeps/x86_64/tst-audit6.c: ... here.
22600         * elf/tst-audit7.c: Move to ...
22601         * sysdeps/x86_64/tst-audit7.c: ... here.
22602         * elf/tst-auditmod3a.c: Move to ...
22603         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22604         * elf/tst-auditmod3b.c: Move to ...
22605         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22606         * elf/tst-auditmod4a.c: Move to ...
22607         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22608         * elf/tst-auditmod4b.c: Move to ...
22609         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22610         * elf/tst-auditmod5a.c: Move to ...
22611         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22612         * elf/tst-auditmod5b.c: Move to ...
22613         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22614         * elf/tst-auditmod6a.c: Move to ...
22615         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22616         * elf/tst-auditmod6b.c: Move to ...
22617         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22618         * elf/tst-auditmod6c.c: Move to ...
22619         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22620         * elf/tst-auditmod7a.c: Move to ...
22621         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22622         * elf/tst-auditmod7b.c: Move to ...
22623         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22625 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22627         [BZ #15366]
22628         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22629         define unconditionally.
22630         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22631         define unconditionally.
22632         (INT8_C, INT16_C, etc.): Likewise.
22634 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22636         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22637         __ehdr_start with hidden visibility.
22639         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22641 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22643         * math/libm-test.inc (cos_test): Use accurate hex constants.
22644         (sincost_test): Likewise.
22646 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22648         * math/libm-test.inc (catan_test): Add more tests.
22649         (catanh_test): Likewise.
22651         * math/s_catanf.c (__catanf): Use suffixed floating-point
22652         constants.
22653         * math/s_catanhf.c (__catanhf): Likewise.
22654         * math/s_catanhl.c (__catanhl): Likewise.
22655         * math/s_catanl.c (__catanl): Likewise.
22657         [BZ #15394]
22658         * math/s_catan.c (__catan): Calculate imaginary part of result
22659         with log1p not log unless computing log of number close to 0.
22660         * math/s_catanf.c (__catanf): Likewise.
22661         * math/s_catanl.c (__catanl): Likewise.
22662         * math/s_catanh.c (__catanh): Calculate real part of result with
22663         log1p not log unless computing log of number close to 0.
22664         * math/s_catanhf.c (__catanhf): Likewise.
22665         * math/s_catanhl.c (__catanhl): Likewise.
22666         * math/libm-test.inc (catan_test): Add more tests.
22667         (catanh_test): Likewise.
22668         * sysdeps/i386/fpu/libm-test-ulps: Update.
22669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22671 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22673         * benchtests/Makefile: Mention files in which fast and slow
22674         paths of math functions are implemented.
22676 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22678         * sysdeps/posix/timespec_get.c: New file.
22680 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22682         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22683         POWER.
22684         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22685         for POWER.
22686         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22687         powerpc/power5/fpu folders.
22688         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22689         * benchtests/Makefile: Add modf testcase.
22690         * benchtests/bench-modf.c: New file: Benchmark test for mo
22692 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22694         [BZ #14888]
22695         * time/Makefile (tests): Add tst-strptime-whitespace.
22696         * time/strptime_l.c (get_number): Use ISSPACE.
22697         (__strptime_internal): Likewise.
22698         * time/tst-strptime-whitespace.c: New test case.
22700 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22702         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22703         member.
22704         (_nss_files_init): Set it here.
22706 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22708         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22709         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22710         unsigned.
22712 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22714         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22716 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22718         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22719         size just once.
22721 2013-04-21  David S. Miller  <davem@davemloft.net>
22723         * po/ru.po: Update Russion translation from translation project.
22725 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22727         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22728         and setfsgid.
22730 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22732         * configure.in: Remove i386 configure warning. Remove i386 case.
22733         * configure: Regenerate.
22734         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22735         Add example to error message.
22736         * sysdeps/i386/configure: Regenerate.
22738 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22740         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22741         slowtan.
22742         * benchtests/cos-inputs: New file.
22743         * benchtests/slowcos-inputs: New file.
22744         * benchtests/slowcos.c: New file.
22745         * benchtests/slowtan-inputs: New file.
22746         * benchtests/slowtan.c: New file.
22747         * benchtests/tan-inputs: New file.
22749 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22751         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22752         considered kosher.
22754 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22756         * benchtests/Makefile: Include cppflags-iterator.mk to add
22757         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22759         * Makefile.in (bench-clean): New target.
22760         * benchtests/Makefile (bench-clean): Likewise.
22762 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22764         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22766 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22768         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22770 2013-04-15  Andreas Schwab  <schwab@suse.de>
22772         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22774         * nscd/pwdcache.c (cache_addpw): Likewise.
22775         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22776         more than recsize.
22778 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22780         * benchtests/Makefile (bench): Write all output to
22781         bench-out.tmp together.
22783 2013-04-15  Andreas Schwab  <schwab@suse.de>
22785         * nscd/nscd.c (main): Don't fork again after closing files.
22787 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22789         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22791         * benchtests/Rules (bench-deps): Collect dependencies into a
22792         single variable.  Add Makefile to dependencies.
22793         ($(objpfx)bench-%.c): Depend on bench-deps.
22795 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22796             Xavier Roche  <roche+kml2@exalead.com>
22798         [BZ #15361]
22799         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22800         just that it's a file descriptor.
22801         * manual/llio.texi (Synchronizing AIO Operations): Update description
22802         for EBADF error from aio_fsync.
22804 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22806         * Rules (bench): Move target definition...
22807         * benchtests/Makefile: ... here.
22809 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22811         * math/libm-test.inc (cos_test): Fix PI/2 test.
22812         (sincos_test): Likewise.
22813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22814         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22816 2013-04-11  Andreas Schwab  <schwab@suse.de>
22818         [BZ #13988]
22819         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22820         accept exponent character only when digits were seen.
22821         * stdio-common/Makefile (tests): Add bug26.
22822         * stdio-common/bug26.c: New file.
22824         [BZ #14293]
22825         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22826         non-freeable.
22828 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22830         * Makeconfig (rtld-prefix): Define built linker prefix.
22831         * Rules (run-bench): Use it.
22832         * math/Makefile (run-regen-ulps): Likewise.
22834         * Rules (bench): Remove eval.
22836 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22837             Roland McGrath  <roland@hack.frob.com>
22838             Ondrej Bilka  <neleai@seznam.cz>
22840         [BZ #15346]
22841         * time/getdate.c: Include ctype.h and alloca.h.
22842         (__getdate_r): Trim leading and trailing spaces of input.
22843         * time/tst-getdate.c (tests): Add tests with leading and
22844         trailing spaces.
22846 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22848         [BZ #14280]
22849         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22850         when computing value.
22852 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22854         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22855         Use testrun.sh to run libm tests.
22857         [BZ #15309]
22858         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22860 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22862         [BZ #15264]
22863         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22865 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22867         * Makefile.in (regen-ulps): New target.
22868         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22869         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22870         [ifneq (no,$(PERL)] (regen-ulps): New target.
22871         [ifeq (no,$(PERL)] (regen-ulps): New target.
22872         * math/libm-test.inc (ulps_file_name): Define.
22873         (output_dir): New variable.
22874         (options): Add "output-dir" option.
22875         (parse_opt): Handle 'o' case.
22876         (main): If output_dir is non-NULL use it as a prefix
22877         otherwise use "".
22878         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22880 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22882         [BZ #10060, #10062]
22883         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22884         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22885         fail configure if __sync_val_compare_and_swap is not inlined.
22886         * sysdeps/i386/configure: Regenerate.
22887         * configure.in: Build for i686 when configured for i386.
22888         * configure: Regenerate.
22889         * README: Remove i386 reference.
22891 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22893         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22894         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22896 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22898         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22899         (lmsnanval): New variables.
22900         (F): Add conversion tests.
22901         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22902         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22904         * stdio-common/tstdiomisc.c (F): Properly collect individual
22905         tests' results.
22907         [BZ #14686, #15336]
22908         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22909         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22910         Instead, use input NaN values or generate a qNaN by arithmetic
22911         operation.  Also fix bugs to comply with the standard.
22912         * math/libm-test.inc (remainder_test): Add more tests.
22914         [BZ #15335, #15342]
22915         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22916         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22917         input NaN values or generate a qNaN by arithmetic operation.
22919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22920         unreachable code.
22922         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22923         definitions.
22925 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22927         [BZ #14478]
22928         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22929         underflowed result.
22930         * math/s_cexpf.c (__cexpf): Likewise.
22931         * math/s_cexpl.c (__cexpl): Likewise.
22932         * math/libm-test.inc (cexp_test): Add more tests.
22934 2013-04-03  Andreas Schwab  <schwab@suse.de>
22936         [BZ #15330]
22937         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22938         order arrays from heap if bigger than alloca cutoff.
22940 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22942         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22943         (SNAN_TESTS_double): Refer to GCC PR56831.
22944         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22945         GCC PR56828.
22947 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22949         * Rules (bench): Move bench.out after the run is complete.
22951         * Rules (bench): Echo currently running benchmark.
22953         * benchtests/Makefile (bench): Add atan and slowatan.
22954         * benchtests/atan-inputs: New file.
22955         * benchtests/slowatan-inputs: New file.
22956         * benchtests/slowatan.c: New file.
22958         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22960         its value.
22962         [BZ #15305]
22963         * sysdeps/unix/sysv/linux/kernel-features.h
22964         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22965         __ASSUME_XFS_RESTRICTED_CHOWN.
22966         * sysdeps/unix/sysv/linux/pathconf.c
22967         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22968         Save and restore errno.
22970 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22972         [BZ #15327]
22973         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22974         arguments using __kernel_casinh.
22975         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22976         arguments using __kernel_casinhf.
22977         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22978         arguments using __kernel_casinhl.
22979         * math/libm-test.inc (cacosh_test): Add more tests.
22980         * sysdeps/i386/fpu/libm-test-ulps: Update.
22981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22983 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22985         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22988         * bench/Makefile (bench): Add sin and slowsin.
22989         * benchtests/sin-inputs: New file.
22990         * benchtests/slowsin-inputs: New file.
22991         * benchtests/slowsin.c: New file.
22993         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22994         (bench): Add slowexp and slowpow.
22995         (exp-ITER): Increase iterations.
22996         (pow-ITER): Likewise.
22997         * benchtests/exp-inputs: Change input.
22998         * benchtests/pow-inputs: Likewise.
22999         * benchtests/slowexp-inputs: New file.
23000         * benchtests/slowexp.c: New file.
23001         * benchtests/slowpow-inputs: New file.
23002         * benchtests/slowpow.c: New file.
23004 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23006         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23007         instructions.
23008         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23009         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23010         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23011         * benchtests/Makefile: Add rint benchtest.
23012         * benchtests/rint-inputs: Input for rint benchtest.
23014 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23016         * Versions.def (libm): Add GLIBC_2.18.
23017         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23018         hidden libm prototypes.
23019         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23020         * math/Makefile (libm-calls): Add s_issignaling.
23021         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23022         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23023         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23024         declaration.
23025         * math/math.h [__USE_GNU] (issignaling): New macro.
23026         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23027         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23028         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23029         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23030         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23031         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23032         * manual/arith.texi (issignaling): New section.
23033         * manual/libm-err-tab.pl (@all_functions): Update comment.
23034         * math/gen-libm-test.pl (parse_args): Apply special handling for
23035         issignaling.
23036         * math/libm-test.inc (print_float, issignaling_test): New
23037         functions.
23038         (check_float_internal): Add issignaling checks.
23039         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23040         default definition.
23041         * sysdeps/powerpc/math-tests.h: New file.
23042         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23043         tests.
23044         * math/test-snan.c (TEST_FUNC): Likewise.
23046 2013-03-30  David S. Miller  <davem@davemloft.net>
23048         * po/de.po: Update from translation team.
23050 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23052         [BZ #10357]
23053         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23054         imaginary part less than 1.0 and real part less than 0.5
23055         specially.
23056         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23057         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23058         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23059         (cacos_test): Add more tests.
23060         (casin_test): Likewise.
23061         (casinh_test): Likewise.
23062         * sysdeps/i386/fpu/libm-test-ulps: Update.
23063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23065 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23067         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23068         ONE with its value.
23070         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23071         (__pow_mp): Replace ONE and MONE with their values.
23072         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23073         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23074         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23075         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23076         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23079         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23081         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23082         (__pow_mp): Replace ZERO and MZERO with their values.
23083         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23084         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23085         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23087         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23088         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23089         (__sqr): Likewise.
23091         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23093         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23095 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23097         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23098         Declare with __attribute__ ((weak)).
23099         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23100         Call __call_tls_dtors only if it's not NULL.
23102 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23104         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23105         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23106         magic __ehdr_start linker symbol if it's defined.
23107         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23108         them up here if it was already done.
23110         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23111         (_dl_aux_init): Use const in cast when setting it.
23112         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23113         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23114         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23116         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23117         Declare them here.
23118         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23119         * csu/libc-tls.c: Nor here.
23120         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23122         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23123         (__libc_message): Never call vsyslog.
23125 2013-03-28  Alan Modra  <amodra@gmail.com>
23127         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23128         Define as empty.
23129         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23130         Likewise.
23132 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23134         [BZ #15214]
23135         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23136         underflow.
23137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23139 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23141         [BZ #15304]
23142         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23143         Don't add gid passed as argument.
23145         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23147 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23149         [BZ #15307]
23150         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23151         imaginary part between 1.0 and 1.5 and real part less than 0.5
23152         specially.
23153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23155         * math/libm-test.inc (cacos_test): Add more tests.
23156         (casin_test): Likewise.
23157         (casinh_test): Likewise.
23158         * sysdeps/i386/fpu/libm-test-ulps: Update.
23159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23161 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23163         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23164         constants.
23165         (norm): Likewise.
23166         (denorm): Likewise.
23167         (__dbl_mp): Likewise.
23168         (add_magnitudes): Likewise.
23169         (sub_magnitudes): Likewise.
23170         (__add): Likewise.
23171         (__sub): Likewise.
23172         (__mul): Likewise.
23173         (__sqr): Likewise.
23174         (__inv): Likewise.
23175         (__dvd): Likewise.
23177         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23178         commented code.
23179         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23180         (__dubcos): Likewise.
23181         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23182         (__ieee754_acos): Likewise.
23183         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23184         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23185         (__exp1): Likewise.
23186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23188         (log1): Likewise.
23189         (my_log2): Likewise.
23190         (checkint): Likewise.
23191         * sysdeps/ieee754/dbl-64/e_remainder.c
23192         (__ieee754_remainder): Likewise.
23193         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23195         (bsloww): Likewise.
23196         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23198         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23199         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23200         MANTISSA_STORE_T to store computations on mantissa.  Use
23201         macros for rounding and division.
23202         (denorm): Likewise.
23203         (__dbl_mp): Likewise.
23204         (add_magnitudes): Likewise.
23205         (sub_magnitudes): Likewise.
23206         (__mul): Likewise.
23207         (__sqr): Likewise.
23208         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23209         powers of two in terms of TWOPOW macro.
23210         (mp_no): Make type of mantissa as MANTISSA_T.
23211         [!RADIXI]: Define RADIXI.
23212         [!TWO52]: Define TWO52.
23213         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23215 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23217         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23218         llroundl symbol when building for PPC32.
23220 2013-03-24  Mark H Weaver  <mhw@netris.org>
23222         * manual/arith.texi (Normalization Functions): Fix prototypes for
23223         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23225 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23227         [BZ #13889]
23228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23229         high value to check if expl overflow.
23230         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23231         to check for underflow and overflow.
23232         * math/libm-test.inc: Add exp test.
23234 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23236         [BZ #11120]
23237         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23238         with NOT_IN_libc.
23240 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23242         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23243         symbol.
23245 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23247         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23248         wrap blocks consisting of several statements.
23250         * sysdeps/generic/math-tests.h: New file.
23251         * sysdeps/i386/fpu/math-tests.h: Likewise.
23252         * math/test-snan.c: Include it.
23253         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23255 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23257         [BZ #15285]
23258         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23259         (__ieee754_j0l): Do not improve calculations using cos of twice
23260         input for inputs above LDBL_MAX / 2.0L.
23261         (__ieee754_y0l): Likewise.
23262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23263         (__ieee754_j1l): Do not improve calculations using cos of twice
23264         input for inputs above LDBL_MAX / 2.0L.
23265         (__ieee754_y1l): Likewise.
23266         * math/libm-test.inc (j0_test): Add another test.
23267         (j1_test): Likewise.
23268         (y0_test): Likewise.
23269         (y1_test): Likewise.
23270         * sysdeps/i386/fpu/libm-test-ulps: Update.
23272 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23274         * Rules ($(objpfx)bench-%.c): Include code from a C source
23275         file.
23277 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23279         [BZ #15287]
23280         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23281         imaginary part 1.0 and real part less than 0.5 specially.
23282         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23283         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23284         * math/libm-test.inc (cacos_test): Add more tests.
23285         (casin_test): Likewise.
23286         (casinh_test): Likewise.
23287         * sysdeps/i386/fpu/libm-test-ulps: Update.
23288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23290 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23292         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23293         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23295 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23297         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23298         * config.make.in (config-cflags-sse4): Remove variable.
23299         (config-cflags-avx): Likewise.
23300         (config-cflags-sse2avx): Likewise.
23301         (config-cflags-novzeroupper): Likewise.
23302         (config-asflags-i686): Likewise.
23303         (have-mfma4): Likewise.
23304         (have-as-vis3): Likewise.
23305         (MIG): Likewise.
23306         * configure.in (MIG): Do not AC_SUBST.
23307         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23308         (libc_cv_cc_sse4): Do not AC_SUBST.
23309         (libc_cv_cc_avx): Likewise.
23310         (libc_cv_cc_sse2avx): Likewise.
23311         (libc_cv_cc_novzeroupper): Likewise.
23312         (libc_cv_cc_fma4): Likewise.
23313         (libc_cv_as_i686): Likewise.
23314         (libc_cv_sparc_as_vis3): Likewise.
23315         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23316         LIBC_CONFIG_VAR.
23317         (config-asflags-i686): Likewise.
23318         (config-cflags-avx): Likewise.
23319         (config-cflags-sse2avx): Likewise.
23320         (have-mfma4): Likewise.
23321         (config-cflags-novzeroupper): Likewise.
23322         * sysdeps/mach/configure.in (MIG): Likewise.
23323         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23324         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23325         LIBC_CONFIG_VAR.
23326         (config-cflags-avx): Likewise.
23327         (config-cflags-sse2avx): Likewise.
23328         (have-mfma4): Likewise.
23329         (config-cflags-novzeroupper): Likewise.
23330         * configure: Regenerated.
23331         * sysdeps/i386/configure: Likewise.
23332         * sysdeps/mach/configure: Likewise.
23333         * sysdeps/sparc/configure: Likewise.
23334         * sysdeps/x86_64/configure: Likewise.
23336 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23338         [BZ #14812]
23339         * locale/programs/localedef.c (options): Put N_ translation marker
23340         on argument names, not just descriptions.
23342 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23344         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23346 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23348         [BZ #14176]
23349         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23351 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23353         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23354         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23355         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23356         [!BEFORE_ABORT] (before_abort): New function.
23357         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23358         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23359         (writev_for_fatal): New function.
23360         (WRITEV_FOR_FATAL): New macro; call that.
23361         (backtrace_and_maps): New function.
23362         (BEFORE_ABORT): New macro; call that.
23363         (struct str_list): Type removed.
23364         (__libc_message, __libc_fatal): Functions removed.
23365         Include <sysdeps/posix/libc_fatal.c> instead.
23367 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23369         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23370         constants.
23371         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23372         double constants.
23374 2013-03-19  Andreas Schwab  <schwab@suse.de>
23376         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23377         * sysdeps/gnu/configure: Regenerate.
23379         * configure.in: Substitute libc_cv_rtlddir.
23380         * configure: Regenerate.
23381         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23382         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23383         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23384         * elf/Makefile (install-others, CFLAGS-interp.c)
23385         (ldso_install, common-ldd-rewrite): Likewise.
23386         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23387         $(inst_slibdir)/$(rtld-installed-name).
23388         * scripts/rellns-sh: Add -p option.
23389         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23390         for source.
23392 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23394         * manual/nptl.texi: Renamed to ...
23395         * manual/threads.texi: ... this.
23396         * manual/Makefile (chapters): Update.
23398 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23400         [BZ #14812]
23401         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23402         on argument names, not just descriptions.
23403         * malloc/memusagestat.c (options): Likewise.
23404         * nss/getent.c (options): Likewise.
23406 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23408         [BZ #14812]
23409         * iconv/iconv_prog.c (options): Put N_ translation marker
23410         on argument names, not just descriptions.
23411         * iconv/iconvconfig.c (options): Likewise.
23413 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23415         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23416         implementation which is faster on all x86_64 architectures.
23417         Tested on AMD, Intel Nehalem, SNB, IVB.
23418         * sysdeps/x86_64/strnlen.S: Likewise.
23420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23421         Remove all multiarch strlen and strnlen versions.
23422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23423         Remove strlen and strnlen related parts.
23425         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23426         Inline strlen part.
23427         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23429         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23430         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23431         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23432         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23433         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23434         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23436 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23438         * manual/memory.texi (Malloc Tunable Parameters):
23439         Sort parameters alphabetically. Add comments for missing entries.
23441 2013-03-17  David S. Miller  <davem@davemloft.net>
23443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23445 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23447         [BZ #15283]
23448         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23449         for arguments at most half maximum finite value.
23450         * math/libm-test.inc (j0_test): Add more tests.
23451         (j1_test): Likewise.
23452         (y0_test): Likewise.
23453         (y1_test): Likewise.
23454         * sysdeps/i386/fpu/libm-test-ulps: Update.
23455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23457         [BZ #14155]
23458         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23459         1 / x and functions P and Q for arguments above 0x1p256L.
23460         (__ieee754_y0l): Likewise.
23461         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23462         (__ieee754_y1l): Likewise.
23463         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23464         (j1_test): Likewise.
23465         (y0_test): Likewise.
23466         (y1_test): Likewise.
23468 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23470         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23471         variable.
23473 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23475         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23476         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23477         zero since it's initialized to EXEC_PAGESIZE.
23479         * sysdeps/unix/sysv/linux/ldsodefs.h
23480         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23481         * sysdeps/generic/ldsodefs.h: ... here.
23483 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23485         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23487         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23488         math/test-snan.c.
23489         * math/test-snan.c: Renamed from
23490         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23491         * math/Makefile (tests): Add test-snan.
23492         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23493         test-powerpc-snan.
23495         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23496         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23497         functions.
23498         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23499         __builtin_nan family of functions.
23500         * math/libm-test.inc (initialize): Initialize qnan_value with
23501         __builtin_nan family of functions.
23502         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23503         Remove variables.
23504         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23505         Remove functions.
23506         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23507         storage class.  Initialize qNaN_var and sNaN_var with
23508         __builtin_nan and __builtin_nans families of functions,
23509         respectively.
23511         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23512         (sqrt_test): Remove duplicate test with qNaN input.
23513         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23514         (round_test, signbit_test, significand_test): Note missing +/-Inf
23515         as well as qNaN tests.
23517         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23518         qNaN_var.  Fix a few strings, too.
23519         * math/libm-test.inc (nan_value): Rename to qnan_value.
23520         * math/gen-libm-test.pl (%beautify): Adjust to that.
23521         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23522         * math/test-misc.c (main): Likewise.
23523         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23524         to __qnan_bytes, and __qnan_union, respectively.
23525         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23526         Likewise.
23527         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23528         and lqnanval, respectively.
23529         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23530         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23531         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23532         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23534         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23535         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23536         doubles.
23538         * math/test-misc.c (main): Fix copy'n'pastos.
23539         * misc/tst-efgcvt.c (special): Likewise.
23541         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23542         Remove declarations.
23544 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23547         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23548         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23549         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23551 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23553         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23554         macro to return vdso values correctly in IFUNC implementations.
23555         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23556         Optimization by using IFUNC.
23558 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23559             Richard Henderson  <rth@redhat.com>
23560             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23562         * Makefile.in (bench): New target.
23563         * NEWS: Mention the benchmark framework.
23564         * Rules (bench): Likewise.
23565         (binaries-bench): Generate binaries for functions to
23566         benchmark.
23567         * benchtests/Makefile: New makefile for benchmark tests.
23568         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23569         programs.
23570         * benchtests/exp-inputs: New input file for EXP function.
23571         * benchtests/pow-inputs: New input file for POW function.
23572         * scripts/bench.pl: New script to generate source files for
23573         benchmark programs.
23575 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23577         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23578         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23579         computations on mantissa.  Use macros for rounding and
23580         division.
23581         (denorm): Likewise.
23582         (__dbl_mp): Likewise.
23583         (add_magnitudes): Likewise.
23584         (sub_magnitudes): Likewise.
23585         (__mul): Likewise.
23586         (__sqr): Likewise.
23587         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23588         powers of two in terms of TWOPOW macro.
23589         (mp_no): Make type of mantissa as MANTISSA_T.
23590         [!RADIXI]: Define RADIXI.
23591         [!TWO52]: Define TWO52.
23592         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23594         * manual/nptl.texi (cindex): Modify threads to pthreads.
23596 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23598         * sysdeps/x86_64/preconfigure: Regenerated.
23600 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23602         [BZ #14155]
23603         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23604         0x1p28 and above.
23605         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23606         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23607         0x1p28 and above.
23608         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23609         * math/libm-test.inc (j0_test): Do not allow one spurious
23610         underflow exception.
23611         (y1_test): Likewise.
23613 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23615         * manual/Makefile (chapters): Add nptl.
23616         * manual/debug.texi (Debugging Support): Add link to Threads
23617         chapter.
23618         * manual/nptl.texi: New file.
23620         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23622 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23624         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23625         for non-NULL pointer before the memory validity test. Pointed
23626         out by Holger Brunck <holger.brunck@keymile.com>.
23628 2013-03-13  Andreas Schwab  <schwab@suse.de>
23630         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23631         instead of .os.
23633 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23635         * timezone/zic.c: Update from tzcode 2013b.
23637 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23639         * manual/install.texi (Configuring and compiling):
23640         Mention i686 and i586.
23641         * INSTALL: Regenerate.
23643 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23645         * sysdeps/init_array/elf-init.c: New file.
23646         * csu/elf-init.c
23647         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23648         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23650         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23651         __gmon_start__ as global, but as static with a .preinit_array pointer.
23652         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23653         * sysdeps/init_array/crti.S: New file, empty except for comments.
23654         * sysdeps/init_array/crtn.S: Likewise.
23656 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23658         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23659         definining bcopy.
23660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23661         Remove Prefer_SSE_for_memop.
23662         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23663         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23664         HAS_PREFER_SSE_FOR_MEMOP.
23665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23666         memset-x86-64.
23667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23668         Remove bzero, memset ifunc support.
23669         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23670         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23671         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23672         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23674 2013-03-11  Andreas Schwab  <schwab@suse.de>
23676         [BZ #15234]
23677         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23678         by SHLIB_COMPAT.
23679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23680         (GLIBC_2.16): Remove pthread_atfork.
23682 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23684         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23685         (ptestcases.h): Likewise.
23687 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23689         * Makeconfig ($(common-objpfx)config.status): Depend on
23690         sysdeps/*/preconfigure{,.in} too.
23692 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23694         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23695         (__free_hook): Use void * instead of __malloc_ptr_t.
23696         (__malloc_hook): Likewise.
23697         (__realloc_hook): Likewise.
23698         (__memalign_hook): Likewise.
23699         (__after_morecore_hook): Likewise.
23700         * malloc/arena.c (save_malloc_hook): Likewise.
23701         (save_free_hook): Likewise.
23702         * malloc/hooks.c (malloc_hook_ini): Likewise.
23703         (realloc_hook_ini): Likewise.
23704         (memalign_hook_ini): Likewise.
23705         * malloc/malloc.c (malloc_hook_ini): Likewise.
23706         (realloc_hook_ini): Likewise.
23707         (memalign_hook_ini): Likewise.
23708         (__free_hook): Likewise.
23709         (__malloc_hook): Likewise.
23710         (__realloc_hook): Likewise.
23711         (__memalign_hook): Likewise.
23712         (__libc_malloc): Likewise.
23713         (__libc_free): Likewise.
23714         (__libc_realloc): Likewise.
23715         (__libc_memalign): Likewise.
23716         (__libc_valloc): Likewise.
23717         (__libc_pvalloc): Likewise.
23718         (__libc_calloc): Likewise.
23719         (__posix_memalign): Likewise.
23720         * malloc/morecore.c (__sbrk): Likewise.
23721         (__default_morecore): Likewise.
23723         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23725         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23726         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23727         __malloc_ptrdiff_t.
23729         * malloc/malloc.h (__malloc_size_t): Remove macro.
23730         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23731         __malloc_size_t.
23732         (old_memalign_hook): Likewise.
23733         (old_realloc_hook): Likewise.
23734         (struct hdr): Likewise.
23735         (flood): Likewise.
23736         (mallochook): Likewise.
23737         (memalignhook): Likewise.
23738         (reallochook): Likewise.
23739         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23740         (tr_old_realloc_hook): Likewise.
23741         (tr_old_memalign_hook): Likewise.
23742         (tr_mallochook): Likewise.
23743         (tr_reallochook): Likewise.
23744         (tr_memalignhook): Likewise.
23746 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23749         default_ldbl_pack and using as default implementation.
23750         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23751         implementation.
23752         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23753         redundant definition.
23754         (ldbl_insert_mantissa): Likewise.
23755         (ldbl_canonicalize): Likewise.
23756         (ldbl_nearbyint): Likewise.
23757         (ldbl_pack): Rename to ldbl_pack_ppc.
23758         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23759         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23760         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23762 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23765         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23766         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23767         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23769         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23770         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23771         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23773 2013-03-07  Andreas Jaeger  <aj@suse.de>
23775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23776         bits/mman-linux.h.
23778 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23780         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23781         Include mpa.h and declare __MPEXP.
23782         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23783         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23784         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23785         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23786         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23787         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23788         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23790         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23791         (__slowpow): Use long double EXPL and LOGL functions to
23792         compute POW.
23793         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23794         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23795         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23797         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23801         intermediate variable to calculate exponent.
23802         (__sqr): Likewise.
23803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23804         Likewise.
23805         (__sqr): Likewise.
23807         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23808         [!NO__SQR]: Define __sqr.
23809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23810         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23811         sysdeps/ieee754/dbl-64/mpa.c.
23812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23814         [BZ #12723]
23815         * posix/Makefile (tests): Add tst-pathconf.
23816         * posix/tst-pathconf.c: New test case.
23817         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23818         _PC_PIPE_BUF.
23819         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23821 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23823         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23825 2013-03-06  Andreas Jaeger  <aj@suse.de>
23827         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23828         definition via __MAP_ANONYMOUS.
23830         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23831         it's not part of Linux headers.
23833         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23834         (MAP_HUGE_MASK): Define.
23836         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23837         Define.
23838         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23839         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23840         Define.
23841         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23842         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23843         Define.
23844         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23846         Define.
23847         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23849         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23850         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23852         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23853         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23854         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23856         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23857         Handle f2fs.
23859         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23860         Handle f2fs and efivarfs.
23862         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23863         f2fs.
23865         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23866         (EFIVARFS_MAGIC): Add.
23867         (F2FS_LINK_MAX): Add.
23869 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23871         * stdio-common/vfprintf.c: Replace __builtin_expect with
23872         __glibc_unlikely.
23874 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23876         [BZ #13550]
23877         * sysdeps/generic/bp-sym.h: Remove file.
23878         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23879         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23880         <bp-sym.h> and <bp-asm.h>.
23881         (__longjmp): Don't use BP_SYM.
23882         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23883         and <bp-asm.h>.
23884         (memcpy): Don't use BP_SYM.
23885         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23886         <bp-sym.h> and <bp-asm.h>.
23887         (memcpy): Don't use BP_SYM.
23888         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23889         <bp-asm.h>.
23890         (memcpy): Don't use BP_SYM.
23891         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23892         <bp-asm.h>.
23893         (memset): Don't use BP_SYM.
23894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23896         (__bzero): Don't use BP_SYM.
23897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23899         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23900         <bp-sym.h> and <bp-asm.h>.
23901         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23902         pointers.
23903         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23904         <bp-sym.h> and <bp-asm.h>.
23905         (memcpy): Don't use BP_SYM.
23906         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23907         <bp-sym.h> and <bp-asm.h>.
23908         (memset): Don't use BP_SYM.
23909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23911         (__bzero): Don't use BP_SYM.
23912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23914         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23915         <bp-sym.h> and <bp-asm.h>.
23916         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23917         pointers.
23918         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23919         <bp-sym.h> and <bp-asm.h>.
23920         (memcpy): Don't use BP_SYM.
23921         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23922         <bp-sym.h> and <bp-asm.h>.
23923         (memset): Don't use BP_SYM.
23924         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23925         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23926         (__bzero): Don't use BP_SYM.
23927         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23928         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23929         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23930         <bp-sym.h> and <bp-asm.h>.
23931         (__memchr): Don't use BP_SYM.
23932         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23933         <bp-sym.h> and <bp-asm.h>.
23934         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23935         pointers.
23936         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23937         <bp-sym.h> and <bp-asm.h>.
23938         (memcpy): Don't use BP_SYM.
23939         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23940         <bp-sym.h> and <bp-asm.h>.
23941         (__mempcpy): Don't use BP_SYM.
23942         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23943         <bp-sym.h> and <bp-asm.h>.
23944         (__memrchr): Don't use BP_SYM.
23945         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23946         <bp-sym.h> and <bp-asm.h>.
23947         (memset): Don't use BP_SYM.
23948         (__bzero): Likewise.
23949         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23950         <bp-sym.h> and <bp-asm.h>.
23951         (__rawmemchr): Don't use BP_SYM.
23952         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23953         <bp-sym.h> and <bp-asm.h>.
23954         (__STRCMP): Don't use BP_SYM.
23955         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23956         <bp-sym.h> and <bp-asm.h>.
23957         (strchr): Don't use BP_SYM.
23958         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23959         <bp-sym.h> and <bp-asm.h>.
23960         (__strchrnul): Don't use BP_SYM.
23961         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23962         <bp-sym.h> and <bp-asm.h>.
23963         (strlen): Don't use BP_SYM.
23964         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23965         <bp-sym.h> and <bp-asm.h>.
23966         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23967         pointers.
23968         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23969         <bp-sym.h> and <bp-asm.h>.
23970         (__strnlen): Don't use BP_SYM.
23971         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23972         <bp-sym.h> and <bp-asm.h>.
23973         (__GI__setjmp): Don't use BP_SYM.
23974         (_setjmp): Likewise.
23975         (__sigsetjmp): Likewise.
23976         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23977         (L(start_addresses)): Don't use BP_SYM.
23978         (_start): Likewise.
23979         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23980         <bp-asm.h>.
23981         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23982         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23983         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23984         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23985         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23986         <bp-asm.h>.
23987         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23988         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23989         about bounded pointers.
23990         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23991         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23992         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23993         <bp-asm.h>.
23994         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23995         about bounded pointers.  Remove GKM FIXME comments.
23996         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23997         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23998         <bp-asm.h>.
23999         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24000         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24001         Remove GKM FIXME comments.
24002         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24003         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24004         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24005         <bp-asm.h>.
24006         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24007         about bounded pointers.  Remove GKM FIXME comment.
24008         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24009         and <bp-asm.h>.
24010         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24011         pointers.
24012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24013         <bp-sym.h> and <bp-asm.h>.
24014         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24016         <bp-sym.h> and <bp-asm.h>.
24017         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24018         comment.
24020 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24022         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24023         call free(NULL).
24025 2013-03-05  David S. Miller  <davem@davemloft.net>
24027         * po/es.po: Update from translation team.
24029 2013-03-05  Andreas Jaeger  <aj@suse.de>
24031         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24032         <bits/mman-linux.h>.
24033         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24034         is fine.
24035         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24036         <bits/mman-linux.h> to end of file.
24037         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24038         is fine.
24039         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24040         <bits/mman-linux.h> to end of file.
24041         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24042         is fine.
24043         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24044         <bits/mman-linux.h> to end of file.
24046         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24047         (MCL_CURRENT, MCL_FUTURE): Define here.
24049 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24051         [BZ #15232]
24052         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24053         attribute_hidden.
24054         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24056 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24058         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24059         fourth parameter needed for rt_sigprocmask syscall.
24060         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24061         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24062         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24063         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24064         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24065         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24067 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24069         [BZ #13550]
24070         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24071         comment about bounded pointers.
24072         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24073         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24075 2013-03-04  Andreas Jaeger  <aj@suse.de>
24077         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24078         common definitions.
24080         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24081         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24082         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24084         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24087 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24089         [BZ #15055]
24090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24091         __ieee754_sqrl instead of __sqrl.
24093 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24095         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24096         * sysdeps/powerpc/fpu_control.h: ... here.
24097         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24098         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24099         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24100         * sysdeps/powerpc/bits/mathinline.h: ... here.
24102 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24104         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24105         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24106         to just [NEED_DL_SYSINFO_DSO].
24107         * elf/dl-support.c: Likewise.
24108         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24109         * elf/rtld.c (dl_main): Likewise.
24110         * elf/setup-vdso.h (setup_vdso): Likewise.
24111         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24112         * sysdeps/unix/sysv/linux/dl-sysdep.c
24113         (_dl_discover_osversion): Likewise.
24115 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24117         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24118         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24120 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24122         * NEWS: Mention libm performance improvements and non-x86 PI
24123         futex support.
24125         * csu/libc-start.c (__pthread_initialize_minimal): Change
24126         function arguments.
24127         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24129 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24131         [BZ #13550]
24132         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24133         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24134         <bp-sym.h> and <bp-asm.h>.
24135         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24136         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24137         and <bp-asm.h>.
24138         (memcpy): Don't use BP_SYM.
24139         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24140         <bp-asm.h>.
24141         (__mpn_add_n): Don't use BP_SYM.
24142         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24143         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24144         and <bp-asm.h>.
24145         (__mpn_addmul_1): Don't use BP_SYM.
24146         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24147         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24148         <bp-sym.h>.
24149         (_setjmp): Don't use BP_SYM.
24150         (__novmx_setjmp): Likewise.
24151         (__GI__setjmp): Likewise.
24152         (__vmx_setjmp): Likewise.
24153         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24154         <bp-sym.h>.
24155         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24156         (__bzero): Don't use BP_SYM.
24157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24159         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24160         <bp-sym.h> and <bp-asm.h>.
24161         (memcpy): Don't use BP_SYM.
24162         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24163         <bp-sym.h> and <bp-asm.h>.
24164         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24165         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24166         <bp-sym.h> and <bp-asm.h>.
24167         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24168         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24169         <bp-asm.h>.
24170         (__mpn_lshift): Don't use BP_SYM.
24171         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24172         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24173         <bp-asm.h>.
24174         (memset): Don't use BP_SYM.
24175         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24176         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24177         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24178         <bp-asm.h>.
24179         (__mpn_mul_1): Don't use BP_SYM.
24180         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24181         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24182         <bp-sym.h> and <bp-asm.h>.
24183         (memcmp): Don't use BP_SYM.
24184         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24185         <bp-sym.h> and <bp-asm.h>.
24186         (memcpy): Don't use BP_SYM.
24187         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24188         <bp-sym.h> and <bp-asm.h>.
24189         (memset): Don't use BP_SYM.
24190         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24191         <bp-sym.h> and <bp-asm.h>.
24192         (strncmp): Don't use BP_SYM.
24193         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24194         <bp-sym.h> and <bp-asm.h>.
24195         (memcpy): Don't use BP_SYM.
24196         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24197         <bp-sym.h> and <bp-asm.h>.
24198         (memset): Don't use BP_SYM.
24199         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24200         <bp-sym.h> and <bp-asm.h>.
24201         (__memchr): Don't use BP_SYM.
24202         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24203         <bp-sym.h> and <bp-asm.h>.
24204         (memcmp): Don't use BP_SYM.
24205         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24206         <bp-sym.h> and <bp-asm.h>.
24207         (memcpy): Don't use BP_SYM.
24208         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24209         <bp-sym.h> and <bp-asm.h>.
24210         (__mempcpy): Don't use BP_SYM.
24211         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24212         <bp-sym.h> and <bp-asm.h>.
24213         (__memrchr): Don't use BP_SYM.
24214         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24215         <bp-sym.h> and <bp-asm.h>.
24216         (memset): Don't use BP_SYM.
24217         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24218         <bp-sym.h> and <bp-asm.h>.
24219         (__rawmemchr): Don't use BP_SYM.
24220         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24221         <bp-sym.h> and <bp-asm.h>.
24222         (__STRCMP): Don't use BP_SYM.
24223         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24224         <bp-sym.h> and <bp-asm.h>.
24225         (strchr): Don't use BP_SYM.
24226         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24227         <bp-sym.h> and <bp-asm.h>.
24228         (__strchrnul): Don't use BP_SYM.
24229         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24230         <bp-sym.h> and <bp-asm.h>.
24231         (strlen): Don't use BP_SYM.
24232         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24233         <bp-sym.h> and <bp-asm.h>.
24234         (strncmp): Don't use BP_SYM.
24235         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24236         <bp-sym.h> and <bp-asm.h>.
24237         (__strnlen): Don't use BP_SYM.
24238         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24239         <bp-asm.h>.
24240         (__mpn_rshift): Don't use BP_SYM.
24241         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24242         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24243         <bp-sym.h> and <bp-asm.h>.
24244         (__sigsetjmp): Don't use BP_SYM.
24245         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24246         (L(start_addresses)): Don't use BP_SYM.
24247         (_start): Likewise.
24248         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24249         <bp-asm.h>.
24250         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24251         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24252         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24253         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24254         <bp-asm.h>.
24255         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24256         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24257         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24258         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24259         <bp-asm.h>.
24260         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24261         comments.
24262         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24263         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24264         <bp-asm.h>.
24265         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24266         FIXME comments.
24267         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24268         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24269         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24270         <bp-asm.h>.
24271         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24272         comment.
24273         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24274         and <bp-asm.h>.
24275         (strncmp): Don't use BP_SYM,
24276         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24277         <bp-asm.h>.
24278         (__mpn_sub_n): Don't use BP_SYM.
24279         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24280         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24281         and <bp-asm.h>.
24282         (__mpn_submul_1): Don't use BP_SYM.
24283         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24285         <bp-sym.h> and <bp-asm.h>.
24286         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24288         <bp-sym.h> and <bp-asm.h>.
24289         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24290         comment.
24292 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24295         Use ZK to minimize writes to Z.
24296         (sub_magnitudes): Simplify code a bit.
24297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24298         Use ZK to minimize writes to Z.
24299         (sub_magnitudes): Simplify code a bit.
24301 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24303         * csu/gmon-start.c: Add special exception to license text.
24305 2013-02-27  Richard Henderson  <rth@redhat.com>
24307         * scripts/config.guess: Update from config.git.
24308         * scripts/config.sub: Likewise.
24310 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24314         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24316         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24318         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24320         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24322 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24324         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24325         [$(build-shared = yes].
24327 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24329         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24330         (__mul): Reduce iterations for calculating mantissa.
24332         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24333         MPTWO.
24334         (__mpranred): Likewise.
24336         [BZ #15160]
24337         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24338         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24340 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24342         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24343         Define __attribute__.
24345 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24347         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24348         unused.
24349         * posix/regex_internal.h (__attribute): Remove.
24350         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24351         (re_string_context_at): Likewise.
24352         (bitset_not): Use __attribute__ and mark function as possibly
24353         unused.
24354         (bitset_merge): Likewise.
24355         (bitset_mask): Likewise.
24356         (re_string_char_size_at): Likewise.
24357         (re_string_wchar_at): Likewise.
24358         (re_string_elem_size_at): Likewise.
24360 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24362         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24363         code.
24364         (cc32): Likewise.
24366         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24367         (__acr): Likewise.
24368         (__cpy): Likewise.
24369         (norm): Likewise.
24370         (denorm): Likewise.
24371         (__dbl_mp): Likewise.
24372         (add_magnitudes): Likewise.
24373         (sub_magnitudes): Likewise.
24374         (__mul): Likewise.
24375         (__inv): Likewise.
24377         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24378         style.
24380         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24381         style.
24383         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24384         code.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24387         up changes with default code.
24388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24389         Likewise.
24391 2013-02-24  Allan McRae  <allan@archlinux.org>
24393         * manual/socket.texi (The Internet Namespace): Order menu items
24394         to match that in the file.
24396         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24397         node listing of the info page menu.
24399 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24401         [BZ #13550]
24402         * sysdeps/i386/bp-asm.h: Remove file.
24403         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24404         (PARMS): Do not use macros from bp-asm.h.
24405         (S1): Likewise.
24406         (S2): Likewise.
24407         (SIZE): Likewise.
24408         (__mpn_add_n): Do not use BP_SYM
24409         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24410         "bp-asm.h".
24411         (PARMS): Do not use macros from bp-asm.h.
24412         (S1): Likewise.
24413         (SIZE): Likewise.
24414         (__mpn_addmul_1): Do not use BP_SYM
24415         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24416         "bp-asm.h".
24417         (PARMS): Do not use macros from bp-asm.h.
24418         (SIGMSK): Likewise.
24419         (_setjmp): Likewise.  Do not use BP_SYM.
24420         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24421         "bp-asm.h".
24422         (PARMS): Do not use macros from bp-asm.h.
24423         (SIGMSK): Likewise.
24424         (setjmp): Likewise.  Do not use BP_SYM.
24425         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24426         "bp-asm.h".
24427         (PARMS): Do not use macros from bp-asm.h.
24428         (__frexp): Do not use BP_SYM.
24429         (frexp): Likewise.
24430         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24431         "bp-asm.h".
24432         (PARMS): Do not use macros from bp-asm.h.
24433         (__frexpf): Do not use BP_SYM.
24434         (frexpf): Likewise.
24435         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24436         "bp-asm.h".
24437         (PARMS): Do not use macros from bp-asm.h.
24438         (__frexpl): Do not use BP_SYM.
24439         (frexpl): Likewise.
24440         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24441         "bp-asm.h".
24442         (PARMS): Do not use macros from bp-asm.h.
24443         (__remquo): Do not use BP_SYM.
24444         (remquo): Likewise.
24445         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24446         "bp-asm.h".
24447         (PARMS): Do not use macros from bp-asm.h.
24448         (__remquof): Do not use BP_SYM.
24449         (remquof): Likewise.
24450         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24451         "bp-asm.h".
24452         (PARMS): Do not use macros from bp-asm.h.
24453         (__remquol): Do not use BP_SYM.
24454         (remquol): Likewise.
24455         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24456         "bp-asm.h".
24457         (PARMS): Do not use macros from bp-asm.h.
24458         (DEST): Likewise.
24459         (SRC): Likewise.
24460         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24461         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24462         "bp-asm.h".
24463         (PARMS): Do not use macros from bp-asm.h.
24464         (strlen): Do not use BP_SYM.
24465         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24466         "bp-asm.h".
24467         (PARMS): Do not use macros from bp-asm.h.
24468         (S1): Likewise.
24469         (S2): Likewise.
24470         (SIZE): Likewise.
24471         (__mpn_add_n): Do not use BP_SYM.
24472         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24473         "bp-asm.h".
24474         (PARMS): Do not use macros from bp-asm.h.
24475         (S1): Likewise.
24476         (SIZE): Likewise.
24477         (__mpn_addmul_1): Do not use BP_SYM.
24478         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24479         weak_alias.
24480         (bzero): Likewise.
24481         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24482         "bp-asm.h".
24483         (PARMS): Do not use macros from bp-asm.h.
24484         (S): Likewise.
24485         (SIZE): Likewise.
24486         (__mpn_lshift): Do not use BP_SYM.
24487         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24488         "bp-asm.h".
24489         (PARMS): Do not use macros from bp-asm.h.
24490         (DEST): Likewise.
24491         (SRC): Likewise.
24492         (LEN): Likewise.
24493         (memcpy): Likewise.  Do not use BP_SYM.
24494         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24495         libc_hidden_def and weak_alias.
24496         (mempcpy): Do not use BP_SYM in weak_alias.
24497         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24498         "bp-asm.h".
24499         (PARMS): Do not use macros from bp-asm.h.
24500         (DEST): Likewise.
24501         (LEN): Likewise.
24502         [!BZERO_P] (CHR): Likewise.
24503         (memset): Likewise.  Do not use BP_SYM.
24504         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24505         "bp-asm.h".
24506         (PARMS): Do not use macros from bp-asm.h.
24507         (S1): Likewise.
24508         (SIZE): Likewise.
24509         (__mpn_mul_1): Do not use BP_SYM.
24510         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24511         "bp-asm.h".
24512         (PARMS): Do not use macros from bp-asm.h.
24513         (S): Likewise.
24514         (SIZE): Likewise.
24515         (__mpn_rshift): Do not use BP_SYM.
24516         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24517         "bp-asm.h".
24518         (PARMS): Do not use macros from bp-asm.h.
24519         (STR): Likewise.
24520         (CHR): Likewise.
24521         (strchr): Likewise.  Do not use BP_SYM.
24522         (index): Do not use BP_SYM in weak_alias.
24523         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24524         "bp-asm.h".
24525         (PARMS): Do not use macros from bp-asm.h.
24526         (DEST): Likewise.
24527         (SRC): Likewise.
24528         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24529         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24530         "bp-asm.h".
24531         (PARMS): Do not use macros from bp-asm.h.
24532         (strlen): Do not use BP_SYM.
24533         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24534         "bp-asm.h".
24535         (PARMS): Do not use macros from bp-asm.h.
24536         (S1): Likewise.
24537         (S2): Likewise.
24538         (SIZE): Likewise.
24539         (__mpn_sub_n): Do not use BP_SYM.
24540         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24541         "bp-asm.h".
24542         (PARMS): Do not use macros from bp-asm.h.
24543         (S1): Likewise.
24544         (SIZE): Likewise.
24545         (__mpn_submul_1): Do not use BP_SYM.
24546         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24547         "bp-asm.h".
24548         (PARMS): Do not use macros from bp-asm.h.
24549         (S1): Likewise.
24550         (S2): Likewise.
24551         (SIZE): Likewise.
24552         (__mpn_add_n): Do not use BP_SYM.
24553         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24554         weak_alias.
24555         (bzero): Likewise.
24556         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24557         "bp-asm.h".
24558         (PARMS): Do not use macros from bp-asm.h.
24559         (BLK2): Likewise.
24560         (LEN): Likewise.
24561         (memcmp): Do not use BP_SYM.
24562         (bcmp): Do not use BP_SYM in weak_alias.
24563         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24564         "bp-asm.h".
24565         (PARMS): Do not use macros from bp-asm.h.
24566         (DEST): Likewise.
24567         (SRC): Likewise.
24568         (LEN): Likewise.
24569         (memcpy): Likewise.  Do not use BP_SYM.
24570         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24571         "bp-asm.h".
24572         (PARMS): Do not use macros from bp-asm.h.
24573         (DEST): Likewise.
24574         (SRC): Likewise.
24575         (LEN): Likewise.
24576         (memmove): Likewise.  Do not use BP_SYM.
24577         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24578         "bp-asm.h".
24579         (PARMS): Do not use macros from bp-asm.h.
24580         (DEST): Likewise.
24581         (SRC): Likewise.
24582         (LEN): Likewise.
24583         (__mempcpy): Likewise.  Do not use BP_SYM.
24584         (mempcpy): Do not use BP_SYM in weak_alias.
24585         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24586         "bp-asm.h".
24587         (PARMS): Do not use macros from bp-asm.h.
24588         (DEST): Likewise.
24589         (LEN): Likewise.
24590         [!BZERO_P] (CHR): Likewise.
24591         (memset): Likewise.  Do not use BP_SYM.
24592         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24593         "bp-asm.h".
24594         (PARMS): Do not use macros from bp-asm.h.
24595         (STR2): Likewise.
24596         (strcmp): Do not use BP_SYM.
24597         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24598         "bp-asm.h".
24599         (PARMS): Do not use macros from bp-asm.h.
24600         (STR): Likewise.
24601         (DELIM): Likewise.
24602         [USE_AS_STRTOK_R] (SAVE): Likewise.
24603         (FUNCTION): Likewise.  Do not use BP_SYM.
24604         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24605         aliases.
24606         (strtok_r): Likewise.
24607         (__GI___strtok_r): Likewise.
24608         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24609         (PARMS): Do not use macros from bp-asm.h.
24610         (S): Likewise.
24611         (SIZE): Likewise.
24612         (__mpn_lshift): Do not use BP_SYM.
24613         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24614         (PARMS): Do not use macros from bp-asm.h.
24615         (STR): Likewise.
24616         (CHR): Likewise.
24617         (__memchr): Do not use BP_SYM.
24618         (memchr): Do not use BP_SYM in weak_alias.
24619         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24620         (PARMS): Do not use macros from bp-asm.h.
24621         (BLK2): Likewise.
24622         (LEN): Likewise.
24623         (memcmp): Do not use BP_SYM.
24624         (bcmp): Do not use BP_SYM in weak_alias.
24625         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24626         (PARMS): Do not use macros from bp-asm.h.
24627         (S1): Likewise.
24628         (SIZE): Likewise.
24629         (__mpn_mul_1): Do not use BP_SYM.
24630         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24631         "bp-asm.h".
24632         (PARMS): Do not use macros from bp-asm.h.
24633         (STR): Likewise.
24634         (CHR): Likewise.
24635         (__rawmemchr): Do not use BP_SYM.
24636         (rawmemchr): Do not use BP_SYM in weak_alias.
24637         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24638         (PARMS): Do not use macros from bp-asm.h.
24639         (S): Likewise.
24640         (SIZE): Likewise.
24641         (__mpn_rshift): Do not use BP_SYM.
24642         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24643         (PARMS): Do not use macros from bp-asm.h.
24644         (SIGMSK): Likewise.
24645         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24646         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24647         (_start): Do not use BP_SYM.
24648         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24649         (PARMS): Do not use macros from bp-asm.h.
24650         (DEST): Likewise.
24651         (SRC): Likewise.
24652         (__stpcpy): Likewise.  Do not use BP_SYM.
24653         (stpcpy): Do not use BP_SYM in weak_alias.
24654         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24655         "bp-asm.h".
24656         (PARMS): Do not use macros from bp-asm.h.
24657         (DEST): Likewise.
24658         (SRC): Likewise.
24659         (LEN): Likewise.
24660         (__stpncpy): Likewise.  Do not use BP_SYM.
24661         (stpncpy): Do not use BP_SYM in weak_alias.
24662         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24663         (PARMS): Do not use macros from bp-asm.h.
24664         (STR): Likewise.
24665         (CHR): Likewise.
24666         (strchr): Likewise.  Do not use BP_SYM.
24667         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24668         "bp-asm.h".
24669         (PARMS): Do not use macros from bp-asm.h.
24670         (STR): Likewise.
24671         (CHR): Likewise.
24672         (__strchrnul): Likewise.  Do not use BP_SYM.
24673         (strchrnul): Do not use BP_SYM in weak_alias.
24674         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24675         "bp-asm.h".
24676         (PARMS): Do not use macros from bp-asm.h.
24677         (STOP): Likewise.
24678         (strcspn): Do not use BP_SYM.
24679         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24680         "bp-asm.h".
24681         (PARMS): Do not use macros from bp-asm.h.
24682         (STR): Likewise.
24683         (STOP): Likewise.
24684         (strpbrk): Likewise.  Do not use BP_SYM.
24685         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24686         "bp-asm.h".
24687         (PARMS): Do not use macros from bp-asm.h.
24688         (STR): Likewise.
24689         (CHR): Likewise.
24690         (strrchr): Likewise.  Do not use BP_SYM.
24691         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24692         (PARMS): Do not use macros from bp-asm.h.
24693         (SKIP): Likewise.
24694         (strspn): Do not use BP_SYM.
24695         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24696         (PARMS): Do not use macros from bp-asm.h.
24697         (STR): Likewise.
24698         (DELIM): Likewise.
24699         (SAVE): Likewise.
24700         (FUNCTION): Likewise.  Do not use BP_SYM.
24701         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24702         aliases.
24703         (strtok_r): Likewise.
24704         (__GI___strtok_r): Likewise.
24705         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24706         (PARMS): Do not use macros from bp-asm.h.
24707         (S1): Likewise.
24708         (S2): Likewise.
24709         (SIZE): Likewise.
24710         (__mpn_sub_n): Do not use BP_SYM.
24711         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24712         "bp-asm.h".
24713         (PARMS): Do not use macros from bp-asm.h.
24714         (S1): Likewise.
24715         (SIZE): Likewise.
24716         (__mpn_submul_1): Do not use BP_SYM.
24717         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24718         <bp-sym.h>.
24719         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24720         and <bp-asm.h>.
24721         (PARMS): Do not use macros from bp-asm.h.
24722         (FLAGS): Likewise.
24723         (PTID): Likewise.
24724         (TLS): Likewise.
24725         (CTID): Likewise.
24726         (__clone): Do not use BP_SYM.
24727         (clone): Do not use BP_SYM in weak_alias.
24728         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24729         and <bp-asm.h>.
24730         (PARMS): Do not use macros from bp-asm.h.
24731         (LEN): Likewise.
24732         (__mmap64): Do not use BP_SYM.
24733         (mmap64): Do not use BP_SYM in weak_alias.
24734         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24735         <bp-sym.h> and <bp-asm.h>.
24736         (PARMS): Do not use macros from bp-asm.h.
24737         (__posix_fadvise64_l64): Do not use BP_SYM.
24738         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24739         (PARMS): Do not use macros from bp-asm.h.
24740         (NSOPS): Likewise.
24741         (semtimedop): Do not use BP_SYM.
24742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24743         and <bp-asm.h>.
24745 2013-02-21  Allan McRae  <allan@archlinux.org>
24747         * manual/message.texi (Charset conversion in gettext):
24748         Move @end statement to beginning of line.
24750 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24753         static.
24754         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24755         Likewise.
24757         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24758         (denorm): Likewise.
24759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24762 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24764         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24765         tail-call to the resolved function if pltexit isn't needed.
24767 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24770         or Y being zero as being unlikely.
24771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24772         Likewise.
24774 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24776         * manual/nss.texi (System Databases and Name Service Switch):
24777         Remove frobnicate @pxref.
24779 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24781         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24782         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24784 2013-02-20  Petr Machata  <pmachata@redhat.com>
24786         * elf/elf.h (R_ARM_TARGET1): New macro.
24787         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24788         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24789         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24790         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24791         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24792         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24793         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24794         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24795         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24796         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24797         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24798         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24799         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24800         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24801         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24802         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24803         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24804         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24805         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24806         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24807         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24808         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24809         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24810         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24811         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24812         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24813         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24814         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24815         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24816         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24817         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24818         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24819         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24820         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24821         (R_ARM_THM_GOT_BREL12): Likewise.
24822         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24823         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24824         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24825         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24826         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24827         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24828         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24829         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24830         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24832 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24834         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24835         __attribute_used__ to __attribute__ ((unused)).
24837 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24839         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24840         powerpc mpa.c.
24841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24842         comment formatting.
24843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24845 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24847         [BZ #13550]
24848         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24849         Remove macro.
24850         (ENTER): Remove both macro definitions.
24851         (LEAVE): Likewise.
24852         (CHECK_BOUNDS_LOW): Likewise.
24853         (CHECK_BOUNDS_HIGH): Likewise.
24854         (CHECK_BOUNDS_BOTH): Likewise.
24855         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24856         (RETURN_BOUNDED_POINTER): Likewise.
24857         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24858         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24859         (POP_ERRNO_LOCATION_RETURN): Likewise.
24860         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24861         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24862         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24863         macros.
24864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24865         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24866         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24867         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24868         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24869         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24870         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24871         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24872         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24873         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24874         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24875         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24876         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24877         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24878         removed macros.
24879         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24880         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24881         macros.
24882         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24883         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24884         * sysdeps/i386/i586/memset.S (memset): Likewise.
24885         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24886         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24887         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24888         macros.
24889         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24890         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24891         Change uses of L(2) to L(out).
24892         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24893         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24894         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24895         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24896         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24897         removed macros.
24898         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24899         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24900         macros.
24901         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24902         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24903         (RETURN): Do not use macro LEAVE.
24904         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24905         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24906         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24907         * sysdeps/i386/i686/memset.S (memset): Likewise.
24908         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24909         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24910         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24911         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24912         Likewise.
24913         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24914         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24915         L(1_2) and L(1_3) into L(1).
24916         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24917         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24918         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24919         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24920         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24921         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24922         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24923         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24924         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24925         macros.
24926         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24927         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24928         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24929         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24930         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24931         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24932         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24933         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24934         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24935         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24936         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24937         * sysdeps/i386/strspn.S (strspn): Likewise.
24938         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24939         conditional code.
24940         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24941         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24942         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24943         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24944         L(1_3) into L(1_1).
24945         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24946         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24947         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24948         macros.
24949         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24951 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24953         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24954         macro.
24956 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24958         * math/atest-exp.c (exp_mpn): Remove ROUND.
24959         * math/atest-exp2.c (exp_mpn): Likewise.
24960         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24962         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24963         * stdlib/tst-tls-atexit-lib.c: Likewise.
24964         * stdlib/tst-tls-atexit.c: Likewise.
24966 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24968         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24969         and __attribute_alloc_size__.
24971 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24973         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24974         __attribute_alloc_size__.
24975         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24976         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24978 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24980         * include/programs/xmalloc.h: New file.
24981         * catgets/gencat.c: Include it.
24982         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24983         * elf/pldd.c: Likewise.
24984         * iconv/iconv_charmap.c: Likewise.
24985         * iconv/iconvconfig.c: Likewise.
24986         * iconv/strtab.c: Likewise.
24987         * locale/programs/locale.c: Likewise.
24988         * locale/programs/localedef.h: Likewise.
24989         * locale/programs/simple-hash.c: Likewise.
24990         * nscd/nscd.h: Likewise.
24991         * nss/makedb.c: Likewise.
24992         * sysdeps/generic/ldconfig.h: Likewise.
24994 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24996         * Versions.def: Add GLIBC_2.18.
24997         * include/link.h (struct link_map): New member l_tls_dtor_count.
24998         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24999         (__call_tls_dtors): Likewise.
25000         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25001         __cxa_thread_atexit_impl.
25002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25003         Likewise.
25004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25007         Likewise.
25008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25009         Likewise.
25010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25012         Likewise.
25013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25014         Likewise.
25015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25017         Likewise.
25018         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25019         (tests): Add test case tst-tls-atexit.
25020         (modules-names): Add shared library for tst-tls-atexit.
25021         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25022         (GLIBC_PRIVATE): Add __call_tls_dtors.
25023         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25024         for libstdc++.
25025         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25026         * stdlib/tst-tls-atexit.c: New test case.
25027         * stdlib/tst-tls-atexit-lib.c: New test case.
25029         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25031         * elf/Versions (ld): Add _dl_find_dso_for_object.
25032         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25033         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25034         (dl_open_worker): Use _dl_find_dso_for_object.
25035         * elf/dl-sym.c (do_sym): Likewise.
25036         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25038 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25040         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25041         Syntactic changes only.
25042         (_dl_runtime_profile): Do a tail-call to the resolved function.
25044 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25046         [BZ #13550]
25047         * sysdeps/x86_64/bp-asm.h: Remove file.
25048         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25049         <bp-sym.h> and <bp-asm.h>.
25050         (__clone): Do not use BP_SYM.
25051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25052         <bp-sym.h> and <bp-asm.h>.
25053         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25054         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25055         "bp-asm.h".
25056         (_setjmp): Do not use BP_SYM.
25057         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25058         "bp-asm.h".
25059         (setjmp): Do not use BP_SYM.
25060         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25061         libc_hidden_def.
25062         (mempcpy): Do not use BP_SYM in weak_alias.
25063         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25064         "bp-asm.h".
25065         (strchr): Do not use BP_SYM.
25066         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25067         "bp-asm.h".
25068         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25069         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25070         (_start): Do not use BP_SYM.
25071         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25072         "bp-asm.h".
25073         (strcat): Do not use BP_SYM.
25074         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25075         "bp-asm.h".
25076         (STRCMP): Do not use BP_SYM.
25077         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25078         "bp-asm.h".
25079         (STRCPY): Do not use BP_SYM.
25080         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25081         "bp-asm.h".
25082         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25083         "bp-asm.h".
25084         (FUNCTION): Do not use BP_SYM.
25085         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25086         weak_alias.
25087         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25089 2013-02-17  Andreas Jaeger  <aj@suse.de>
25091         * time/Versions: Sort entries.
25092         * string/Versions: Likewise.
25093         * resolv/Versions: Likewise.
25094         * posix/Versions: Likewise.
25095         * iconv/Versions: Likewise.
25096         * elf/Versions: Likewise.
25097         * wcsmbs/Versions: Likewise.
25099 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25101         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25102         loop termination condition.
25104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25105         variable to calculate EZ.
25106         (__sqr): Likewise.
25108         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25109         the lower precision input.
25111 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25113         [BZ #13550]
25114         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25115         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25116         (run-via-rtld-prefix): Do not handle %-bp tests.
25117         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25118         (all-object-suffixes): Remove .ob.
25119         (bppfx): Remove variable.
25120         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25121         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25122         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25123         [$(build-bounded) = yes] (libtype.ob): Likewise.
25124         * Makerules (elide-routines.ob): Remove variable.
25125         (do-tests-clean): Do not handle *-bp.out.
25126         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25127         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25128         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25129         (tests): Do not include $(tests-bp.out).
25130         (xtests): Do not include $(xtests-bp.out).
25131         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25132         [$(build-bounded) = yes] ($(addprefix
25133         $(objpfx),$(binaries-bounded))): Remove rule.
25134         ($(objpfx)%-bp.out): Remove rule.
25135         * config.make.in (build-bounded): Remove variable.
25136         * crypt/Makefile [$(build-bounded) = yes]
25137         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25138         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25139         append to variable.
25140         [$(build-bounded) = yes] (install-lib): Likewise.
25141         [$(build-bounded) = yes] (generated): Likewise.
25142         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25143         Remove rule.
25144         * intl/Makefile [$(build-bounded) = yes]
25145         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25146         * math/Makefile [$(build-bounded) = yes]
25147         ($(tests:%=$(objpfx)%-bp): Likewise.
25148         * misc/Makefile [$(build-bounded) = yes]
25149         ($(objpfx)tst-tsearch-bp): Likewise.
25150         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25151         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25152         Remove dependency.
25153         * string/Makefile (o-objects.ob): Remove variable.
25154         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25155         (CFLAGS-.ob): Remove variable.
25156         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25157         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25158         both definitions of variable.
25159         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25160         (ASFLAGS-.ob): Remove variable.
25162 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25164         [BZ #13550]
25165         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25166         Remove __BOUNDED_POINTERS__ from condition.
25167         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25168         * string/bits/string2.h [!__NO_STRING_INLINES &&
25169         !__BOUNDED_POINTERS__]: Likewise.
25170         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25171         Likewise.
25172         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25173         Remove conditional code.
25174         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25175         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25176         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25177         condition.
25179         [BZ #13550]
25180         * csu/libc-start.c: Do not include <bp-sym.h>.
25181         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25182         * elf/dl-open.c: Do not include <bp-sym.h>.
25183         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25184         * math/fegetenv.c: Do not include <bp-sym.h>.
25185         (fegetenv): Do not use BP_SYM in versioned symbols.
25186         * nptl/sysdeps/pthread/bits/libc-lockP.h
25187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25188         <bp-sym.h>.
25189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25190         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25192         (__pthread_mutex_destroy): Likewise.
25193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25194         (__pthread_mutex_lock): Likewise.
25195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25196         (__pthread_mutex_trylock): Likewise.
25197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25198         (__pthread_mutex_unlock): Likewise.
25199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25200         (__pthread_mutexattr_init): Likewise.
25201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25202         (__pthread_mutexattr_destroy): Likewise.
25203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25204         (__pthread_mutexattr_settype): Likewise.
25205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25206         (__pthread_rwlock_init): Likewise.
25207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25208         (__pthread_rwlock_destroy): Likewise.
25209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25210         (__pthread_rwlock_rdlock): Likewise.
25211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25212         (__pthread_rwlock_tryrdlock): Likewise.
25213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25214         (__pthread_rwlock_wrlock): Likewise.
25215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25216         (__pthread_rwlock_trywrlock): Likewise.
25217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25218         (__pthread_rwlock_unlock): Likewise.
25219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25220         (__pthread_key_create): Likewise.
25221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25222         (__pthread_setspecific): Likewise.
25223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25224         (__pthread_getspecific): Likewise.
25225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25226         Likewise.
25227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25228         (_pthread_cleanup_push_defer): Likewise.
25229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25230         (_pthread_cleanup_pop_restore): Likewise.
25231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25232         (pthread_setcancelstate): Likewise.
25233         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25234         <bp-sym.h>.
25235         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25236         (memchr): Do not use BP_SYM in weak_alias.
25237         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25238         (fegetenv): Do not use BP_SYM in versioned symbols.
25239         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25240         (fesetenv): Do not use BP_SYM in versioned symbols.
25241         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25242         (feupdateenv): Do not use BP_SYM in versioned symbols.
25243         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25244         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25245         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25246         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25247         (open64): Do not use BP_SYM in weak_alias.
25248         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25249         (fegetenv): Do not use BP_SYM in versioned symbols.
25250         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25251         (fesetenv): Do not use BP_SYM in versioned symbols.
25252         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25253         (feupdateenv): Do not use BP_SYM in versioned symbols.
25254         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25255         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25256         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25257         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25258         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25259         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25260         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25261         <bp-sym.h>.
25262         (__libc_start_main): Do not use BP_SYM.
25264 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25267         redundant return line.
25268         (norm): Likewise.
25269         (denorm): Likewise.
25270         (dbl_mp): Likewise.
25271         (sub_magnitudes): Likewise.
25272         (__add): Likewise.
25273         (__sub): Likewise.
25274         (__mul): Likewise.
25275         (__inv): Likewise.
25276         (__dvd): Likewise.
25277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25278         (norm): Likewise.
25279         (denorm): Likewise.
25280         (dbl_mp): Likewise.
25281         (sub_magnitudes): Likewise.
25282         (__add): Likewise.
25283         (__sub): Likewise.
25284         (__mul): Likewise.
25285         (__inv): Likewise.
25286         (__dvd): Likewise.
25288         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25289         instead of __mul.
25290         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25291         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25292         (cc32): Likewise.
25294         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25295         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25297         of __mul for squares.
25298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25299         function
25300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25301         Likewise.
25302         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25303         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25305 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25307         [BZ #13550]
25308         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25309         code.
25310         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25311         prototype or function definition.  Rename ubp_* variables and
25312         parameters.  Remove argv definitions conditional on
25313         [__BOUNDED_POINTERS__].
25314         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25315         * elf/dl-runtime.c (_dl_fixup): Likewise.
25316         * include/set-hooks.h (RUN_HOOK): Likewise.
25317         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25318         definition.
25319         * string/strcpy.c (strcpy): Do not use __unbounded.
25320         * sysdeps/generic/frame.h (struct layout): Likewise.
25321         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25322         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25323         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25324         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25325         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25326         (__backtrace): Likewise.
25327         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25328         use __ptrvalue.
25329         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25330         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25331         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25332         Likewise.
25333         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25334         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25335         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25336         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25337         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25338         Do not use __unbounded.
25339         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25340         Rename __unboundedrlimits parameter to rlimits in prototype.
25341         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25342         Do not use __unbounded.
25343         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25344         not use __ptrvalue.
25345         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25346         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25347         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25348         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25349         __ptrvalue or __unbounded.
25350         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25351         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25352         use __unbounded.
25353         (__new_msgctl): Do not use __ptrvalue.
25354         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25355         __unbounded.
25356         (__libc_msgrcv): Do not use __ptrvalue.
25357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25358         startup_info): Do not use __unbounded.
25359         (__libc_start_main): Likewise.  Rename ubp_* variables and
25360         parameters.  Remove argv definitions conditional on
25361         [__BOUNDED_POINTERS__].
25362         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25363         __ptrvalue.
25364         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25365         use __unbounded.
25366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25367         or __ptrvalue.
25368         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25369         use __unbounded.
25370         (__new_shmctl): Do not use __ptrvalue.
25371         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25372         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25373         Likewise.
25374         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25376         (__libc_sigaction): Likewise.
25377         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25378         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25379         Likewise.
25380         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25382 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25384         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25386         * string/mempcpy.c: Implement by calling memcpy.
25388 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25392         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25393         evaluation.
25395         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25396         values in the mantissa.
25398         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25399         minimize writes to Z.
25400         (sub_magnitudes): Simplify code a bit.
25402 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25404         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25405         from the message.  The linker prefixes all warnings with that already.
25407 2013-02-12  Andreas Schwab  <schwab@suse.de>
25409         [BZ #15078]
25410         * posix/regexec.c (extend_buffers): Add parameter min_len.
25411         (check_matching): Pass minimum needed length.
25412         (clean_state_log_if_needed): Likewise.
25413         (get_subexp): Likewise.
25414         * posix/Makefile (tests): Add bug-regex34.
25415         (bug-regex34-ENV): Define.
25416         * posix/bug-regex34.c: New file.
25418         [BZ #11561]
25419         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25420         elements compare against the byte sequence of it, not its name.
25421         * posix/Makefile (tests): Add bug-regex35.
25422         (bug-regex35-ENV): Define.
25423         * posix/bug-regex35.c: New file.
25425 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25427         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25428         comment.
25429         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25430         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25431         (CHECK_EOL): Add undef.
25433 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25435         * bits/stdlib-bsearch.h: New file.
25436         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25437         * stdlib/stdlib.h: Likewise.
25439 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25441         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25442         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25443         declaration.
25444         * manual/search.texi (Array Search Function): Add missing const in
25445         lfind prototype.
25446         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25447         declaration to use rlim_t.
25448         (Basic Scheduling Functions): Remove erroneous const from
25449         sched_getparam prototype.  Remove erroneous * from
25450         sched_get_priority_max and sched_get_priority_min prototypes.
25451         (Resource Usage): Fix summary @comment on vtimes to refer to
25452         sys/vtimes.h rather than vtimes.h.
25453         Add missing *s in vtimes prototype.
25454         (Limits on Resources): Fix ulimit prototype to return long int.
25455         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25456         prototypes to use long int rather than double.
25457         (BSD Random): Fix initstate and setstate to use char *, not void *.
25458         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25459         prototype to make second argument 'struct aiocb64 *const[]'.
25460         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25461         (Status of AIO Operations): Remove erroneous const in aio_return and
25462         aio_return64 prototypes.
25463         (Synchronizing I/O): Fix sync prototype to return void.
25464         * manual/startup.texi (Suboptions): Remove an erroneous const in
25465         getsubopt prototype.
25466         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25467         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25468         use size_t rather than int.
25469         (Scanning All Users): Likewise for getpwent_r.
25470         (Setting Groups): Add missing const to setgroups prototype.
25471         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25472         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25473         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25474         'const void *' rather than 'const char *'.
25475         (Host Address Functions): Likewise for inet_ntop.
25476         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25477         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25478         ssize_t for return value.
25479         (Sending Data): Likewise for send, sendto, sendmsg.
25480         (Socket Option Functions): Add a missing const in setsockopt prototype.
25481         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25482         use wchar_t for the argument.
25483         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25484         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25485         take no arguments.
25486         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25487         double/float/long double for second argument.
25488         Fix return types of significand, significandf, significandl.
25489         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25490         argument in fchmod prototype.
25491         (File Owner): Use uid_t and gid_t in fchown prototype.
25492         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25493         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25494         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25495         use 'const struct dirent **' as argument types to CMP function pointer
25496         argument.
25497         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25498         (File Times): Fix summary magic @comment for struct utimbuf and utime
25499         to refer to utime.h, not time.h.
25500         * manual/string.texi (Argz Functions): Add missing const in
25501         argz_extract and argz_next prototypes.
25502         (Finding Tokens in a String): Likewise for basename.
25503         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25504         (Copying and Concatenation): Fix typo in wmemmove prototype.
25505         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25506         (Signal Stack): Remove erroneous const in sigstack prototype.
25507         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25508         prototype.
25509         (Simple Calendar Time): Likewise for stime.
25510         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25511         prototype.
25512         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25513         say sys/sysctl.h instead.
25514         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25515         and vsyslog prototypes.
25517 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25519         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25520         Remove.
25522 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25524         * misc/sys/mman.h: Fix typo in mremap comment.
25526 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25528         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25529         the '\0' terminator.
25531 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25533         [BZ #13550]
25534         * debug/segfault.c: Don't include <bp-checks.h>.
25535         * sysdeps/generic/bp-checks.h: Remove file.
25536         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25537         (__GETDENTS): Don't use CHECK_N.
25538         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25539         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25540         (__getgroups): Don't use CHECK_N.
25541         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25542         (setgroups): Don't use CHECK_N.
25543         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25544         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25545         (__libc_msgrcv): Don't use CHECK_N.
25546         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25547         (__libc_msgsnd): Don't use CHECK_N.
25548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25549         <bp-checks.h>.
25550         (__libc_pread): Don't use CHECK_N.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25552         include <bp-checks.h>.
25553         (__libc_pread64): Don't use CHECK_N.
25554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25555         include <bp-checks.h>.
25556         (__libc_pwrite): Don't use CHECK_N.
25557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25558         include <bp-checks.h>.
25559         (__libc_pwrite64): Don't use CHECK_N.
25560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25561         <bp-checks.h>.
25562         (__libc_pread): Don't use CHECK_N.
25563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25564         include <bp-checks.h>.
25565         (__libc_pread64): Don't use CHECK_N.
25566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25567         include <bp-checks.h>.
25568         (__libc_pwrite): Don't use CHECK_N.
25569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25570         include <bp-checks.h>.
25571         (__libc_pwrite64): Don't use CHECK_N.
25572         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25573         (do_pread): Don't use CHECK_N.
25574         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25575         (do_pread64): Don't use CHECK_N.
25576         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25577         (do_pwrite): Don't use CHECK_N.
25578         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25579         (do_pwrite64): Don't use CHECK_N.
25580         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25581         (__libc_readv): Don't use CHECK_N.
25582         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25583         (semop): Don't use CHECK_N.
25584         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25585         <bp-checks.h>.
25586         (semtimedop): Don't use CHECK_N.
25587         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25588         (__libc_pread): Don't use CHECK_N.
25589         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25590         <bp-checks.h>.
25591         (__libc_pread64): Don't use CHECK_N.
25592         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25593         <bp-checks.h>.
25594         (__libc_pwrite): Don't use CHECK_N.
25595         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25596         <bp-checks.h>.
25597         (__libc_pwrite64): Don't use CHECK_N.
25598         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25599         <bp-checks.h>.
25600         (__libc_msgrcv): Don't use CHECK_N.
25601         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25602         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25603         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25604         (__libc_writev): Don't use CHECK_N.
25606 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25608         * string/strcpy.c: Removed unused variable.
25610         * Makeconfig (+sysdep-includes): Define with := rather than =.
25611         Use an existing include/ subdir of each sysdeps dir before it.
25613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25615         * nscd/connection.c (register_traced_file): Comment function.
25616         [HAVE_INOTIFY] (union __inev): Define.
25617         [HAVE_INOTIFY] (inotify_check_files): New function.
25618         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25619         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25620         clear_db_cache.
25621         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25623 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25625         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25626         loaded if not already and that a failure is permanent.
25628 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25630         [BZ #15006]
25631         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25632         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25634 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25636         [BZ #13550]
25637         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25638         (CHECK_1_NULL_OK): Likewise.
25639         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25640         (__fxstat): Do not use CHECK_1.
25641         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25642         <bp-checks.h>.
25643         (___fxstat64): Do not use CHECK_1.
25644         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25645         <bp-checks.h>.
25646         (__fxstatat): Do not use CHECK_1.
25647         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25648         <bp-checks.h>.
25649         (__fxstatat64): Do not use CHECK_1.
25650         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25651         <bp-checks.h>.
25652         (__fxstat): Do not use CHECK_1.
25653         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25654         <bp-checks.h>.
25655         (__fxstatat): Do not use CHECK_1.
25656         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25657         <bp-checks.h>.
25658         (__getresgid): Do not use CHECK_1.
25659         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25660         <bp-checks.h>.
25661         (__getresuid): Do not use CHECK_1.
25662         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25663         <bp-checks.h>.
25664         (__lxstat): Do not use CHECK_1.
25665         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25666         <bp-checks.h>.
25667         (__old_msgctl): Do not use CHECK_1.
25668         (__new_msgctl): Likewise.
25669         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25670         <bp-checks.h>.
25671         (__new_setrlimit): Do not use CHECK_1.
25672         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25673         <bp-checks.h>.
25674         (__old_shmctl): Do not use CHECK_1.
25675         (__new_shmctl): Likewise.
25676         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25677         <bp-checks.h>.
25678         (__xstat): Do not use CHECK_1.
25679         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25680         (__lxstat): Do not use CHECK_1.
25681         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25682         <bp-checks.h>.
25683         (___lxstat64): Do not use CHECK_1.
25684         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25685         (__old_msgctl): Do not use CHECK_1.
25686         (__new_msgctl): Likewise.
25687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25688         <bp-checks.h>.
25689         (__gettimeofday): Do not use CHECK_1.
25690         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25691         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25692         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25693         <bp-checks.h>.
25694         (__gettimeofday): Do not use CHECK_1.
25695         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25696         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25697         (__new_shmctl): Do not use CHECK_1.
25698         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25699         <bp-checks.h>.
25700         (do_sigtimedwait): Do not use CHECK_1.
25701         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25702         <bp-checks.h>.
25703         (do_sigwaitinfo): Do not use CHECK_1.
25704         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25705         <bp-checks.h>.
25706         (msgctl): Do not use CHECK_1.
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25708         <bp-checks.h>.
25709         (shmctl): Do not use CHECK_1.
25710         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25711         (ustat): Do not use CHECK_1.
25712         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25713         <bp-checks.h>.
25714         (__fxstat): Do not use CHECK_1.
25715         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25716         <bp-checks.h>.
25717         (__fxstatat): Do not use CHECK_1.
25718         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25719         <bp-checks.h>.
25720         (__lxstat): Do not use CHECK_1.
25721         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25722         <bp-checks.h>.
25723         (__xstat): Do not use CHECK_1.
25724         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25725         (__xstat): Do not use CHECK_1.
25726         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25727         (___xstat64): Do not use CHECK_1.
25729         [BZ #13550]
25730         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25731         definitions.
25732         (CHECK_BOUNDS_HIGH): Likewise.
25733         * string/strcpy.c: Do not include <bp-checks.h>.
25734         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25736 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25738         * nscd/nscd-client.h (__nscd_drop_map_ref):
25739         Add __attribute__ ((unused)).
25740         * nis/nss-nisplus.h (niserr2nss): Likewise.
25742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25743         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25745         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25746         Remove inline keyword.
25747         * include/rounding-mode.h (round_away): Likewise.
25748         * libio/wfileops.c (adjust_wide_data): Likewise.
25749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25750         (__m128i_strloadu_tolower): Likewise.
25751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25752         (__m128i_strloadu_tolower): Likewise.
25753         * time/mktime.c (ydhms_diff): Likewise.
25754         * locale/elem-hash.h (elem_hash): Likewise.
25755         * locale/setlocale.c (setdata): Likewise.
25756         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25757         (re_string_wchar_at): Likewise.
25758         (bitset_not, bitset_merge, bitset_mask): Likewise.
25759         [!(__GNUC__ > 3)] (inline): Remove macro.
25760         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25761         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25762         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25763         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25764         * string/memcmp.c (memcmp_bytes): Likewise.
25765         * locale/programs/locarchive.c (compute_hashval): Likewise.
25766         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25767         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25768         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25769         * nss/getent.c (print_rpc, print_protocols): Likewise.
25770         (print_passwd, print_group, print_aliases): Likewise.
25771         * nis/nss-nisplus.h (niserr2nss): Likewise.
25772         * nscd/connections.c (restart_p): Likewise.
25773         Change return type to bool.
25775 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25777         * Makeconfig (all-Depend-files): Add existing
25778         $(sorted-subdirs:=/Depend) files.
25779         (all-subdirs): Remove nss.
25780         * sysdeps/unix/inet/Subdirs: Add it here instead.
25781         * hesiod/Depend: New file.
25783         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25784         instead of calling alloca.
25786         * io/lseek.c (__lseek): Rename to __libc_lseek.
25787         Define __lseek as an alias.
25789         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25791 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25793         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25794         else clause and remove check for non-standard endianness.
25796 2013-02-04  David S. Miller  <davem@davemloft.net>
25798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25800 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25802         [BZ #13550]
25803         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25804         (__ubp_memchr): Remove prototype.
25805         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25806         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25807         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25808         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25809         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25810         Remove alias.
25811         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25812         (__ubp_memchr): Likewise.
25813         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25814         (__ubp_memchr): Likewise.
25815         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25816         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25817         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25818         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25819         CHECK_STRING.
25820         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25821         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25822         (__getcwd): Do not use CHECK_STRING.
25823         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25824         <bp-checks.h>.
25825         (__real_chown): Do not use CHECK_STRING.
25826         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25827         <bp-checks.h>.
25828         (fchownat): Do not use CHECK_STRING.
25829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25830         CHECK_STRING.
25831         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25832         <bp-checks.h>.
25833         (__lchown): Do not use CHECK_STRING.
25834         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25835         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25836         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25837         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25839         include <bp-checks.h>.
25840         (truncate64): Do not use CHECK_STRING.
25841         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25842         <bp-checks.h>.
25843         (__real_chown): Do not use CHECK_STRING.
25844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25845         <bp-checks.h>.
25846         (__lchown): Do not use CHECK_STRING.
25847         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25848         <bp-checks.h>.
25849         (__chown): Do not use CHECK_STRING.
25850         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25851         <bp-checks.h>.
25852         (truncate64): Do not use CHECK_STRING.
25853         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25854         Likewise.
25855         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25856         (__xmknod): Do not use CHECK_STRING.
25857         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25858         <bp-checks.h>.
25859         (__xmknodat): Do not use CHECK_STRING.
25860         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25861         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25863 2013-02-04  Andreas Schwab  <schwab@suse.de>
25865         [BZ #14142]
25866         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25867         * include/netdb.h: Likewise for h_errno.
25868         * elf/tst-stackguard1.c: Include <tls.h>.
25870 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25872         * elf/link.h (struct link_map): Extend the l_addr comment.
25873         * include/link.h (struct link_map): Likewise.
25875 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25877         [BZ #13550]
25878         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25879         (BOUNDED_1): Remove macro.
25880         * debug/backtrace.c: Don't include <bp-checks.h>.
25881         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25882         (__backtrace): Likewise.
25883         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25884         <bp-checks.h>.
25885         (__backtrace): Don't use BOUNDED_1.
25886         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25887         <bp-checks.h>.
25888         (__backtrace): Don't use BOUNDED_1.
25889         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25890         (__backtrace): Don't use BOUNDED_1.
25891         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25892         (shmat): Don't use BOUNDED_N.
25894 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25896         [BZ #13550]
25897         * sysdeps/generic/bp-start.h: Remove file.
25898         * csu/libc-start.c: Don't include <bp-start.h>.
25899         (LIBC_START_MAIN): Set up __environ directly instead of using
25900         INIT_ARGV_and_ENVIRON.
25901         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25902         <bp-start.h>.
25904         [BZ #13550]
25905         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25906         definitions.
25907         (CHECK_FCNTL): Likewise.
25908         (CHECK_N_PAGES): Likewise.
25910         [BZ #13550]
25911         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25912         definitions.
25913         (CHECK_SIGSET_NULL_OK): Likewise.
25914         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25915         <bp-checks.h>.
25916         (sigpending): Don't use CHECK_SIGSET.
25917         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25918         <bp-checks.h>.
25919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25920         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25921         <bp-checks.h>.
25922         (do_sigsuspend): Don't use CHECK_SIGSET.
25923         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25924         use CHECK_SIGSET.
25925         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25926         (do_sigwait): Don't use CHECK_SIGSET.
25927         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25928         use CHECK_SIGSET.
25929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25930         include <bp-checks.h>.
25931         (sigpending): Don't use CHECK_SIGSET.
25932         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25933         include <bp-checks.h>.
25934         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25935         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25936         <bp-checks.h>.
25937         (sigpending): Don't use CHECK_SIGSET.
25938         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25939         <bp-checks.h>.
25940         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25942         [BZ #13550]
25943         * sysdeps/generic/bp-semctl.h: Remove file.
25944         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25945         <bp-checks.h> and <bp-semctl.h>.
25946         (__old_semctl): Don't use CHECK_SEMCTL.
25947         (__new_semctl): Likewise.
25948         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25949         and <bp-semctl.h>.
25950         (__old_semctl): Don't use CHECK_SEMCTL.
25951         (__new_semctl): Likewise.
25952         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25953         <bp-checks.h> and <bp-semctl.h>.
25954         (__old_semctl): Don't use CHECK_SEMCTL.
25955         (__new_semctl): Likewise.
25956         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25957         <bp-checks.h> and <bp-semctl.h>.
25958         (semctl): Don't use CHECK_SEMCTL.
25960         [BZ #13550]
25961         * Makerules (elide-bp-thunks): Remove variable.
25962         (elide-routines.oS): Don't use $(elide-bp-thunks).
25963         (elide-routines.os): Likewise.
25964         (elide-routines.o): Likewise.
25965         (elide-routines.op): Likewise.
25966         (elide-routines.og): Likewise.
25967         (objects): Don't use $(bp-thunks).
25968         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25969         include.
25970         (common-generated): Do not add s-proto-bp.d.
25971         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25972         (int): Likewise.
25973         (typ): Likewise.
25974         Do not generate makefile rules for bounded-pointer thunks.
25975         * sysdeps/generic/bp-thunks.h: Remove file.
25976         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25977         * sysdeps/unix/s-proto-bp.S: Likewise.
25979         [BZ #15062]
25980         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25981         parts of result separately when argument is not close to line from
25982         -i to i and one part of argument is small.
25983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25985         * math/libm-test.inc (cacos_test): Add more tests.
25986         (casin_test): Likewise.
25987         (casinh_test): Likewise.
25988         * sysdeps/i386/fpu/libm-test-ulps: Update.
25989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25991 2013-01-31  David S. Miller  <davem@davemloft.net>
25993         * po/de.po: Update from translation team.
25995 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25997         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25999 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26001         * configure.in (_AC_PROG_CC_C89): New definition.
26002         * configure: Regenerate.
26004         * configure.in (AC_PROG_CPP): New definition.
26005         * configure: Regenerate.
26007 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26009         * debug/tst-backtrace.h: New file.
26010         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26011         (ret): Remove variable.
26012         (x): Likewise.
26013         (FAIL): Remove macro.
26014         (NO_INLINE): Likewise.
26015         (fn1): Use match function instead of strstr.
26016         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26017         (ret): Remove variable.
26018         (x): Likewise.
26019         (FAIL): Remove macro.
26020         (NO_INLINE): Likewise.
26021         (fn): Use match function instead of strstr.
26022         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26023         (ret): Remove variable.
26024         (x): Likewise.
26025         (FAIL): Remove macro.
26026         (NO_INLINE): Likewise.
26027         (handle_signal): Use match function instead of strstr.
26028         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26029         (ret): Remove variable.
26030         (x): Likewise.
26031         (FAIL): Remove macro.
26032         (NO_INLINE): Likewise.
26033         (handle_signal): Use match function instead of strstr.
26035 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26037         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26039 2013-01-23  David S. Miller  <davem@davemloft.net>
26041         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26042         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26043         argument of CAS if possible.
26044         * sysdeps/sparc/sparc64/bits/atomic.h
26045         (__arch_compare_and_exchange_val_32_acq): Likewise.
26046         (__arch_compare_and_exchange_val_64_acq): Likewise.
26048 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26050         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26051         * sysdeps/posix/ulimit.c: ... this.
26052         Include <limits.h>.
26053         * sysdeps/unix/bsd/ulimit.c: Remove file.
26055 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26057         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26058         (LDFLAGS-tst-array5): Likewise.
26060 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26062         [BZ #15036]
26063         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26064         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26065         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26066         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26068 2013-01-21  David S. Miller  <davem@davemloft.net>
26070         * sysdeps/sparc/backtrace.c: New file.
26071         * sysdeps/sparc/sparc32/backtrace.h: New file.
26072         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26073         * sysdeps/sparc/sparc64/backtrace.h: New file.
26074         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26075         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26076         -funwind-tables.
26078 2013-01-21  Andreas Schwab  <schwab@suse.de>
26080         [BZ #15020]
26081         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26082         closed its stdout.
26084 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26087         "mpa2.h".
26088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26090 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26091             Mark Mitchell  <mark@codesourcery.com>
26092             Tom de Vries  <tom@codesourcery.com>
26093             Paul Pluzhnikov  <ppluzhnikov@google.com>
26095         * debug/tst-backtrace2.c: New file.
26096         * debug/tst-backtrace3.c: Likewise.
26097         * debug/tst-backtrace4.c: Likewise.
26098         * debug/tst-backtrace5.c: Likewise.
26099         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26100         (CFLAGS-tst-backtrace3.c): Likewise.
26101         (CFLAGS-tst-backtrace4.c): Likewise.
26102         (CFLAGS-tst-backtrace5.c): Likewise.
26103         (LDFLAGS-tst-backtrace2): Likewise.
26104         (LDFLAGS-tst-backtrace3): Likewise.
26105         (LDFLAGS-tst-backtrace4): Likewise.
26106         (LDFLAGS-tst-backtrace5): Likewise.
26107         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26108         tst-backtrace4 and tst-backtrace5.
26110 2013-01-18  Anton Blanchard  <anton@samba.org>
26111             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26113         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26114         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26115         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26116         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26118         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26119         "+r" and remove output regs list as redundant.  Add explicit inline
26120         asm to specify register of return val to work around compiler codegen
26121         bug.  Remove (int) cast on return value.  Add return type parameter to
26122         use in macro so that this macro does not truncate return value for
26123         64-bit values.
26124         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26125         pass to INTERNAL_VSYSCALL_NCS.
26126         (INLINE_VSYSCALL): Add 'long int' as return type to
26127         INTERNAL_VSYSCALL_NCS macro invocation.
26128         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26129         INTERNAL_VSYSCALL_NCS macro invocation.
26130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26132 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26134         [BZ #14496]
26135         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26136         Fix application of SIMD FP exception mask.
26138         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26139         mp_no from a power of two.
26140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26141         __mpexp_twomm1.  Use __pow_mp.
26143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26144         multiplication.
26146 2013-01-17  David S. Miller  <davem@davemloft.net>
26148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26150 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26152         [BZ #15023]
26153         * include/complex.h: Condition contents on [!_COMPLEX_H].
26154         (__kernel_casinhf): New prototype.
26155         (__kernel_casinh): Likewise.
26156         (__kernel_casinhl): Likewise.
26157         * math/Makefile (libm_calls): Add k_casinh.
26158         * math/k_casinh.c: New file.
26159         * math/k_casinhf.c: Likewise.
26160         * math/k_casinhl.c: Likewise.
26161         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26162         finite nonzero arguments.
26163         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26164         finite nonzero arguments.
26165         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26166         finite nonzero arguments.
26167         * math/s_casinh.c: Do not include <float.h>.
26168         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26169         * math/s_casinhf.c: Do not include <float.h>.
26170         (__casinhf): Move code for finite nonzero arguments to
26171         k_casinhf.c.
26172         * math/s_casinhl.c: Do not include <float.h>.
26173         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26174         redefine.
26175         (__casinhl): Move code for finite nonzero arguments to
26176         k_casinhl.c.
26177         * math/libm-test.inc (cacos_test): Add more tests.
26178         * sysdeps/i386/fpu/libm-test-ulps: Update.
26179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26181 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26183         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26184         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26185         [!HAVE_MREMAP]: Remove [defined linux] case.
26186         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26188 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26190         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26192 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26194         * elf/elf.h (R_386_SIZE32): New relocation.
26195         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26196         R_386_SIZE32.
26197         (elf_machine_rela): Likewise.
26198         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26199         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26201 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26203         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26204         (FP_FAST_FMA): Do not define.
26205         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26206         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26207         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26208         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26209         !_SOFT_FLOAT]: Likewise.
26210         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26211         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26212         value.
26213         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26214         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26215         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26216         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26217         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26218         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26219         file.
26221 2013-01-16  Andreas Schwab  <schwab@suse.de>
26223         [BZ #14327]
26224         * include/stdlib.h (__mktemp): Add declaration.
26225         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26226         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26228 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26230         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26231         definitions.
26232         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26233         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26234         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26235         definitions here.
26236         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26237         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26238         definitions.
26239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26240         and ONE.
26241         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26242         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26243         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26244         definitions.
26245         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26246         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26247         definitions.
26248         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26250         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26252 2013-01-15  David S. Miller  <davem@davemloft.net>
26254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26255         trunc{,f} to libm-sysdep_routes.
26256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26258         file.
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26261         file.
26262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26263         file.
26264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26266         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26267         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26268         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26269         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26270         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26271         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26274         nearbyint{,f} to libm-sysdep_routes.
26275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26277         New file.
26278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26279         file.
26280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26281         New file.
26282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26283         file.
26284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26286         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26287         file.
26288         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26289         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26290         file.
26291         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26292         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26293         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26295         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26296         libc_feholdexcept and libc_fesetenv.
26298 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26300         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26302 2013-01-14  David S. Miller  <davem@davemloft.net>
26304         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26305         (SPARC_ASM_VIS2_IFUNC): Likewise.
26306         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26308         use of 'siam' instruction.
26309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26310         Likewise.
26311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26312         Likewise.
26313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26314         Likewise.
26315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26320         file.
26321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26322         file.
26323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26324         file.
26325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26326         file.
26327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26332         new VIS2 routines.
26333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26336         Likewise.
26337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26342         routines to libm-sysdep_routines.
26343         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26346         fdim/fdimf to libm-sysdep_routines.
26347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26348         file.
26349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26351         file.
26352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26355         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26356         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26357         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26358         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26360 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26362         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26363         to optimize copies.
26365         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26370         local variable MPTWO.
26371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26372         Likewise.
26374 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26376         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26377         GLOB_NOESCAPE.
26379 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26381         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26383 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26385         * manual/pattern.texi (glob_t): Document gl_flags.
26386         (glob64_t): Likewise.
26388 2013-01-11  David S. Miller  <davem@davemloft.net>
26390         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26391         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26392         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26393         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26394         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26395         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26396         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26397         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26398         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26399         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26400         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26401         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26402         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26404         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26405         sparc V9 rather than using V8 code.
26406         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26407         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26409         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26410         Move to...
26411         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26412         Here.
26414 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26416         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26417         not in the main loop.
26418         * configure: Regenerated.
26420 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26422         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26423         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26424         to just #else.
26425         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26426         [!__GLIBC_HAVE_LONG_LONG] case.
26427         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26428         condition to just #else.
26429         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26430         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26431         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26432         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26433         unconditional.
26434         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26435         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26436         #elif condition to just #else.
26437         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26438         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26439         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26440         #elif condition to just #else.
26442 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26444         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26445         (EF_MIPS_ARCH_64): Fix value.
26446         (EF_MIPS_ARCH_32R2): New.
26447         (EF_MIPS_ARCH_64R2): New.
26449 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26451         * Makeconfig (+link-pie-before-libc): New.
26452         (+link-pie-after-libc): Likewise.
26453         (+link-pie-tests): Likewise.
26454         (+link-pie): Rewritten.
26455         (link-before-libc): Remove $(config-LDFLAGS).
26456         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26457         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26458         (config-LDFLAGS): Renamed to ...
26459         (rtld-LDFLAGS): This.
26460         (rtld-tests-LDFLAGS): New macro.
26461         (link-libc-rpath-link): Likewise.
26462         (link-libc-tests-rpath-link): Likewise.
26463         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26464         (link-libc): Prepand $(link-libc-rpath-link).
26465         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26466         (test-program-prefix): New macro.
26467         (test-via-rtld-prefix): Likewise.
26468         (test-program-cmd): Likewise.
26469         (host-test-program-cmd): Likewise.
26470         * Makefile ($(common-objpfx)testrun.sh): Replace
26471         $(run-program-prefix) with $(test-program-prefix).
26472         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26473         $(rtld-LDFLAGS).
26474         ($(common-objpfx)shlib.lds): Likewise.
26475         (build-module-helper): Likewise.
26476         ($(common-objpfx)format.lds): Likewise.
26477         * Rules (binaries-pie-tests): New.
26478         (binaries-pie-notests): Likewise.
26479         (binaries-pie): Rewritten.
26480         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26481         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26482         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26483         (make-test-out): Replace $(host-built-program-cmd) with
26484         $(host-test-program-cmd).
26485         * config.make.in (build-hardcoded-path-in-tests): New variable.
26486         * configure.in (--enable-hardcoded-path-in-tests): New configure
26487         option.
26488         (hardcoded_path_in_tests): New AC_SUBST.
26489         * configure: Regenerated.
26490         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26491         $(built-program-cmd) with $(test-program-cmd).
26492         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26493         (test_program_cmd): This.
26494         * elf/Makefile ($(objpfx)order.out): Run test with
26495         $(test-program-prefix).
26496         ($(objpfx)order2.out): Likewise.
26497         ($(objpfx)tst-initorder.out): Likewise.
26498         ($(objpfx)tst-initorder2.out): Likewise.
26499         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26500         $(test-program-cmd).
26501         ($(objpfx)tst-array1-static.out): Likewise.
26502         ($(objpfx)tst-array2.out): Likewise.
26503         ($(objpfx)tst-array3.out): Likewise.
26504         ($(objpfx)tst-array4.out): Likewise.
26505         ($(objpfx)tst-array5.out): Likewise.
26506         ($(objpfx)tst-array5-static.out): Likewise.
26507         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26508         $(test-program-cmd).
26509         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26510         $(run-program-prefix) with $(test-program-prefix).
26511         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26512         (test_program_prefix): This.
26513         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26514         $(run-program-prefix) with $(test-program-prefix).
26515         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26516         (test_program_prefix): This.
26517         * iconvdata/tst-tables.sh: Likewise.
26518         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26519         $(run-program-prefix) with $(test-program-prefix).
26520         ($(objpfx)tst-translit.out): Likewise.
26521         ($(objpfx)tst-gettext2.out): Likewise.
26522         ($(objpfx)tst-gettext4.out): Likewise.
26523         ($(objpfx)tst-gettext6.out): Likewise.
26524         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26525         (test_program_prefix): This.
26526         * intl/tst-gettext2.sh: Likewise.
26527         * intl/tst-gettext4.sh  Likewise.
26528         * intl/tst-gettext6.sh: Likewise.
26529         * intl/tst-translit.sh: Likewise.
26530         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26531         with $(test-program-cmd).
26532         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26533         $(run-program-prefix) with $(test-program-prefix).
26534         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26535         (test_program_prefix): This.
26536         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26537         $(run-program-prefix) with $(test-program-prefix).
26538         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26539         (test_program_prefix): This.
26540         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26541         * posix/Makefile ($(objpfx)globtest.out): Replace
26542         $(run-via-rtld-prefix) and $(test-wrapper) with
26543         $(test-program-prefix) and $(test-via-rtld-prefix).
26544         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26545         $(test-program-prefix).
26546         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26547         $(host-test-program-cmd).
26548         (tst-spawn-ARGS): Likewise.
26549         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26550         $(test-program-prefix).
26551         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26552         (test_via_rtld_prefix): This.
26553         (test_wrapper): Renamed to ...
26554         (test_program_prefix): This.
26555         (run_program_prefix): Replaced by test_program_prefix.
26556         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26557         (test_program_prefix): This.
26558         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26559         with $(host-test-program-cmd).
26560         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26561         $(run-program-prefix) with $(test-program-prefix).
26562         ($(objpfx)tst-printf.out): Likewise.
26563         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26564         $(test-program-cmd).
26565         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26566         (test_program_prefix): This.
26567         * stdio-common/tst-unbputc.sh: Likewise.
26568         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26569         $(run-program-prefix) with $(test-program-prefix).
26570         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26571         (test_program_prefix): This.
26572         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26573         $(built-program-cmd) with $(test-program-cmd).
26575 2013-01-11  Andreas Jaeger  <aj@suse.de>
26577         [BZ #15003]
26578         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26579         value. Sync with Linux 3.7.
26581 2013-01-10  David S. Miller  <davem@davemloft.net>
26583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26584         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26585         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26587 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26589         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26590         never set.
26591         * configure: Regenerated.
26593 2013-01-10  David S. Miller  <davem@davemloft.net>
26595         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26596         sparc V9 rather than using V8 code.
26597         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26598         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26600 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26602         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26603         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26604         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26605         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26606         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26607         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26608         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26609         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26610         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26611         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26612         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26613         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26614         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26615         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26616         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26617         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26618         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26619         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26620         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26621         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26622         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26623         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26624         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26625         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26626         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26627         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26628         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26630 2013-01-10  David S. Miller  <davem@davemloft.net>
26632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26634 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26636         * posix/Makefile (tests-static): New variable.
26637         (tests): Add $(tests-static).
26638         (tst-exec-static-ARGS): New variable.
26639         (tst-spawn-static-ARGS): Likewise.
26640         * posix/tst-exec-static.c: New file.
26641         * posix/tst-spawn-static.c: Likewise.
26642         * posix/tst-exec.c: Support run directly.
26643         * posix/tst-spawn.c: Likewise.
26645 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26647         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26648         long.
26649         * math/bits/mathcalls.h (llrint): Likewise.
26650         (llround): Likewise.
26651         * stdlib/stdlib.h (struct drand48_data): Likewise.
26652         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26653         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26654         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26655         Likewise.
26656         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26657         Likewise.
26658         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26659         (elf_greg_t): Likewise.
26660         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26661         (__jmp_buf): Likewise.
26662         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26663         definitions.
26664         (llrint): Likewise, for all definitions.
26665         (llrintl): Likewise.
26667         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26668         Remove [__GNUC__] condition.
26669         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26670         condition to just [__USE_ISOC99].
26671         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26673 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26675         [BZ #14200]
26676         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26677         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26678         defined.
26679         (_POSIX_V6_ILP32_OFF32): Likewise.
26680         (_XBS5_ILP32_OFF32): Likewise.
26681         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26682         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26684 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26686         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26689         doubles __mpexp_twomm1.  Adjust usage.
26690         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26691         Remove.
26693 2013-01-10  Andreas Schwab  <schwab@suse.de>
26695         [BZ #14964]
26696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26697         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26699 2013-01-09  David S. Miller  <davem@davemloft.net>
26701         [BZ #15003]
26702         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26703         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26704         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26705         (TCP_FASTOPEN): Define.
26706         (tcp_repair_opt): New structure.
26707         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26708         enum values.
26709         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26710         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26711         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26712         (tcp_cookie_transactions): New structure.
26714 2013-01-09  Anton Blanchard  <anton@samba.org>
26716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26717         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26719         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26721 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26723         * include/features.h (__USE_ANSI): Remove.
26725 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26727         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26729         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26731 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26733         * sysdeps/s390/fpu/libm-test-ulps: Update.
26735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26737         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26738         (__acr): Likewise.
26739         (__cpy): Likewise.
26740         (norm): Likewise.
26741         (denorm): Likewise.
26742         (__mp_dbl): Likewise.
26743         (__dbl_mp): Likewise.
26744         (add_magnitudes): Likewise.
26745         (sub_magnitudes): Likewise.
26746         (__add): Likewise.
26747         (__sub): Likewise.
26748         (__mul): Likewise.
26749         (__inv): Likewise.
26750         (__dvd): Likewise.
26751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26752         (__acr): Likewise.
26753         (__cpy): Likewise.
26754         (norm): Likewise.
26755         (denorm): Likewise.
26756         (__mp_dbl): Likewise.
26757         (__dbl_mp): Likewise.
26758         (add_magnitudes): Likewise.
26759         (sub_magnitudes): Likewise.
26760         (__add): Likewise.
26761         (__sub): Likewise.
26762         (__mul): Likewise.
26763         (__inv): Likewise.
26764         (__dvd): Likewise.
26765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26766         (__acr): Likewise.
26767         (__cpy): Likewise.
26768         (norm): Likewise.
26769         (denorm): Likewise.
26770         (__mp_dbl): Likewise.
26771         (__dbl_mp): Likewise.
26772         (add_magnitudes): Likewise.
26773         (sub_magnitudes): Likewise.
26774         (__add): Likewise.
26775         (__sub): Likewise.
26776         (__mul): Likewise.
26777         (__inv): Likewise.
26778         (__dvd): Likewise.
26780 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26782         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26783         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26784         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26785         2 && __USE_EXTERN_INLINES]: Likewise.
26787 2013-01-08  Andreas Jaeger  <aj@suse.de>
26789         [BZ# 14985]
26790         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26791         Remove.
26792         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26793         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26795 2013-01-07  Anton Blanchard  <anton@samba.org>
26797         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26798         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26799         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26800         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26801         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26802         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26803         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26804         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26806         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26807         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26808         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26810         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26811         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26812         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26813         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26815         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26816         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26817         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26818         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26820         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26821         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26822         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26824         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26826         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26827         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26829         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26830         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26832         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26835         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26836         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26837         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26839         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26841 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26843         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26844         (__MALLOC_PMT): Likewise.
26845         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26846         [__GNUC__], only on [_LIBC].
26847         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26848         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26849         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26850         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26851         forward declaration.
26852         (realloc_hook_ini): Likewise.
26853         (memalign_hook_ini): Likewise.
26854         (__libc_memalign): Do not use __MALLOC_PMT in variable
26855         declaration.
26856         (__libc_valloc): Likewise.
26857         (__libc_pvalloc): Likewise.
26858         (__libc_calloc): Likewise.
26859         (__posix_memalign): Likewise.
26861         [BZ #14996]
26862         * math/s_casinh.c: Include <float.h>.
26863         (__casinh): Do not do computation with squaring and square root
26864         for large arguments.
26865         * math/s_casinhf.c: Include <float.h>.
26866         (__casinhf): Do not do computation with squaring and square root
26867         for large arguments.
26868         * math/s_casinhl.c: Include <float.h>.
26869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26870         (__casinhl): Do not do computation with squaring and square root
26871         for large arguments.
26872         * math/libm-test.inc (casin_test): Add more tests.
26873         (casinh_test): Likewise.
26874         * sysdeps/i386/fpu/libm-test-ulps: Update.
26875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26877 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26879         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26880         (__x86_64_raw_data_cache_size): Likewise.
26881         (__x86_64_data_cache_size_half): Likewise.
26882         (__x86_64_raw_data_cache_size_half): Likewise.
26883         (__x86_64_shared_cache_size): Likewise.
26884         (__x86_64_raw_shared_cache_size): Likewise.
26885         (__x86_64_shared_cache_size_half): Likewise.
26886         (__x86_64_raw_shared_cache_size_half): Likewise.
26887         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26888         to ...
26889         (__x86_data_cache_size): This.
26890         (__x86_64_raw_data_cache_size): Renamed to ...
26891         (__x86_raw_data_cache_size): This.
26892         (__x86_64_data_cache_size_half): Renamed to ...
26893         (__x86_data_cache_size_half): This.
26894         (__x86_64_raw_data_cache_size_half): Renamed to ...
26895         (__x86_raw_data_cache_size_half): This.
26896         (__x86_64_shared_cache_size): Renamed to ...
26897         (__x86_shared_cache_size): This.
26898         (__x86_64_raw_shared_cache_size): Renamed to ...
26899         (__x86_raw_shared_cache_size): This.
26900         (__x86_64_shared_cache_size_half): Renamed to ...
26901         (__x86_shared_cache_size_half): This.
26902         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26903         (__x86_raw_shared_cache_size_half): This.
26904         * sysdeps/x86_64/memcpy.S: Updated.
26905         * sysdeps/x86_64/memset.S: Likewise.
26906         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26907         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26910 2013-01-04  David S. Miller  <davem@davemloft.net>
26912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26914 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26916         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26917         1 to avoid redefinition warning.
26918         (__USE_GNU): Don't define.
26919         (init_signaling_nan): Protoize.
26921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26923 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26925         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26927         (__cpymn): Likewise.
26928         (norm): Remove commented code.
26929         (denorm): Likewise.
26930         (__mp_dbl): Likewise.
26931         (__inv): Likewise.
26932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26933         (__cpymn): Likewise.
26934         (norm): Remove commented code.
26935         (denorm): Likewise.
26936         (__mp_dbl): Likewise.
26937         (__inv): Likewise.
26939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26940         mp_no value for 1.0 and 2.0.
26941         (norm): Use RADIXI instead of radixi.d.
26942         (denorm): Likewise.
26943         (__mul): Use 0.0 instead of zero.d.
26944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26945         mp_no value for 1.0 and 2.0.
26946         (norm): Use RADIXI instead of radixi.d.
26947         (denorm): Likewise.
26948         (__mul): Use 0.0 instead of zero.d.
26950 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26952         [BZ #14994]
26953         * math/s_casinh.c (__casinh): Reduce finite argument to first
26954         quadrant then set signs of results at the end.
26955         * math/s_casinhf.c (__casinhf): Likewise.
26956         * math/s_casinhl.c (__casinhl): Likewise.
26957         * math/libm-test.inc (casin_test): Add more tests.
26958         (casinh_test): Likewise.
26959         * sysdeps/i386/fpu/libm-test-ulps: Update.
26960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26962 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26964         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26966         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26968         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26969         declarations.
26970         (denorm): Likewise.
26971         (__mp_dbl): Likewise.
26972         (__inv): Likewise.
26974         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26975         and adjust the header comment.
26977         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26978         variable name from declaration.
26980 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26983         Initialize COMMON_CPUID_INDEX_7 element.
26984         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26985         (CPUID_RTM): Likewise.
26986         (HAS_RTM): Likewise.
26987         (COMMON_CPUID_INDEX_7): New enum.
26989 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26991         [BZ #14981]
26992         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26993         size is zero, record memory as freed.
26995 2013-01-03  Andreas Jaeger  <aj@suse.de>
26997         * po/ia.po: Add new Interlingua translation.
26999 2012-01-03  Allan McRae  <allan@archlinux.org>
27001         * locale/programs/localedef.c: Fix description of '--posix' flag.
27003 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27005         * NEWS: Update dates in second copyright notice.
27006         * README: Update copyright dates in example.
27007         * manual/libc.texinfo: Update copyright dates.
27008         * scripts/test-installation.pl: Update copyright date in --version
27009         output.
27011         * hurd/ctty-input.c: Fix copyright notice formatting.
27012         * hurd/ctty-output.c: Likewise.
27013         * hurd/dtable.c: Likewise.
27014         * hurd/hurd-raise.c: Likewise.
27015         * hurd/hurdprio.c: Likewise.
27016         * hurd/msgportdemux.c: Likewise.
27017         * misc/sys/file.h: Likewise.
27018         * misc/sys/ioctl.h: Likewise.
27019         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27020         * sysdeps/mach/hurd/chdir.c: Likewise.
27021         * sysdeps/mach/hurd/fchdir.c: Likewise.
27022         * sysdeps/mach/hurd/rename.c: Likewise.
27023         * sysdeps/mach/hurd/rmdir.c: Likewise.
27024         * sysdeps/mach/hurd/seekdir.c: Likewise.
27025         * sysdeps/mach/hurd/setsid.c: Likewise.
27026         * sysdeps/posix/wait3.c: Likewise.
27028         * All files with FSF copyright notices: Update copyright dates
27029         using scripts/update-copyrights.
27030         * intl/plural.c: Regenerated.
27031         * locale/programs/charmap-kw.h: Likewise.
27032         * locale/programs/locfile-kw.h: Likewise.
27034 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27036         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27037         four values.
27039         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27040         calculation loop and add branch prediction.
27042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27043         check access beyond bounds of m1np.
27045         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27046         MPTWO.
27047         (__inv): Remove local variable MPTWO to use the global
27048         constant.
27049         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27050         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27051         variable MPTWO.
27052         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27053         MP3HALFS static const.
27055 2013-01-01  David S. Miller  <davem@davemloft.net>
27057         * po/ca.po: Update from translation team.
27059 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27061         * scripts/update-copyrights: New file.
27062         * Makeconfig: Reformat copyright notice.
27063         * ctype/ctype.h: Likewise.
27064         * debug/swprintf_chk.c: Likewise.
27065         * elf/dl-cache.c: Likewise.
27066         * elf/dl-debug.c: Likewise.
27067         * elf/dl-object.c: Likewise.
27068         * grp/initgroups.c: Likewise.
27069         * hurd/Makefile: Likewise.
27070         * hurd/hurd/signal.h: Likewise.
27071         * hurd/hurdfault.c: Likewise.
27072         * hurd/hurdioctl.c: Likewise.
27073         * hurd/hurdlookup.c: Likewise.
27074         * hurd/intr-msg.c: Likewise.
27075         * iconv/gconv_open.c: Likewise.
27076         * libio/swprintf.c: Likewise.
27077         * locale/lc-ctype.c: Likewise.
27078         * locale/nl_langinfo.c: Likewise.
27079         * mach/Machrules: Likewise.
27080         * mach/Makefile: Likewise.
27081         * malloc/obstack.h: Likewise.
27082         * manual/Makefile: Likewise.
27083         * manual/tsort.awk: Likewise.
27084         * misc/bits/stab.def: Likewise.
27085         * nis/nis_print_group_entry.c: Likewise.
27086         * nis/nis_table.c: Likewise.
27087         * nis/nss_compat/compat-pwd.c: Likewise.
27088         * nis/nss_compat/compat-spwd.c: Likewise.
27089         * po/Makefile: Likewise.
27090         * posix/fnmatch.c: Likewise.
27091         * posix/regex.h: Likewise.
27092         * resolv/Makefile: Likewise.
27093         * resolv/nss_dns/dns-network.c: Likewise.
27094         * resolv/res_hconf.c: Likewise.
27095         * scripts/gen-sorted.awk: Likewise.
27096         * soft-fp/soft-fp.h: Likewise.
27097         * stdio-common/printf.h: Likewise.
27098         * stdlib/monetary.h: Likewise.
27099         * stdlib/random.c: Likewise.
27100         * stdlib/random_r.c: Likewise.
27101         * sysdeps/generic/Makefile: Likewise.
27102         * sysdeps/gnu/Makefile: Likewise.
27103         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27105         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27107         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27109         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27110         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27111         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27112         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27113         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27114         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27115         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27116         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27117         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27118         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27119         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27120         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27121         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27123         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27124         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27125         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27126         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27127         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27129         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27130         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27131         * sysdeps/mach/hurd/errnos.awk: Likewise.
27132         * sysdeps/mach/hurd/fork.c: Likewise.
27133         * sysdeps/mach/hurd/getcwd.c: Likewise.
27134         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27135         * sysdeps/mach/hurd/mmap.c: Likewise.
27136         * sysdeps/mach/hurd/utimes.c: Likewise.
27137         * sysdeps/mach/hurd/xmknod.c: Likewise.
27138         * sysdeps/posix/profil.c: Likewise.
27139         * sysdeps/posix/readdir_r.c: Likewise.
27140         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27141         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27142         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27143         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27145         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27146         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27147         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27149         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27150         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27151         * sysdeps/pthread/lio_listio.c: Likewise.
27152         * sysdeps/sparc/dl-procinfo.h: Likewise.
27153         * sysdeps/unix/i386/sysdep.S: Likewise.
27154         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27155         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27156         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27157         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27159         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27160         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27161         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27162         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27163         * sysdeps/wordsize-32/divdi3.c: Likewise.
27164         * time/sys/time.h: Likewise.
27165         * wcsmbs/Makefile: Likewise.
27167 2013-01-01  David S. Miller  <davem@davemloft.net>
27169         * po/fr.po: Update from translation team.
27171         * catgets/gencat.c: Update copyright year.
27172         * csu/version.c: Likewise.
27173         * debug/catchsegv.sh: Likewise.
27174         * debug/pcprofiledump.c: Likewise.
27175         * debug/xtrace.sh: Likewise.
27176         * elf/ldconfig.c: Likewise.
27177         * elf/ldd.bash.in: Likewise.
27178         * elf/pldd.c: Likewise.
27179         * elf/sotruss.ksh: Likewise.
27180         * elf/sprof.c: Likewise.
27181         * iconv/iconv_prog.c: Likewise.
27182         * iconv/iconvconfig.c: Likewise.
27183         * locale/programs/locale.c: Likewise.
27184         * locale/programs/localedef.c: Likewise.
27185         * login/programs/pt_chown.c: Likewise.
27186         * malloc/memusage.sh: Likewise.
27187         * malloc/memusagestat.c: Likewise.
27188         * malloc/mtrace.pl: Likewise.
27189         * nscd/nscd.c: Likewise.
27190         * nss/getent.c: Likewise.
27191         * nss/makedb.c: Likewise.
27192         * posix/getconf.c: Likewise.
27194 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27196         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27197         numbers.
27199 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27201         * math/bits/mathcalls.h (modf): Use __nonnull.
27203 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27205         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27206         (split): Use macro CN instead of the bare value.
27207         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27208         could be used.
27209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27210         instead of the bare value.
27211         (power1): Likewise.
27213 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27216         __ATAN_TWOM.
27217         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27219         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27220         their values.
27221         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27222         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27223         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27224         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27226 2012-12-28  Andreas Jaeger  <aj@suse.de>
27228         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27229         values are from Linux 3.7.
27231         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27232         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27234 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27236         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27237         TRUE case.
27239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27240         (norm): Likewise.
27241         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27242         variables with preprocessor constants.
27243         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27244         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27245         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27247 2012-12-27  Bruno Haible  <bruno@clisp.org>
27249         [BZ #14317]
27250         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27251         only if needed.
27253 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27256         and use variable directly.
27257         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27259         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27260         MPONE.
27261         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27262         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27263         variable MPONE.
27264         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27266         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27267         include directive.  Remove local variable MPONE.
27268         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27269         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27270         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27272 2012-12-25  David S. Miller  <davem@davemloft.net>
27274         * version.h (RELEASE): Set to "development".
27275         (VERSION): Set to "2.17.90".
27276         * NEWS: Add 2.18 section.
27278 2012-12-21  David S. Miller  <davem@davemloft.net>
27280         * po/hr.po: Update from translation team.
27282 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27284         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27286 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27288         * NEWS:  Mention new memcpy for MIPS.
27290 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27292         * manual/contrib.texi (Contributors): Spelling correction.
27294 2012-12-15  David S. Miller  <davem@davemloft.net>
27296         * po/ru.po: Update from translation team.
27298 2012-12-13  David S. Miller  <davem@davemloft.net>
27300         * NEWS: Mention IFUNC testsuite enhancements.
27302         * po/pl.po: Update from translation team.
27303         * po/bg.po: Likewise.
27305         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27306         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27308 2012-12-11  David S. Miller  <davem@davemloft.net>
27310         * po/sv.po: Update from translation team.
27312         * po/vi.po: Update from translation team.
27314         * po/cs.po: Update from translation team.
27316         * po/de.po: Update from translation team.
27317         * po/eo.po: Likewise.
27318         * po/nl.po: Likewise.
27320 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27322         [BZ #14246]
27323         * manual/argp.texi (Argp Helper Functions): Move node to follow
27324         Argp Parsing State.
27326         [BZ #14872]
27327         * manual/conf.texi (Limits on File System Capacity): Mention if
27328         terminating null is included in the max size.
27330 2012-12-10  Andreas Jaeger  <aj@suse.de>
27332         * po/cs.po: Update from translation team.
27334 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27336         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27337         void pointer and cast to uintptr_t.
27338         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27339         path.
27340         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27341         * sysdeps/s390/s390-64/memset.S: Likewise.
27343 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27345         [BZ #14833]
27346         * menual/message.texi (Message Translation): Fix typos.
27347         (Helper programs for gettext): Likewise.
27349 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27351         [BZ #14898]
27352         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27353         Change to -1.
27355 2012-12-07  David S. Miller  <davem@davemloft.net>
27357         * po/libc.pot: Update.
27359 2012-12-07  Richard Henderson  <rth@redhat.com>
27361         [BZ #10114]
27362         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27363         normal/normal case to before the switch.
27364         (_FP_DIV): Likewise.
27366 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27367             Mike Frysinger  <vapier@gentoo.org>
27369         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27370         check for __NR_fadvise64_64.
27372 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27374         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27375         0, not just to plain "0" as a statement.
27376         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27377         with cw.
27379 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27381         * NEWS: Use sourceware.org in Bugzilla URL.
27383 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27386         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27388         * stdio-common/tst-put-error.c (do_test): Add newline to the
27389         padded test to ensure flush.
27391 2012-12-05  Jeff Law  <law@redhat.com>
27393         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27395 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27397         * README: Don't refer to ports add-on as distributed separately.
27398         Mention AArch64 in list of systems supported in the ports add-on.
27400         * LICENSES: Add more non-FSF copyright and license notices.
27402         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27403         ((unused)).
27405         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27407         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27408         10000 as width of padded output.
27410 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27412         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27414         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27415         variable LX with __attribute__ ((unused)).
27416         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27417         Likewise.
27418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27420         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27421         with __attribute__ ((unused)).
27423 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27425         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27427 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27429         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27430         (CFLAGS-nldbl-acos.c): New variable.
27431         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27432         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27433         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27434         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27435         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27436         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27437         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27438         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27439         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27440         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27441         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27442         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27443         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27444         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27445         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27446         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27447         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27448         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27449         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27450         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27451         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27452         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27453         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27454         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27455         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27456         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27457         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27458         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27459         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27460         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27461         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27462         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27463         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27464         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27465         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27466         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27467         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27468         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27469         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27470         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27471         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27472         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27473         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27474         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27475         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27476         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27477         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27478         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27479         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27480         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27481         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27482         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27483         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27484         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27485         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27486         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27487         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27488         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27489         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27490         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27491         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27492         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27493         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27494         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27495         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27496         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27497         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27498         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27499         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27500         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27501         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27502         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27503         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27504         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27505         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27506         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27507         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27508         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27509         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27510         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27511         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27512         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27513         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27514         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27515         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27516         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27517         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27518         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27519         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27520         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27521         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27522         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27523         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27524         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27525         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27526         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27527         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27530         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27532         [BZ #14914]
27533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27534         whole low double instead of just low 47 bits when splitting values
27535         into two parts.
27537 2012-12-03  Allan McRae  <allan@archlinux.org>
27539         * manual/stdio.texi (Predefined Printf Handlers): Remove
27540         @hsep and @vsep usage.
27542 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27544         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27545         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27547 2012-12-03  Jeff Law  <law@redhat.com>
27549         * time/sys/time.h (settimeofday): Do not mark TV argument
27550         as __nonnull.
27552 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27554         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27555         when currently writing and seek to current position when not.
27556         * libio/Makefile (tests): Remove bug-fclose1.
27557         * libio/bug-fclose1.c: Delete.
27559 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27561         * manual/arith.texi (feenableexcept): Fix typo.
27562         (fedisableexcept): Likewise.
27564 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27566         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27567         second, differently-typed declaration, rather than a cast.
27569 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27571         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27572         * include/rpc/svc.h: ... here.
27574 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27576         [BZ #13013]
27577         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27578         depending n and resplen2 to catch cases where answer
27579         equals answerp2.
27581 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27583         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27584         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27586 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27588         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27590 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27592         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27594 2012-11-28  Jeff Law  <law@redhat.com>
27596         [BZ #13761]
27597         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27598         dataset_temporary.  Track alloca usage into alloca_used.
27599         If dataset is large allocate and release it via malloc/free.
27601 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27603         [BZ #14197]
27604         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27606 2012-11-28  David S. Miller  <davem@davemloft.net>
27608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27610 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27612         [BZ #14803]
27613         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27614         of pi/2 rounded to nearest to 64 bits.
27615         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27616         nearest to 64 bits.
27617         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27618         bits.
27620 2012-11-28  Jeff Law <law@redhat.com>
27621             Martin Osvald <mosvald@redhat.com>
27623         [BZ #14889]
27624         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27625         * sunrpc/svc.c: Include time.h.
27626         (__svc_accept_failed): New function.
27627         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27628         any reason other than EINTR, call __svc_accept_failed.
27629         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27630         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27632 2012-11-28  Andreas Schwab  <schwab@suse.de>
27634         * scripts/abilist.awk: Also handle indirect functions in .opd
27635         section.
27637 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27639         [BZ #13881]
27640         * sysdeps/x86/fpu/powl_helper.c: New file.
27641         * sysdeps/x86/fpu/Makefile: Likewise.
27642         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27643         (p3): New object.
27644         (__ieee754_powl): Use __powl_helper for finite arguments except
27645         integer exponents below 8.
27646         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27647         (p3): New object.
27648         (__ieee754_powl): Use __powl_helper for finite arguments except
27649         integer exponents below 8.
27650         * math/libm-test.inc (pow_test): Add more tests and enable some
27651         previously disabled tests.
27652         * sysdeps/i386/fpu/libm-test-ulps: Update.
27653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27656             Carlos O'Donell  <carlos_odonell@mentor.com>
27658         * nss/makedb.c (is_prime): Assert that input is odd and greater
27659         than 4.  Note that fact in a comment too.
27660         (next_prime): Add 4 to input.
27662 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27664         [BZ #11741]
27665         * libio/Makefile (tests): Add test case tst-fwrite-error.
27666         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27667         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27668         * libio/tst-fwrite-error.c: New test case.
27670 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27672         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27673         before casting to void *.
27674         * include/libc-internal.h (__pointer_type): New macro.
27675         (__integer_if_pointer_type_sub): Likewise.
27676         (__integer_if_pointer_type): Likewise.
27677         (cast_to_integer): Likewise.
27678         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27679         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27680         before casting to atomic64_t.
27681         (atomic_exchange_acq): Likewise.
27682         (__arch_exchange_and_add_body): Likewise.
27683         (__arch_add_body): Likewise.
27684         (atomic_add_negative): Likewise.
27685         (atomic_add_zero): Likewise.
27687 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27689         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27690         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27691         (add_fdes): Likewise.
27692         (linear_search_fdes): Likewise.
27693         (binary_search_unencoded_fdes): Likewise.
27695 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27697         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27699 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27701         * configure.in: Autodetect C++ header directories.
27702         * configure: Regenerated.
27704 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27706         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27708 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27712 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27714         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27715         LDBL_MANT_DIG == 106]: Disable some tests.
27716         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27717         Likewise.
27718         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27719         Likewise.
27721         [BZ #14871]
27722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27723         input for small inputs.  Return +/- pi/2 for large inputs.
27724         * math/libm-test.inc (atan_test): Add more tests.
27726         * sysdeps/generic/unwind-dw2-fde-glibc.c
27727         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27728         __attribute__ ((unused)).
27730         [BZ #14645]
27731         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27732         x * y if x and y are nonzero and z is zero.
27734         [BZ #14811]
27735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27736         nonzero exponents with absolute value below 0x1p-117 to +/-
27737         0x1p-117.
27739         [BZ #14869]
27740         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27741         up arguments below 2**-450, not just those below 2**-500.
27742         * math/libm-test.inc (hypot_test): Add another test.
27744         [BZ #14868]
27745         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27746         Return a+b for ratio over 2**120, not 2**60.
27747         * math/libm-test.inc (hypot_test): Add another test.
27749         * math/libm-test.inc (clog_test): Use
27750         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27751         (clog10_test): Likewise.
27753         [BZ #6778]
27754         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27756 2012-11-22  Andreas Schwab  <schwab@suse.de>
27758         * sysdeps/i386/fpu/libm-test-ulps: Update.
27760 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27762         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27763         printf output with newline.
27765 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27767         [BZ #14865]
27768         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27769         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27770         -z nodlopen, -z initfirst and -z execstack support.
27771         * configure: Regenerated.
27773         * elf/elf.h (DF_1_NODIRECT): New macro.
27774         (DF_1_IGNMULDEF): Likewise.
27775         (DF_1_NOKSYMS): Likewise.
27776         (DF_1_NOHDR): Likewise.
27777         (DF_1_EDITED): Likewise.
27778         (DF_1_NORELOC): Likewise.
27779         (DF_1_SYMINTPOSE): Likewise.
27780         (DF_1_GLOBAUDIT): Likewise.
27781         (DF_1_SINGLETON): Likewise.
27782         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27783         DT_1_SUPPORTED_MASK bits.
27784         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27786 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27788         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27790 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27792         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27793         macro.
27795         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27796         (sendmmsg): Move declarations...
27797         * socket/sys/socket.h: ... here.
27798         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27799         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27800         include it from...
27801         * socket/recvmmsg.c: ... this new file.
27802         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27803         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27804         definition of __sendmmsg hidden.
27805         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27806         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27807         Move ENOSYS stub into and include it from...
27808         * socket/sendmmsg.c: ... this new file.
27809         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27810         (sysdep_routines): Move recvmmsg and sendmmsg...
27811         * socket/Makefile (routines): ... here.
27812         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27813         (GLIBC_PRIVATE): Add __sendmmsg.
27814         * include/sys/socket.h (__sendmmsg): Add declarations.
27815         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27816         sendmmsg.
27818 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27821         variable I1 with __attribute__ ((unused)).
27822         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27824 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27826         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27827         DUMMY variables with __attribute__ ((unused)).
27829         * bits/byteswap.h: Include <bits/types.h>.
27830         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27832 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27834         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27835         string_t.  Do not manually set errno.
27836         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27837         length with __strnlen.  Make sure to both set errno and return it on
27838         failure.
27840 2012-11-19  David S. Miller  <davem@davemloft.net>
27842         With help from Joseph Myers.
27843         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27844         very large arguments properly.
27845         * math/libm-test.inc (atan_test): New tests.
27846         (atan2_test): New tests.
27847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27850 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27852         [BZ #14856]
27853         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27854         Define to 3.
27856         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27857         [POSIX] (EADDRNOTAVAIL): Likewise.
27858         [POSIX] (EAFNOSUPPORT): Likewise.
27859         [POSIX] (EALREADY): Likewise.
27860         [POSIX] (ECONNABORTED): Likewise.
27861         [POSIX] (ECONNREFUSED): Likewise.
27862         [POSIX] (ECONNRESET): Likewise.
27863         [POSIX] (EDESTADDRREQ): Likewise.
27864         [POSIX] (EDQUOT): Likewise.
27865         [POSIX] (EHOSTUNREACH): Likewise.
27866         [POSIX] (EIDRM): Likewise.
27867         [POSIX] (EISCONN): Likewise.
27868         [POSIX] (ELOOP): Likewise.
27869         [POSIX] (EMULTIHOP): Likewise.
27870         [POSIX] (ENETDOWN): Likewise.
27871         [POSIX] (ENETUNREACH): Likewise.
27872         [POSIX] (ENOBUFS): Likewise.
27873         [POSIX] (ENODATA): Likewise.
27874         [POSIX] (ENOLINK): Likewise.
27875         [POSIX] (ENOMSG): Likewise.
27876         [POSIX] (ENOPROTOOPT): Likewise.
27877         [POSIX] (ENOSR): Likewise.
27878         [POSIX] (ENOSTR): Likewise.
27879         [POSIX] (ENOTCONN): Likewise.
27880         [POSIX] (ENOTSOCK): Likewise.
27881         [POSIX] (EOPNOTSUPP): Likewise.
27882         [POSIX] (EOVERFLOW): Likewise.
27883         [POSIX] (EPROTO): Likewise.
27884         [POSIX] (EPROTONOSUPPORT): Likewise.
27885         [POSIX] (EPROTOTYPE): Likewise.
27886         [POSIX] (ESTALE): Likewise.
27887         [POSIX] (ETIME): Likewise.
27888         [POSIX] (ETXTBSY): Likewise.
27889         [POSIX] (EWOULDBLOCK): Likewise.
27890         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27891         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27892         [POSIX] (SEEK_CUR): Likewise.
27893         [POSIX] (SEEK_END): Likewise.
27894         [POSIX || UNIX98] (mode_t): Do not require.
27895         [POSIX] (off_t): Likewise.
27896         [POSIX] (pid_t): Likewise.
27897         [POSIX] (sys/stat.h): Do not allow header.
27898         [POSIX] (unistd.h): Likewise.
27899         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27900         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27901         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27902         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27903         require.
27904         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27905         sigevent): Specify elements.
27906         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27907         entry.
27908         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27909         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27911         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27912         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27913         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27914         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27915         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27916         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27917         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27918         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27919         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27920         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27921         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27922         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27923         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27924         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27925         Likewise.
27926         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27927         Likewise.
27928         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27929         Likewise.
27930         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27931         Likewise.
27932         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27933         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27934         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27935         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27936         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27937         Specify lower bound on value.
27938         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27939         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27940         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27941         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27942         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27943         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27944         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27945         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27946         value.
27947         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27948         as optional.
27949         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27950         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27951         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27952         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27953         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27954         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27955         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27956         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27957         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27958         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27959         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27960         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27961         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27962         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27963         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27964         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27965         entry.
27966         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27967         optional.
27968         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27969         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27970         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27971         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27972         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27973         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27974         Likewise.
27975         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27976         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27977         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27978         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27979         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27980         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27981         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27982         as optional.
27983         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27984         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27985         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27986         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27987         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27988         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27989         specify as optional.
27990         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27991         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27992         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27993         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27994         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27995         [XPG3] (NL_LANGMAX): Likewise.
27996         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27997         [POSIX || XPG3] (NL_NMAX): Likewise.
27998         [POSIX || XPG3] (NL_SETMAX): Likewise.
27999         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28000         [XPG3] (NZERO): Likewise.
28001         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28002         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28003         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28004         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28005         (REG_ERANGE): Expect.
28006         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28007         optional-constant.
28008         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28009         Use (void) in prototype.
28010         [POSIX] (*_t): Allow.
28011         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28012         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28013         (WRDE_BADVAL): Expect.
28015         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28016         expect.
28017         [XPG3 || XPG4] (O_RSYNC): Likewise.
28018         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28019         Likewise.
28020         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28021         [XPG3 || XPG4] (sigqueue): Likewise.
28022         [XPG3 || XPG4] (sigtimedwait): Likewise.
28023         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28024         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28025         [XPG3 || XPG4] (vsnprintf): Likewise.
28026         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28027         Likewise.
28028         [XPG3 || XPG4] (blksize_t): Likewise.
28029         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28030         Likewise.
28031         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28032         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28033         [XPG3 || XPG4] (struct itimerspec): Likewise.
28034         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28035         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28036         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28037         [XPG3 || XPG4] (clockid_t): Likewise.
28038         [XPG3 || XPG4] (timer_t): Likewise.
28039         [XPG3 || XPG4] (clock_getres): Likewise.
28040         [XPG3 || XPG4] (clock_gettime): Likewise.
28041         [XPG3 || XPG4] (clock_settime): Likewise.
28042         [XPG3 || XPG4] (nanosleep): Likewise.
28043         [XPG3 || XPG4] (timer_create): Likewise.
28044         [XPG3 || XPG4] (timer_delete): Likewise.
28045         [XPG3 || XPG4] (timer_gettime): Likewise.
28046         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28047         [XPG3 || XPG4] (timer_settime): Likewise.
28048         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28049         [XPG3 || XPG4] (getlogin_r): Likewise.
28050         [XPG3 || XPG4] (pread): Likewise.
28051         [XPG3 || XPG4] (pthread_atfork): Likewise.
28052         [XPG3 || XPG4] (pwrite): Likewise.
28054         [BZ #14835]
28055         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28056         <bits/siginfo.h>.
28058 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28060         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28061         finalizing MALLSTREAM.
28063         * sysdeps/mach/hurd/syncfs.c: New file.
28065 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28067         [BZ #14719]
28068         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28069         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28070         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28071         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28072         (_nss_dns_gethostbyname4_r): Likewise.
28073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28074         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28076 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28078         [BZ #13763]
28079         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28081 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28083         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28084         * elf/cache.c (print_entry): Print ",AArch64" for
28085         FLAG_AARCH64_LIB64
28087         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28088         * elf/cache.c (print_entry): Print ",hard-float" for
28089         FLAG_ARM_LIBHF.
28091 2012-11-18  David S. Miller  <davem@davemloft.net>
28093         With help from Joseph Myers.
28094         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28095         cutoff to 2**-13.
28096         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28097         cutoff to 2**-25.
28098         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28099         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28100         small.
28101         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28102         * math/libm-test.inc (y0_test): New tests.
28103         (y1_test): New tests.
28104         * sysdeps/i386/fpu/libm-test-ulps: Update.
28105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28108 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28110         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28111         64-bit targets.
28112         * configure: Regenerated.
28114 2012-11-17  David S. Miller  <davem@davemloft.net>
28116         [BZ #14811]
28117         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28118         nonzero exponents with absolute value below 0x1p-128 to +/-
28119         0x1p-128.
28121 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28123         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28125         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28127         * posix/getconf-speclist.c: New file.
28128         * posix/posix-envs.def: Likewise.
28129         * posix/confstr.c (START_ENV_GROUP): New macro.
28130         (END_ENV_GROUP): Likewise.
28131         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28132         (KNOWN_PRESENT_ENV_STRING): Likewise.
28133         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28134         (UNKNOWN_ENVIRONMENT): Likewise.
28135         (confstr): Include posix-envs.def instead of handling
28136         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28137         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28138         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28139         (END_ENV_GROUP): Likewise.
28140         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28141         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28142         (UNKNOWN_ENVIRONMENT): Likewise.
28143         (__sysconf): Include posix-envs.def instead of handling associated
28144         cases directly here.
28145         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28146         preprocessing getconf-speclist.c rather than running getconf or
28147         generating empty file.
28149 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28151         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28153 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28155         [BZ #14672]
28156         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28158 2012-11-16  David S. Miller  <davem@davemloft.net>
28160         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28161         smaller than LDBL_EPSILON/2.0L, just return xm1.
28163 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28165         * elf/tst-array1.c (init): Set constructor priority to 1000.
28166         (fini): Set destructor priority to 1000.
28167         * elf/tst-array2dep.c: Likewise.
28169 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28171         [BZ #11741]
28172         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28173         (_IO_new_file_xsputn): Also return EOF if none of the input
28174         data was written when overflow failed.
28175         * libio/iopadn.c (_IO_padn): Likewise.
28176         * libio/iowpadn.c (_IO_wpadn): Likewise.
28177         * stdio-common/tst-put-error.c: Add copyright notice.
28178         (do_test): Add case for printing padded string.
28179         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28180         _IO_padn returned error.
28181         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28182         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28183         return EOF.
28185 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28187         * libio/libioP.h: Add comment note that the references to C++
28188         bits are now obsolete.
28190 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28192         * math/libm-test.inc (check_complex): Use asprintf.
28194 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28196         * debug/pcprofiledump.c (print_version): Update copyright year.
28197         * malloc/memusagestat.c (print_version): Likewise.
28199 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28201         [BZ #14831]
28202         * elf/Makefile (tests): Add tst-audit8.
28203         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28204         ($(objpfx)tst-audit8.out): New target.
28205         (tst-audit8-ENV): New variable.
28206         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28207         audit if l_reloc_result is NULL.
28208         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28209         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28210         * elf/tst-audit8.c: New file.
28212 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28214         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28215         * misc/Makefile (CFLAGS-select.c): Define.
28216         * posix/Makefile (CFLAGS-pause.c): Define.
28218 2012-11-13  David S. Miller  <davem@davemloft.net>
28220         * crypt/Makefile: Move test targets after toplevel Rules
28221         inclusion.  Grab any necessary sysdep routines when linking.
28222         * crypt/md5.c (md5_process_block): Remove define, we will always
28223         name it __md5_process_block.
28224         (md5_finish_ctx): Update md5_process_block call.
28225         (md5_stream): Likewise.
28226         (md5_process_bytes): Likewise.
28227         (md5_process_block): Rename to __md5_process_block and move to ...
28228         * crypt/md5-block.c: ... here.
28229         * crypt/sha256.c (sha256_process_block): Move to ...
28230         * crypt/sha256-block.c: ... here.
28231         * crypt/sha512.c (sha512_process_block): Move to ...
28232         * crypt/sha512-block.c: ... here.
28233         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28234         path.
28235         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28236         * sysdeps/sparc/sparc64/multiarch/Makefile
28237         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28238         crypt subdir.
28239         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28240         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28241         multiarch changes.
28242         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28243         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28244         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28245         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28246         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28247         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28248         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28249         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28250         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28251         file.
28252         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28253         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28254         file.
28255         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28257 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28259         * timezone/tzselect.ksh: Update from tzcode git revision
28260         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28261         * timezone/zdump.c: Likewise.
28262         * timezone/zic.c: Likewise.
28263         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28264         in TZVERSION setting, not $(PKGVERSION).
28265         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28266         REPORT_BUGS_TO settings.
28268         [BZ #14838]
28269         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28270         macro.
28272 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28274         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28275         detection to immediately after _FP_ROUND().
28276         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28277         bits are 0.
28279 2012-11-11  David S. Miller  <davem@davemloft.net>
28281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28282         inttypes.h
28283         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28284         __close rather than their public counterparts.
28286 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28288         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28289         file.
28290         [UNIX98] (sem_timedwait): Do not expect.
28291         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28292         [XPG4 || UNIX98] (sockatmark): Do not expect.
28293         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28294         (clock_getcpuclockid): Do not expect.
28295         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28296         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28297         Do not expect.
28298         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28299         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28300         [UNIX98] (vwscanf): Likewise.
28301         [UNIX98] (vswscanf): Likewise.
28303 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28305         * timezone/version.h: Remove file.
28306         * timezone/README: Do not refer to version.h.
28307         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28308         $(objpfx)version.h.
28309         ($(objpfx)zdump.o): Likewise.
28310         ($(objpfx)version.h): New target.
28312         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28313         2012i.
28314         * timezone/README: Don't mention modification to tzselect.ksh.
28315         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28316         work on unmodified tzselect.ksh.  Substitute version numbers in
28317         tzselect.ksh.
28319         * Makefile (format-me): Remove.
28320         (INSTALL): Adjust indentation.  Use commands directly instead of
28321         using $(format-me).
28323         * aclocal.m4 (ACX_PKGVERSION): New macro.
28324         (ACX_BUGURL): Likewise.
28325         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28326         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28327         (REPORT_BUGS_TO): Likewise.
28328         * configure: Regenerated.
28329         * config.h.in (PKGVERSION): New macro.
28330         (REPORT_BUGS_TO): Likewise.
28331         * config.make.in (PKGVERSION): New variable.
28332         (PKGVERSION_TEXI): Likewise.
28333         (REPORT_BUGS_TO): Likewise.
28334         (REPORT_BUGS_TEXI): Likewise.
28335         * Makefile (format-me): Use -I$(common-objpfx)manual.
28336         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28337         ($(common-objpfx)manual/%): New target.
28338         (manual/%): Remove target.
28339         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28340         (print_version): Use PKGVERSION.
28341         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28342         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28343         and REPORT_BUGS_TO.
28344         ($(objpfx)xtrace): Likewise.
28345         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28346         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28347         (print_version): Use PKGVERSION.
28348         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28349         (do_version): Use PKGVERSION.
28350         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28351         REPORT_BUGS_TO.
28352         (common-ldd-rewrite): Likewise.
28353         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28354         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28355         (print_version): Use PKGVERSION.
28356         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28357         * elf/pldd.c (argp_program_bug_address): Remove variable.
28358         (more_help): New function.
28359         (argp): Use more_help.
28360         (print_version): Use PKGVERSION.
28361         * elf/sln.c (main): Use PKGVERSION.
28362         (usage): Use REPORT_BUGS_TO.
28363         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28364         (top level): Use PKGVERSION.
28365         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28366         (print_version): Use PKGVERSION.
28367         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28368         (print_version): Use PKGVERSION.
28369         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28370         (print_version): Use PKGVERSION.
28371         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28372         (print_version): Use PKGVERSION.
28373         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28374         (print_version): Use PKGVERSION.
28375         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28376         (print_version): Use PKGVERSION.
28377         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28378         and BUGURL.
28379         ($(objpfx)memusage): Likewise.
28380         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28381         (do_version): Use PKGVERSION.
28382         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28383         (print_version): Use PKGVERSION.
28384         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28385         ($PKGVERSION): New variable.
28386         ($REPORT_BUGS_TO): Likewise.
28387         (usage): Use $REPORT_BUGS_TO.
28388         (top level): Use $PKGVERSION.
28389         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28390         ($(objpfx)pkgvers.texi): New rule.
28391         ($(objpfx)stamp-pkgvers): Likewise.
28392         * manual/install.texi: Include pkgvers.texi.
28393         (--with-pkgversion): Document new configure option.
28394         (--with-bugurl): Likewise.
28395         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28396         than necessarily for this particular distribution.  Use
28397         REPORT_BUGS_TO for where to report bugs.
28398         * INSTALL: Regenerated.
28399         * manual/libc.texinfo: Include pkgvers.texi.
28400         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28401         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28402         (print_version): Use PKGVERSION.
28403         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28404         (print_version): Use PKGVERSION.
28405         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28406         (print_version): Use PKGVERSION.
28407         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28408         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28409         macro.
28410         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28411         (print_version): Use PKGVERSION.
28412         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28413         (print_version): Use PKGVERSION.
28414         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28415         and PKGVERSION.
28417         * timezone/checktab.awk: Update from tzcode 2012i.
28418         * timezone/ialloc.c: Likewise.
28419         * timezone/private.h: Likewise.
28420         * timezone/scheck.c: Likewise.
28421         * timezone/tzfile.h: Likewise.
28422         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28423         (TZVERSION): Hardcode tzcode version number.
28424         * timezone/zdump.c: Update from tzcode 2012i.
28425         * timezone/zic.c: Likewise.
28426         * timezone/version.h: New file.
28427         * timezone/README: Describe version.h.  Update upstream location.
28429         [BZ #14824]
28430         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28431         (mktemp): Enable declaration.
28432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28436         Likewise.
28437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28438         Likewise.
28439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28440         Likewise.
28441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28442         Likewise.
28443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28444         Likewise.
28445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28446         Likewise.
28448         [BZ #14821]
28449         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28450         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28451         for copies of such integer values.
28452         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28453         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28455 2012-11-09  Andreas Jaeger  <aj@suse.de>
28457         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28458         definitions and declarations that are provided by
28459         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28461 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28463         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28464         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28465         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28466         definition.
28468 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28470         * elf/elf.h: Update comment before AArch64 relocations.
28472 2012-11-07  David S. Miller  <davem@davemloft.net>
28474         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28475         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28476         (__start_context): Declare.
28477         (__makecontext_ret): Delete.
28478         (__makecontext): Hook up __start_context instead of
28479         __makecontext_ret.
28480         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28481         (sysdep_routines): Add __start_context when in stdlib.
28483 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28485         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28486         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28487         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28488         hardcoded "nm".
28489         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28490         (READELF): New variable.  Use it instead of hardcoded "readelf".
28492 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28494         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28495         * sysdeps/x86/Makefile: Here.
28496         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28497         * sysdeps/x86/tst-xmmymm.sh: This.
28499 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28501         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28502         expectations.
28503         [UNIX98] (pthread_barrier_t): Do not expect.
28504         [UNIX98] (pthread_barrierattr_t): Likewise.
28505         [UNIX98] (pthread_spinlock_t): Likewise.
28506         [UNIX98] (pthread_barrier_destroy): Likewise.
28507         [UNIX98] (pthread_barrier_init): Likewise.
28508         [UNIX98] (pthread_barrier_wait): Likewise.
28509         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28510         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28511         [UNIX98] (pthread_barrierattr_init): Likewise.
28512         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28513         [UNIX98] (pthread_getcpuclockid): Likewise.
28514         [UNIX98] (pthread_mutex_timedlock): Likewise.
28515         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28516         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28517         [UNIX98] (pthread_sigmask): Likewise.
28518         [UNIX98] (pthread_spin_destroy): Likewise.
28519         [UNIX98] (pthread_spin_init): Likewise.
28520         [UNIX98] (pthread_spin_lock): Likewise.
28521         [UNIX98] (pthread_spin_trylock): Likewise.
28522         [UNIX98] (pthread_spin_unlock): Likewise.
28523         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28524         Do not expect.
28525         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28526         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28527         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28528         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28529         [XPG3 || XPG4] (pthread_key_t): Likewise.
28530         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28531         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28532         [XPG3 || XPG4] (pthread_once_t): Likewise.
28533         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28534         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28535         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28536         [XPG3 || XPG4] (pthread_t): Likewise.
28538         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28539         not expect.
28540         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28542         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28543         Change function return type to int.
28545         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28546         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28547         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28548         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28549         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28550         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28551         [!POSIX] (posix_madvise): Likewise.
28552         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28553         && !UNIX98].
28554         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28555         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28556         (mode_t): Likewise.
28557         (posix_mem_offset): Likewise.
28558         (posix_typed_mem_get_info): Likewise.
28559         (posix_typed_mem_open): Likewise.
28561         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28562         Change condition to [XOPEN2K8].
28564         * conform/conformtest.pl: Preprocess allow-header data with -x c
28565         instead of from stdin.
28566         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28567         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28568         [C99-based standards] (cerfc): Likewise.
28569         [C99-based standards] (cexp2): Likewise.
28570         [C99-based standards] (cexpm1): Likewise.
28571         [C99-based standards] (clog10): Likewise.
28572         [C99-based standards] (clog1p): Likewise.
28573         [C99-based standards] (clog2): Likewise.
28574         [C99-based standards] (clgamma): Likewise.
28575         [C99-based standards] (ctgamma): Likewise.
28576         [C99-based standards] (cerff): Likewise.
28577         [C99-based standards] (cerfcf): Likewise.
28578         [C99-based standards] (cexp2f): Likewise.
28579         [C99-based standards] (cexpm1f): Likewise.
28580         [C99-based standards] (clog10f): Likewise.
28581         [C99-based standards] (clog1pf): Likewise.
28582         [C99-based standards] (clog2f): Likewise.
28583         [C99-based standards] (clgammaf): Likewise.
28584         [C99-based standards] (ctgammaf): Likewise.
28585         [C99-based standards] (cerfl): Likewise.
28586         [C99-based standards] (cerfcl): Likewise.
28587         [C99-based standards] (cexp2l): Likewise.
28588         [C99-based standards] (cexpm1l): Likewise.
28589         [C99-based standards] (clog10l): Likewise.
28590         [C99-based standards] (clog1pl): Likewise.
28591         [C99-based standards] (clog2l): Likewise.
28592         [C99-based standards] (clgammal): Likewise.
28593         [C99-based standards] (ctgammal): Likewise.
28594         * conform/data/inttypes.h-data [C99-based standards]: Include
28595         stdint.h-data.  Remove all expectations for stdint.h contents.
28596         [C99-based standards] (PRI*): Do not allow.
28597         [C99-based standards] (SCN*): Likewise.
28598         [C99-based standards] (*_t): Likewise.
28599         [C99-based-standards] (PRId8): Expect macro.
28600         [C99-based-standards] (PRIi8): Likewise.
28601         [C99-based-standards] (PRIo8): Likewise.
28602         [C99-based-standards] (PRIu8): Likewise.
28603         [C99-based-standards] (PRIx8): Likewise.
28604         [C99-based-standards] (PRIX8): Likewise.
28605         [C99-based-standards] (SCNd8): Likewise.
28606         [C99-based-standards] (SCNi8): Likewise.
28607         [C99-based-standards] (SCNo8): Likewise.
28608         [C99-based-standards] (SCNu8): Likewise.
28609         [C99-based-standards] (SCNx8): Likewise.
28610         [C99-based-standards] (PRIdLEAST8): Likewise.
28611         [C99-based-standards] (PRIiLEAST8): Likewise.
28612         [C99-based-standards] (PRIoLEAST8): Likewise.
28613         [C99-based-standards] (PRIuLEAST8): Likewise.
28614         [C99-based-standards] (PRIxLEAST8): Likewise.
28615         [C99-based-standards] (PRIXLEAST8): Likewise.
28616         [C99-based-standards] (SCNdLEAST8): Likewise.
28617         [C99-based-standards] (SCNiLEAST8): Likewise.
28618         [C99-based-standards] (SCNoLEAST8): Likewise.
28619         [C99-based-standards] (SCNuLEAST8): Likewise.
28620         [C99-based-standards] (SCNxLEAST8): Likewise.
28621         [C99-based-standards] (PRIdFAST8): Likewise.
28622         [C99-based-standards] (PRIiFAST8): Likewise.
28623         [C99-based-standards] (PRIoFAST8): Likewise.
28624         [C99-based-standards] (PRIuFAST8): Likewise.
28625         [C99-based-standards] (PRIxFAST8): Likewise.
28626         [C99-based-standards] (PRIXFAST8): Likewise.
28627         [C99-based-standards] (SCNdFAST8): Likewise.
28628         [C99-based-standards] (SCNiFAST8): Likewise.
28629         [C99-based-standards] (SCNoFAST8): Likewise.
28630         [C99-based-standards] (SCNuFAST8): Likewise.
28631         [C99-based-standards] (SCNxFAST8): Likewise.
28632         [C99-based-standards] (PRId16): Likewise.
28633         [C99-based-standards] (PRIi16): Likewise.
28634         [C99-based-standards] (PRIo16): Likewise.
28635         [C99-based-standards] (PRIu16): Likewise.
28636         [C99-based-standards] (PRIx16): Likewise.
28637         [C99-based-standards] (PRIX16): Likewise.
28638         [C99-based-standards] (SCNd16): Likewise.
28639         [C99-based-standards] (SCNi16): Likewise.
28640         [C99-based-standards] (SCNo16): Likewise.
28641         [C99-based-standards] (SCNu16): Likewise.
28642         [C99-based-standards] (SCNx16): Likewise.
28643         [C99-based-standards] (PRIdLEAST16): Likewise.
28644         [C99-based-standards] (PRIiLEAST16): Likewise.
28645         [C99-based-standards] (PRIoLEAST16): Likewise.
28646         [C99-based-standards] (PRIuLEAST16): Likewise.
28647         [C99-based-standards] (PRIxLEAST16): Likewise.
28648         [C99-based-standards] (PRIXLEAST16): Likewise.
28649         [C99-based-standards] (SCNdLEAST16): Likewise.
28650         [C99-based-standards] (SCNiLEAST16): Likewise.
28651         [C99-based-standards] (SCNoLEAST16): Likewise.
28652         [C99-based-standards] (SCNuLEAST16): Likewise.
28653         [C99-based-standards] (SCNxLEAST16): Likewise.
28654         [C99-based-standards] (PRIdFAST16): Likewise.
28655         [C99-based-standards] (PRIiFAST16): Likewise.
28656         [C99-based-standards] (PRIoFAST16): Likewise.
28657         [C99-based-standards] (PRIuFAST16): Likewise.
28658         [C99-based-standards] (PRIxFAST16): Likewise.
28659         [C99-based-standards] (PRIXFAST16): Likewise.
28660         [C99-based-standards] (SCNdFAST16): Likewise.
28661         [C99-based-standards] (SCNiFAST16): Likewise.
28662         [C99-based-standards] (SCNoFAST16): Likewise.
28663         [C99-based-standards] (SCNuFAST16): Likewise.
28664         [C99-based-standards] (SCNxFAST16): Likewise.
28665         [C99-based-standards] (PRId32): Likewise.
28666         [C99-based-standards] (PRIi32): Likewise.
28667         [C99-based-standards] (PRIo32): Likewise.
28668         [C99-based-standards] (PRIu32): Likewise.
28669         [C99-based-standards] (PRIx32): Likewise.
28670         [C99-based-standards] (PRIX32): Likewise.
28671         [C99-based-standards] (SCNd32): Likewise.
28672         [C99-based-standards] (SCNi32): Likewise.
28673         [C99-based-standards] (SCNo32): Likewise.
28674         [C99-based-standards] (SCNu32): Likewise.
28675         [C99-based-standards] (SCNx32): Likewise.
28676         [C99-based-standards] (PRIdLEAST32): Likewise.
28677         [C99-based-standards] (PRIiLEAST32): Likewise.
28678         [C99-based-standards] (PRIoLEAST32): Likewise.
28679         [C99-based-standards] (PRIuLEAST32): Likewise.
28680         [C99-based-standards] (PRIxLEAST32): Likewise.
28681         [C99-based-standards] (PRIXLEAST32): Likewise.
28682         [C99-based-standards] (SCNdLEAST32): Likewise.
28683         [C99-based-standards] (SCNiLEAST32): Likewise.
28684         [C99-based-standards] (SCNoLEAST32): Likewise.
28685         [C99-based-standards] (SCNuLEAST32): Likewise.
28686         [C99-based-standards] (SCNxLEAST32): Likewise.
28687         [C99-based-standards] (PRIdFAST32): Likewise.
28688         [C99-based-standards] (PRIiFAST32): Likewise.
28689         [C99-based-standards] (PRIoFAST32): Likewise.
28690         [C99-based-standards] (PRIuFAST32): Likewise.
28691         [C99-based-standards] (PRIxFAST32): Likewise.
28692         [C99-based-standards] (PRIXFAST32): Likewise.
28693         [C99-based-standards] (SCNdFAST32): Likewise.
28694         [C99-based-standards] (SCNiFAST32): Likewise.
28695         [C99-based-standards] (SCNoFAST32): Likewise.
28696         [C99-based-standards] (SCNuFAST32): Likewise.
28697         [C99-based-standards] (SCNxFAST32): Likewise.
28698         [C99-based-standards] (PRId64): Likewise.
28699         [C99-based-standards] (PRIi64): Likewise.
28700         [C99-based-standards] (PRIo64): Likewise.
28701         [C99-based-standards] (PRIu64): Likewise.
28702         [C99-based-standards] (PRIx64): Likewise.
28703         [C99-based-standards] (PRIX64): Likewise.
28704         [C99-based-standards] (SCNd64): Likewise.
28705         [C99-based-standards] (SCNi64): Likewise.
28706         [C99-based-standards] (SCNo64): Likewise.
28707         [C99-based-standards] (SCNu64): Likewise.
28708         [C99-based-standards] (SCNx64): Likewise.
28709         [C99-based-standards] (PRIdLEAST64): Likewise.
28710         [C99-based-standards] (PRIiLEAST64): Likewise.
28711         [C99-based-standards] (PRIoLEAST64): Likewise.
28712         [C99-based-standards] (PRIuLEAST64): Likewise.
28713         [C99-based-standards] (PRIxLEAST64): Likewise.
28714         [C99-based-standards] (PRIXLEAST64): Likewise.
28715         [C99-based-standards] (SCNdLEAST64): Likewise.
28716         [C99-based-standards] (SCNiLEAST64): Likewise.
28717         [C99-based-standards] (SCNoLEAST64): Likewise.
28718         [C99-based-standards] (SCNuLEAST64): Likewise.
28719         [C99-based-standards] (SCNxLEAST64): Likewise.
28720         [C99-based-standards] (PRIdFAST64): Likewise.
28721         [C99-based-standards] (PRIiFAST64): Likewise.
28722         [C99-based-standards] (PRIoFAST64): Likewise.
28723         [C99-based-standards] (PRIuFAST64): Likewise.
28724         [C99-based-standards] (PRIxFAST64): Likewise.
28725         [C99-based-standards] (PRIXFAST64): Likewise.
28726         [C99-based-standards] (SCNdFAST64): Likewise.
28727         [C99-based-standards] (SCNiFAST64): Likewise.
28728         [C99-based-standards] (SCNoFAST64): Likewise.
28729         [C99-based-standards] (SCNuFAST64): Likewise.
28730         [C99-based-standards] (SCNxFAST64): Likewise.
28731         [C99-based-standards] (PRIdMAX): Likewise.
28732         [C99-based-standards] (PRIiMAX): Likewise.
28733         [C99-based-standards] (PRIoMAX): Likewise.
28734         [C99-based-standards] (PRIuMAX): Likewise.
28735         [C99-based-standards] (PRIxMAX): Likewise.
28736         [C99-based-standards] (PRIXMAX): Likewise.
28737         [C99-based-standards] (SCNdMAX): Likewise.
28738         [C99-based-standards] (SCNiMAX): Likewise.
28739         [C99-based-standards] (SCNoMAX): Likewise.
28740         [C99-based-standards] (SCNuMAX): Likewise.
28741         [C99-based-standards] (SCNxMAX): Likewise.
28742         [C99-based-standards] (PRIdPTR): Likewise.
28743         [C99-based-standards] (PRIiPTR): Likewise.
28744         [C99-based-standards] (PRIoPTR): Likewise.
28745         [C99-based-standards] (PRIuPTR): Likewise.
28746         [C99-based-standards] (PRIxPTR): Likewise.
28747         [C99-based-standards] (PRIXPTR): Likewise.
28748         [C99-based-standards] (SCNdPTR): Likewise.
28749         [C99-based-standards] (SCNiPTR): Likewise.
28750         [C99-based-standards] (SCNoPTR): Likewise.
28751         [C99-based-standards] (SCNuPTR): Likewise.
28752         [C99-based-standards] (SCNxPTR): Likewise.
28753         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28754         allow.
28755         * conform/data/stdint.h-data: Update comments to clarify
28756         requirements.
28757         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28758         type.
28759         [C99-based standards] (INT8_MAX): Likewise.
28760         [C99-based standards] (INT16_MIN): Likewise.
28761         [C99-based standards] (INT16_MAX): Likewise.
28762         [C99-based standards] (INT32_MIN): Likewise.
28763         [C99-based standards] (INT32_MAX): Likewise.
28764         [C99-based standards] (INT64_MIN): Likewise.
28765         [C99-based standards] (INT64_MAX): Likewise.
28766         [C99-based standards] (UINT8_MAX): Likewise.
28767         [C99-based standards] (UINT16_MAX): Likewise.
28768         [C99-based standards] (UINT32_MAX): Likewise.
28769         [C99-based standards] (UINT64_MAX): Likewise.
28770         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28771         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28772         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28773         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28774         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28775         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28776         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28777         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28778         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28779         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28780         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28781         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28782         [C99-based standards] (INT_FAST8_MIN): Likewise.
28783         [C99-based standards] (INT_FAST8_MAX): Likewise.
28784         [C99-based standards] (INT_FAST16_MIN): Likewise.
28785         [C99-based standards] (INT_FAST16_MAX): Likewise.
28786         [C99-based standards] (INT_FAST32_MIN): Likewise.
28787         [C99-based standards] (INT_FAST32_MAX): Likewise.
28788         [C99-based standards] (INT_FAST64_MIN): Likewise.
28789         [C99-based standards] (INT_FAST64_MAX): Likewise.
28790         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28791         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28792         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28793         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28794         [C99-based standards] (INTPTR_MIN): Likewise.
28795         [C99-based standards] (INTPTR_MAX): Likewise.
28796         [C99-based standards] (UINTPTR_MAX): Likewise.
28797         [C99-based standards] (INTMAX_MIN): Likewise.
28798         [C99-based standards] (INTMAX_MAX): Likewise.
28799         [C99-based standards] (UINTMAX_MAX): Likewise.
28800         [C99-based standards] (PTRDIFF_MIN): Likewise.
28801         [C99-based standards] (PTRDIFF_MAX): Likewise.
28802         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28803         [C99-based standards] (SIZE_MAX): Likewise.
28804         [C99-based standards] (WCHAR_MAX): Likewise.
28805         [C99-based standards] (WINT_MAX): Likewise.
28806         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28807         constraint on value.
28808         [C99-based standards] (WCHAR_MIN): Likewise.
28809         [C99-based standards] (WINT_MIN): Likewise.
28810         [C99-based standards] (*_t): Allow.
28811         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28812         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28813         Include math.h-data and complex.h-data.  Remove all expectations
28814         of math.h and complex.h contents.
28815         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28816         at end of line.
28817         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28818         (struct tm): Expect tag.
28819         [C99-based-standards] (wcstof): Expect function.
28820         [C99-based-standards] (wcstold): Likewise.
28821         [C99-based-standards] (wcstoll): Likewise.
28822         [C99-based-standards] (wcstoull): Likewise.
28823         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28824         macro-int-constant.  Specify type.
28825         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28826         constraint on value.
28827         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28828         Specify type.
28829         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28830         Specify value.
28831         [ISO C standards]: Do not allow headers.
28832         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28833         wcs[abcdefghijklmnopqrstuvwxyz]*.
28834         [ISO C standards] (*_t): Do not allow.
28835         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28836         Expect function.
28837         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28838         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28839         Specify type.
28840         [ISO C standards]: Do not allow headers.
28841         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28842         is[abcdefghijklmnopqrstuvwxyz]*.
28843         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28844         to[abcdefghijklmnopqrstuvwxyz]*.
28845         [ISO C standards] (*_t): Do not allow.
28846         * conform/data/stdalign.h-data: New file.
28847         * conform/data/stdbool.h-data: Likewise.
28848         * conform/data/stdnoreturn.h-data: Likewise.
28850 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28852         [BZ #14815]
28853         * manual/filesys.texi (Directory Entries): Typo fix.
28854         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28856 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28858         * elf/elf.h (EM_AARCH64): New macro.
28859         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28860         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28861         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28862         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28863         (R_AARCH64_TLSDESC): Likewise.
28864         (NT_ARM_TLS): Likewise.
28865         (NT_ARM_HW_BREAK): Likewise.
28866         (NT_ARM_HW_WATCH): Likewise.
28868 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28870         [BZ #14811]
28871         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28872         (__ieee754_powl): Saturate nonzero exponents with absolute value
28873         below 0x1p-79 to +/- 0x1p-79.
28874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28875         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28876         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28877         nonzero exponents with absolute value below 0x1p-32 to +/-
28878         0x1p-32.
28879         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28880         (__ieee754_powl): Saturate nonzero exponents with absolute value
28881         below 0x1p-79 to +/- 0x1p-79.
28882         * math/libm-test.inc (pow_test): Add more tests.
28884 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28886         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28887         _dl_s390_cap_flags with kernel. Increase string length.
28888         (_dl_s390_platforms): Add z196 and zEC12.
28890 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28892         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28893         Change XOPEN21K to XOPEN2K.
28895 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28897         * string/memmove.c: Use memcpy when possible.
28899 2012-11-06  Andreas Jaeger  <aj@suse.de>
28901         * po/eo.po: Update from translation team.
28903 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28905         [BZ #14793]
28906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28907         exponent and small x and y exponents, scale x or y up.  Increase
28908         by 2 the exponent used in scaling up.
28909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28911         * math/libm-test.inc (fma_test): Add more tests.
28912         (fma_test_towardzero): Likewise.
28913         (fma_test_downward): Likewise.
28914         (fma_test_upward): Likewise.
28916 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28918         [BZ #14805]
28919         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28920         fenv_t *.
28922         [BZ #14801]
28923         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28924         namespace for names of struct fields.
28925         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28926         fenv_t fields.
28927         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28928         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28930 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28932         [BZ #3665]
28933         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28935 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28937         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28938         PTR_DEMANGLE.
28940         [BZ #5246]
28941         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28942         PTR_DEMANGLE.
28944 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28946         [BZ #14797]
28947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28948         definitely overflow as x * y not x * y + z.
28949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28950         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28951         * math/libm-test.inc (fma_test): Add more tests.
28952         (fma_test_towardzero): Likewise.
28953         (fma_test_downward): Likewise.
28954         (fma_test_upward): Likewise.
28956 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28958         [BZ #157]
28960         * include/stub-tag.h: Remove file.
28961         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28962         '#include' of it.
28963         * manual/maint.texi (Porting): Don't reference it.
28964         * Makerules ($(objpfx)stubs): Likewise.
28965         * dirent/closedir.c: Don't include <stub-tag.h>.
28966         * dirent/dirfd.c: Likewise.
28967         * dirent/fdopendir.c: Likewise.
28968         * dirent/getdents.c: Likewise.
28969         * dirent/getdents64.c: Likewise.
28970         * dirent/opendir.c: Likewise.
28971         * dirent/readdir.c: Likewise.
28972         * dirent/readdir64.c: Likewise.
28973         * dirent/readdir64_r.c: Likewise.
28974         * dirent/readdir_r.c: Likewise.
28975         * dirent/rewinddir.c: Likewise.
28976         * dirent/seekdir.c: Likewise.
28977         * dirent/telldir.c: Likewise.
28978         * gmon/profil.c: Likewise.
28979         * grp/setgroups.c: Likewise.
28980         * inet/if_index.c: Likewise.
28981         * io/access.c: Likewise.
28982         * io/chdir.c: Likewise.
28983         * io/chmod.c: Likewise.
28984         * io/chown.c: Likewise.
28985         * io/close.c: Likewise.
28986         * io/dup.c: Likewise.
28987         * io/dup2.c: Likewise.
28988         * io/dup3.c: Likewise.
28989         * io/euidaccess.c: Likewise.
28990         * io/faccessat.c: Likewise.
28991         * io/fchdir.c: Likewise.
28992         * io/fchmod.c: Likewise.
28993         * io/fchmodat.c: Likewise.
28994         * io/fchown.c: Likewise.
28995         * io/fchownat.c: Likewise.
28996         * io/fcntl.c: Likewise.
28997         * io/flock.c: Likewise.
28998         * io/fstatfs.c: Likewise.
28999         * io/fstatfs64.c: Likewise.
29000         * io/fstatvfs.c: Likewise.
29001         * io/fstatvfs64.c: Likewise.
29002         * io/futimens.c: Likewise.
29003         * io/fxstat.c: Likewise.
29004         * io/fxstat64.c: Likewise.
29005         * io/fxstatat.c: Likewise.
29006         * io/fxstatat64.c: Likewise.
29007         * io/getcwd.c: Likewise.
29008         * io/isatty.c: Likewise.
29009         * io/lchmod.c: Likewise.
29010         * io/lchown.c: Likewise.
29011         * io/link.c: Likewise.
29012         * io/linkat.c: Likewise.
29013         * io/lseek.c: Likewise.
29014         * io/lseek64.c: Likewise.
29015         * io/lxstat64.c: Likewise.
29016         * io/mkdir.c: Likewise.
29017         * io/mkdirat.c: Likewise.
29018         * io/mkfifo.c: Likewise.
29019         * io/mkfifoat.c: Likewise.
29020         * io/open.c: Likewise.
29021         * io/open64.c: Likewise.
29022         * io/openat.c: Likewise.
29023         * io/openat64.c: Likewise.
29024         * io/pipe.c: Likewise.
29025         * io/pipe2.c: Likewise.
29026         * io/poll.c: Likewise.
29027         * io/posix_fadvise.c: Likewise.
29028         * io/posix_fadvise64.c: Likewise.
29029         * io/posix_fallocate.c: Likewise.
29030         * io/posix_fallocate64.c: Likewise.
29031         * io/read.c: Likewise.
29032         * io/readlink.c: Likewise.
29033         * io/readlinkat.c: Likewise.
29034         * io/rmdir.c: Likewise.
29035         * io/sendfile.c: Likewise.
29036         * io/sendfile64.c: Likewise.
29037         * io/statfs.c: Likewise.
29038         * io/statfs64.c: Likewise.
29039         * io/statvfs.c: Likewise.
29040         * io/statvfs64.c: Likewise.
29041         * io/symlink.c: Likewise.
29042         * io/symlinkat.c: Likewise.
29043         * io/ttyname.c: Likewise.
29044         * io/ttyname_r.c: Likewise.
29045         * io/umask.c: Likewise.
29046         * io/unlink.c: Likewise.
29047         * io/unlinkat.c: Likewise.
29048         * io/utime.c: Likewise.
29049         * io/utimensat.c: Likewise.
29050         * io/write.c: Likewise.
29051         * io/xmknod.c: Likewise.
29052         * io/xmknodat.c: Likewise.
29053         * io/xstat.c: Likewise.
29054         * io/xstat64.c: Likewise.
29055         * login/getpt.c: Likewise.
29056         * login/grantpt.c: Likewise.
29057         * login/unlockpt.c: Likewise.
29058         * math/e_acoshl.c: Likewise.
29059         * math/e_acosl.c: Likewise.
29060         * math/e_asinl.c: Likewise.
29061         * math/e_atan2l.c: Likewise.
29062         * math/e_atanhl.c: Likewise.
29063         * math/e_coshl.c: Likewise.
29064         * math/e_expl.c: Likewise.
29065         * math/e_fmodl.c: Likewise.
29066         * math/e_gammal_r.c: Likewise.
29067         * math/e_hypotl.c: Likewise.
29068         * math/e_j0l.c: Likewise.
29069         * math/e_j1l.c: Likewise.
29070         * math/e_jnl.c: Likewise.
29071         * math/e_lgammal_r.c: Likewise.
29072         * math/e_log10l.c: Likewise.
29073         * math/e_log2l.c: Likewise.
29074         * math/e_logl.c: Likewise.
29075         * math/e_powl.c: Likewise.
29076         * math/e_rem_pio2l.c: Likewise.
29077         * math/e_sinhl.c: Likewise.
29078         * math/e_sqrtl.c: Likewise.
29079         * math/fclrexcpt.c: Likewise.
29080         * math/fedisblxcpt.c: Likewise.
29081         * math/feenablxcpt.c: Likewise.
29082         * math/fegetenv.c: Likewise.
29083         * math/fegetexcept.c: Likewise.
29084         * math/fegetround.c: Likewise.
29085         * math/feholdexcpt.c: Likewise.
29086         * math/fesetenv.c: Likewise.
29087         * math/fesetround.c: Likewise.
29088         * math/feupdateenv.c: Likewise.
29089         * math/fgetexcptflg.c: Likewise.
29090         * math/fraiseexcpt.c: Likewise.
29091         * math/fsetexcptflg.c: Likewise.
29092         * math/ftestexcept.c: Likewise.
29093         * math/k_cosl.c: Likewise.
29094         * math/k_rem_pio2l.c: Likewise.
29095         * math/k_sinl.c: Likewise.
29096         * math/k_tanl.c: Likewise.
29097         * math/s_asinhl.c: Likewise.
29098         * math/s_atanl.c: Likewise.
29099         * math/s_cbrtl.c: Likewise.
29100         * math/s_erfl.c: Likewise.
29101         * math/s_expm1l.c: Likewise.
29102         * math/s_log1pl.c: Likewise.
29103         * math/s_tanhl.c: Likewise.
29104         * misc/acct.c: Likewise.
29105         * misc/brk.c: Likewise.
29106         * misc/chflags.c: Likewise.
29107         * misc/chroot.c: Likewise.
29108         * misc/fchflags.c: Likewise.
29109         * misc/fgetxattr.c: Likewise.
29110         * misc/flistxattr.c: Likewise.
29111         * misc/fremovexattr.c: Likewise.
29112         * misc/fsetxattr.c: Likewise.
29113         * misc/fsync.c: Likewise.
29114         * misc/ftruncate.c: Likewise.
29115         * misc/futimes.c: Likewise.
29116         * misc/futimesat.c: Likewise.
29117         * misc/getdomain.c: Likewise.
29118         * misc/getdtsz.c: Likewise.
29119         * misc/gethostid.c: Likewise.
29120         * misc/gethostname.c: Likewise.
29121         * misc/getloadavg.c: Likewise.
29122         * misc/getpagesize.c: Likewise.
29123         * misc/getsysstats.c: Likewise.
29124         * misc/getxattr.c: Likewise.
29125         * misc/gtty.c: Likewise.
29126         * misc/ioctl.c: Likewise.
29127         * misc/lgetxattr.c: Likewise.
29128         * misc/listxattr.c: Likewise.
29129         * misc/llistxattr.c: Likewise.
29130         * misc/lremovexattr.c: Likewise.
29131         * misc/lsetxattr.c: Likewise.
29132         * misc/lutimes.c: Likewise.
29133         * misc/madvise.c: Likewise.
29134         * misc/mincore.c: Likewise.
29135         * misc/mlock.c: Likewise.
29136         * misc/mlockall.c: Likewise.
29137         * misc/mmap.c: Likewise.
29138         * misc/mprotect.c: Likewise.
29139         * misc/msync.c: Likewise.
29140         * misc/munlock.c: Likewise.
29141         * misc/munlockall.c: Likewise.
29142         * misc/munmap.c: Likewise.
29143         * misc/preadv.c: Likewise.
29144         * misc/preadv64.c: Likewise.
29145         * misc/ptrace.c: Likewise.
29146         * misc/pwritev.c: Likewise.
29147         * misc/pwritev64.c: Likewise.
29148         * misc/readv.c: Likewise.
29149         * misc/reboot.c: Likewise.
29150         * misc/remap_file_pages.c: Likewise.
29151         * misc/removexattr.c: Likewise.
29152         * misc/revoke.c: Likewise.
29153         * misc/select.c: Likewise.
29154         * misc/setdomain.c: Likewise.
29155         * misc/setegid.c: Likewise.
29156         * misc/seteuid.c: Likewise.
29157         * misc/sethostid.c: Likewise.
29158         * misc/sethostname.c: Likewise.
29159         * misc/setregid.c: Likewise.
29160         * misc/setreuid.c: Likewise.
29161         * misc/setxattr.c: Likewise.
29162         * misc/sstk.c: Likewise.
29163         * misc/stty.c: Likewise.
29164         * misc/swapoff.c: Likewise.
29165         * misc/swapon.c: Likewise.
29166         * misc/sync.c: Likewise.
29167         * misc/syncfs.c: Likewise.
29168         * misc/syscall.c: Likewise.
29169         * misc/truncate.c: Likewise.
29170         * misc/ualarm.c: Likewise.
29171         * misc/usleep.c: Likewise.
29172         * misc/ustat.c: Likewise.
29173         * misc/utimes.c: Likewise.
29174         * misc/vhangup.c: Likewise.
29175         * misc/writev.c: Likewise.
29176         * posix/_exit.c: Likewise.
29177         * posix/alarm.c: Likewise.
29178         * posix/execve.c: Likewise.
29179         * posix/fexecve.c: Likewise.
29180         * posix/fork.c: Likewise.
29181         * posix/fpathconf.c: Likewise.
29182         * posix/getaddrinfo.c: Likewise.
29183         * posix/getegid.c: Likewise.
29184         * posix/geteuid.c: Likewise.
29185         * posix/getgid.c: Likewise.
29186         * posix/getgroups.c: Likewise.
29187         * posix/getlogin.c: Likewise.
29188         * posix/getlogin_r.c: Likewise.
29189         * posix/getpgid.c: Likewise.
29190         * posix/getpid.c: Likewise.
29191         * posix/getppid.c: Likewise.
29192         * posix/getresgid.c: Likewise.
29193         * posix/getresuid.c: Likewise.
29194         * posix/getsid.c: Likewise.
29195         * posix/getuid.c: Likewise.
29196         * posix/glob64.c: Likewise.
29197         * posix/nanosleep.c: Likewise.
29198         * posix/pathconf.c: Likewise.
29199         * posix/pause.c: Likewise.
29200         * posix/posix_madvise.c: Likewise.
29201         * posix/pread.c: Likewise.
29202         * posix/pread64.c: Likewise.
29203         * posix/pwrite.c: Likewise.
29204         * posix/pwrite64.c: Likewise.
29205         * posix/sched_getaffinity.c: Likewise.
29206         * posix/sched_getp.c: Likewise.
29207         * posix/sched_gets.c: Likewise.
29208         * posix/sched_primax.c: Likewise.
29209         * posix/sched_primin.c: Likewise.
29210         * posix/sched_rr_gi.c: Likewise.
29211         * posix/sched_setaffinity.c: Likewise.
29212         * posix/sched_setp.c: Likewise.
29213         * posix/sched_sets.c: Likewise.
29214         * posix/sched_yield.c: Likewise.
29215         * posix/setgid.c: Likewise.
29216         * posix/setlogin.c: Likewise.
29217         * posix/setpgid.c: Likewise.
29218         * posix/setresgid.c: Likewise.
29219         * posix/setresuid.c: Likewise.
29220         * posix/setsid.c: Likewise.
29221         * posix/setuid.c: Likewise.
29222         * posix/sleep.c: Likewise.
29223         * posix/spawni.c: Likewise.
29224         * posix/sysconf.c: Likewise.
29225         * posix/times.c: Likewise.
29226         * posix/wait.c: Likewise.
29227         * posix/wait3.c: Likewise.
29228         * posix/wait4.c: Likewise.
29229         * posix/waitpid.c: Likewise.
29230         * resolv/gai_sigqueue.c: Likewise.
29231         * resource/getpriority.c: Likewise.
29232         * resource/getrlimit.c: Likewise.
29233         * resource/getrusage.c: Likewise.
29234         * resource/nice.c: Likewise.
29235         * resource/setpriority.c: Likewise.
29236         * resource/setrlimit.c: Likewise.
29237         * resource/ulimit.c: Likewise.
29238         * rt/aio_cancel.c: Likewise.
29239         * rt/aio_fsync.c: Likewise.
29240         * rt/aio_read.c: Likewise.
29241         * rt/aio_sigqueue.c: Likewise.
29242         * rt/aio_suspend.c: Likewise.
29243         * rt/aio_write.c: Likewise.
29244         * rt/clock_getres.c: Likewise.
29245         * rt/clock_gettime.c: Likewise.
29246         * rt/clock_nanosleep.c: Likewise.
29247         * rt/clock_settime.c: Likewise.
29248         * rt/lio_listio.c: Likewise.
29249         * rt/mq_close.c: Likewise.
29250         * rt/mq_getattr.c: Likewise.
29251         * rt/mq_notify.c: Likewise.
29252         * rt/mq_open.c: Likewise.
29253         * rt/mq_receive.c: Likewise.
29254         * rt/mq_send.c: Likewise.
29255         * rt/mq_setattr.c: Likewise.
29256         * rt/mq_timedreceive.c: Likewise.
29257         * rt/mq_timedsend.c: Likewise.
29258         * rt/mq_unlink.c: Likewise.
29259         * rt/shm_open.c: Likewise.
29260         * rt/shm_unlink.c: Likewise.
29261         * rt/timer_create.c: Likewise.
29262         * rt/timer_delete.c: Likewise.
29263         * rt/timer_getoverr.c: Likewise.
29264         * rt/timer_gettime.c: Likewise.
29265         * rt/timer_settime.c: Likewise.
29266         * setjmp/__longjmp.c: Likewise.
29267         * setjmp/setjmp.c: Likewise.
29268         * signal/kill.c: Likewise.
29269         * signal/killpg.c: Likewise.
29270         * signal/raise.c: Likewise.
29271         * signal/sigaction.c: Likewise.
29272         * signal/sigaltstack.c: Likewise.
29273         * signal/sigblock.c: Likewise.
29274         * signal/sigignore.c: Likewise.
29275         * signal/sigintr.c: Likewise.
29276         * signal/signal.c: Likewise.
29277         * signal/sigpause.c: Likewise.
29278         * signal/sigpending.c: Likewise.
29279         * signal/sigqueue.c: Likewise.
29280         * signal/sigreturn.c: Likewise.
29281         * signal/sigset.c: Likewise.
29282         * signal/sigsetmask.c: Likewise.
29283         * signal/sigstack.c: Likewise.
29284         * signal/sigsuspend.c: Likewise.
29285         * signal/sigtimedwait.c: Likewise.
29286         * signal/sigvec.c: Likewise.
29287         * signal/sigwait.c: Likewise.
29288         * signal/sigwaitinfo.c: Likewise.
29289         * signal/sysv_signal.c: Likewise.
29290         * socket/accept.c: Likewise.
29291         * socket/accept4.c: Likewise.
29292         * socket/bind.c: Likewise.
29293         * socket/connect.c: Likewise.
29294         * socket/getpeername.c: Likewise.
29295         * socket/getsockname.c: Likewise.
29296         * socket/getsockopt.c: Likewise.
29297         * socket/isfdtype.c: Likewise.
29298         * socket/listen.c: Likewise.
29299         * socket/recv.c: Likewise.
29300         * socket/recvfrom.c: Likewise.
29301         * socket/recvmsg.c: Likewise.
29302         * socket/send.c: Likewise.
29303         * socket/sendmsg.c: Likewise.
29304         * socket/sendto.c: Likewise.
29305         * socket/setsockopt.c: Likewise.
29306         * socket/shutdown.c: Likewise.
29307         * socket/sockatmark.c: Likewise.
29308         * socket/socket.c: Likewise.
29309         * socket/socketpair.c: Likewise.
29310         * stdio-common/ctermid.c: Likewise.
29311         * stdio-common/cuserid.c: Likewise.
29312         * stdio-common/remove.c: Likewise.
29313         * stdio-common/rename.c: Likewise.
29314         * stdio-common/renameat.c: Likewise.
29315         * stdio-common/tempname.c: Likewise.
29316         * stdlib/getcontext.c: Likewise.
29317         * stdlib/makecontext.c: Likewise.
29318         * stdlib/setcontext.c: Likewise.
29319         * stdlib/swapcontext.c: Likewise.
29320         * stdlib/system.c: Likewise.
29321         * streams/fattach.c: Likewise.
29322         * streams/fdetach.c: Likewise.
29323         * streams/getmsg.c: Likewise.
29324         * streams/getpmsg.c: Likewise.
29325         * streams/putmsg.c: Likewise.
29326         * streams/putpmsg.c: Likewise.
29327         * sysdeps/unix/bsd/getpt.c: Likewise.
29328         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29329         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29330         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29332         Likewise.
29333         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29334         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29335         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29336         * sysvipc/msgctl.c: Likewise.
29337         * sysvipc/msgget.c: Likewise.
29338         * sysvipc/msgrcv.c: Likewise.
29339         * sysvipc/msgsnd.c: Likewise.
29340         * sysvipc/semctl.c: Likewise.
29341         * sysvipc/semget.c: Likewise.
29342         * sysvipc/semop.c: Likewise.
29343         * sysvipc/semtimedop.c: Likewise.
29344         * sysvipc/shmat.c: Likewise.
29345         * sysvipc/shmctl.c: Likewise.
29346         * sysvipc/shmdt.c: Likewise.
29347         * sysvipc/shmget.c: Likewise.
29348         * termios/tcdrain.c: Likewise.
29349         * termios/tcflow.c: Likewise.
29350         * termios/tcflush.c: Likewise.
29351         * termios/tcgetattr.c: Likewise.
29352         * termios/tcgetpgrp.c: Likewise.
29353         * termios/tcsendbrk.c: Likewise.
29354         * termios/tcsetattr.c: Likewise.
29355         * termios/tcsetpgrp.c: Likewise.
29356         * time/adjtime.c: Likewise.
29357         * time/clock.c: Likewise.
29358         * time/getitimer.c: Likewise.
29359         * time/gettimeofday.c: Likewise.
29360         * time/setitimer.c: Likewise.
29361         * time/settimeofday.c: Likewise.
29362         * time/stime.c: Likewise.
29363         * time/time.c: Likewise.
29365 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29367         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29368         /usr/old/bin.
29370         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29371         instead of spaces.
29372         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29374 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29376         [BZ #14796]
29377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29378         FE_TONEAREST before applying Dekker multiplication and Knuth
29379         addition.  Clear inexact exceptions and check for exact zero
29380         results afterwards.
29381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29384         * math/libm-test.inc (fma_test): Add more tests.
29385         (fma_test_towardzero): Likewise.
29386         (fma_test_downward): Likewise.
29387         (fma_test_upward): Likewise.
29388         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29389         function.
29390         (libc_fesetround): New macro.
29391         (libc_fesetroundf): Likewise.
29392         (libc_fesetroundl): Likewise.
29393         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29394         function.
29395         (libc_fesetround_387): Likewise.
29396         (libc_fesetroundf): New macro.
29397         (libc_fesetround): Likewise.
29398         (libc_fesetroundl): Likewise.
29399         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29400         function.
29401         (libc_fesetroundf): New macro.
29402         (libc_fesetround): Likewise.
29403         (libc_fesetroundl): Likewise.
29404         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29405         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29406         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29407         libm_hidden_ver.
29408         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29409         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29410         libm_hidden_def.
29411         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29412         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29413         libm_hidden_ver.
29414         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29415         libm_hidden_def.
29417         [BZ #3439]
29418         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29419         integer constant usable in #if and use that to give value to enum
29420         constant.
29421         (FE_DIVBYZERO): Likewise.
29422         (FE_UNDERFLOW): Likewise.
29423         (FE_OVERFLOW): Likewise.
29424         (FE_INVALID): Likewise.
29425         (FE_INVALID_SNAN): Likewise.
29426         (FE_INVALID_ISI): Likewise.
29427         (FE_INVALID_IDI): Likewise.
29428         (FE_INVALID_ZDZ): Likewise.
29429         (FE_INVALID_IMZ): Likewise.
29430         (FE_INVALID_COMPARE): Likewise.
29431         (FE_INVALID_SOFTWARE): Likewise.
29432         (FE_INVALID_SQRT): Likewise.
29433         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29434         (FE_TONEAREST): Likewise.
29435         (FE_TOWARDZERO): Likewise.
29436         (FE_UPWARD): Likewise.
29437         (FE_DOWNWARD): Likewise.
29438         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29439         (FE_DIVBYZERO): Likewise.
29440         (FE_OVERFLOW): Likewise.
29441         (FE_UNDERFLOW): Likewise.
29442         (FE_INEXACT): Likewise.
29443         (FE_TONEAREST): Likewise.
29444         (FE_DOWNWARD): Likewise.
29445         (FE_UPWARD): Likewise.
29446         (FE_TOWARDZERO): Likewise.
29447         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29448         (FE_UNDERFLOW): Likewise.
29449         (FE_OVERFLOW): Likewise.
29450         (FE_DIVBYZERO): Likewise.
29451         (FE_INVALID): Likewise.
29452         (FE_TONEAREST): Likewise.
29453         (FE_TOWARDZERO): Likewise.
29454         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29455         (FE_OVERFLOW): Likewise.
29456         (FE_UNDERFLOW): Likewise.
29457         (FE_DIVBYZERO): Likewise.
29458         (FE_INEXACT): Likewise.
29459         (FE_TONEAREST): Likewise.
29460         (FE_TOWARDZERO): Likewise.
29461         (FE_UPWARD): Likewise.
29462         (FE_DOWNWARD): Likewise.
29463         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29464         (FE_DIVBYZERO): Likewise.
29465         (FE_OVERFLOW): Likewise.
29466         (FE_UNDERFLOW): Likewise.
29467         (FE_INEXACT): Likewise.
29468         (FE_TONEAREST): Likewise.
29469         (FE_DOWNWARD): Likewise.
29470         (FE_UPWARD): Likewise.
29471         (FE_TOWARDZERO): Likewise.
29473 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29475         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29477 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29479         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29480         commands.  Quote $PWD.
29481         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29482         -x" by "export".
29483         (remove_newlines): Remove.
29485 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29487         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29488         * stdlib/stdlib.h (atof): Moved to ...
29489         * include/bits/stdlib-float.h: Here.  New file.
29490         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29491         * stdlib/bits/stdlib-float.h: New file.
29492         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29493         -mno-sse -mno-mmx.
29494         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29495         <xmmintrin.h>.
29497 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29499         * conform/conformtest.pl (@headers): Add fenv.h.
29500         * conform/data/fenv.h-data: New file.
29501         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29502         include of <math/fenv.h>.
29504         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29505         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29506         && !UNIX98].  Enables tests for XOPEN2K8.
29507         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29508         POSIX2008]: Likewise.
29510         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29511         (struct rusage): Do not expect type or its members.
29513         [BZ #3439]
29514         * math/math.h (FP_NAN): Define macro to integer constant usable in
29515         #if and use that to give value to enum constant.
29516         (FP_INFINITE): Likewise.
29517         (FP_ZERO): Likewise.
29518         (FP_SUBNORMAL): Likewise.
29519         (FP_NORMAL): Likewise.
29521 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29523         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29524         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29525         arguments.
29527 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29529         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29530         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29531         autoconf-time if not.
29532         * configure.in: Remove AC_PREREQ.
29534 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29536         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29537         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29538         of the internal implementation.
29540 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29542         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29543         except include of <misc/sys/syslog.h>.
29545 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29548         function returns with a NULL context exit with zero.
29550 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29552         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29554 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29556         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29557         (run_program_cmd): This.
29558         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29559         (tst_langinfo): New variable.  Use it.
29561 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29563         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29564         floating point opcodes.
29566 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29568         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29569         variable.
29571         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29573         * sysdeps/mach/hurd/powerpc: Remove directory.
29574         * sysdeps/mach/powerpc: Likewise.
29576 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29578         * scripts/check-local-headers.sh: Ignore c++ headers.
29580 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29582         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29583         __libc_cleanup_region_start argument.
29585 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29587         [BZ #14784]
29588         [BZ #14785]
29589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29590         x * y using scaling, not as x * y + z.
29591         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29593         * math/libm-test.inc (fma_test): Add more tests.
29594         (fma_test_towardzero): Likewise.
29595         (fma_test_downward): Likewise.
29596         (fma_test_upward): Likewise.
29598 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29600         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29602 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29604         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29605         New variable.
29607 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29609         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29611 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29614         Fix sort order.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29616         Likewise.
29618 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29621         Fix the order of the list for glibc 2.17.
29622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29623         Likewise.
29625 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29629 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29631         [BZ #14610]
29632         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29633         for low part of x being zero before using __atanl (y).
29634         * math/libm-test.inc (atan2_test): Add another test.
29636         * manual/install.texi (Configuring and compiling): Document
29637         general use of test-wrapper and test-wrapper-env.
29638         * INSTALL: Regenerated.
29640         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29641         (__fma): Do not extract and scale down low bits on after-rounding
29642         systems when result rounded to normal precision would have normal
29643         exponent.
29644         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29645         (__fmal): Do not extract and scale down low bits on after-rounding
29646         systems when result rounded to normal precision would have normal
29647         exponent.
29648         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29649         (__fmal): Do not extract and scale down low bits on after-rounding
29650         systems when result rounded to normal precision would have normal
29651         exponent.
29652         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29653         macro.
29654         (fma_test): Add more tests.
29655         (fma_test_towardzero): Likewise.
29656         (fma_test_downward): Likewise.
29657         (fma_test_upward): Likewise.
29659 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29661         * sysdeps/i386/tininess.h: Renamed to ...
29662         * sysdeps/x86/tininess.h: This.
29663         * sysdeps/x86_64/tininess.h: Removed.
29665 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29667         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29668         input.  Use $(build-program-cmd).
29669         ($(objpfx)tst-array1-static.out): Likewise.
29670         ($(objpfx)tst-array2.out): Likewise.
29671         ($(objpfx)tst-array3.out): Likewise.
29672         ($(objpfx)tst-array4.out): Likewise.
29673         ($(objpfx)tst-array5.out): Likewise.
29674         ($(objpfx)tst-array5-static.out): Likewise.
29676 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29678         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29679         if defined.
29681         * nss/nsswitch.h (nss_interface_function): Provide new
29682         macro for use with NSS functions.
29683         * grp/initgroups.c: Use new macro.
29684         * nss/getXXbyYY.c: Likewise.
29685         * nss/getXXbyYY_r.c: Likewise.
29686         * nss/getXXent.c: Likewise.
29687         * nss/getXXent_r.c: Likewise.
29688         * sysdeps/posix/getaddrinfo.c: Likewise.
29690 2012-10-30  Andreas Jaeger  <aj@suse.de>
29692         * po/ru.po: Update Russion translation from translation project.
29694 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29696         [BZ #14152]
29697         [BZ #14783]
29698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29699         result and shift together with sticky bit instead of replicating
29700         round-to-nearest rounding.
29701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29703         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29704         missing underflow exceptions.
29705         (fma_test_towardzero): Add more tests.
29706         (fma_test_downward): Likewise.
29707         (fma_test_upward): Likewise.
29709         [BZ #14047]
29710         * sysdeps/generic/tininess.h: New file.
29711         * sysdeps/i386/tininess.h: Likewise.
29712         * sysdeps/sh/tininess.h: Likewise.
29713         * sysdeps/x86_64/tininess.h: Likewise.
29714         * stdlib/tst-strtod-underflow.c: Likewise.
29715         * stdlib/tst-tininess.c: Likewise.
29716         * stdlib/strtod_l.c: Include <tininess.h>.
29717         (round_and_return): Do not set errno for exact underflow cases.
29718         Force an underflow exception when setting errno for underflow.
29719         Determine underflow based on rounding to normal precision if
29720         TININESS_AFTER_ROUNDING.
29721         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29722         ERANGE for exact underflow cases.
29723         * stdlib/Makefile (tests): Add tst-tininess and
29724         tst-strtod-underflow.
29725         ($(objpfx)tst-tininess): Use $(link-libm).
29726         ($(objpfx)tst-strtod-underflow): Likewise.
29728 2012-10-30  Andreas Jaeger  <aj@suse.de>
29730         [BZ#14767]
29731         * elf/Makefile (tests): Remove conditional for have-initfini-array
29732         since this is now always required and the variable does not exist
29733         anymore.
29734         (tests-static): Likewise.
29735         (modules-names): Likewise.
29737         * po/eo.po: Add Esperanto translation from translation project.
29739         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29740         merged with constructor/destructor.
29741         (init_array): Likewise.
29742         * elf/tst-array2dep.c (fini_array): Likewise.
29743         (init_array): Likewise.
29745 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29747         * manual/message.texi: Delete @cartouche tags.
29749 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29751         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29752         EOPNOTSUPP.
29753         * sysdeps/mach/hurd/fsync.c: Likewise.
29755         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29756         [_POSIX_REALTIME_SIGNALS]: Change condition to
29757         [_POSIX_REALTIME_SIGNALS > 0].
29759 2012-10-27  Andreas Jaeger  <aj@suse.de>
29761         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29762         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29764         [__WORDSIZE != 64]: Likewise.
29766 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29768         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29769         *  iconvdata/tst-tables.sh: Likewise.
29771 2012-10-25  David S. Miller  <davem@davemloft.net>
29773         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29774         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29775         of strtoull.
29777         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29778         ifunc-impl-list.c
29779         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29780         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29781         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29782         file.
29784 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29787         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29788         __getdirentries.
29790 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29791             Jim Blandy  <jimb@codesourcery.com>
29793         * scripts/cross-test-ssh.sh: New file.
29794         * manual/install.texi (Configuring and compiling): Document use of
29795         cross-test-ssh.sh.
29796         * INSTALL: Regenerated.
29798 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29800         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29801         EOPNOTSUPP.
29803 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29805         * Makeconfig (run-program-prefix): Fix comment.
29807 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29808             Jim Blandy  <jimb@codesourcery.com>
29810         * Makeconfig (test-wrapper): New variable,
29811         (test-wrapper-env): Likewise.
29812         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29813         (run-built-tests): Define to yes.
29814         (run-program-prefix): Use $(test-wrapper).
29815         (built-program-cmd): Likewise.
29816         * Rules (make-test-out): Use $(test-wrapper-env) and
29817         $(host-built-program-cmd).
29818         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29819         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29820         tst-pathopt.sh.
29821         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29822         $(test-wrapper-env) to tst-rtld-load-self.sh.
29823         ($(objpfx)order2.out): Use $(test-wrapper).
29824         ($(objpfx)tst-initorder.out): Likewise.
29825         ($(objpfx)tst-initorder2.out): Likewise.
29826         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29827         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29828         (test_wrapper_env): New variable.  Use it to run ld.so.
29829         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29830         Use it to run ld.so.
29831         (test_wrapper_env): Likewise.
29832         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29833         $(test-wrapper) to run-iconv-test.sh.
29834         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29835         (ICONV): Use $test_wrapper.
29836         * posix/Makefile ($(objpfx)globtest.out): Pass
29837         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29838         globtest.sh, not $(run-program-prefix).
29839         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29840         (test_wrapper): Likewise.
29841         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29842         set together with run_via_rtld_prefix.
29843         (run_program_prefix): Define in terms of test_wrapper and
29844         run_via_rtld_prefix.
29846 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29848         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29849         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29850         Targets removed.
29852         [BZ #14743]
29853         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29854         Declare __clock_getres, __clock_gettime, __clock_settime,
29855         __clock_nanosleep, and __clock_getcpuclockid.
29856         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29857         Remove librt_hidden_def (clock_gettime).
29858         * sysdeps/unix/clock_gettime.c: Likewise.
29859         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29861         * rt/clock_getres.c: Define __clock_getres as an alias.
29862         * sysdeps/posix/clock_getres.c: Likewise.
29863         * rt/clock_settime.c: Define __clock_settime as an alias.
29864         * sysdeps/unix/clock_settime.c: Likewise.
29865         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29866         * sysdeps/unix/clock_nanosleep.c: Likewise.
29867         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29868         * rt/clock-compat.c: New file.
29869         * rt/Makefile (librt-routines): Add clock-compat and move
29870         $(clock-routines) to ...
29871         (routines): ... here, new variable.
29872         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29873         Don't add get_clockfreq here.
29874         * rt/Versions (libc: GLIBC_2.17): New version set.
29875         Add clock_* symbols here.
29876         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29877         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29878         (GLIBC_2.17): Add clock_* symbols.
29879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29881         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29883         Likewise.
29884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29885         Likewise.
29886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29890         * NEWS: Mention the move.
29892         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29893         Use __open, __read, __close rather than their public counterparts.
29894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29895         (__get_clockfreq_via_cpuinfo): Likewise.
29896         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29897         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29899         * config.h.in (HAVE_IFUNC): New #undef.
29900         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29901         was successful.
29902         * configure: Regenerated.
29904 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29906         * configure.in: Move READELF check to start of file.
29907         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29908         libc_cv_asm_gnu_indirect_function in the process.
29909         * configure: Regenerated.
29911 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29913         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29914         send the output to /dev/null.
29915         (libc_cv_cc_with_libunwind): Likewise.
29916         (libc_cv_as_noexecstack): Likewise.
29917         * configure: Regenerate.
29919 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29921         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29923         * posix/globtest.sh (TMPDIR): Do not set.
29924         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29925         (testout): Likewise.
29927 2012-10-24  Andreas Jaeger  <aj@suse.de>
29929         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29930         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29931         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29932         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29933         posix_fadvise64, posix_fallocate64.
29935         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29936         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29937         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29938         Likewise.
29939         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29940         Likewise.
29941         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29944         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29945         <bits/fcntl-linux.h>.
29946         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29949         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29950         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29951         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29952         [__WORDSIZE != 64]: Likewise.
29954 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29956         * Makeconfig (run-built-tests): New variable.
29957         * Rules [$(cross-compiling) = yes]: Change condition to
29958         [$(run-built-tests) = no].
29959         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29960         to [$(run-built-tests) = yes].
29961         * elf/Makefile [$(cross-compiling) = no]: Likewise
29962         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29963         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29964         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29965         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29966         * io/Makefile [$(cross-compiling) = no]: Likewise.
29967         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29968         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29969         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29970         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29971         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29972         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29973         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29974         * string/Makefile [$(cross-compiling) = no]: Likewise.
29976         * posix/Makefile ($(objpfx)globtest.out): Pass
29977         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29978         $(rtld-installed-name).
29979         * posix/globtest.sh (elf_objpfx): Remove variable.
29980         (rtld_installed_name): Likewise.
29981         (library_path): Likewise.
29982         (run_program_prefix): New variable.  Use for running globtest
29983         binary.
29985 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29986             Joseph Myers  <joseph@codesourcery.com>
29988         * Makeconfig (host-built-program-cmd): New variable.
29989         * elf/Makefile (tst-stackguard1-ARGS): Use
29990         $(host-built-program-cmd).
29991         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29992         (tst-spawn-ARGS): Likewise.
29993         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29995 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29996             Jim Blandy  <jimb@codesourcery.com>
29998         * Makeconfig (run-via-rtld-prefix): New variable.
29999         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30000         (built-program-cmd): Likewise.
30002 2012-10-22  Andreas Jaeger  <aj@suse.de>
30004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30005         __O_RSYNC if it exists, otherwise to O_SYNC.
30007 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30008             Joseph Myers  <joseph@codesourcery.com>
30010         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30011         /dev/null.
30012         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30013         from /dev/null
30014         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30015         /dev/null.
30017 2012-10-22  Andreas Jaeger  <aj@suse.de>
30019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30020         Define always.
30021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30024         bits/fcntl-linux.h.
30026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30027         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30029         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30030         to __O_LARGEFILE.
30031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30032         to __O_LARGEFILE.
30034 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30035             Joseph Myers  <joseph@codesourcery.com>
30037         * config.make.in (NM): New variable.
30039 2012-10-21  Andreas Jaeger  <aj@suse.de>
30041         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30042         definitions and declarations that are provided by
30043         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30045 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30047         [BZ #14683]
30048         * elf/Makefile (tests-static): Add tst-leaks1-static.
30049         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30050         ($(objpfx)tst-leaks1-static): New rule.
30051         ($(objpfx)tst-leaks1-static-mem): Likewise.
30052         (tst-leaks1-static-ENV): New macro.
30053         * elf/dl-open.c (dl_open_worker): Check the main application
30054         only if SHARED is defined.
30055         * elf/tst-leaks1-static.c: New file.
30057 2012-10-20  Andreas Jaeger  <aj@suse.de>
30059         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30060         generic values for Linux.
30061         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30062         and declarations that are provided by <bits/fcntl-linux.h> and
30063         include <bits/fcntl-linux.h>.
30064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30067 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30069         * io/fcntl.h: Move include of <bits/types.h> to the top and
30070         include it unconditionally.
30072 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30074         * wcsmbs/Makefile (tests-ifunc): New variable.
30075         (tests): Add $(tests-ifunc).
30076         * wcsmbs/test-wcschr-ifunc.c: New file.
30077         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30078         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30079         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30080         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30081         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30083         * string/Makefile (tests-ifunc): New variable.
30084         (tests): Add $(tests-ifunc).
30085         * string/test-memccpy.c (TEST_NAME): New macro.
30086         * string/test-memchr.c (TEST_NAME): Likewise.
30087         * string/test-memcmp.c (TEST_NAME): Likewise.
30088         * string/test-memcpy.c (TEST_NAME): Likewise.
30089         * string/test-memmem.c (TEST_NAME): Likewise.
30090         * string/test-memmove.c (TEST_NAME): Likewise.
30091         * string/test-memset.c (TEST_NAME): Likewise.
30092         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30093         * string/test-stpcpy.c (TEST_NAME): Likewise.
30094         * string/test-stpncpy.c (TEST_NAME): Likewise.
30095         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30096         * string/test-strcasestr.c (TEST_NAME): Likewise.
30097         * string/test-strcat.c (TEST_NAME): Likewise.
30098         * string/test-strchr.c (TEST_NAME): Likewise.
30099         * string/test-strcmp.c(TEST_NAME): Likewise.
30100         * string/test-strcpy.c (TEST_NAME): Likewise.
30101         * string/test-strcspn.c (TEST_NAME): Likewise.
30102         * string/test-strlen.c (TEST_NAME): Likewise.
30103         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30104         * string/test-strncmp.c (TEST_NAME): Likewise.
30105         * string/test-strncpy.c (TEST_NAME): Likewise.
30106         * string/test-strnlen.c (TEST_NAME): Likewise.
30107         * string/test-strpbrk.c (TEST_NAME): Likewise.
30108         * string/test-strrchr.c (TEST_NAME): Likewise.
30109         * string/test-strspn.c (TEST_NAME): Likewise.
30110         * string/test-strstr.c (TEST_NAME): Likewise.
30111         * string/test-bcopy-ifunc.c: New file.
30112         * string/test-bzero-ifunc.c: Likewise.
30113         * string/test-memccpy-ifunc.c: Likewise.
30114         * string/test-memchr-ifunc.c: Likewise.
30115         * string/test-memcmp-ifunc.c: Likewise.
30116         * string/test-memcpy-ifunc.c: Likewise.
30117         * string/test-memmem-ifunc.c: Likewise.
30118         * string/test-memmove-ifunc.c: Likewise.
30119         * string/test-mempcpy-ifunc.c: Likewise.
30120         * string/test-memset-ifunc.c: Likewise.
30121         * string/test-rawmemchr-ifunc.c: Likewise.
30122         * string/test-stpcpy-ifunc.c: Likewise.
30123         * string/test-stpncpy-ifunc.c: Likewise.
30124         * string/test-strcasecmp-ifunc.c: Likewise.
30125         * string/test-strcasestr-ifunc.c: Likewise.
30126         * string/test-strcat-ifunc.c: Likewise.
30127         * string/test-strchr-ifunc.c: Likewise.
30128         * string/test-strchrnul-ifunc.c: Likewise.
30129         * string/test-strcmp-ifunc.c: Likewise.
30130         * string/test-strcpy-ifunc.c: Likewise.
30131         * string/test-strcspn-ifunc.c: Likewise.
30132         * string/test-strlen-ifunc.c: Likewise.
30133         * string/test-strncasecmp-ifunc.c: Likewise.
30134         * string/test-strncat-ifunc.c: Likewise.
30135         * string/test-strncmp-ifunc.c: Likewise.
30136         * string/test-strncpy-ifunc.c: Likewise.
30137         * string/test-strnlen-ifunc.c: Likewise.
30138         * string/test-strpbrk-ifunc.c: Likewise.
30139         * string/test-strrchr-ifunc.c: Likewise.
30140         * string/test-strspn-ifunc.c: Likewise.
30141         * string/test-strstr-ifunc.c: Likewise.
30143         * debug/Makefile (tests-ifunc): New variable.
30144         (tests): Add $(tests-ifunc).
30145         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30146         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30147         * debug/test-stpcpy_chk-ifunc.c: New file.
30148         * debug/test-strcpy_chk-ifunc.c: Likewise.
30150 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30152         [BZ #13601]
30153         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30154         header is not read in.
30156 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30158         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30159         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30160         directly.  Pass built executable to script as
30161         $(built-program-cmd).
30162         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30163         $testprogram without using LD_LIBRARY_PATH and $ldso.
30165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30166         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30167         $(rtld-installed-name).
30168         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30169         (rtld_installed_name): Likewise.
30170         (library_path): Likewise.
30171         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30172         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30173         $(run-program-prefix) to tst-tables.sh.
30174         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30175         it to run tst-table-from and tst-table-to.
30176         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30177         Pass it to tst-table.sh.
30178         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30179         $(run-program-prefix) to tst-gettext.sh.
30180         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30181         tst-translit.sh.
30182         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30183         tst-gettext2.sh.
30184         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30185         to run tst-gettext.
30186         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30187         to run tst-gettext2.
30188         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30189         to run tst-translit.
30190         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30191         $(run-program-prefix) to tst-mtrace.sh.
30192         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30193         to run tst-mtrace.
30194         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30195         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30196         $(rtld-installed-name).
30197         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30198         (rtld_installed_name): Likewise.
30199         (run_program_prefix): New variable.  Use it to run wordexp-test.
30201         * Makeconfig (ARCH): Remove all definitions.
30202         (machine): Likewise.
30203         [ARCH]: Remove conditional code.
30204         [!objdir]: Give error.
30205         [!objdir] (objpfx): Remove.
30206         [!objdir] (common-objpfx): Likewise.
30207         [!objdir] (common-objdir): Likewise.
30208         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30209         AC_CONFIG_FILES call.
30210         * configure: Regenerated.
30212         [BZ #13888]
30213         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30214         or TMPDIR.
30215         (testout): Likewise.
30217         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30218         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30219         $(rtld-installed-name).
30220         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30221         (rtld_installed_name): Likwise.
30222         (runit): Remove function.
30223         (run_getconf): New variable,  Use it for running getconf binary.
30225 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30227         [BZ #14716]
30228         * string/test-memmem.c (check_result): New function.
30229         (do_one_test): Use it.
30230         (check1): New function.
30231         (test_main): Use it.
30233 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30235         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30237 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30239         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30240         (_G_LSEEK64): Likewise.
30241         (_G_MMAP64): Likewise.
30242         (_G_FSTAT64): Likewise.
30243         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30244         (_G_LSEEK64): Likewise.
30245         (_G_MMAP64): Likewise.
30246         (_G_FSTAT64): Likewise.
30247         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30248         unconditional.  Call __mmap64 directly.
30249         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30250         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30251         __lseek64 directly.
30252         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30253         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30254         __mmap64 directly.
30255         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30256         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30257         __lseek64 directly.
30258         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30259         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30260         __lseek64 directly.
30261         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30262         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30263         __lseek64 directly.
30264         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30265         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30266         __fxstat64 directly.
30267         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30268         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30269         unconditional.
30270         (freopen64) [!_G_OPEN64]: Remove conditional code.
30271         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30272         unconditional.
30273         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30274         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30275         unconditional.
30276         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30277         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30278         unconditional.
30279         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30280         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30281         unconditional.
30282         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30283         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30284         unconditional.
30285         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30286         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30287         unconditional.
30288         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30289         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30290         unconditional.
30291         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30293 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30295         [BZ #12140]
30296         * manual/memory.texi (Malloc Tunable Parameters): Add note
30297         about free list pointers overwriting some perturb bytes.
30298         Wording suggested by Roland McGrath.
30300 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30302         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30303         (lgamma_test): Likewise.
30304         (tgamma_test): Likewise.
30306 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30308         [BZ #14700]
30309         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30310         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30312 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30314         * NEWS: Mention BZ #14716.
30315         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30316         when removing AVAILABLE1_USES_J macro.
30318 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30320         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30321         (__bswap_64): __uint64_t for unsigned 64-bit int.
30323 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30325         * include/string.h (memmem): Declare libc hidden alias.
30326         * string/memmem.c (memmem): Define libc hidden alias.
30327         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30328         __read, __close instead of open, read, close.
30330 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30333         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30334         global and hidden.
30335         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30336         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30337         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30338         Likewise.
30339         (__rawmemchr_sse2): Likewise.
30340         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30341         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30342         (__strchr_sse2): Likewise.
30343         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30344         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30345         (__strcasecmp_sse2): Likewise.
30346         (__strncasecmp_sse2): Likewise.
30347         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30348         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30349         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30350         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30351         (__strrchr_sse2): Likewise.
30352         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30353         ifunc-impl-list.c.
30354         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30355         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30356         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30357         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30358         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30360         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30361         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30362         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30363         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30364         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30365         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30366         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30367         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30368         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30370         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30371         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30372         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30373         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30374         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30375         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30376         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30377         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30378         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30379         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30380         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30381         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30382         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30383         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30386         global and hidden.
30387         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30388         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30389         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30390         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30391         Likewise.
30392         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30393         Likewise.
30394         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30395         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30396         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30397         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30398         ifunc-impl-list.c.
30399         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30408         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30409         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30410         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30411         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30412         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30413         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30414         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30415         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30416         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30417         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30418         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30420         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30421         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30422         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30423         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30424         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30425         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30426         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30427         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30428         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30429         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30430         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30431         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30432         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30433         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30434         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30435         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30436         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30437         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30438         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30439         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30441         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30442         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30443         * include/ifunc-impl-list.h: New file.
30444         * misc/ifunc-impl-list.c: Likewise.
30445         * misc/Makefile (routines): Add ifunc-impl-list.
30446         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30447         * string/test-string.h: Include <ifunc-impl-list.h>.
30448         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30449         TEST_NAME]: New variables.
30450         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30451         are defined.
30452         (test_init): Call __libc_ifunc_impl_list to initialize
30453         func_list if TEST_IFUNC and TEST_NAME are defined.
30455         * string/Makefile (strop-tests): Add bcopy and bzero.
30456         * string/test-bcopy.c: New file.
30457         * string/test-bzero.c: Likewise.
30458         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30459         defined.
30460         * string/test-memset.c: Support bzero test if TEST_BZERO is
30461         defined.
30462         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30463         __libc_memmove.
30464         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30465         __libc_memset.
30466         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30467         of memset.
30469 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30471         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30472         * configure: Regenerated.
30474         * Makeconfig (+link-static-before-libc): Don't include
30475         $(link-static-libc).
30477         * libio/libio.h (_IO_pos_t): Remove.
30479 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30481         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30482         McGrath.
30484 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30486         * crypt/crypt-entry.c: Include fips-private.h.
30487         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30488         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30489         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30490         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30492 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30494         * crypt/crypt-private.h: Include stdbool.h.
30495         (_ufc_setup_salt_r): Return bool.
30496         * crypt/crypt-entry.c: Include errno.h.
30497         (__crypt_r): Return NULL with EINVAL for bad salt.
30498         * crypt/crypt_util.c (bad_for_salt): New.
30499         (_ufc_setup_salt_r): Check that salt is long enough and within
30500         the specified alphabet.
30501         * crypt/badsalttest.c: New file.
30502         * crypt/Makefile (tests): Add it.
30503         ($(objpfx)badsalttest): New.
30505 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30507         * NEWS: Add entry for BZ #14602.
30509 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30511         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30512         type-generic.
30513         * math/libm-test.inc: Update comment listing what functions and
30514         macros are tested.
30515         (isgreater_test): New function.
30516         (isgreaterequal_test): Likewise.
30517         (isless_test): Likewise.
30518         (islessequal_test): Likewise.
30519         (islessgreater_test): Likewise.
30520         (isunordered_test): Likewise.
30521         (main): Call the new functions.
30523 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30525         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30526         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30527         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30528         * sysdeps/i386/configure: Regenerated.
30529         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30530         * sysdeps/mach/configure: Regenerated.
30531         * sysdeps/mach/hurd/configure: Regenerated.
30532         * sysdeps/powerpc/configure: Regenerated.
30533         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30534         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30535         * sysdeps/s390/s390-32/configure: Regenerated.
30536         * sysdeps/s390/s390-64/configure: Regenerated.
30537         * sysdeps/sh/configure: Regenerated.
30538         * sysdeps/sparc/configure: Regenerated.
30539         * sysdeps/unix/sysv/linux/configure: Regenerated.
30540         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30541         * sysdeps/x86_64/configure: Regenerated.
30543         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30544         defined.  Don't check if MAP is NULL.
30546 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30548         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30549         (_G_stat64): Likewise.
30550         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30551         (_G_stat64): Likewise.
30552         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30553         instead of struct _G_stat64.
30554         * libio/fileops.c (mmap_remap_check): Likewise.
30555         (decide_maybe_mmap): Likewise.
30556         (_IO_new_file_seekoff): Likewise.
30557         (_IO_file_stat): Likewise.
30558         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30559         _G_off64_t.
30560         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30561         instead of struct _G_stat64.
30562         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30564 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30566         [BZ #14602]
30567         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30568         Replace with ...
30569         (CHECK_EOL): New macro.
30570         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30571         CHECK_EOL.
30572         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30573         Replace with CHECK_EOL.
30574         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30575         Replace with CHECK_EOL.
30577 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30579         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30580         type-generic.
30581         * math/libm-test.inc: Update comment listing what functions and
30582         macros are tested.
30583         (finite_test): New function.
30584         (isinf_test): Likewise.
30585         (isnan_test): Likewise.
30586         (fpclassify_test): Test subnormal input.
30587         (isfinite_test): Likewise.
30588         (isnormal_test): Likewise.
30589         (main): Call the new functions.
30591 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30593         [BZ #14660]
30594         * Makerules (%.dynsym): Force C locale when running
30595         $(OBJDUMP) --dynamic-syms.
30597 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30599         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30600         <stdint.h>.
30602 2012-10-06  David S. Miller  <davem@davemloft.net>
30604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30605         upper 32-bits of the length value in %o2 since we use branch-on-register
30606         tests which consider the entire 64-bit register.
30608 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30610         * string/test-strstr.c (check2): Add a test for page boundary.
30612 2012-10-05  David S. Miller  <davem@davemloft.net>
30614         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30615         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30616         file.
30617         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30618         sysdep_routines.
30619         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30620         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30621         and bzero when HWCAP_SPARC_CRYPTO is present.
30623 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30625         [BZ #14602]
30626         * string/test-strstr.c (check2): New function.
30627         (test_main): Call check2.
30629         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30630         and bug-strchr1.
30631         * string/bug-strcasestr1.c (do_test): Moved to ...
30632         * string/test-strcasestr.c (check1): Here.  New function.
30633         (do_one_test): Break out result checking code into ...
30634         (check_result): This.  New function.
30635         (do_one_test): Call check_result.
30636         (test_main): Call check1.
30637         * string/bug-strchr1.c (do_test): Moved to ...
30638         * string/test-strchr.c (check1): Here.  New function.
30639         (do_one_test): Break out result checking code into ...
30640         (check_result): This.  New function.
30641         (do_one_test): Call check_result.
30642         (test_main): Call check1.
30643         * string/bug-strstr1.c (main): Moved to ...
30644         * string/test-strstr.c (check1): Here.  New function.
30645         (do_one_test): Break out result checking code into ...
30646         (check_result): This.  New function.
30647         (do_one_test): Call check_result.
30648         (test_main): Call check1.
30649         * string/bug-strcasestr1.c: Removed.
30650         * string/bug-strchr1.c: Likewise.
30651         * string/bug-strstr1.c: Likewise.
30653         * elf/Makefile (dl-routines): Add hwcaps.
30654         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30655         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30656         (_dl_important_hwcaps): Moved to ...
30657         * elf/dl-hwcaps.c: Here.  New file.
30658         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30660         [BZ #14557]
30661         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30662         if IS_IN_rtld isn't defined.
30664         * elf/dl-support.c (_dl_sysinfo_map): New.
30665         Include "get-dynamic-info.h" and "setup-vdso.h".
30666         (_dl_non_dynamic_init): Call setup_vdso.
30667         * elf/dynamic-link.h: Don't include <assert.h>.
30668         (elf_get_dynamic_info): Moved to ...
30669         * elf/get-dynamic-info.h: Here.  New file.
30670         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30671         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30672         * elf/setup-vdso.h: Here.  New file.
30673         * elf/rtld.c: Include "setup-vdso.h".
30674         (dl_main): Call setup_vdso.
30676 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30678         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30679         creal in comment listing functions tested.  List finite, isinf,
30680         isnan, isless, islessequal, isgreater, isgreaterequal,
30681         islessgreater, isunordered, lgamma_r and pow10 as functions and
30682         macros not tested.  Mention which functions not tested are aliases
30683         for other functions.  Fix typo.  Note that signs of NaNs are not
30684         tested.
30686         * scripts/config.guess: Update from config.git.
30687         * scripts/config.sub: Likewise.
30689 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30691         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30692         * misc/madvise.c (madvise): Renamed to __madvise.
30693         Make madvise a weak alias.
30694         * include/sys/mman.h: Declare __madvise.
30695         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30696         * sysdeps/unix/syscalls.list
30697         (madvise): Make __madvise the strong name, and madvise a weak alias.
30698         * sysdeps/unix/sysv/linux/syscalls.list
30699         (madvise, mmap): Remove redundant entries.
30700         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30701         * malloc/malloc.c (mtrim): Likewise.
30702         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30704 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30706         * sysdeps/mach/hurd/dl-cache.c: File removed.
30707         * config.h.in (USE_LDCONFIG): New #undef.
30708         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30709         * configure: Regenerated.
30710         * elf/Makefile (dl-routines): Add dl-cache only under
30711         [$(use-ldconfig) = yes].
30712         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30713         cache on [USE_LDCONFIG].
30714         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30715         [USE_LDCONFIG].
30716         * elf/rtld.c (dl_main): Likewise.
30718 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30720         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30721         _SC_LEVEL4_CACHE_LINESIZE.
30723 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30725         * sysdeps/unix/bsd/confstr.h: File removed.
30727 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30729         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30730         sys/sdt-config.h.
30732 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30734         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30735         Make 'mapoff' field ElfW(Off) rather than off_t.
30737 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30739         * nscd/Makefile: Remove nscd-cflags and all its users.
30740         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30741         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30743         [BZ #10631]
30744         * malloc.c (malloc_printerr): Clarify error message.
30746 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30748         [BZ #14648]
30749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30750         Set bit_FMA_Usable if FMA is supported.
30751         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30752         macro.
30753         (bit_FMA4_Usable): Updated.
30754         (index_FMA_Usable): New macro.
30755         (CPUID_FMA): Likewise
30756         (HAS_FMA): Defined with bit_FMA_Usable.
30758 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30760         * bits/types.h (__swblk_t): Type removed.
30761         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30762         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30764         (__SWBLK_T_TYPE): Likewise.
30765         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30766         (__SWBLK_T_TYPE): Likewise.
30767         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30768         (__SWBLK_T_TYPE): Likewise.
30769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30770         (__SWBLK_T_TYPE): Likewise.
30772 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30773             Honza Horak <hhorak@redhat.com>
30775         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30776         (xdr_mapname): Use YPMAXMAP as maxsize.
30777         (xdr_peername): Use YPMAXPEER as maxsize.
30778         (xdr_keydat): Use YPAXRECORD as maxsize.
30779         (xdr_valdat): Use YPMAXRECORD as maxsize.
30781 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30783         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30785         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30786         * csu/init-first.c: ... here.
30787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30788         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30789         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30790         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30791         * sysdeps/i386/init-first.c: File removed.
30792         * sysdeps/sh/init-first.c: File removed.
30794 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30796         [BZ #14645]
30797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30798         if x * y might underflow to zero and z is zero.
30799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30801         * math/libm-test.inc (min_subnorm_value): New variable.
30802         (fma_test): Add more tests.
30803         (fma_test_towardzero): Likewise.
30804         (fma_test_downward): Likewise
30805         (fma_test_upward): Likewise.
30806         (initialize): Set min_subnorm_value.
30808 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30810         [BZ #14638]
30811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30812         0 + 0.
30813         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30814         mode for addition resulting in exact zero.
30815         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30816         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30817         exact 0 + 0.
30818         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30820         * math/libm-test.inc (fma_test): Add more tests.
30821         (fma_test_towardzero): New function.
30822         (fma_test_downward): Likewise.
30823         (fma_test_upward): Likewise.
30824         (main): Call the new functions.
30826 2012-09-28  David S. Miller  <davem@davemloft.net>
30828         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30830 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30832         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30833         instead of SIGALRM.
30835         * sysdeps/gnu/_G_config.h: Moved to ...
30836         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30837         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30838         * sysdeps/generic/_G_config.h: ... here.
30840         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30842         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30844         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30845         Conditionalize target on [libnss_test1.so-version].
30847         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30849         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30850         (elfobjdir): Move out of conditionals.
30852         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30853         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30854         (__nss_lookup_function): Conditionalize label remove_from_tree on
30855         [!DO_STATIC_NSS || SHARED], matching its only use.
30857 2012-09-28  David S. Miller  <davem@davemloft.net>
30859         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30860         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30861         file.
30862         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30863         sysdep_routines.
30864         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30866         when HWCAP_SPARC_CRYPTO is present.
30868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30870         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30872 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30874         [BZ #6530]
30875         * stdio-common/vfprintf.c (process_string_arg): Revert
30876         2000-07-22 change.
30878 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30880         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30881         for testcase.
30882         * stdio-common/tst-sprintf.c: Include <locale.h>
30883         (main): Test sprintf's handling of incomplete multibyte
30884         characters.
30886 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30888         * elf/dl-runtime.c (VERSYMIDX): Removed.
30889         * elf/dl-version.c (VERSYMIDX): Likewise.
30890         * elf/do-rel.h (VERSYMIDX): Likewise.
30891         (VALIDX): Likewise.
30892         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30893         * elf/rtld.c (VALIDX): Likewise.
30894         (ADDRIDX): Likewise.
30895         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30896         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30897         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30898         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30899         (VALIDX): Likewise.
30900         (ADDRIDX): Likewise.
30902 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30904         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30906 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30908         [BZ #11438]
30909         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30910         to global scope.
30911         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30912         addresses are in the same scope as 192.0.2/24.
30913         * posix/gai.conf: Document new scope table defaults.
30915 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30917         [BZ #5298]
30918         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30919         for ftell.  Compute offsets from write pointers instead.
30920         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30922 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30924         [BZ #14543]
30925         * libio/Makefile (tests): New test case tst-fseek.
30926         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30927         combination works in wide mode.
30928         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30929         state when the external buffer state changes.
30931 2012-09-27  David S. Miller  <davem@davemloft.net>
30933         [BZ #14376]
30934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30935         pass reloc->r_addend in as the 'high' argument to
30936         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30940 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30942         * rt/tst-aio2.c: Include <pthread.h>.
30943         * rt/tst-aio3.c: Likewise.
30945 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30947         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30949 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30951         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30952         contents on [SHARED].
30954 2012-09-26  Marek Polacek  <polacek@redhat.com>
30956         [BZ #14530]
30957         [BZ #13741]
30958         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30959         for C++ and GCC <4.3 as well as for non GCC compilers.
30961 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30965 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30967         * Makefile.in (all, install): Declare with .PHONY.
30968         Reported by Michael Hope <michael.hope@linaro.org>.
30970 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30972         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30973         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30974         system header.
30975         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30976         Likewise.
30977         (sydep_routines): Add the new and the internal functions.
30978         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30979         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30981         (GLIBC_2.17): Add the new function.
30982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30983         (GLIBC_2.17): Likewise.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30985         (GLIBC_2.17): Likewise.
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30987         (GLIBC_2.17): Likewise.
30988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30990 2012-09-25  Alan Modra  <amodra@gmail.com>
30992         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30993         Add release barrier before setting once_control to say
30994         initialisation is done.  Add hints on lwarx.  Use macro in
30995         place of isync.
30996         (clear_once_control): Add release barrier.
30998 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31000         [BZ #13629]
31001         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31002         specially.
31003         * math/s_clog10.c (__clog10): Likewise.
31004         * math/s_clog10f.c (__clog10f): Likewise.
31005         * math/s_clog10l.c (__clog10l): Likewise.
31006         * math/s_clogf.c (__clogf): Likewise.
31007         * math/s_clogl.c (__clogl): Likewise.
31008         * math/Makefile (libm-calls): Add x2y2m1.
31009         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31010         (__x2y2m1): Likewise.
31011         (__x2y2m1l): Likewise.
31012         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31013         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31014         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31015         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31016         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31017         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31018         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31019         * sysdeps/i386/fpu/libm-test-ulps: Update.
31020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31022         [BZ #14621]
31023         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31024         int as type of variable DEPTH.
31025         (glob): Use size_t instead of int as type of variables NEWCOUNT
31026         and OLD_PATHC.
31028 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31030         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31031         Add s_sincosf-sse2.
31032         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31033         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31034         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31035         macros for using routine as __sincosf_ia32.
31036         Use macro for function declaration and weak_alias.
31037         * sysdeps/i386/fpu/libm-test-ulps: Update.
31039         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31042         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31043         subnormal argument.
31044         * math/s_cexpf.c (__cexpf): Likewise.
31045         * math/s_csinf.c (__csinf): Likewise.
31046         * math/s_csinhf.c (__csinhf): Likewise.
31047         * math/s_ctanf.c (__ctanf): Likewise.
31048         * math/s_ctanhf.c (__ctanhf): Likewise.
31049         * math/s_ccosh.c (__ccoshf): Likewise.
31050         * math/s_cexp.c (__cexpl): Likewise.
31051         * math/s_csin.c (__csin): Likewise.
31052         * math/s_csinh.c (__csinh): Likewise.
31053         * math/s_ctan.c (__ctan): Likewise.
31054         * math/s_ctanh.c (ctanh): Likewise.
31055         * math/s_ccoshl.c (__ccoshl): Likewise.
31056         * math/s_cexpl.c (__cexpl): Likewise.
31057         * math/s_csinl.c (__csinl): Likewise.
31058         * math/s_csinhl.c (__csinhl): Likewise.
31059         * math/s_ctanl.c (__ctanl): Likewise.
31060         * math/s_ctanhl.c (__ctanhl): Likewise.
31062 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31064         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31065         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31066         (_IO_off_t): Define to __off_t, not _G_off_t.
31067         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31068         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31069         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31070         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31071         type of __dummy and __dummy2 fields.
31072         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31073         (_G_ssize_t): Likewise.
31074         (_G_off_t): Likewise.
31075         (_G_pid_t): Likewise.
31076         (_G_uid_t): Likewise.
31077         (_G_wchar_t): Likewise.
31078         (_G_wint_t): Likewise.
31079         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31080         (_G_ssize_t): Likewise.
31081         (_G_off_t): Likewise.
31082         (_G_pid_t): Likewise.
31083         (_G_uid_t): Likewise.
31084         (_G_wchar_t): Likewise.
31085         (_G_wint_t): Likewise.
31086         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31087         (_G_ssize_t): Likewise.
31088         (_G_off_t): Likewise.
31089         (_G_pid_t): Likewise.
31090         (_G_uid_t): Likewise.
31091         (_G_wchar_t): Likewise.
31092         (_G_wint_t): Likewise.
31094 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31096         * malloc/arena.c: Include malloc-sysdep.h.
31097         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31098         is sufficient to shrink the heap or an unmap is needed.
31099         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31100         new function check_may_shrink_heap.
31101         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31102         new function check_may_shrink_heap.
31104 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31106         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31107         comments.
31109 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31111         * catgets/test-gencat.sh: Add "set -e".
31112         * elf/tst-pathopt.sh: Likewise.
31113         * grp/tst_fgetgrent.sh: Likewise.
31114         * iconvdata/run-iconv-test.sh: Likewise.
31115         * intl/tst-gettext.sh: Likewise.
31116         * intl/tst-gettext2.sh: Likewise.
31117         * intl/tst-gettext4.sh: Likewise.
31118         * intl/tst-gettext6.sh: Likewise.
31119         * intl/tst-translit.sh: Likewise.
31120         * io/ftwtest-sh: Likewise.
31121         * libio/test-freopen.sh: Likewise.
31122         * malloc/tst-mtrace.sh: Likewise.
31123         * posix/globtest.sh: Likewise.
31124         * posix/tst-getconf.sh: Likewise.
31125         * posix/wordexp-tst.sh: Likewise.
31126         * stdio-common/tst-printf.sh: Likewise.
31127         * stdio-common/tst-unbputc.sh: Likewise.
31128         * stdlib/tst-fmtmsg.sh: Likewise.
31129         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31130         * catgets/Makefile: Do not specify -e option when running
31131         testsuite shell scripts.
31132         * elf/Makefile: Likewise.
31133         * grp/Makefile: Likewise.
31134         * iconvdata/Makefile: Likewise.
31135         * intl/Makefile: Likewise.
31136         * io/Makefile: Likewise.
31137         * libio/Makefile: Likewise.
31138         * malloc/Makefile: Likewise.
31139         * posix/Makefile: Likewise.
31140         * stdio-common/Makefile: Likewise.
31141         * stdlib/Makefile: Likewise.
31142         * sysdeps/x86_64/Makefile: Likewise.
31144         * io/ftwtest-sh: Add copyright header.
31145         * posix/globtest.sh: Likewise.
31146         * posix/tst-getconf.sh: Likewise.
31147         * posix/wordexp-tst.sh: Likewise.
31148         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31150 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31152         [BZ #13679]
31153         * Makeconfig (+link): Defined as $(+link-static) if
31154         $(build-shared) isn't yes.
31155         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31156         isn't yes.
31157         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31159         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31161         [BZ #14562]
31162         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31163         new chunk size with MALLOC_ALIGN_MASK.
31165 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31167         [BZ #5044]
31168         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31169         <rounding-mode.h>.
31170         (__printf_fphex): Determine rounding using get_rounding_mode and
31171         round_away.
31172         * stdio-common/tst-printf-round.c (struct hex_test): New
31173         structure.
31174         (hex_tests): New variable.
31175         (test_hex_in_one_mode): New function.
31176         (do_test): Also run tests for hex float output.
31178 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31180         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31181         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31182         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31183         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31184         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31185         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31186         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31189 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31191         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31192         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31193         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31194         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31196 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31198         [BZ #14579]
31199         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31200         mode only.
31201         * elf/tst-rtld-load-self.sh: New test.
31202         * elf/Makefile: Run it.
31204 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31206         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31207         (tst-writev-ENV): Remove.
31208         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31210 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31212         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31214 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31216         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31217         unconditional.
31218         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31219         Likewise.
31220         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31221         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31222         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31223         Likewise.
31225 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31227         [BZ #14587]
31228         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31229         * config.make.in (have-cpp-asm-debuginfo): Removed.
31230         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31231         * configure: Regenerated.
31233 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31235         [BZ #5044]
31236         * stdio-common/printf_fp.c: Include <stdbool.h> and
31237         <rounding-mode.h>.
31238         (___printf_fp): Determine rounding using get_rounding_mode and
31239         round_away.
31240         * stdio-common/tst-printf-round.c: New file.
31241         * stdio-common/Makefile (tests): Add tst-printf-round.
31242         (link-libm): New variable.
31243         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31245 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31247         [BZ #14576]
31248         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31249         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31250         Likewise.
31251         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31252         Likewise.
31254 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31256         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31257         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31258         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31259         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31261 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31263         [BZ #14518]
31264         * include/rounding-mode.h: New file.
31265         * sysdeps/generic/get-rounding-mode.h: Likewise.
31266         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31267         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31268         (MAX_VALUE): New macro.
31269         (MIN_VALUE): Likewise.
31270         (overflow_value): New function.
31271         (underflow_value): Likewise.
31272         (round_and_return): Use overflow_value and underflow_value to
31273         determine return values in overflow and underflow cases.  Use
31274         round_away to determine rounding depending on rounding mode.
31275         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31276         determine return values in overflow and underflow cases.
31277         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31278         (struct test_results): New structure.
31279         (struct test): Use struct test_results to store expected results
31280         for all rounding modes.
31281         (TEST): Include expected results for all rounding modes.
31282         (test_in_one_mode): New function.
31283         (do_test): Use test_in_one_mode to compute and check results.
31284         Check results for all rounding modes.
31285         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31286         $(link-libm).
31288 2012-12-09  Allan McRae  <allan@archlinux.org>
31290         * sysdeps/i386/fpu/libm-test-ulps: Update
31292 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31294         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31295         (_G_int32_t): Likewise.
31296         (_G_uint16_t): Likewise.
31297         (_G_uint32_t): Likewise.
31298         (_G_HAVE_BOOL): Likewise.
31299         (_G_HAVE_ATEXIT): Likewise.
31300         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31301         (_G_HAVE_IO_FILE_OPEN): Likewise.
31302         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31303         (_G_int32_t): Likewise.
31304         (_G_uint16_t): Likewise.
31305         (_G_uint32_t): Likewise.
31306         (_G_HAVE_BOOL): Likewise.
31307         (_G_HAVE_ATEXIT): Likewise.
31308         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31309         (_G_HAVE_IO_FILE_OPEN): Likewise.
31310         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31311         (_G_int32_t): Likewise.
31312         (_G_uint16_t): Likewise.
31313         (_G_uint32_t): Likewise.
31314         (_G_HAVE_BOOL): Likewise.
31315         (_G_HAVE_ATEXIT): Likewise.
31316         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31317         (_G_HAVE_IO_FILE_OPEN): Likewise.
31319 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31321         * csu/libc-tls.c: Update copyright years.
31323 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31325         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31326         [!_G_USING_THUNKS]: Remove conditional code.
31327         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31328         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31330         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31331         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31332         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31333         (_G_VTABLE_LABEL_PREFIX): Likewise.
31334         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31335         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31336         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31337         (_G_VTABLE_LABEL_PREFIX): Likewise.
31338         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31339         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31340         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31341         (_G_VTABLE_LABEL_PREFIX): Likewise.
31342         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31344 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31346         * libio/Makefile: Include ../Makeconfig before tests.
31347         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31348         only if $(build-shared) is yes.
31350         * iconv/gconv_db.c: Update copyright years.
31352 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31354         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31355         unwind info if defined PIC. Fix special cases description.
31356         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31358         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31359         DP_HI_MASK entry.
31360         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31362 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31364         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31366         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31367         is NULL.
31369         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31370         (LDLIBS-tst-chk4): This.
31371         (LDFLAGS-tst-chk5): Renamed to ...
31372         (LDLIBS-tst-chk5): This.
31373         (LDFLAGS-tst-chk6): Renamed to ...
31374         (LDLIBS-tst-chk6): This.
31375         (LDFLAGS-tst-lfschk4): Renamed to ...
31376         (LDLIBS-tst-lfschk4): This.
31377         (LDFLAGS-tst-lfschk5): Renamed to ...
31378         (LDLIBS-tst-lfschk5): This.
31379         (LDFLAGS-tst-lfschk6): Renamed to ...
31380         (LDLIBS-tst-lfschk6): This.
31382         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31383         on $(common-objpfx)soversions.mk.
31385 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31387         [BZ #10014]
31388         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31389         example host name.
31391 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31393         * malloc/arena.c (arena_get_retry): New function that gets
31394         another arena for the caller to try its request on.
31395         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31396         current arena cannot fulfill the request.
31397         (__libc_memalign): Likewise.
31398         (__libc_memalign): Likewise.
31399         (__libc_pvalloc): Likewise.
31400         (__libc_calloc): Likewise.
31402 2012-09-05  John Tobey  <john.tobey@gmail.com>
31404         [BZ #13542]
31405         * manual/arith.texi (Operations on Complex): Fix description
31406         of carg branch cut.
31408 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31410         [BZ #10014]
31411         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31412         host name.
31414         [BZ #10038]
31415         * manual/memory.texi (Memory): Make order of menu items match
31416         order of sections.
31418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31420         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31421         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31422         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31426         * csu/libc-tls.c (static_dtv): Renamed to ...
31427         (_dl_static_dtv): This.  Make it global.
31428         (_dl_initial_dtv): Removed.
31429         (__libc_setup_tls): Updated.
31430         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31431         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31432         DL_INITIAL_DTV.
31434 2012-09-06  Petr Machata  <pmachata@redhat.com>
31436         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31437         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31438         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31439         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31441 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31443         [BZ #14545]
31444         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31445         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31446         freeing dtv[-1].
31448 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31450         [BZ #14544]
31451         * Makeconfig (link-static-before-libc): Replace $(+prector)
31452         with $(+prectorT).
31453         (link-static-after-libc): Replace $(+postctor) with
31454         $(+postctorT).
31455         (link-bounded): Replace $(+prector)/$(+postctor) with
31456         $(+prectorT)/$(+postctorT).
31457         (+prectorT): New macro.
31458         (+postctorT): Likewise.
31460 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31462         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31463         (round_str): Handle values above the maximum for IBM long double
31464         as inexact.
31465         * stdlib/tst-strtod-round.c (tests): Regenerated.
31467 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31469         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31470         assembler flag.
31471         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31472         zarch_nohighgprs around the zarch optimized routines.
31473         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31474         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31475         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31476         for zarch.
31478 2012-09-05  David S. Miller  <davem@davemloft.net>
31480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31482         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31483         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31484         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31485         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31486         entries.
31488 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31490         * malloc/arena.c: Fold copyright years.
31491         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31493 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31495         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31497 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31499         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31501 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31503         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31504         change internal state upon failure.
31506 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31508         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31509         * malloc/memusage.c (mmap): Likewise.
31510         (mmap64, mremap): Likewise.  Adjust name in comment.
31512 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31514         * libio/fileops.c: Fix typos in comments.
31515         * libio/oldfileops.c: Likewise.
31516         * libio/wfileops.c: Likewise.
31518 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31520         [BZ #1349]
31521         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31522         (tst-malloc-usable-ENV): Set environment for test case.
31523         * malloc/hooks.c (malloc_check_get_size): New function to get
31524         requested size.
31525         * malloc/malloc.c (musable): Use malloc_check_get_size.
31526         * malloc/tst-malloc-usable.c: New test case.
31528 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31530         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31532 2012-09-05  Allan McRae  <allan@archlinux.org>
31534         [BZ #13966]
31535         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31536         determine header location.
31537         * configure: Regenerated.
31539 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31541         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31542         float format.
31543         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31544         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31545         format.
31546         (test): Regenerate.
31548 2012-09-04  David S. Miller  <davem@davemloft.net>
31550         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31551         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31552         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31554 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31556         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31557         failures.
31559         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31561 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31563         [BZ #9914]
31564         * libio/iogetdelim.c: Include <limits.h>.
31565         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31566         + len + 1 would overflow.
31568 2012-09-03  Andreas Jaeger  <aj@suse.de>
31570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31571         * sysdeps/i386/fpu/libm-test-ulps: Update.
31573 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31575         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31576         Add s_sinf-sse2, s_conf-sse2.
31578         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31579         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31580         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31581         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31583         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31584         for using routine as __sinf_ia32.
31585         Use macro for function declaration and weak_alias.
31586         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31587         for using routine as __cosf_ia32.
31588         Use macro for function declaration and weak_alias.
31590         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31591         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31593         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31594         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31597         * math/libm-test.inc (cos_test): Add more test cases.
31598         (sin_test): Likewise.
31599         (sincos_test): Likewise.
31601 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31604         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31605         hidden.
31606         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31608 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31610         [BZ #14538]
31611         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31612         first element of the GOT.
31613         (elf_machine_load_address): Return the difference between
31614         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31616 2012-09-01  Allan McRae  <allan@archlinux.org>
31618         [BZ #13412]
31619         * configure.in (AWK): Require gawk version 3.0 or later.
31620         * configure: Regenerated.
31622 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31624         * sysdeps/unix/sysv/linux/kernel-features.h
31625         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31626         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31627         [__NR_clock_getres]: Make code unconditional.
31628         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31629         (clock_getcpuclockid): Remove code left unreachable by removal of
31630         conditionals.
31631         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31632         code unconditional.
31633         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31634         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31635         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31636         Make code unconditional.
31637         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31638         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31639         * sysdeps/unix/sysv/linux/clock_settime.c
31640         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31641         conditional code.
31642         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31643         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31645 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31647         [BZ #14476]
31648         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31649         scripts/test-installation.pl.
31651         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31652         and $ld_so_version if it is set.
31654 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31656         [BZ #14516]
31657         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31658         failure if reading from procfs failed.
31659         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31661 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31663         * sysdeps/unix/sysv/linux/kernel-features.h
31664         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31665         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31666         Remove conditional code.
31667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31668         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31669         Remove conditional code.
31670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31671         * sysdeps/unix/sysv/linux/i386/fxstat.c
31672         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31674         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31675         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31677         * sysdeps/unix/sysv/linux/i386/lxstat.c
31678         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31679         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31680         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31681         Remove conditional code.
31682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31683         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31684         Remove conditional code.
31685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31686         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31687         <kernel-features.h>.
31688         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31689         Remove.
31690         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31691         Remove conditional code.
31692         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31693         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31694         Remove conditional.
31696 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31698         [BZ #5400]
31699         * NEWS: Add fixed bug number.
31701 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31703         [BZ #14519]
31704         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31705         underflowing exponent in case of negative sign.
31706         * stdlib/tst-strtod-round-data: Add more tests.
31707         * stdlib/tst-strtod-round.c (tests): Regenerated.
31709         [BZ #3479]
31710         * stdlib/strtod_l.c (NDIG): Remove.
31711         (HEXNDIG): Likewise.
31712         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31713         smallest representable value.
31714         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31715         lie within an exact representation of 1/2 ulp of the result.
31716         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31717         unconditionally.
31718         (TENS_P9_IDX): Define unconditionally.
31719         (TENS_P9_SIZE): Likewise.
31720         (TENS_P10_IDX): Likewise.
31721         (TENS_P10_SIZE): Likewise.
31722         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31723         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31724         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31725         entries for 10^2^13 and 10^2^14.
31726         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31727         (TENS_P13_IDX): Define.
31728         (TENS_P13_SIZE): Likewise.
31729         (TENS_P14_IDX): Likewise.
31730         (TENS_P14_SIZE): Likewise.
31731         (_fpioconst_pow10): Change array size to
31732         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31733         unconditional.
31734         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31735         1024]: Add entries for 10^2^13 and 10^2^14.
31736         [LAST_POW10 > _LAST_POW10]: Remove #error.
31737         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31738         (_fpioconst_pow10): Change array size to
31739         FPIOCONST_POW10_ARRAY_SIZE.
31740         * stdlib/gen-fpioconst.c: New file.
31741         * stdlib/gen-tst-strtod-round.c: Likewise.
31742         * stdlib/tst-strtod-round-data: Likewise.
31743         * stdlib/tst-strtod-round.c: Likewise.
31744         * stdlib/Makefile (tests): Add tst-strtod-round.
31746         [BZ #14459]
31747         * stdlib/strtod_l.c: Include <stdint.h>.
31748         (NDEBUG): Do not define.
31749         (round_and_return): Change EXPONENT parameter to type intmax_t.
31750         Rearrange calculations to avoid internal overflow possibilities.
31751         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31752         Rearrange calculations to avoid internal overflow possibilities.
31753         Assert that number fits inside MPNSIZE limbs.
31754         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31755         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31756         calculations and add assertions to avoid internal overflow
31757         possibilities.  Add casts to avoid signed/unsigned operations.
31758         * stdlib/tst-strtod-overflow.c: New file.
31759         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31761 2012-08-25  Marek Polacek  <polacek@redhat.com>
31763         * time/time.h: Fix some typos in comments.
31765 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31767         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31768         * posix/tst-rfc3484-2.c: Likewise.
31769         * posix/tst-rfc3484-3.c: Likewise.
31771 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31773         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31774         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31776 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31778         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31779         #include of fxstatat64.c.
31781 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31783         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31784         * shadow/getspent_r.c: Likewise.
31785         * shadow/getspnam.c: Likewise.
31786         * shadow/getspnam_r.c: Likewise.
31787         * gshadow/getsgent.c: Likewise.
31788         * gshadow/getsgent_r.c: Likewise.
31789         * gshadow/getsgnam.c: Likewise.
31790         * gshadow/getsgnam_r.c: Likewise.
31791         * inet/getnetbyad.c: Likewise.
31792         * inet/getnetbyad_r.c: Likewise.
31793         * inet/getnetbynm.c: Likewise.
31794         * inet/getnetbynm_r.c: Likewise.
31795         * inet/getnetent.c: Likewise.
31796         * inet/getnetent_r.c: Likewise.
31797         * inet/getproto.c: Likewise.
31798         * inet/getproto_r.c: Likewise.
31799         * inet/getprtent.c: Likewise.
31800         * inet/getprtent_r.c: Likewise.
31801         * inet/getprtname.c: Likewise.
31802         * inet/getprtname_r.c: Likewise.
31803         * inet/getrpcbyname.c: Likewise.
31804         * inet/getrpcbyname_r.c: Likewise.
31805         * inet/getrpcbynumber.c: Likewise.
31806         * inet/getrpcbynumber_r.c: Likewise.
31807         * inet/getrpcent.c: Likewise.
31808         * inet/getrpcent_r.c: Likewise.
31809         * inet/getaliasent.c: Likewise.
31810         * inet/getaliasent_r.c: Likewise.
31811         * inet/getaliasname.c: Likewise.
31812         * inet/getaliasname_r.c: Likewise.
31813         * nscd/getgrgid_r.c: Likewise.
31814         * nscd/getgrnam_r.c: Likewise.
31815         * nscd/gethstbyad_r.c: Likewise.
31816         * nscd/gethstbynm3_r.c: Likewise.
31817         * nscd/getpwnam_r.c: Likewise.
31818         * nscd/getpwuid_r.c: Likewise.
31819         * nscd/getsrvbynm_r.c: Likewise.
31820         * nscd/getsrvbypt_r.c: Likewise.
31821         * nscd/gai.c: Likewise.
31823         * configure.in (build_nscd): New substituted variable, set
31824         by --disable-build-nscd and defaults to $use_nscd.
31825         * configure: Regenerated.
31826         * config.make.in (build-nscd): New substituted variable.
31827         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31828         Change conditional to require [$(build-nscd) = yes] as well.
31829         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31831         [BZ# 13696]
31832         * configure.in (use_nscd): New substituted variable, set by
31833         --disable-nscd.  If enabled, define USE_NSCD.
31834         * configure: Regenerated.
31835         * config.h.in: Add USE_NSCD.
31836         * config.make.in (use-nscd): New substituted variable.
31837         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31838         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31839         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31840         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31841         (CFLAGS-getgrnam_r.c): Likewise.
31842         (CFLAGS-initgroups.c): Likewise.
31843         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31844         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31845         Variables removed.
31846         * inet/getnetgrent_r.c
31847         (nscd_setnetgrent): New function, broken out of ...
31848         (setnetgrent): ... here.  Call it.
31849         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31850         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31851         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31852         * nscd/Makefile (routines, aux): Move definitions after include of
31853         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31854         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31855         Conditionalize on [USE_NSCD].
31856         (is_nscd, nscd_init_cb): Likewise.
31857         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31858         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31859         * nss/nss_db/db-init.c: Likewise.
31860         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31861         [USE_NSCD].
31862         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31863         (make_request): Use it.
31864         (cache_valid_p): New function.
31865         (__check_pf): Use it.
31866         * NEWS: Add item for --disable-nscd.
31868 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31870         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31871         to support sed >= 4.2.1-20-ga9bf076.
31872         * configure: Regenerated.
31874 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31876         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31877         Conditionalize whole body on [IREL].
31879 2012-08-22  Jeff Law <law@redhat.com>
31881         [BZ #14505]
31882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31883         if the family is PF_UNSPEC.
31885 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31887         * Makerules (lib-version): Rename from V.
31888         (install-lib-nosubdir): Change V to lib-version.
31890 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31892         [BZ #14252]
31893         * powerpc32/power6/wcschr.c: New file.
31894         * powerpc32/power6/wcscpy.c: New file.
31895         * powerpc32/power6/wcsrchr.c: New file.
31896         * powerpc64/power6/wcschr.c: New file.
31897         * powerpc64/power6/wcscpy.c: New file.
31898         * powerpc64/power6/wcsrchr.c: New file.
31900 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31902         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31903         (two_way_short_needle): Use it.
31904         * string/strstr.c (AVAILABLE1_USES_J): Define.
31905         * string/strcasestr.c: Likewise.
31907         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31908         array references.
31909         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31911         [BZ #11607]
31912         * NEWS: Add an entry.
31913         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31914         define their defaults.
31915         (two_way_short_needle): Detect end-of-string on-the-fly.
31916         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31917         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31918         * string/bug-strcasestr1.c: New test.
31919         * string/Makefile: Run it.
31921 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31923         [BZ #11607]
31924         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31925         the first character.
31927 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31929         * csu/elf-init.c (__libc_csu_irel): Function removed.
31930         * csu/libc-start.c (apply_irel): New function.
31931         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31933 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31935         * sysdeps/unix/sysv/linux/kernel-features.h
31936         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31937         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31938         <kernel-features.h>.
31939         [__NR_fadvise64_64]: Make code unconditional.
31940         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31941         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31942         !__NR_fadvise64_64)]: Likewise.
31943         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31944         !__NR_fadvise64_64))]: Likewise.
31945         [__NR_fadvise64]: Make code unconditional.
31946         [!__NR_fadvise64]: Remove conditional code.
31947         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31948         <kernel-features.h>.
31949         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31950         unconditional.
31951         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31952         conditional code.
31953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31954         not include <kernel-features.h>.
31955         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31956         unconditional.
31957         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31958         conditional code.
31959         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31960         include <kernel-features.h>.
31961         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31962         unconditional.
31963         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31964         conditional code.
31966 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31969         slight instruction rearrangements per scrollpipe analysis.
31970         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31972 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31974         * manual/syslog.texi (syslog; vsyslog, closelog):
31975         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31976         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31978         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31979         DSOCAPS to match condition on defining it.
31981 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31983         * sysdeps/unix/sysv/linux/kernel-features.h
31984         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31986         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31987         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31989         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31990         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31992         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31993         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31995         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31996         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31998         * sysdeps/unix/sysv/linux/kernel-features.h
31999         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32000         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32001         unconditional.
32002         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32003         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32004         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32005         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32006         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32007         Make code unconditional.
32008         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32009         (__mmap64) [!__NR_mmap2]: Likewise.
32010         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32011         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32012         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32013         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32014         [__NR_mmap2]: Make code unconditional.
32015         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32016         (__mmap64) [!__NR_mmap2]: Likewise.
32018 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32020         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32022 2012-08-18  Andreas Jaeger  <aj@suse.de>
32024         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32026 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32028         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32029         * include/unistd.h (__have_sock_cloexec): Likewise.
32030         (__have_pipe2): Likewise.
32031         (__have_dup3): Likewise.
32033 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32035         [BZ #9685]
32036         * include/unistd.h (__have_pipe2): Change define into an extern int.
32037         (__have_dup3): Likewise.
32038         * socket/have_sock_cloexec.c: Include fcntl.h.
32039         (__have_pipe2): New variable.
32040         (__have_dup3): Likewise.
32042 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32044         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32046 2012-08-17  Marek Polacek  <polacek@redhat.com>
32048         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32049         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32051 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32053         * configure.in: Add AC_SUBST for sysheaders.
32054         * configure: Regenerated.
32055         * config.make.in (sysheaders): New substituted variable.
32057         * sysdeps/unix/mkfifo.c: Moved ...
32058         * sysdeps/posix/mkfifo.c: ... here.
32059         * sysdeps/unix/mkfifoat.c: Moved ...
32060         * sysdeps/posix/mkfifoat.c: ... here.
32062         * sysdeps/unix/utime.c: Moved ...
32063         * sysdeps/posix/utime.c: ... here.
32065         * sysdeps/unix/time.c: Moved ...
32066         * sysdeps/posix/time.c: ... here.
32067         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32068         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32070         * sysdeps/unix/nice.c: Moved ...
32071         * sysdeps/posix/nice.c: ... here.
32073         * sysdeps/unix/alarm.c: Moved ...
32074         * sysdeps/posix/alarm.c: ... here.
32076         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32078 2012-08-17  Jeff Law <law@redhat.com>
32080         * intl/Makefile (codeset_mo): New variable.
32081         ($(codeset_mo)): New target.
32082         (tst-codeset.out): Depend on that.  Remove explicit rule.
32083         (tst-gettext3.out, tst-gettext5.out): Likewise.
32084         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32085         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32086         * intl/tst-codeset.sh: Remove.
32087         * intl/tst-gettext3.sh: Likewise.
32088         * intl/tst-gettext5.sh: Likewise.
32090 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32092         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32093         * sysdeps/unix/syscalls.list: ... here.
32095         * sysdeps/posix/getaddrinfo.c
32096         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32097         (gaiconf_init, gaiconf_reload): Use them.
32098         [!_STATBUF_ST_NSEC]
32099         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32100         Define using time_t rather than struct timespec.
32102         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32103         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32104         Macros removed.
32105         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32106         [!NO_THREADS].
32107         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32108         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32109         Likewise.
32111         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32112         __libc_cleanup_push argument.
32114         * bits/param.h: New file.
32115         * misc/sys/param.h: New file.
32116         * include/sys/param.h: New file.
32117         * misc/Makefile (headers): Add bits/param.h.
32118         * sysdeps/generic/sys/param.h: File removed.
32119         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32120         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32121         * sysdeps/mach/hurd/bits/param.h: New file.
32122         * sysdeps/mach/hurd/sys/param.h: File removed.
32124         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32125         last change.
32127         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32128         [_IO_MTSAFE_IO].
32129         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32130         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32131         New macros.
32133         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32134         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32135         rather than -D_IO_MTSAFE_IO conditionally.
32136         * stdio-common/Makefile (CPPFLAGS): Likewise.
32137         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32138         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32139         Use $(libio-mtsafe).
32140         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32141         of -D_IO_MTSAFE_IO.
32142         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32143         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32144         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32145         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32146         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32147         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32148         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32149         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32150         (CFLAGS-fread_u_chk.c): Likewise.
32151         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32152         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32153         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32154         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32155         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32156         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32157         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32158         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32159         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32161         * libio/Makefile: Test [$(libc-reentrant) = yes]
32162         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32164         * Makeconfig
32165         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32166         * sysdeps/pthread/configure: File removed.
32167         * sysdeps/pthread/Makeconfig: New file.
32168         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32169         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32171 2012-08-16  Gary Benson  <gbenson@redhat.com>
32173         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32174         unmapping the first object in a namespace.
32176 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32178         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32179         (__internal_setnetgrent): ... this.  Add internal_function to
32180         definition.  Add libc_hidden_def.
32181         (setnetgrent): Update caller.
32182         (internal_endnetgrent): Renamed to ...
32183         (__internal_endnetgrent): ... this.  Add internal_function to
32184         definition.  Add libc_hidden_def.
32185         (endnetgrent): Update caller.
32186         (internal_getnetgrent_r): Renamed to ...
32187         (__internal_getnetgrent_r): ... this.  Add internal_function to
32188         definition.  Add libc_hidden_def.
32189         (__getnetgrent_r): Update caller.
32190         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32192 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32194         * stdlib/longlong.h: Update from GCC.
32196 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32198         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32199         on _QL, which is set by umul_ppmm but never used.
32200         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32201         variables, which are set by GMP macros but never used.
32202         * stdio-common/_itowa.c (_itowa): Likewise.
32203         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32204         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32206 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32208         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32209         struct La_sh_regs is not constant.
32210         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32211         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32212         and struct La_sparc64_regs are not constant.
32214 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32216         * sysdeps/unix/sysv/linux/kernel-features.h
32217         (__ASSUME_POSIX_TIMERS): Remove.
32218         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32220         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32221         Make code unconditional.
32222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32223         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32224         Make code unconditional.
32225         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32226         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32227         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32228         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32229         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32230         Make code unconditional.
32231         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32232         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32233         (__libc_missing_posix_timers): Remove.
32235 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32237         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32238         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32240         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32242         * elf/dl-sym.c: Include <stdlib.h>.
32244         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32245         constants, which avoids warnings in 32-bit builds.
32247         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32248         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32250         * misc/lseek.c: File moved to ...
32251         * io/lseek.c: ... here.
32253         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32255         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32256         shifting LEN more than 31 bits at once.
32258 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32260         [BZ #14195]
32261         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32262         segmentation fault for a case of two empty input strings.
32263         * string/test-strncasecmp.c (check1): Renamed to...
32264         (bz12205): ...this.
32265         (bz14195): Add new testcase for two empty input strings and N > 0.
32266         (test_main): Call new testcase, adapt for renamed function.
32268 2012-08-15  Andreas Jaeger  <aj@suse.de>
32270         [BZ #14090]
32271         * crypt/md5test2.c: New test, based on test supplied by Serge
32272         Belyshev <belyshev@depni.sinp.msu.ru>.
32273         * crypt/Makefile (xtests): Add md5test-giant..
32274         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32276 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32278         [BZ #14090]
32279         * crypt/md5.c (md5_process_block): Don't assume the buffer
32280         length is less than 2**32.
32281         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32282         length is less than 2**64.
32284 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32286         * string/str-two-way.h: Include <sys/param.h>.
32287         (MAX): Macro removed.
32289         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32290         Move #define and #undef of memmove to just before and after
32291         including <string.h>.
32293         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32294         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32295         and after including <string.h>.  Move declarations of
32296         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32297         to before #include "string/memmove.c".
32299         * include/dirent.h: Declare __getdirentries.
32301         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32302         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32304 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32306         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32307         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32308         * sysdeps/i386/configure: Regenerated.
32309         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32310         STABS_CURRENT_FILE, and STABS_FUN.
32311         (END): Remove call to STABS_FUN_END.
32312         (STABS_CURRENT_FILE1): Delete.
32313         (STABS_CURRENT_FILE): Likewise.
32314         (STABS_FUN): Likewise.
32315         (STABS_FUN_END): Likewise.
32316         (STABS_FUN2): Likewise.
32317         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32318         * sysdeps/x86_64/configure: Regenerated.
32320 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32322         * elf/dl-open.c: Include <atomic.h>.
32323         * elf/dl-lookup.c: Likewise.
32325 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32327         * sysdeps/unix/sysv/linux/kernel-features.h
32328         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32329         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32330         unconditionally.
32331         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32332         unconditionally.
32333         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32334         condition on __ASSUME_CLONE_THREAD_FLAGS.
32336 2012-08-14  Andreas Jaeger  <aj@suse.de>
32338         * sysdeps/i386/fpu/libm-test-ulps: Update.
32340 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32342         * include/atomic.h (atomic_exchange_and_add): Split into ...
32343         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32344         New atomic macros.
32346 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32350 2012-08-13  Jeff Law <law@redhat.com>
32352         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32353         null byte in the output string.
32355 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32357         * sysdeps/unix/sysv/linux/kernel-features.h
32358         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32359         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32360         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32362         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32363         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32364         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32366 2012-08-09  Jeff Law <law@redhat.com>
32368         [BZ #13939]
32369         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32370         When avoid_arena is set, don't retry in the that arena.  Pick the
32371         next one, whatever it might be.
32372         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32373         (arena_lock): Pass in new parameter to arena_get2.
32374         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32375         arena_get2.
32376         (__libc_malloc): Unify retrying after main arena failure with
32377         __libc_memalign version.
32378         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32380 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32382         [BZ #14166]
32383         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32384         to __redirect_strstr.
32385         (__strstr_sse42): Use typeof __redirect_strstr.
32386         (__strstr_ia32): Likewise.
32387         (__libc_strstr): New prototype.
32388         (strstr): Renamed to ...
32389         (__libc_strstr): This.
32390         (strstr): New strong alias of __libc_strstr.
32391         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32392         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32393         __redirect_time.
32394         Include <time.h>.
32395         (__libc_time): New prototype.
32396         (time_ifunc): Replace time with __libc_time.
32397         (time): New strong alias and hidden definition of __libc_time.
32398         (__GI_time): Remove strong alias.
32399         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32400         Include <stddef.h>.
32401         (memmove): Redefined to __redirect_memmove.
32402         (__memmove_sse2): Use typeof __redirect_memmove.
32403         (__memmove_ssse3): Likewise.
32404         (__memmove_ssse3_back): Likewise.
32405         (__libc_memmove): New prototype.
32406         (memmove): Renamed to ...
32407         (__libc_memmove): This.
32408         (memmove): New strong alias of __libc_memmove.
32410 2012-08-08  Mark Salter  <msalter@redhat.com>
32412         * elf/elf.h
32413         (R_MN10300_TLS_GD): Define.
32414         (R_MN10300_TLS_LD): Likewise.
32415         (R_MN10300_TLS_LDO): Likewise.
32416         (R_MN10300_TLS_GOTIE): Likewise.
32417         (R_MN10300_TLS_IE): Likewise.
32418         (R_MN10300_TLS_LE): Likewise.
32419         (R_MN10300_TLS_DTPMOD): Likewise.
32420         (R_MN10300_TLS_DTPOFF): Likewise.
32421         (R_MN10300_TLS_TPOFF): Likewise.
32422         (R_MN10300_SYM_DIFF): Likewise.
32423         (R_MN10300_ALIGN): Likewise.
32424         (R_MN10300_NUM): Update.
32426 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32429         Remove.
32431 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32433         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32435         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32436         sysdeps/unix -> sysdeps/posix move.
32437         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32439 2012-08-07      Allan McRae     <allan@archlinux.org>
32441         [BZ #14303]
32442         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32443         (SUNOS_CPP): Likewise.
32444         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32445         not found.
32446         (open_input): Call CPP using execvp.
32448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32450         * sysdeps/unix/sysv/linux/kernel-features.h
32451         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32452         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32453         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32454         (__ASSUME_WAITID_SYSCALL): Likewise.
32455         * sysdeps/unix/sysv/linux/dl-execstack.c
32456         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32457         code unconditional.
32458         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32459         conditional code.
32460         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32461         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32462         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32463         code.
32464         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32465         unconditional.
32466         [__ASSUME_WAITID_SYSCALL]: Likewise.
32467         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32469 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32471         * sysdeps/unix/closedir.c: Renamed to ...
32472         * sysdeps/posix/closedir.c: ... here.
32473         * sysdeps/unix/dirfd.c: Renamed to ...
32474         * sysdeps/posix/dirfd.c: ... here.
32475         * sysdeps/unix/dirstream.h: Renamed to ...
32476         * sysdeps/posix/dirstream.h: ... here.
32477         * sysdeps/unix/fdopendir.c: Renamed to ...
32478         * sysdeps/posix/fdopendir.c: ... here.
32479         * sysdeps/unix/opendir.c: Renamed to ...
32480         * sysdeps/posix/opendir.c: ... here.
32481         * sysdeps/unix/readdir.c: Renamed to ...
32482         * sysdeps/posix/readdir.c: ... here.
32483         * sysdeps/unix/readdir_r.c: Renamed to ...
32484         * sysdeps/posix/readdir_r.c: ... here.
32485         * sysdeps/unix/rewinddir.c: Renamed to ...
32486         * sysdeps/posix/rewinddir.c: ... here.
32487         * sysdeps/unix/seekdir.c: Renamed to ...
32488         * sysdeps/posix/seekdir.c: ... here.
32489         * sysdeps/unix/telldir.c: Renamed to ...
32490         * sysdeps/posix/telldir.c: ... here.
32491         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32492         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32493         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32494         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32496         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32497         * bits/fcntl.h: ... here.
32499         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32500         not 0.
32501         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32502         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32503         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32504         (struct flock): Move l_start, l_len to the beginning.
32505         Use __pid_t for l_pid.
32506         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32507         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32508         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32509         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32510         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32511         [__USE_LARGEFILE64] (struct flock64): New type.
32512         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32514         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32515         * bits/dirent.h: ... here.
32517         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32518         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32520 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32522         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32523         Change from 2.6.0 to 2.6.16.
32524         * sysdeps/unix/sysv/linux/configure: Regenerated.
32525         * sysdeps/unix/sysv/linux/kernel-features.h
32526         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32527         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32528         version.
32529         (__ASSUME_UTIMES): Likewise.
32530         (__ASSUME_CLONE_STOPPED): Remove.
32531         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32532         architectures, not kernel version.
32533         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32534         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32535         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32536         (__ASSUME_WAITID_SYSCALL): Likewise.
32537         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32538         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32539         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32540         refer to older versions.
32542 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32544         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32545         Define alphasort64 as an alias.
32546         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32547         Define versionsort64 as an alias.
32548         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32549         Define scandir64 as an alias.
32550         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32551         Define scandirat64 as an alias.
32552         * dirent/alphasort64.c (alphasort64):
32553         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32554         * dirent/versionsort64.c: Likewise.
32555         * dirent/scandir64.c: Likewise.
32556         * dirent/scandirat64.c: Likewise.
32557         * sysdeps/wordsize-64/alphasort.c: File removed.
32558         * sysdeps/wordsize-64/alphasort64.c: File removed.
32559         * sysdeps/wordsize-64/scandir.c: File removed.
32560         * sysdeps/wordsize-64/scandir64.c: File removed.
32561         * sysdeps/wordsize-64/scandirat.c: File removed.
32562         * sysdeps/wordsize-64/scandirat64.c: File removed.
32563         * sysdeps/wordsize-64/versionsort.c: File removed.
32564         * sysdeps/wordsize-64/versionsort64.c: File removed.
32565         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32566         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32567         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32568         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32569         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32570         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32571         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32572         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32574         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32576         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32578         [defined __arch64__ || defined __sparcv9]
32579         (__INO_T_MATCHES_INO64_T): New macro.
32580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32581         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32582         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32583         * sysdeps/unix/sysv/linux/bits/dirent.h
32584         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32585         (_DIRENT_MATCHES_DIRENT64): New macro.
32587         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32588         Define lockf64 as an alias.
32589         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32590         Define fseeko64 as an alias.
32591         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32592         Define ftello64 as an alias.
32593         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32594         Define _IO_fgetpos64 and fgetpos64 as aliases.
32595         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32596         Define _IO_fsetpos64 and fsetpos64 as aliases.
32597         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32598         Conditionalize body on this.
32599         * libio/fseeko64.c: Likewise.
32600         * libio/ftello64.c: Likewise.
32601         * libio/iofgetpos64.c: Likewise.
32602         * libio/iofsetpos64.c: Likewise.
32603         * sysdeps/wordsize-64/lockf.c: File removed.
32604         * sysdeps/wordsize-64/lockf64.c: File removed.
32605         * sysdeps/wordsize-64/fseeko.c: File removed.
32606         * sysdeps/wordsize-64/fseeko64.c: File removed.
32607         * sysdeps/wordsize-64/ftello.c: File removed.
32608         * sysdeps/wordsize-64/ftello64.c: File removed.
32609         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32610         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32611         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32612         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32613         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32614         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32615         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32616         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32617         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32618         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32619         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32620         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32621         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32622         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32624         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32626         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32628         [defined __arch64__ || defined __sparcv9]
32629         (__OFF_T_MATCHES_OFF64_T): New macro.
32630         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32631         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32633         (__OFF_T_MATCHES_OFF64_T): New macro.
32635 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32637         * stdlib/secure-getenv.c (__secure_getenv): Replace
32638         GLIBC_2_16 with GLIBC_2_17.
32640 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32642         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32643         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32645 2012-08-03  David S. Miller  <davem@davemloft.net>
32647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32649 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32652         Remove.
32653         (__ASSUME_CORRECT_SI_PID): Likewise.
32654         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32655         (__ASSUME_TMPFS_NAME): Likewise.
32656         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32657         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32658         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32659         (HAVE_AUX_SECURE): Make definition unconditional.
32660         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32661         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32663 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32665         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32666         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32667         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32669         __eloop_threshold instead of SYMLOOP_MAX.
32671         * sysdeps/generic/eloop-threshold.h: New file.
32672         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32673         of MAXSYMLINKS.
32674         * elf/chroot_canon.c (chroot_canon): Likewise.
32676 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #13717]
32679         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32680         Change to 2.6.0 everywhere.
32681         * sysdeps/unix/sysv/linux/configure: Regenerated.
32682         * sysdeps/unix/sysv/linux/kernel-features.h
32683         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32684         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32685         kernel versions.
32686         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32687         (__ASSUME_FUTEX_REQUEUE): Remove.
32688         (__ASSUME_STATFS64): Define unconditionally.
32689         (__ASSUME_AT_SECURE): Likewise.
32690         (__ASSUME_CORRECT_SI_PID): Likewise.
32691         (__ASSUME_TGKILL): Define without depending on kernel version for
32692         i386.
32693         (__ASSUME_UTIMES): Likewise.
32694         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32695         kernel version.
32696         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32697         (__ASSUME_TMPFS_NAME): Likewise.
32698         * README: Update reference to Linux kernel versions.
32700 2012-08-02  Marek Polacek  <polacek@redhat.com>
32702         [BZ# 14150]
32703         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32704         libc_cv_asm_type_prefix with %.
32705         * configure: Regenerated.
32706         * include/libc-symbols.h: Remove comment about
32707         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32708         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32709         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32710         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32711         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32712         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32713         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32714         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32715         * elf/tst-unique2mod1.c: Likewise.
32716         * elf/tst-unique1mod2.c: Likewise.
32717         * elf/tst-unique1mod1.c: Likewise.
32718         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32719         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32720         Replace ASM_TYPE_DIRECTIVE with .type.
32721         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32722         * sysdeps/i386/sysdep.h: Likewise.
32723         * sysdeps/x86_64/sysdep.h: Likewise.
32724         * sysdeps/sh/sysdep.h: Likewise.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32726         Do not define ASM_TYPE_DIRECTIVE.
32727         * sysdeps/powerpc/sysdep.h: Likewise.
32728         * sysdeps/powerpc/powerpc32/sysdep.h:
32729         Replace ASM_TYPE_DIRECTIVE with .type.
32730         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32731         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32732         * sysdeps/i386/fpu/e_powf.S: Likewise.
32733         * sysdeps/i386/fpu/e_expl.S: Likewise.
32734         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32735         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32736         * sysdeps/i386/fpu/e_pow.S: Likewise.
32737         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32738         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32739         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32740         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32741         * sysdeps/i386/fpu/e_log2.S: Likewise.
32742         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32743         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32744         * sysdeps/i386/fpu/e_powl.S: Likewise.
32745         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32746         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32747         * sysdeps/i386/fpu/e_logl.S: Likewise.
32748         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32749         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32750         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32752         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32753         * sysdeps/i386/fpu/e_log.S: Likewise.
32754         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32755         * sysdeps/i386/fpu/e_logf.S: Likewise.
32756         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32757         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32758         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32759         * sysdeps/i386/fpu/e_log10.S: Likewise.
32760         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32761         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32762         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32763         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32764         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32765         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32766         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32767         * sysdeps/i386/i686/strtok.S: Likewise.
32768         * sysdeps/i386/i386-mcount.S: Likewise.
32769         * sysdeps/i386/strtok.S: Likewise.
32770         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32771         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32773         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32774         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32775         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32776         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32777         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32778         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32779         * sysdeps/x86_64/_mcount.S: Likewise.
32780         * sysdeps/x86_64/strtok.S: Likewise.
32781         * sysdeps/sh/_mcount.S: Likewise.
32783 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32785         * libio/iofopen.c: Include <fcntl.h>.
32786         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32787         (_IO_fopen64, fopen64): Define as aliases.
32788         * libio/iofopen64.c: Include <fcntl.h>.
32789         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32790         Conditionalize body on this.
32791         * sysdeps/wordsize-64/iofopen.c: File removed.
32792         * sysdeps/wordsize-64/iofopen64.c: File removed.
32794 2012-08-01  Marek Polacek  <polacek@redhat.com>
32796         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32797         Use dlfcn directly instead of a variable.
32798         (binfmt-subdir): Do not define.
32799         (dlfcn): Likewise.
32801 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32804         Remove all definitions.
32805         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32806         <kernel-features.h>.
32807         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32808         (miss_F_GETOWN_EX): Remove all definitions.
32809         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32810         macro definition.
32811         [!__ASSUME_FCNTL64]: Remove conditional code.
32812         [__ASSUME_FCNTL64]: Make code unconditional.
32813         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32814         <kernel-features.h>.
32815         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32816         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32817         (lockf64) [__NR_fcntl64]: Make code unconditional.
32818         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32820         * sysdeps/unix/sysv/linux/kernel-features.h
32821         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32822         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32823         Make code unconditional.
32824         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32825         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32827         [__NR_vfork]: Make code unconditional.
32828         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32829         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32831         [__NR_vfork]: Make code unconditional.
32832         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32833         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32835 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32837         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32838         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32840         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32841         Define mkstemp64 as an alias.
32842         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32843         Define mkstemps64 as an alias.
32844         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32845         Define mkostemp64 as an alias.
32846         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32847         Define mkostemps64 as an alias.
32848         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32849         Conditionalize body on this.
32850         * misc/mkostemp64.c: Likewise.
32851         * misc/mkostemps64.c: Likewise.
32852         * misc/mkstemps64.c: Likewise.
32853         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32854         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32855         * sysdeps/wordsize-64/mkostemp.c: File removed.
32856         * sysdeps/wordsize-64/mkstemp.c: File removed.
32857         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32858         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32859         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32860         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32862         [BZ #14138]
32863         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32864         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32865         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32866         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32868         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32869         compat_symbol macros from <shlib-compat.h> rather than the underlying
32870         default_symbol_version and symbol_version macros, so that DEFAULT
32871         lines in shlib-versions are respected.
32872         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32874 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32876         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32877         Declare with warn_unused_result.
32878         (setgid, setregid, setegid, setresgid): Likewise.
32879         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32880         Likewise.
32881         * WUR-REPORT: Remove set*id functions.
32883 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32885         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32887 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32889         [BZ #10191]
32890         * include/sys/socket.h (__libc_accept, __libc_accept4):
32891         Add attribute_hidden.
32892         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32894         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32895         use of PTR_MANGLE.
32896         * inet/getnetgrent_r.c (setup): Likewise.
32898         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32900 2012-07-31  David S. Miller  <davem@davemloft.net>
32902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32904 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32906         [BZ #13629]
32907         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32908         value between 1.0 and 2.0 and smaller part has absolute value less
32909         than 1.0.
32910         * math/s_clog10.c (__clog10): Likewise.
32911         * math/s_clog10f.c (__clog10f): Likewise.
32912         * math/s_clog10l.c (__clog10l): Likewise.
32913         * math/s_clogf.c (__clogf): Likewise.
32914         * math/s_clogl.c (__clogl): Likewise.
32915         * math/libm-test.inc (clog_test): Add more tests.
32916         (clog10_test): Likewise.
32917         * sysdeps/i386/fpu/libm-test-ulps: Update.
32918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32920 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32922         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32923         Exit with zero in case no suitable GID is found, and write a
32924         message to standard error.
32926 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32928         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32929         rather than to 1.
32930         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32931         (MAXPATHLEN): Removed.
32932         (NOGROUP, NODEV): New macros.
32933         (setbit, clrbit, isset, isclr): New macros.
32934         (howmany, roundup, powerof2): New macros.
32935         (DEV_BSIZE): New macro.
32937         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32938         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32940         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32941         definition on [!__NO_LONG_DOUBLE_MATH].
32943         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32944         PTR_MANGLE and PTR_DEMANGLE.
32946         * socket/accept4.c (accept4): Rename to __libc_accept4.
32947         Define accept4 as a weak alias.
32949         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32950         on [_DIRENT_HAVE_D_TYPE].
32951         * io/ftw.c (ftw_dir): Likewise.
32953         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32955         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32957         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32958         Use the BSD numbers rather than the arbitrary ones we had.
32959         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32960         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32961         (SIGXCPU, SIGXFSZ): New macros.
32962         (_NSIG): Now 32.
32964         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32965         initializer on [_LIBC_REENTRANT].
32967         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32968         definitions inside [_POSIX_MAPPED_FILES].
32970         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32972         * dirent/opendir.c: Include <fcntl.h>.
32974         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32975         (__libc_getspecific): Likewise.
32976         (__libc_key_create): Likewise.
32978         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32979         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32980         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32981         (tmpfile64): Define as alias.
32982         * sysdeps/wordsize-64/tmpfile.c: File removed.
32983         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32985         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32987         * stdio-common/vfscanf.c: Include <stdbool.h>.
32988         * nss/makedb.c: Likewise.
32989         * stdio-common/_i18n_number.h: Likewise.
32990         * argp/argp-help.c: Likewise.
32991         * posix/wordexp.c: Likewise.
32992         * sysdeps/posix/spawni.c: Likewise.
32993         * nss/nss_files/files-initgroups.c: Likewise.
32994         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32995         * nss/nss_files/files-initgroups.c: Likewise.
32996         * nss/nss_db/db-netgrp.c: Likewise.
32997         * nss/nss_db/db-initgroups.c: Likewise.
32998         * io/fchmodat.c: Include <sys/stat.h>.
33000         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33001         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33003         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33004         [HAVE_MMAP].
33006         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33007         Add multiple inclusion protection.
33009 2012-07-27  David S. Miller  <davem@davemloft.net>
33011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33013 2012-07-27  Gary Benson  <gbenson@redhat.com>
33015         [BZ #14298]
33016         * elf/rtld.c: Include <stap-probe.h>.
33017         (dl_main): Added static probes "init_start" and "init_complete".
33018         * elf/dl-load.c: Include <stap-probe.h>.
33019         (lose): Take new parameter "nsid".
33020         Added static probe "map_failed".
33021         (_dl_map_object_from_fd): Pass namespace id to lose.
33022         Added static probe "map_start".
33023         (open_verify): Pass namespace id to lose.
33024         * elf/dl-open.c: Include <stap-probe.h>.
33025         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33026         and "reloc_complete".
33027         * elf/dl-close.c: Include <stap-probe.h>.
33028         (_dl_close_worker): Added static probes "unmap_start" and
33029         "unmap_complete".
33030         * elf/rtld-debugger-interface.txt: New file documenting the above.
33032 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33034         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33035         rather than a string variable.
33036         * sunrpc/rpc_main.c (h_output): Likewise.
33037         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33039 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33041         * inet/check_native.c: New file.
33043 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33045         [BZ #13629]
33046         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33047         if larger part has absolute value 1.0.
33048         * math/s_clog10.c (__clog10): Likewise.
33049         * math/s_clog10f.c (__clog10f): Likewise.
33050         * math/s_clog10l.c (__clog10l): Likewise.
33051         * math/s_clogf.c (__clogf): Likewise.
33052         * math/s_clogl.c (__clogl): Likewise.
33053         * math/libm-test.inc (clog_test): Add more tests.
33054         (clog10_test): Likewise.
33055         * sysdeps/i386/fpu/libm-test-ulps: Update.
33056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33058         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33059         (pltexit): Likewise.
33060         (La_regs): Likewise.
33061         (La_retval): Likewise.
33062         (int_retval): Likewise.
33063         Update #error for removed macros to refer only to definitions in
33064         tst-audit.h.
33065         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33066         macro.
33067         (pltexit): Likewise.
33068         (La_regs): Likewise.
33069         (La_retval): Likewise.
33070         (int_retval): Likewise.
33071         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33072         macro.
33073         (pltexit): Likewise.
33074         (La_regs): Likewise.
33075         (La_retval): Likewise.
33076         (int_retval): Likewise.
33077         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33078         macro.
33079         (pltexit): Likewise.
33080         (La_regs): Likewise.
33081         (La_retval): Likewise.
33082         (int_retval): Likewise.
33083         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33084         macro.
33085         (pltexit): Likewise.
33086         (La_regs): Likewise.
33087         (La_retval): Likewise.
33088         (int_retval): Likewise.
33089         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33090         macro.
33091         (pltexit): Likewise.
33092         (La_regs): Likewise.
33093         (La_retval): Likewise.
33094         (int_retval): Likewise.
33095         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33096         macro.
33097         (pltexit): Likewise.
33098         (La_regs): Likewise.
33099         (La_retval): Likewise.
33100         (int_retval): Likewise.
33101         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33102         macro definitions in tst-audit.h.
33103         * sysdeps/i386/tst-audit.h: New file.
33104         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33105         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33106         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33107         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33108         * sysdeps/sh/tst-audit.h: Likewise.
33109         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33110         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33111         * sysdeps/x86_64/tst-audit.h: Likewise.
33113 2012-07-26  Andreas Jaeger  <aj@suse.de>
33115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33116         ptrace.
33118         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33119         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33120         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33121         PTRACE_O_MASK.
33122         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33123         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33124         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33126         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33127         value.
33129         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33130         _sigsys.
33131         (si_call_addr, si_syscall, si_arch): Define new macro.
33132         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33133         _sigsys.
33134         (si_call_addr, si_syscall, si_arch): Define new marcro.
33135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33136         _sigsys.
33137         (si_call_addr, si_syscall, si_arch): Define new macro.
33138         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33139         _sigsys.
33140         (si_call_addr, si_syscall, si_arch): Define new macro.
33142 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33144         [BZ #13717]
33145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33146         Change to 2.4.21 where previously 2.4.1.
33147         * sysdeps/unix/sysv/linux/configure: Regenerated.
33148         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33149         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33150         Linux kernel version.
33151         (__ASSUME_STD_AUXV): Remove.
33152         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33153         kernel version.
33154         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33155         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33156         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33157         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33158         (__ASSUME_NETLINK_SUPPORT): Likewise.
33159         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33160         (__no_netlink_support): Remove conditional definition.
33161         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33162         Remove.
33163         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33164         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33165         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33166         (if_nameindex_ioctl): Remove.
33167         (if_nameindex_netlink): Do not handle __no_netlink_support.
33168         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33169         code.
33170         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33171         Remove conditional code.
33172         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33173         code.
33174         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33175         unconditional.
33176         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33177         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33178         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33179         Remove.
33180         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33181         [!__ASSUME_STD_AUXV]: Remove conditional code.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33183         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33184         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33186         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33187         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33188         code.
33189         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33191         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33192         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33193         conditional code.
33194         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33196         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33197         code.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33199         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33200         conditional code.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33202         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33203         code unconditional.
33204         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33205         conditional code.
33206         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33207         unconditional.
33208         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33209         conditional code.
33210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33211         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33212         unconditional.
33213         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33214         conditional code.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33216         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33217         code unconditional.
33218         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33219         conditional code.
33220         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33221         unconditional.
33222         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33223         conditional code.
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33225         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33226         code unconditional.
33227         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33228         conditional code.
33229         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33230         unconditional.
33231         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33232         conditional code.
33234 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33236         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33237         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33238         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33239         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33240         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33241         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33242         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33243         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33244         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33245         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33246         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33247         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33248         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33249         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33250         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33251         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33252         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33253         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33254         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33256         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33257         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33260 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33262         * Versions.def: Add GLIBC_2.17.
33263         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33264         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33265         Introduce __libc_secure_getenv.
33266         * stdlib/Versions (2.17): Add secure_getenv
33267         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33268         * stdlib/secure-getenv.c: Rename __secure_getenv to
33269         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33270         symbol __secure_getenv for GLIBC_2.0.
33271         * stdlib/tst-secure-getenv.c: New.
33272         * stdlib/Makefile (tests): Add testcase.
33273         * manual/startup.texi (Environment Access): Document
33274         secure_getenv.
33275         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33276         __libc_secure_getenv.
33277         * inet/ruserpass.c (ruserpass): Likewise.
33278         * malloc/mtrace.c (mtrace): Likewise.
33279         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33280         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33281         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33282         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33283         HAVE_SECURE_GETENV.
33284         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33285         __secure_getenv to __libc_secure_getenv.
33286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33288         Likewise.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33290         Likewise.
33291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33299 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33301         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33302         (struct La_i86_retval): Likewise.
33303         (struct La_x86_64_regs): Likewise.
33304         (struct La_x86_64_retval): Likewise.
33305         (struct La_x32_regs): Likewise.
33306         (struct La_x32_retval): Likewise.
33307         (struct La_ppc32_regs): Likewise.
33308         (struct La_ppc32_retval): Likewise.
33309         (struct La_ppc64_regs): Likewise.
33310         (struct La_ppc64_retval): Likewise.
33311         (struct La_sh_regs): Likewise.
33312         (struct La_sh_retval): Likewise.
33313         (struct La_s390_32_regs): Likewise.
33314         (struct La_s390_32_retval): Likewise.
33315         (struct La_s390_64_regs): Likewise.
33316         (struct La_s390_64_retval): Likewise.
33317         (struct La_sparc32_regs): Likewise.
33318         (struct La_sparc32_retval): Likewise.
33319         (struct La_sparc64_regs): Likewise.
33320         (struct La_sparc64_retval): Likewise.
33321         (struct audit_ifaces): Remove architecture-specific pltenter and
33322         pltexit members.
33323         * sysdeps/i386/ldsodefs.h: New file.
33324         * sysdeps/powerpc/ldsodefs.h: Likewise.
33325         * sysdeps/s390/ldsodefs.h: Likewise.
33326         * sysdeps/sh/ldsodefs.h: Likewise.
33327         * sysdeps/sparc/ldsodefs.h: Likewise.
33328         * sysdeps/x86_64/ldsodefs.h: Likewise.
33330 2012-07-25  Marek Polacek  <polacek@redhat.com>
33332         [BZ #6808]
33333         * math/libm-test.inc (yn_test): Add another test.
33334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33335         to ERANGE when the result is +-Inf.
33336         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33337         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33338         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33341 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33343         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33344         equal to 0.
33345         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33346         clock_t.
33347         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33349 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33351         * configure.in <sysdeps resolving>: Correct printing
33352         Implies_before.
33353         * configure: Regenerate.
33355 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33357         * math/w_ilogb.c: Include <limits.h>.
33358         * math/w_ilogbl.c: Likewise.
33360 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33362         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33363         va_copy.  Document allowing for unavailable va_copy only as
33364         pre-C99 compatibility.
33365         * manual/string.texi (Copying and Concatenation): Use va_copy
33366         instead of __va_copy in concat example.
33368 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33370         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33371         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33372         it if not null.
33374         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33375         with O_NOLINK passed to __file_name_lookup.
33377         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33378         with O_NOLINK passed to __file_name_lookup.
33380         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33381         negative N or less than NGIDS.
33383         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33384         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33385         enough.  Use memcpy instead of strncpy.
33387 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33389         * elf/Makefile (check-data): Remove.
33390         (localplt.data): New vpath directive.
33391         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33392         instead of $(check-data).
33393         * scripts/data/localplt-generic.data: Move to ...
33394         * sysdeps/generic/localplt.data: ... here.
33395         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33396         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33397         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33399         ... here.
33400         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33402         ... here.
33403         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33405         ... here.
33406         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33408         ... here.
33409         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33411         ... here.
33412         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33414         ... here.
33416 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33418         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33419         PPC32 and PPC64 files.
33420         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33421         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33423 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33425         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33426         __makecontext_ret to ...
33427         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33428         ... here and call exit if uc_link is NULL.  New file.
33429         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33430         __makecontext_ret.S.
33431         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33432         __makecontext_ret to ...
33433         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33434         ... here and call exit if uc_link is NULL.  New file.
33435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33436         __makecontext_ret.S.
33438 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33440         * elf/elf.h (R_390_IRELATIVE): New definition.
33441         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33442         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33443         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33445         (elf_machine_lazy_rel): Likewise.
33446         * sysdeps/s390/dl-irel.h: New file.
33447         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33448         * sysdeps/s390/s390-64/memset.S: New asm code.
33449         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33450         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33451         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33452         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33453         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33454         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33456         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33457         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33458         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33459         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33460         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33461         * sysdeps/s390/s390-32/memset.S: New asm code.
33462         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33464 2012-07-17  Marek Polacek  <polacek@redhat.com>
33466         [BZ #14349]
33467         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33468         * sysdeps/s390/s390-64/configure.in: Likewise.
33469         * sysdeps/sparc/configure.in: Likewise.
33470         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33471         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33472         * sysdeps/i386/configure.in: Likewise.
33473         * sysdeps/x86_64/configure.in: Likewise.
33474         * sysdeps/sh/configure.in: Likewise.
33475         * sysdeps/s390/s390-32/configure: Regenerated.
33476         * sysdeps/s390/s390-64/configure: Likewise.
33477         * sysdeps/x86_64/configure: Likewise.
33478         * sysdeps/sh/configure: Likewise.
33479         * sysdeps/powerpc/powerpc64/configure: Likewise.
33480         * sysdeps/powerpc/powerpc32/configure: Likewise.
33481         * sysdeps/sparc/configure: Likwise.
33482         * sysdeps/i386/configure: Likewise.
33484         * elf/dl-open.c: Comment fixes.
33486 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33488         * Makefile [CXX] (check-data): Remove.
33489         [CXX] (c++-types.data): New vpath directive.
33490         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33491         vpath.  Do not allow for C++ type data being missing.
33492         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33493         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33494         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33495         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33496         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33497         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33498         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33500         ... here.
33501         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33503         ... here.
33504         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33506         ... here.
33507         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33509         ... here.
33510         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33512         ... here.
33513         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33515         ... here.
33516         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33518         ... here.
33519         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33522         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33523         definitions to architecture-specific files.
33524         (TLS_IE): Likewise.
33525         (TLS_LD): Likewise.
33526         (TLS_GD): Likewise.
33527         * sysdeps/i386/tls-macros.h: New file.
33528         * sysdeps/powerpc/tls-macros.h: Likewise.
33529         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33530         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33531         * sysdeps/sh/tls-macros.h: Likewise.
33532         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33533         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33534         * sysdeps/x86_64/tls-macros.h: Likewise.
33536 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33539         zero value for regular exit case.
33541         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33542         (__start_context): Preserve zero value for regular exit case.
33544 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33545             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33547         * manual/setjmp.texi (setcontext): Clarify normal process
33548         termination when uc_link is the null pointer.
33549         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33550         exit call.
33552 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33554         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33555         preprocessor.  Test for each exception mask separately.
33557 2012-07-16  Andreas Jaeger  <aj@suse.de>
33559         * po/ru.po: Update from translation team.
33561 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33563         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33564         equal to 0.
33565         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33566         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33567         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33568         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33569         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33571 2012-07-13  Andreas Jaeger  <aj@suse.de>
33573         * po/fr.po: Update from translation team.
33575 2012-07-12  Marek Polacek  <polacek@redhat.com>
33577         [BZ #14173]
33578         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33580         loop condition.
33582 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33584         [BZ #13717]
33585         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33586         Change to 2.4.1 where previously 2.4.0.
33587         * sysdeps/unix/sysv/linux/configure: Regenerated.
33588         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33589         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33590         version.
33591         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33592         (__ASSUME_AT_CLKTCK): Remove.
33593         (__ASSUME_AT_PAGESIZE): Likewise.
33594         (__ASSUME_AT_XID): Likewise.
33595         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33596         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33597         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33598         unconditionally.
33599         (HAVE_AUX_PAGESIZE): Likewise.
33600         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33601         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33602         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33604 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33606         [BZ #14307]
33607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33608         the temporary buffer used to invoke __gethostbyname2_r,
33609         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33610         host_data / struct gaih_addrtuple.
33611         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33612         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33613         header file nss/nsswitch.h.
33614         * nss/nsswitch.h (global scope): Add definition of implementation
33615         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33616         resolv/nss_dns/dns-host.c).
33618 2012-07-11  Andreas Jaeger  <aj@suse.de>
33620         * po/fr.po: Update from translation team.
33622         * po/sv.po: Update from translation team
33623         * po/fr.po: Another update from translation team.
33625 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33627         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33628         for subnormals or multiply small sinh result by itself.
33629         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33632 2012-07-11  David S. Miller  <davem@davemloft.net>
33634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33636 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33638         [BZ #14347]
33639         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33640         (INTERNAL_MARK): Shift it here.
33642 2012-07-10  Marek Polacek  <polacek@redhat.com>
33644         [BZ #14151]
33645         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33646         libc_cv_asm_global_directive with .globl.
33647         * configure: Regenerated.
33648         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33649         with .globl.
33650         * sysdeps/i386/configure: Regenerated.
33651         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33652         with .globl.
33653         * sysdeps/x86_64/configure: Regenerated.
33654         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33655         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33656         * elf/tst-unique2mod2.c: Likewise.
33657         * elf/tst-unique2mod1.c: Likewise.
33658         * elf/tst-unique1mod2.c: Likewise.
33659         * elf/tst-unique1mod1.c: Likewise.
33660         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33661         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33662         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33663         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33664         * sysdeps/mach/sysdep.h: Likewise.
33665         * sysdeps/i386/sysdep.h: Likewise.
33666         * sysdeps/i386/i386-mcount.S: Likewise.
33667         * sysdeps/x86_64/_mcount.S: Likewise.
33668         * sysdeps/x86_64/sysdep.h: Likewise.
33669         * sysdeps/sh/_mcount.S: Likewise.
33670         * sysdeps/sh/sysdep.h: Likewise.
33671         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33672         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33673         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33674         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33675         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33676         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33677         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33678         * locale/localeinfo.h: Likewise.
33679         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33680         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33682 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33684         [BZ #14336]
33685         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33686         system".
33687         * manual/message.texi (The Uniforum approach): Likewise.
33688         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33689         (glibc iconv Implementation): Likewise.
33691 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33693         [BZ #14337]
33694         * math/s_clog.c (__clog): Avoid scaling a value down where that
33695         could result in underflow.
33696         * math/s_clog10.c (__clog10): Likewise.
33697         * math/s_clog10f.c (__clog10f): Likewise.
33698         * math/s_clog10l.c (__clog10l): Likewise.
33699         * math/s_clogf.c (__clogf): Likewise.
33700         * math/s_clogl.c (__clogl): Likewise.
33701         * math/libm-test.inc (clog_test): Add more tests.
33702         (clog10_test): Likewise.
33703         * sysdeps/i386/fpu/libm-test-ulps: Update.
33704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33706 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33708         [BZ #14283]
33709         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33710         by 7 not 8 to examine high bit of fractional part.
33712         [BZ #14042]
33713         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33714         for call to __mcount_internal.
33715         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33716         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33717         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33719 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33721         [BZ #14154]
33722         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33723         approximation for values within 0x1p-13f of an odd multiple of
33724         pi/4.
33725         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33726         exception.  Add more tests.
33727         * sysdeps/i386/fpu/libm-test-ulps: Update.
33729         [BZ #6778]
33730         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33731         inputs and return -1 for them.  Do not check for +Inf in case not
33732         reachable for +Inf.
33733         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33734         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33735         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33736         and return -1 for them.  Do not check for +Inf in case not
33737         reachable for +Inf.
33738         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33739         define.
33740         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33741         and return -1 for them.  Do not check for +Inf in case not
33742         reachable for +Inf.
33743         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33744         spurious underflow.
33745         * sysdeps/i386/fpu/libm-test-ulps: Update.
33746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33750         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33752 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33754         [BZ #14157]
33755         [BZ #14331]
33756         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33757         could result in spurious underflow.  Scale down values above
33758         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33759         * math/s_csqrtf.c (__csqrtf): Likewise.
33760         * math/s_csqrtl.c (__csqrtl): Likewise.
33761         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33762         spurious underflow.
33763         * sysdeps/i386/fpu/libm-test-ulps: Update.
33764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33766 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33768         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33769         xopen-msg.sed.
33770         * catgets/xopen-msg.awk: New file.
33771         * catgets/xopen-msg.sed: Removed.
33773         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33774         po2text.sed.
33775         * intl/po2test.awk: New file.
33776         * intl/po2test.sed: Removed.
33778 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33780         [BZ #14328]
33781         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33782         or multiply small sinh result by itself.
33783         * math/s_ctanf.c (__ctanf): Likewise.
33784         * math/s_ctanh.c (__ctanh): Likewise.
33785         * math/s_ctanhf.c (__ctanhf): Likewise.
33786         * math/s_ctanhl.c (__ctanhl): Likewise.
33787         * math/s_ctanl.c (__ctanl): Likewise.
33788         * math/libm-test.inc (ctan_test_tonearest): New function.
33789         (ctan_test_towardzero): Likewise.
33790         (ctan_test_downward): Likewise.
33791         (ctan_test_upward): Likewise.
33792         (ctanh_test_tonearest): Likewise.
33793         (ctanh_test_towardzero): Likewise.
33794         (ctanh_test_downward): Likewise.
33795         (ctanh_test_upward): Likewise.
33796         (main): Call these new functions.
33797         * sysdeps/i386/fpu/libm-test-ulps: Update.
33798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33800 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33802         * .gitignore: Delete /ports entry.
33804 2012-07-03  Andreas Jaeger  <aj@suse.de>
33806         * po/bg.po: Update from translation team.
33807         * po/cs.po: Likewise.
33808         * po/de.po: Likewise.
33809         * po/hr.po: Likewise.
33810         * po/nl.pl: Likewise.
33811         * po/pl.po: Likewise.
33812         * po/vi.po: Likewise.
33814 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33816         * Makeconfig [!+link] (+link-before-libc): New variable.
33817         [!+link] (+link-after-libc): Likewise.
33818         [!+link] (+link-tests): Likewise.
33819         [!+link] (+link): Define in terms of $(+link-before-libc) and
33820         $(+link-after-libc).
33821         [!+link-static] (+link-static-before-libc): New variable.
33822         [!+link-static] (+link-static-after-libc): Likewise.
33823         [!+link-static] (+link-static-tests): Likewise.
33824         [!+link-static] (+link-static): Define in terms of
33825         $(+link-static-before-libc) and $(+link-static-after-libc).
33826         [build-shared] (link-libc-before-gnulib): New variable.
33827         [build-shared] (link-libc-tests): Likewise.
33828         [build-shared] (link-libc): Define in terms of
33829         $(link-libc-before-gnulib).
33830         [!build-shared] (link-libc-tests): New variable.
33831         (link-libc-static-tests): New variable.
33832         [!gnulib] (gnulib-arch): New variable.
33833         [!gnulib] (gnulib-tests): Likewise.
33834         [!gnulib] (static-gnulib-arch): Likewise.
33835         [!gnulib] (static-gnulib-tests): Likewise.
33836         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33837         Define with "=" instead of ":=".
33838         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33839         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33840         * Rules (binaries-all-notests): New variable.
33841         (binaries-all-tests): Likewise.
33842         (binaries-static-notests): Likewise.
33843         (binaries-static-tests): Likewise.
33844         (binaries-all): Define using $(binaries-all-notests) and
33845         $(binaries-all-tests).
33846         (binaries-static): Define using $(binaries-static-notests) and
33847         $(binaries-static-tests).
33848         (binaries-shared-tests): New variable.
33849         (binaries-shared-notests): Likewise.
33850         (binaries-shared): Remove variable.
33851         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33852         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33853         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33854         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33855         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33856         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33857         * elf/Makefile (sln-modules): New variable.
33858         (extra-objs): Add $(sln-modules:=.o).
33859         (ldconfig-modules): Add static-stubs.
33860         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33861         * elf/static-stubs.c: New file.
33863         [BZ #14283]
33864         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33865         by 7 not 8 to examine high bit of fractional part.  Use volatile
33866         variables when splitting into final array of floats if
33867         __FLT_EVAL_METHOD__ != 0.
33868         * math/libm-test.inc (cos_test): Add another test.
33869         (sin_test): Likewise.
33870         * sysdeps/i386/fpu/libm-test-ulps: Update.
33872         [BZ #14273]
33873         * math/libm-test.inc (cosh_test): Add more tests.
33875         * version.h (RELEASE): Set to "development".
33876         (VERSION): Set to "2.16.90".
33878 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33880         * NEWS: Update copyright. Remove last-updated date.
33881         Mention math library bug fixes and timezone data changes.
33882         * README: Mention GNU/Hurd, x32, and HPPA support status.
33884 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33886         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33888 2012-06-27  Andreas Jaeger  <aj@suse.de>
33890         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33892 2012-06-25  Andreas Jaeger  <aj@suse.de>
33894         * sysdeps/s390/fpu/libm-test-ulps: Update.
33896 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33897             Thomas Schwinge  <thomas@codesourcery.com>
33899         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33900         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33902         fanotify_mark.
33904 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33906         * sysdeps/mach/start.c: Remove file.
33907         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33908         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33909         * sysdeps/sh/init-first.c: Likewise.
33911         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33912         registers for frame unwinding purposes, add CFI directives.
33913         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33915         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33916         Likewise.
33918         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33919         __fortify_fail returning.
33920         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33922         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33923         sysdeps/sh/____longjmp_chk.S.
33924         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33925         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33926         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33927         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33929         * sysdeps/sh/abort-instr.h: New file.
33930         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33931         process in case exit returns.
33933         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33934         initialize the GOT register before use.
33936         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33937         calculation of ARGC > 4.
33939         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33940         meaningful names to some local labels.
33942 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33943             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33945         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33946         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33947         (__arch_compare_and_exchange_val_16_acq): Likewise.
33948         (__arch_compare_and_exchange_val_32_acq): Likewise.
33949         (atomic_exchange_and_add): Fix gUSA sequence.
33950         (atomic_add): Likewise.
33951         (atomic_add_negative): Likewise.
33952         (atomic_add_zero): Likewise.
33953         (atomic_bit_test_set): Likewise.
33955 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33957         [BZ #13579]
33958         * include/link.h (struct link_map): Add l_free_initfini.
33959         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33960         l_initfini.
33961         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33962         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33963         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33964         set.
33966 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33968         * configure.in: Use AC_LANG_SOURCE.
33969         * configure: Regenerate.
33971 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33973         * configure.in (libc_cv_localstatedir): New substituted variable.
33974         * configure: Regenerated.
33975         * config.make.in (localstatedir): New variable, substituted from
33976         libc_cv_localstatedir.
33977         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33978         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33979         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33980         * sysdeps/gnu/configure: Regenerated.
33982 2012-06-21  Jeff Law  <law@redhat.com>
33984         [BZ #14277]
33985         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33986         free.  Simplify list management for _LIBC case.
33988 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33990         [BZ #14273]
33991         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33992         Clear sign bit of 64-bit integer value before comparing against
33993         overflow value.
33995         * sysdeps/mach/configure: Regenerated.
33997 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33999         [BZ #14278]
34000         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34002 2012-06-21  Jeff Law  <law@redhat.com>
34004         [BZ #13882]
34005         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34006         uint16_t for elements in the "seen" array to avoid char overflows.
34007         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34008         * elf/dl-open.c (dl_open_worker): Likewise.
34010 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34012         * scripts/list-sources.sh: Scan PORTS for translations.
34013         * po/libc.pot: Regenerated.
34015 2012-06-21  Andreas Jaeger  <aj@suse.de>
34017         [BZ #12194]
34018         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34019         warning.
34020         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34021         * bits/byteswap-16.h (__bswap_16): Likewise.
34022         * bits/byteswap.h (__bswap_constant_16): Likewise.
34024 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34026         [BZ #14117]
34027         * sysdeps/i386/fpu_control.h: Removed.
34028         * sysdeps/x86_64/fpu_control.h: Moved to ...
34029         * sysdeps/x86/fpu_control.h: Here.
34031         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34032         (_FPU_SETCW): Likewise.
34034 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34036         [BZ #14117]
34037         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34038         * sysdeps/x86/fpu/bits/mathinline.h: This.
34039         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34041         [BZ #14050]
34042         [BZ #14117]
34043         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34044         functions if __x86_64__ is defined.
34046 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34048         * string/endian.h: Add !__ASSEMBLER__ condition for including
34049         conversion interfaces.
34051 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34053         [BZ #14241]
34054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34055         of ABS(x) in calculating zero to negative powers other than odd
34056         integers.
34057         * math/libm-test.inc (pow_test): Add more tests.
34059 2012-06-15  Andreas Jaeger  <aj@suse.de>
34061         * manual/contrib.texi (Contributors): Update entry of Liubov
34062         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34063         Machado Filho.
34065 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34067         * string/string.h: Add __wur to GNU version of strerror_r.
34069 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34071         [BZ #14229]
34072         * string/Makefile (tests): Add tst-strtok_r.
34073         * string/tst-strtok_r.c: New file.
34074         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34075         RAX_LP/RDX_LP on SAVE_PTR.
34077 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34079         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34081 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34083         * libm_test.inc (csqrt_test): Allow more spurious underflow
34084         exceptions.
34085         (j0_test): Likewise.
34086         (j1_test): Likewise.
34087         (y0_test): Likewise.
34088         (y1_test): Likewise.
34090 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34092         * po/Makefile (libc.pot): Use UTF-8 charset.
34094 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34096         [BZ #14210]
34097         Suppress sign-conversion warning from FD_SET.
34098         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34099         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34100         not unsigned long int.
34101         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34103 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34105         [BZ #14050]
34106         [BZ #14117]
34107         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34108         __extern_always_inline instead of __extern_inline.
34109         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34110         (__signbit): Likewise.
34111         (__signbitl): Support C++ namespace.
34112         (lrintf): New inline function.
34113         (lrint): Likewise.
34114         (llrintf): Likewise.
34115         (llrint): Likewise.
34116         (fmaxf): Likewise.
34117         (fmax): Likewise.
34118         (fminf): Likewise.
34119         (fmin): Likewise.
34120         (rint): Likewise.
34121         (rintf): Likewise.
34122         (ceil): Likewise.
34123         (ceilf): Likewise.
34124         (floor): Likewise.
34125         (floorf): Likewise.
34126         (nearbyint): Likewise.
34127         (nearbyintf): Likewise.
34129 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34131         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34132         non-default versions.
34134 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34136         [BZ #14218]
34137         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34139 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34141         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34142         (FE_UPWARD, FE_DOWNWARD): Don't define.
34143         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34144         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34146         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34147         reading it.
34148         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34149         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34151 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34153         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34155         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34156         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34158 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34160         [BZ #14117]
34161         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34162         * sysdeps/i386/fpu/Implies: New file.
34163         * sysdeps/x86_64/fpu/Implies: Likewise.
34164         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34165         * sysdeps/x86/fpu/bits/fenv.h: This.
34167         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34168         __SSE_MATH__.
34170 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34172         [BZ #14134]
34173         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34174         character 0xffff that matches the last element of the
34175         conversion table.
34177 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34179         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34180         fmodl commit.
34182 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34185         values higher than 25.6283.
34187 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34190         subnormal exponent extraction and add some __builtin_expect.
34191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34192         Fix for subnormal mantissa calculation.
34194 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34196         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34197         cpu2 is -1 and errno is not ENOSYS.
34199 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34201         [BZ #14117]
34202         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34203         * sysdeps/x86/bits/string.h: This.
34204         * sysdeps/x86_64/bits/string.h: Removed.
34206         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34207         if not compiling for x86-64, but compiling for >= i486.
34209         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34210         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34212         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34213         New macro from Linux kernel 3.4.0.
34214         (FP_XSTATE_MAGIC2): Likewise.
34215         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34216         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34217         (struct _fpx_sw_bytes): New struct.
34218         (struct _xsave_hdr): Likewise.
34219         (struct _ymmh_state): Likewise.
34220         (struct _xstate): Likewise.
34222         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34223         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34225         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34227         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34229         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34230         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34231         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34232         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34233         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34234         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34236 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34238         [BZ #13743]
34239         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34240         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34241         (sysdep_headers): Include sys/platform/ppc.h.
34242         * sysdeps/powerpc/test-gettimebase.c: Test for
34243         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34244         * manual/Makefile (appendices): Include platform.texi.
34245         * manual/contrib.texi (Contributors): Update @node pointers.
34246         * manual/maint.texi (Maintenance): Likewise.
34247         (Platform): New node.
34248         * manual/platform.texi: New file.  Document the new features.
34250 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34251             Jakub Jelinek  <jakub@redhat.com>
34253         [BZ #14188]
34254         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34255         where __builtin_expect is unavailable.
34257 2012-06-03  David S. Miller  <davem@davemloft.net>
34259         * stdlib/longlong.h: Updated from GCC.
34261 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34263         [BZ #14042]
34264         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34265         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34266         __mcount_internal.
34267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34268         (GLIBC_2.16): Likewise.
34270 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34272         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34274 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34277         (default-abi): New variable.
34278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34279         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34280         variable.
34281         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34282         Likewise.
34283         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34284         Likewise.
34285         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34286         Likewise.
34288         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34289         definition.  Document in comment.
34291 2012-06-01  David S. Miller  <davem@davemloft.net>
34293         * stdlib/longlong.h: Updated from GCC.
34295 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34297         [BZ #14117]
34298         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34299         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34300         sys/debugreg.h sys/io.h here.
34301         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34302         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34303         sys/io.h.
34304         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34305         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34306         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34307         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34308         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34309         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34311         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34312         Define only if __x86_64__ is defined.
34314 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34316         [BZ #14048]
34317         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34318         Use int64_t for variable i.
34319         * math/libm-test.inc (fmod_test): Add more tests.
34321         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34322         z computation is not scheduled after fetestexcept.
34323         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34324         Use math_force_eval instead of asm to ensure calculation scheduled
34325         before exception test.
34326         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34327         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34329 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34332         computation is not scheduled after fetestexcept.
34334 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34336         [BZ #14117]
34337         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34338         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34340 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34342         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34343         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34345 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34347         [BZ #14117]
34348         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34349         <bits/wordsize.h>.
34350         (__WCHAR_MIN): Support __WORDSIZE == 64.
34351         (__WCHAR_MAX): Likewise.
34353         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34354         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34356         [BZ #14183]
34357         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34358         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34360         [BZ #14117]
34361         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34362         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34364         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34365         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34367         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34368         Defined to 1 if __x86_64__ isn't defined.
34369         (_STAT_VER_LINUX_OLD): New.
34370         (st_atime): Remove duplicate.
34371         (st_mtime): Likewise.
34372         (st_ctime): Likewise.
34374 2012-05-31  David S. Miller  <davem@davemloft.net>
34376         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34377         entries.
34379 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34381         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34382         gen-libm-test.pl.
34384         [BZ #14132]
34385         * elf/dl-reloc.c: Include <_itoa.h>.
34386         (_dl_reloc_bad_type): Remove use of INTUSE.
34387         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34388         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34389         * stdio-common/psiginfo.c (psiginfo): Likewise.
34390         * stdio-common/psignal.c (psignal): Likewise.
34391         * string/strsignal.c (strsignal): Likewise.
34392         * include/signal.h (_sys_siglist): Declare hidden proto.
34393         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34394         INTVARDEF with libc_hidden_data_def.
34395         * stdio-common/itoa-udigits.c: Likewise.
34396         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34397         (_itoa_lower_digits_internal): Remove declaration.
34398         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34399         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34400         (_sys_sigabbrev_internal): Remove aliases.
34401         (_sys_siglist): Define hidden alias.
34403 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34406         bits/sysctl.h.
34408 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34410         [BZ #14117]
34411         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34412         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34414         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34415         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34416         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34417         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34418         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34419         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34421         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34422         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34423         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34425         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34426         with __addr.
34427         (insw): Likewise.
34428         (insl): Likewise.
34429         (outsb): Likewise.
34430         (outsw): Likewise.
34431         (outsl): Likewise.
34433         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34434         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34435         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34437         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34438         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34440         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34441         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34442         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34444         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34445         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34447         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34448         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34451         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34452         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34454         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34455         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34456         to ...
34457         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34459         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34460         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34461         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34463         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34464         for x86-64.
34465         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34467 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34469         * math/math.h (M_El): Use two more decimal places.
34470         (M_LOG2El): Likewise.
34471         (M_LOG10El): Likewise.
34472         (M_LN2l): Likewise.
34473         (M_LN10l): Likewise.
34474         (M_PIl): Likewise.
34475         (M_PI_2l): Likewise.
34476         (M_PI_4l): Likewise.
34477         (M_1_PIl): Likewise.
34478         (M_2_PIl): Likewise.
34479         (M_2_SQRTPIl): Likewise.
34480         (M_SQRT2l): Likewise.
34481         (M_SQRT1_2l): Likewise.
34483 2012-05-31  David S. Miller  <davem@davemloft.net>
34485         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34486         values between float registers.
34487         * sysdeps/sparc/sparc64/memset.S: Likewise.
34488         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34490 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34492         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34493         -D_FORTIFY_SOURCE=1.
34494         (CPPFLAGS-tst-longjmp_chk.c): Define.
34495         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34496         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34497         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34498         CFLAGS-tst-wchar-h.c.
34500 2012-05-31  Marek Polacek  <polacek@redhat.com>
34502         [BZ #14132]
34503         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34504         __endmntent_internal): Remove declaration.
34505         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34506         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34507         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34509 2012-05-30  David S. Miller  <davem@davemloft.net>
34511         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34512         (___Q_simulate_exceptions): Use real FP ops rather than writing
34513         into the %fsr.
34514         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34515         Likewise.
34517 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34519         [BZ #14117]
34520         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34521         * sysdeps/x86/bits/xtitypes.h: This.
34523         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34524         * sysdeps/x86/bits/wordsize.h: This.
34526         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34527         * sysdeps/x86/bits/huge_vall.h: This.
34529         * sysdeps/i386/bits/select.h: Removed.
34530         * sysdeps/x86_64/bits/select.h: Renamed to ...
34531         * sysdeps/x86/bits/select.h: This.
34533         * sysdeps/i386/bits/setjmp.h: Removed.
34534         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34535         * sysdeps/x86/bits/setjmp.h: This.
34537         * sysdeps/i386/bits/mathdef.h: Removed.
34538         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34539         * sysdeps/x86/bits/mathdef.h: This.
34541 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34543         [BZ #14132]
34544         * include/sys/socket.h (__connect_internal)
34545         (__libc_sa_len_internal): Remove declaration.
34546         (__connect, __libc_sa_len): Declare hidden_proto.
34547         (SA_LEN): Remove use of INTUSE.
34548         * socket/connect.c: Add libc_hidden_def.
34549         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34550         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34551         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34552         alias.
34553         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34554         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34555         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34556         of adding _internal alias.
34558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34560         [BZ #14117]
34561         * sysdeps/i386/bits/link.h: Removed.
34562         * sysdeps/i386/bits/linkmap.h: Likewise.
34563         * sysdeps/x86_64/bits/link.h: Renamed to ...
34564         * sysdeps/x86/bits/link.h: This.
34565         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34566         * sysdeps/x86/bits/linkmap.h: This.
34568         * sysdeps/i386/bits/endian.h: Removed.
34569         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34570         * sysdeps/x86/bits/endian.h: This.
34572         * sysdeps/i386/bits/byteswap.h: Removed.
34573         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34574         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34575         * sysdeps/x86/bits/byteswap.h: This.
34576         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34577         * sysdeps/x86/bits/byteswap-16.h: This.
34578         * sysdeps/i386/Implies: Add x86.
34579         * sysdeps/x86_64/Implies: Likewise.
34581 2012-05-30  David S. Miller  <davem@davemloft.net>
34583         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34584         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34585         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34586         (FP_TRAPPING_EXCEPTIONS): Define.
34587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34588         (FP_TRAPPING_EXCEPTIONS): Define.
34589         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34590         subnormals only when inexact has been signalled or underflow
34591         exceptions are enabled.
34592         (_FP_PACK_CANONICAL): Likewise.
34594 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34596         [BZ #14183]
34597         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34598         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34600 2012-05-30  Richard Henderson  <rth@twiddle.net>
34602         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34603         with #ifndef NOT_IN_libc.
34605         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34606         marked to avoid plt entry.
34608 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34610         [BZ #14112]
34611         * Makeconfig (default-abi): New macro.
34612         (abi-includes): Likewise.
34613         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34614         $(abi-$(default-abi)-lib-soname) for soname if defined.
34615         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34616         abi-variants.
34617         * Makefile (installed-stubs): Likewise.
34618         * include/stubs-biarch.h: Removed.
34619         * scripts/lib-names.awk: Only handle one library at a time.
34620         * scripts/soversions.awk: Remove WORDSIZE support.
34621         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34622         entries.
34623         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34624         Removed.
34625         (syscall-list-default-condition): Likewise.
34626         (syscall-list-default-condition): Likewise.
34627         (syscall-list-includes): Likewise.
34628         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34629         syscall-list-* with abi-*.  Handle undefined abi-variants.
34630         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34631         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34632         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34633         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34634         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34635         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34636         Removed.
34637         (syscall-list-32-options): Likewise.
34638         (syscall-list-32-condition): Likewise.
34639         (syscall-list-64-options): Likewise.
34640         (syscall-list-64-condition): Likewise.
34641         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34642         macro.
34643         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34644         Renamed to ...
34645         (abi-*): This.
34646         (abi-64-ld-soname): New macro.
34647         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34648         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34649         Renamed to ...
34650         (abi-*): This.
34651         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34652         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34654 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34656         * sysdeps/unix/sysv/linux/kernel-features.h
34657         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34658         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34659         include <kernel-features.h>.
34660         [!__NR_ftruncate64]: Remove conditional code.
34661         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34662         [__NR_ftruncate64]: Make code unconditional.
34663         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34664         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34665         include <kernel-features.h>.
34666         [!__NR_ftruncate64]: Remove conditional code.
34667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34668         [__NR_ftruncate64]: Make code unconditional.
34669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34671         include <kernel-features.h>.
34672         [!__NR_ftruncate64]: Remove conditional code.
34673         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34674         [__NR_ftruncate64]: Make code unconditional.
34675         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34677         include <kernel-features.h>.
34678         [!__NR_ftruncate64]: Remove conditional code.
34679         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34680         [__NR_ftruncate64]: Make code unconditional.
34681         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34683         * configure.in (libc_cv_fpie): Weaken to a compile test using
34684         LIBC_TRY_CC_OPTION.
34685         * configure: Regenerated.
34687 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34693         Refreshed.
34694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34700         Refreshed.
34702 2012-05-27  David S. Miller  <davem@davemloft.net>
34704         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34705         (___Q_zero): New.
34706         (__Q_simulate_exceptions): Return void.  Change to simulate
34707         exceptions by writing into the %fsr.
34708         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34709         (__Qp_handle_exceptions): Likewise.
34710         (numbers): Delete.
34711         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34712         __Qp_handle_exceptions.
34713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34714         __Qp_handle_exceptions.
34715         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34716         as unused and give dummy FP_RND_NEAREST initializer.
34717         (FP_INHIBIT_RESULTS): Define.
34718         (___Q_simulate_exceptions): Update declaration.
34719         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34720         formatting.
34721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34722         as unused and give dummy FP_RND_NEAREST initializer.
34723         (__Qp_handle_exceptions): Update declaration.
34724         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34725         formatting.
34727 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34729         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34730         the temporary FPU control word.
34731         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34732         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34733         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34734         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34735         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34736         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34737         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34738         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34739         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34740         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34741         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34743 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34745         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34746         fields.
34748 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34750         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34751         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34752         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34753         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34754         Likewise.
34755         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34756         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34757         Likewise.
34759 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34761         * po/h.po: Update from translation team.
34763 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34765         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34767         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34768         handling of denormals.
34769         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34770         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34771         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34772         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34773         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34774         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34776         Likewise.
34778 2012-05-26  Marek Polacek  <polacek@redhat.com>
34780         [BZ #14152]
34781         * math/libm-test.inc (fma_test): Don't always expect underflow
34782         exception.
34784 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786         [BZ #12416]
34787         * elf/tst-execstack.c: Include stackinfo.h.
34788         (do_test): Adjust test case to ensure that pthread_getattr_np
34789         behaviour remains the same after marking stack executable.
34791 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34793         * sysdeps/unix/sysv/linux/kernel-features.h
34794         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34795         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34796         kernel-features.h.
34797         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34798         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34799         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34800         kernel-features.h.
34801         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34802         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34804 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34806         * configure.in: Define the default includes to being none.
34807         * configure: Regenerated.
34809 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34811         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34812         * sysdeps/x86_64/setjmp.S: Likewise.
34813         * sysdeps/i386/bsd-setjmp.S: Likewise.
34814         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34815         * sysdeps/i386/setjmp.S: Likewise.
34816         * sysdeps/i386/__longjmp.S: Likewise.
34817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34818         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34820         * include/stap-probe.h: New file.
34821         * configure.in: Handle --enable-systemtap.
34822         * configure: Regenerated.
34823         * config.h.in (USE_STAP_PROBE): New #undef.
34824         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34825         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34826         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34828 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34830         [BZ #13717]
34831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34832         to 2.4.0 where earlier.
34833         * sysdeps/unix/sysv/linux/configure: Regenerated.
34834         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34835         <kernel-features.h>.
34836         [__ASSUME_32BITUIDS]: Make code unconditional.
34837         [!__ASSUME_32BITUIDS]: Remove conditional code.
34838         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34839         <kernel-features.h>.
34840         [__ASSUME_32BITUIDS]: Make code unconditional.
34841         [!__ASSUME_32BITUIDS]: Remove conditional code.
34842         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34843         [__ASSUME_32BITUIDS]: Make code unconditional.
34844         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34845         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34846         <kernel-features.h>.
34847         [__ASSUME_32BITUIDS]: Make code unconditional.
34848         [!__ASSUME_32BITUIDS]: Remove conditional code.
34849         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34850         <kernel-features.h>.
34851         [__ASSUME_32BITUIDS]: Make code unconditional.
34852         [!__ASSUME_32BITUIDS]: Remove conditional code.
34853         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34854         <kernel-features.h>.
34855         [__ASSUME_32BITUIDS]: Make code unconditional.
34856         [!__ASSUME_32BITUIDS]: Remove conditional code.
34857         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34858         <kernel-features.h>.
34859         [__ASSUME_32BITUIDS]: Make code unconditional.
34860         [!__ASSUME_32BITUIDS]: Remove conditional code.
34861         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34862         <kernel-features.h>.
34863         [__ASSUME_32BITUIDS]: Make code unconditional.
34864         [!__ASSUME_32BITUIDS]: Remove conditional code.
34865         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34866         <kernel-features.h>.
34867         [__ASSUME_32BITUIDS]: Make code unconditional.
34868         [!__ASSUME_32BITUIDS]: Remove conditional code.
34869         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34870         <kernel-features.h>.
34871         [__ASSUME_32BITUIDS]: Make code unconditional.
34872         [!__ASSUME_32BITUIDS]: Remove conditional code.
34873         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34874         <kernel-features.h>.
34875         [__ASSUME_32BITUIDS]: Make code unconditional.
34876         [!__ASSUME_32BITUIDS]: Remove conditional code.
34877         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34878         <kernel-features.h>.
34879         [__ASSUME_32BITUIDS]: Make code unconditional.
34880         [!__ASSUME_32BITUIDS]: Remove conditional code.
34881         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34882         <kernel-features.h>.
34883         [__ASSUME_32BITUIDS]: Make code unconditional.
34884         [!__ASSUME_32BITUIDS]: Remove conditional code.
34885         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34886         <kernel-features.h>.
34887         [__NR_setresgid] (__setresgid): Do not declare.
34888         [__ASSUME_32BITUIDS]: Make code unconditional.
34889         [!__ASSUME_32BITUIDS]: Remove conditional code.
34890         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34891         <kernel-features.h>.
34892         [__NR_setresuid] (__setresuid): Do not declare.
34893         [__ASSUME_32BITUIDS]: Make code unconditional.
34894         [!__ASSUME_32BITUIDS]: Remove conditional code.
34895         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34896         <kernel-features.h>.
34897         [__ASSUME_32BITUIDS]: Make code unconditional.
34898         [!__ASSUME_32BITUIDS]: Remove conditional code.
34899         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34900         <kernel-features.h>.
34901         [__ASSUME_32BITUIDS]: Make code unconditional.
34902         [!__ASSUME_32BITUIDS]: Remove conditional code.
34903         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34904         <kernel-features.h>.
34905         [__ASSUME_32BITUIDS]: Make code unconditional.
34906         [!__ASSUME_32BITUIDS]: Remove conditional code.
34907         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34908         <kernel-features.h>.
34909         [__ASSUME_32BITUIDS]: Make code unconditional.
34910         [!__ASSUME_32BITUIDS]: Remove conditional code.
34911         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34912         <kernel-features.h>.
34913         [__ASSUME_32BITUIDS]: Make code unconditional.
34914         [!__ASSUME_32BITUIDS]: Remove conditional code.
34915         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34916         <kernel-features.h>.
34917         [__ASSUME_32BITUIDS]: Make code unconditional.
34918         [!__ASSUME_32BITUIDS]: Remove conditional code.
34919         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34920         <kernel-features.h>.
34921         [__ASSUME_32BITUIDS]: Make code unconditional.
34922         [!__ASSUME_32BITUIDS]: Remove conditional code.
34923         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34924         <kernel-features.h>.
34925         [__ASSUME_32BITUIDS]: Make code unconditional.
34926         [!__ASSUME_32BITUIDS]: Remove conditional code.
34927         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34928         <kernel-features.h>.
34929         [__ASSUME_32BITUIDS]: Make code unconditional.
34930         [!__ASSUME_32BITUIDS]: Remove conditional code.
34931         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34932         <kernel-features.h>.
34933         [__ASSUME_32BITUIDS]: Make code unconditional.
34934         [!__ASSUME_32BITUIDS]: Remove conditional code.
34935         * sysdeps/unix/sysv/linux/kernel-features.h
34936         (__ASSUME_SETRESUID_SYSCALL): Remove.
34937         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34938         (__ASSUME_32BITUIDS): Likewise.
34939         (__ASSUME_LDT_WORKS): Likewise.
34940         (__ASSUME_O_DIRECTORY): Likewise.
34941         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34942         architecture but not kernel version.
34943         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34944         (__ASSUME_MMAP2_SYSCALL): Likewise.
34945         (__ASSUME_STAT64_SYSCALL): Likewise.
34946         (__ASSUME_IPC64): Likewise.
34947         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34948         <kernel-features.h>.
34949         [__ASSUME_32BITUIDS]: Make code unconditional.
34950         [!__ASSUME_32BITUIDS]: Remove conditional code.
34951         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34952         <kernel-features.h>.
34953         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34954         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34955         132096]: Remove conditional code.
34956         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34957         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34958         <kernel-features.h>.
34959         [__ASSUME_32BITUIDS]: Make code unconditional.
34960         [!__ASSUME_32BITUIDS]: Remove conditional code.
34961         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34962         <kernel-features.h>.
34963         [__ASSUME_32BITUIDS]: Make code unconditional.
34964         [!__ASSUME_32BITUIDS]: Remove conditional code.
34965         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34966         <kernel-features.h>.
34967         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34968         unconditional.
34969         (__setresgid): Do not declare.
34970         [__ASSUME_32BITUIDS]: Make code unconditional.
34971         [!__ASSUME_32BITUIDS]: Remove conditional code.
34972         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34973         <kernel-features.h>.
34974         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34975         unconditional.
34976         (__setresuid): Do not declare.
34977         [__ASSUME_32BITUIDS]: Make code unconditional.
34978         [!__ASSUME_32BITUIDS]: Remove conditional code.
34979         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34980         <kernel-features.h>.
34981         [__ASSUME_32BITUIDS]: Make code unconditional.
34982         [!__ASSUME_32BITUIDS]: Remove conditional code.
34983         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34984         <kernel-features.h>.
34985         [__ASSUME_32BITUIDS]: Make code unconditional.
34986         [!__ASSUME_32BITUIDS]: Remove conditional code.
34988 2012-05-25  Richard Henderson  <rth@twiddle.net>
34990         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34991         dl_hwcap to ifunc resolver.
34992         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34993         elf_ifunc_invoke.
34994         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34995         dl_hwcap to ifunc resolver.
34996         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34998 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35000         [BZ #14153]
35001         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35002         for |x| <= 2**-26, not 2**-57.
35003         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35004         exception.
35006 2012-05-24  Jeff Law  <law@redhat.com>
35008         * stdio-common/Makefile (tests): Add bug25.
35009         * stdio-common/bug25.c: New test.
35011 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35013         [BZ #13576]
35014         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35015         multiple of MALLOC_ALIGNMENT in size.
35016         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35018 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35020         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35021         Require >= 256.
35022         (FILENAME_MAX): Use macro-int-constant.
35023         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35024         (_IOFBF): Use macro-int-constant.
35025         (_IOLBF): Likewise.
35026         (_IONBF): Likewise.
35027         (SEEK_CUR): Likewise.
35028         (SEEK_END): Likewise.
35029         (SEEK_SET): Likewise.
35030         (TMP_MAX): Likewise.
35031         (EOF): Use macro-int-constant.  Require < 0.
35032         (NULL): Use macro-constant.  Require == 0.
35033         (stdin): Require type to be FILE *.
35034         (stdout): Likewise.
35035         (stderr): Likewise.
35036         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35037         macro-int-constant.
35038         (EXIT_SUCCESS): Likewise.
35039         (NULL): Use macro-constant.  Require == 0.
35040         (RAND_MAX): Use macro-int-constant.
35041         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35042         [C99-based standards] (strtof): Require function.
35043         [C99-based standards] (strtold): Likewise.
35044         [C99-based standards] (strtoll): Likewise.
35045         [C99-based standards] (strtoull): Likewise.
35046         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35047         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35048         [ISO || ISO99 || ISO11] (math.h): Likewise.
35049         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35050         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35053 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35055         [BZ #14132]
35056         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35057         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35058         * intl/dgettext.c (DCGETTEXT): Likewise.
35059         * intl/gettext.c (DCGETTEXT): Likewise.
35060         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35061         * posix/regex_internal.h (gettext): Likewise.
35062         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35063         Remove declaration.
35064         * include/argz.h (__argz_count_internal)
35065         (__argz_stringify_internal): Remove declaration.
35066         (__argz_count, __argz_stringify): Declare hidden proto.
35067         * intl/dcgettext.c: Remove use of INTDEF.
35068         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35069         * string/argz-stringify.c: Likewise.
35070         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35071         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35072         Declare hidden proto.
35073         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35074         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35075         Declare hidden proto.
35076         * include/stdio.h (__asprintf_internal): Don't declare.
35077         (__asprintf): Don't define as macro.  Declare hidden proto.
35078         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35079         (__fsetlocking): Declare hidden proto.
35080         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35081         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35082         hidden proto.
35083         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35084         (_IO_setlinebuf): Remove use of INTUSE.
35085         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35086         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35087         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35088         Remove declaration.
35089         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35090         (_IO_do_flush): Remove use of INTUSE.
35091         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35092         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35093         (_IO_adjust_column, _IO_least_wmarker)
35094         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35095         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35096         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35097         (_IO_default_doallocate, _IO_wdefault_doallocate)
35098         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35099         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35100         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35101         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35102         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35103         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35104         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35105         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35106         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35107         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35108         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35109         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35110         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35111         proto.
35112         (_IO_flush_all_internal, _IO_adjust_column_internal)
35113         (_IO_default_uflow_internal, _IO_default_finish_internal)
35114         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35115         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35116         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35117         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35118         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35119         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35120         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35121         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35122         (_IO_file_close_internal, _IO_file_close_it_internal)
35123         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35124         (_IO_file_init_internal, _IO_file_attach_internal)
35125         (_IO_file_fopen_internal, _IO_file_read_internal)
35126         (_IO_file_sync_internal, _IO_file_seek_internal)
35127         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35128         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35129         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35130         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35131         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35132         (_IO_list_all_internal, _IO_link_in_internal)
35133         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35134         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35135         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35136         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35137         (_IO_do_write_internal, _IO_padn_internal)
35138         (_IO_getline_info_internal, _IO_getline_internal)
35139         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35140         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35141         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35142         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35143         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35144         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35145         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35146         with libc_hidden_ver, remove use of INTUSE.
35147         * libio/genops.c: Likewise.
35148         * libio/freopen.c: Likewise.
35149         * libio/freopen64.c: Likewise.
35150         * libio/iofclose.c: Likewise.
35151         * libio/iofdopen.c: Likewise.
35152         * libio/iofflush.c: Likewise.
35153         * libio/iofflush_u.c: Likewise.
35154         * libio/iofgets.c: Likewise.
35155         * libio/iofgets_u.c: Likewise.
35156         * libio/iofopen.c: Likewise.
35157         * libio/iofopncook.c: Likewise.
35158         * libio/iofread.c: Likewise.
35159         * libio/iofread_u.c: Likewise.
35160         * libio/ioftell.c: Likewise.
35161         * libio/iofwrite.c: Likewise.
35162         * libio/iogetline.c: Likewise.
35163         * libio/iogets.c: Likewise.
35164         * libio/iogetwline.c: Likewise.
35165         * libio/iopadn.c: Likewise.
35166         * libio/iopopen.c: Likewise.
35167         * libio/ioseekoff.c: Likewise.
35168         * libio/ioseekpos.c: Likewise.
35169         * libio/iosetbuffer.c: Likewise.
35170         * libio/iosetvbuf.c: Likewise.
35171         * libio/ioungetc.c: Likewise.
35172         * libio/ioungetwc.c: Likewise.
35173         * libio/iovdprintf.c: Likewise.
35174         * libio/iovsprintf.c: Likewise.
35175         * libio/iovsscanf.c: Likewise.
35176         * libio/memstream.c: Likewise.
35177         * libio/obprintf.c: Likewise.
35178         * libio/oldfileops.c: Likewise.
35179         * libio/oldiofclose.c: Likewise.
35180         * libio/oldiofdopen.c: Likewise.
35181         * libio/oldiofopen.c: Likewise.
35182         * libio/oldiopopen.c: Likewise.
35183         * libio/oldstdfiles.c: Likewise.
35184         * libio/putc.c: Likewise.
35185         * libio/setbuf.c: Likewise.
35186         * libio/setlinebuf.c: Likewise.
35187         * libio/stdfiles.c: Likewise.
35188         * libio/strops.c: Likewise.
35189         * libio/vasprintf.c: Likewise.
35190         * libio/vscanf.c: Likewise.
35191         * libio/vsnprintf.c: Likewise.
35192         * libio/vswprintf.c: Likewise.
35193         * libio/wfiledoalloc.c: Likewise.
35194         * libio/wfileops.c: Likewise.
35195         * libio/wgenops.c: Likewise.
35196         * libio/wmemstream.c: Likewise.
35197         * libio/wstrops.c: Likewise.
35198         * libio/__fpurge.c: Likewise.
35199         * libio/__fsetlocking.c: Likewise.
35200         * assert/assert.c: Likewise.
35201         * debug/fgets_chk.c: Likewise.
35202         * debug/fgets_u_chk.c: Likewise.
35203         * debug/fread_chk.c: Likewise.
35204         * debug/fread_u_chk.c: Likewise.
35205         * debug/gets_chk.c: Likewise.
35206         * debug/obprintf_chk.c: Likewise.
35207         * debug/vasprintf_chk.c: Likewise.
35208         * debug/vdprintf_chk.c: Likewise.
35209         * debug/vsnprintf_chk.c: Likewise.
35210         * debug/vsprintf_chk.c: Likewise.
35211         * malloc/mtrace.c: Likewise.
35212         * misc/error.c: Likewise.
35213         * misc/syslog.c: Likewise.
35214         * stdio-common/asprintf.c: Likewise.
35215         * stdio-common/fxprintf.c: Likewise.
35216         * stdio-common/getw.c: Likewise.
35217         * stdio-common/isoc99_fscanf.c: Likewise.
35218         * stdio-common/isoc99_scanf.c: Likewise.
35219         * stdio-common/isoc99_vfscanf.c: Likewise.
35220         * stdio-common/isoc99_vscanf.c: Likewise.
35221         * stdio-common/isoc99_vsscanf.c: Likewise.
35222         * stdio-common/printf-prs.c: Likewise.
35223         * stdio-common/printf_fp.c: Likewise.
35224         * stdio-common/printf_fphex.c: Likewise.
35225         * stdio-common/printf_size.c: Likewise.
35226         * stdio-common/putw.c: Likewise.
35227         * stdio-common/scanf.c: Likewise.
35228         * stdio-common/sprintf.c: Likewise.
35229         * stdio-common/tmpfile.c: Likewise.
35230         * stdio-common/vfprintf.c: Likewise.
35231         * stdio-common/vfscanf.c: Likewise.
35232         * stdlib/strfmon_l.c: Likewise.
35233         * sunrpc/openchild.c: Likewise.
35234         * sunrpc/xdr_stdio.c: Likewise.
35235         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35236         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35238 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35240         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35242         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35243         in the third column, to generate for the shared library an IFUNC
35244         that uses _dl_vdso_vsym.
35245         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35246         * Makeconfig (object-suffixes-noshared): New variable.
35248         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35249         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35250         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35251         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35253         [BZ #14132]
35254         * include/sys/time.h (__gettimeofday): Remove macro.
35255         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35256         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35257         Remove INTDEF.
35258         (__gettimeofday): Add libc_hidden_def.
35259         (gettimeofday): Add libc_hidden_weak.
35260         * sysdeps/mach/gettimeofday.c: Likewise.
35261         * sysdeps/posix/gettimeofday.c: Likewise.
35262         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35263         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35265         (__gettimeofday_internal): Remove strong_alias.
35266         (__gettimeofday): Add libc_hidden_def.
35267         (gettimeofday): Add libc_hidden_weak.
35268         * sysdeps/unix/syscalls.list (gettimeofday):
35269         Remove __gettimeofday_internal alias.
35271 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35272             H.J. Lu  <hongjiu.lu@intel.com>
35274         [BZ #12495]
35275         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35276         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35277         (largebin_index_32_big): New.
35278         (largebin_index): Use it for 16-byte alignment.
35279         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35280         correction with front_misalign.
35282 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35286         Likewise.
35287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35288         Likewise.
35289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35290         Likewise.
35291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35292         Likewise.
35293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35294         Likewise.
35295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35296         Likewise.
35297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35298         Likewise.
35299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35300         Likewise.
35301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35302         Likewise.
35303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35304         Likewise.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35306         Likewise.
35307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35308         Likewise.
35310         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35311         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35313 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35315         [BZ #10846]
35316         [BZ #14036]
35317         * math/libm-test.inc (exp_test): Add test from bug 14036.
35318         (pow_test): Add test from bug 10846.
35320         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35321         and other flags.
35322         (special_function): Do not include flags in test name.
35323         (parse_args): Likewise.
35324         * sysdeps/i386/fpu/libm-test-ulps: Update.
35325         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35326         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35330         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35331         exceptions.
35332         * math/libm-test.inc ("Philosophy"): Update comment about
35333         exception testing.
35334         (UNDERFLOW_EXCEPTION): New macro.
35335         (UNDERFLOW_EXCEPTION_OK): Likewise.
35336         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35337         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35338         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35339         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35340         (INVALID_EXCEPTION_OK): Update value.
35341         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35342         (OVERFLOW_EXCEPTION_OK): Likewise.
35343         (IGNORE_ZERO_INF_SIGN): Likewise.
35344         (test_exceptions): Handle underflow exceptions.
35345         (acos_test): Update for underflow exception expectations.
35346         (cexp_test): Likewise.
35347         (clog_test): Likewise.
35348         (clog10_test): Likewise.
35349         (csqrt_test): Likewise.
35350         (ctan_test): Likewise.
35351         (ctanh_test): Likewise.
35352         (exp_test): Likewise.
35353         (exp10_test): Likewise.
35354         (exp2_test): Likewise.
35355         (expm1_test): Likewise.
35356         (fma_test): Likewise.
35357         (j0_test): Likewise.
35358         (jn_test): Likewise.
35359         (nexttoward_test): Likewise.
35360         (pow_test): Likewise.
35361         (scalbn_test): Likewise.
35362         (scalbln_test): Likewise.
35363         (tan_test): Likewise.
35364         (y1_test): Likewise.
35365         * sysdeps/i386/fpu/libm-test-ulps: Update.
35366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35368 2012-05-23  David S. Miller  <davem@davemloft.net>
35370         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35371         (__libc_sigaction): Remove unused local variables.
35373 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35375         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35377 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35379         mktime: avoid signed integer overflow
35380         * time/mktime.c (__mktime_internal): Do not mishandle the case
35381         where diff == INT_MIN.
35383         mktime: simplify computation of average
35384         * time/mktime.c (ranged_convert): Use new time_t_avg function
35385         instead of rolling our own (probably-slower) code.
35387         mktime: do not assume signed right shift propagates sign bit
35388         * time/mktime.c (isdst_differ): New static function.
35389         (__mktime_internal): No need to normalize tm_isdst now.
35390         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35391         tm_isdst values.
35393         mktime: merge another wrapv change from gnulib
35394         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35395         from some compilers.
35397         mktime: remove incorrect attempt at unusual arithmetics
35398         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35399         The code didn't really work on such machines anyway.
35400         (TYPE_MINIMUM): Assume two's complement.
35401         (twos_complement_arithmetic): Verify that long_int and time_t
35402         are two's complement (or unsigned, in the latter case).
35404         mktime: check signed shifts on long_int and time_t, too
35405         * time/mktime.c (SHR): Check that shifts work as desired
35406         on the types long_int and time_t too, as SHR is used on
35407         such types.
35409         mktime: do not assume 'long' is wide enough
35410         * time/mktime.c (verify): Move decl up.
35411         (long_int): New type.
35412         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35413         to remove assumption in the code that 'long' is wide enough to
35414         store year values.  This assumption is not true on x32 and on
35415         some non-glibc platforms.
35417         mktime: merge wrapv change from gnulib
35418         * time/mktime.c (WRAPV): New macro.
35419         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35420         (guess_time_tm, __mktime_internal): Do not assume that signed
35421         integer overflow wraps around; modern compilers generate code
35422         where this assumption is no longer valid.
35424 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35426         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35427         Replace "jmp L(pseudo_end)" with "ret".
35428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35429         Likewise.
35431 2012-05-23  Andreas Jaeger  <aj@suse.de>
35433         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35434         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35436 2012-05-23  Andreas Jaeger  <aj@suse.de>
35437             Maximilian Attems  <max@stro.at>
35439         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35440         New macros.
35442 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35444         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35445         code so that pseudo_end is just ret and the stack pointer is
35446         correct also for static library in error case.
35448 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35450         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35451         move to syscalls.list.
35452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35457         * manual/install.texi (Running make install): Do not mention Linux
35458         kernel version for which pt_chown is not needed.
35459         (Linux): Do not mention problems with nscd with 2.0 kernels.
35460         * INSTALL: Regenerated.
35462 2012-05-23  Andreas Jaeger  <aj@suse.de>
35464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35465         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35466         macro.
35467         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35469         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35470         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35471         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35472         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35474         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35476         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35477         * sysdeps/unix/sysv/linux/bits/in.h
35478         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35480 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35482         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35483         (PREPARE_VERSION): Just use assert instead, it will be elided
35484         under [NDEBUG] anyway.
35486 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35488         * sysdeps/unix/sysv/linux/Makefile: Include
35489         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35490         (sysdep_routines): Remove sysctl.
35491         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35492         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35493         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35494         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35495         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35497 2012-05-22  Andreas Jaeger  <aj@suse.de>
35499         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35500         that pseudo_end is just ret and the stack pointer is correct also
35501         for static library in error case.
35503 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35505         [BZ #14122]
35506         * nss/nsswitch.c (defconfig_entries): New variable.
35507         (__nss_database_lookup): Don't leak defconfig entries.
35508         (nss_parse_service_list): Don't leak on error paths.
35509         (free_database_entries): New function.
35510         (free_defconfig): New function.
35511         (free_mem): Move common code to free_database_entries.
35513 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35515         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35516         Add arch_prctl.
35517         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35519         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35520         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35522         New macro.
35523         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35524         (INTERNAL_SYSCALL_TYPES): Likewise.
35525         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35526         (LOAD_REGS_TYPES_[1-6]): Likewise.
35527         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35528         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35530 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35532         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35533         copysignl for GLIBC_2_0.
35534         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35535         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35537         logbl for GLIBC_2_0.
35538         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35539         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35544         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35546         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35547         Use "neg %eax".
35549         * time/mktime.c: Update copyright years.
35551 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35553         mktime: merge comment-quoting-style change from gnulib
35554         * time/mktime.c: Quote 'like this' in comments.
35555         The GNU coding standards suggest that we no longer quote `like this',
35556         as "`" and "'" are typically rendered asymmetrically nowadays.
35557         The typical gnulib style is to quote 'like this' when quoting
35558         code, and "like this" when quoting English.
35560         * time/mktime.c (compile-command): Add "-I.".
35562         mktime: merge mktime-internal.h change from gnulib
35563         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35565         mktime: merge time_r change from gnulib
35566         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35568         mktime: merge DEBUG change from gnulib
35569         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35570         case system <time.h> has a #define.
35572         mktime: merge <sys/types.h> change from gnulib
35573         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35574         since <time.t> is now guaranteed to define time_t.
35576         mktime: merge HAVE_CONFIG_H change from gnulib
35577         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35579 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35582         Use "neg %eax".
35584         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35585         __rlim_t cast.
35586         (struct rusage): Use anonymous union to pad each field to
35587         __syscall_slong_t.
35589 2012-05-21  David S. Miller  <davem@davemloft.net>
35591         * Makefules (o-iterator): Remove .s cases.
35592         (compile-command.s): Delete.
35593         (COMPILE.s): Delete.
35594         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35596 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35598         * configure.in (libc_cv_predef_stack_protector): Only consider
35599         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35600         * configure: Regenerated.
35602 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35605         New macro.  Use R*LP on int and pointer.
35606         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35607         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35608         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35609         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35611         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35612         [__WORDSIZE_TIME64_COMPAT32] instead of
35613         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35614         (struct utmp): Likewise.
35615         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35616         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35617         Renamed to ...
35618         (__WORDSIZE_TIME64_COMPAT32): This.
35619         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35620         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35621         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35622         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35623         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35624         (__WORDSIZE_TIME64_COMPAT32): New macro.
35626 2012-05-21  Andreas Jaeger  <aj@suse.de>
35628         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35629         only if [SHARED]. Add prototype for __wcschr_ia32.
35631 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35633         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35634         of %rbp unmolested in the jmp_buf while mangling the low bits.
35635         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35636         unmolested high bits of %rbp while demangling the low bits.
35637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35639 2012-05-21  Andreas Jaeger  <aj@suse.de>
35641         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35642         * sunrpc/svc_simple.c: Use it for registerrpc.
35643         * sunrpc/xcrypt.c: Use it for passwd2des.
35645         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35649         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35650         Don't define if [__SYSCALL_WORDSIZE != 32].
35651         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35652         New macro.
35654 2012-05-21  Bruno Haible  <bruno@clisp.org>
35655             Andreas Jaeger  <aj@suse.de>
35657         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35658         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35659         inptr and inend for must_buffer_ch.
35660         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35661         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35662         * stdio-common/Makefile (tests): Remove bug15.
35663         (bug15-ENV): Remove macro.
35664         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35665         anymore.
35667 2012-05-19  Andreas Jaeger  <aj@suse.de>
35668             Roland McGrath  <roland@hack.frob.com>
35670         * manual/contrib.texi: Completely rewritten. It contains now an
35671         alphabetical list of contributors and their contributions.
35673 2012-05-21  Richard Henderson  <rth@twiddle.net>
35675         * misc/getauxval.c (__getauxval): Use unsigned long int.
35676         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35677         (getauxval): Use unsigned long int.
35679 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35681         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35683 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35685         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35686         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35687         __alignof__ (long double).
35689 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35693 2012-05-20  Richard Henderson  <rth@twiddle.net>
35695         * misc/getauxval.c: New file.
35696         * misc/sys/auxv.h: New file.
35697         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35698         (routines): Add getauxval.
35699         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35700         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35701         * elf/dl-sysdep.c (_dl_auxv): Remove.
35702         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35703         * elf/dl-support.c (_dl_auxv): New variable.
35704         (_dl_aux_init): Initialize it.
35705         * manual/startup.texi (Auxiliary Vector): New node.
35706         * sysdeps/generic/bits/hwcap.h: New file.
35707         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35708         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35709         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35710         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35711         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35712         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35714         Update.
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35724 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35728 2012-05-19  David S. Miller  <davem@davemloft.net>
35730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35732 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35734         [BZ #14123]
35735         * math/s_ccosh.c: Include <float.h>
35736         (__ccosh): Avoid internal overflow calculating sinh and cosh
35737         values before multiplying by sin and cos values.
35738         * math/s_ccoshf.c: Likewise.
35739         * math/s_ccoshl.c: Likewise.
35740         * math/s_csin.c: Likewise.
35741         * math/s_csinf.c: Likewise.
35742         * math/s_csinl.c: Likewise.
35743         * math/s_csinh.c: Likewise.
35744         * math/s_csinhf.c: Likewise.
35745         * math/s_csinhl.c: Likewise.
35746         * math/libm-test.inc (ccos_test): Add more tests.
35747         (ccosh_test): Likewise.
35748         (csin_test): Likewise.
35749         (csinh_test): Likewise.
35750         * sysdeps/i386/fpu/libm-test-ulps: Update.
35751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35753 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35755         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35756         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35758         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35760 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35762         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35763         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35764         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35765         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35766         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35767         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35768         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35769         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35770         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35771         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35772         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35773         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35774         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35775         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35776         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35777         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35778         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35779         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35780         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35781         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35782         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35783         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35784         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35785         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35786         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35787         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35788         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35789         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35790         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35791         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35792         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35794 2012-05-18  Andreas Jaeger  <aj@suse.de>
35796         * csu/.gitignore: Delete.
35798 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35800         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35801         (timex): Use __syscall_slong_t.
35803 2012-05-18  Andreas Jaeger  <aj@suse.de>
35804             Carlos O'Donell  <carlos_odonell@mentor.com>
35806         * manual/install.texi (Configuring and compiling): Update
35807         description about files modified in the source directory.
35808         * INSTALL: Regenerated.
35810 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35812         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35813         value.  Use "or" to set return value to -1.
35814         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35815         negate return value.
35817 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35819         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35820         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35821         failure if the compiler has Graphite support disabled.
35822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35823         Likewise.
35824         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35825         (CFLAGS-memmove.c): Likewise.
35826         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35827         Likewise.
35829 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35831         * sysdeps/x86_64/x32/_itoa.h: New file.
35833         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35834         getdents system call only if kernel and user dirents have the
35835         same d_ino and d_off.
35837         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35838         LLONG_MAX != LONG_MAX.
35839         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35840         (_fitoa_word): Likewise.
35842         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35843         years.
35844         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35845         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35846         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35848         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35849         include <bits/wordsize.h>.  Check __x86_64__ instead of
35850         __WORDSIZE.
35851         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35852         if __x86_64__ is defined.  Use anonymous union on fpstate.
35854         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35855         anonymous union.
35857 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35859         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35860         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35861         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35862         Refer to _rtld_local_ro instead of _rtld_global_ro.
35863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35864         Likewise.
35865         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35866         Likewise.
35867         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35868         Likewise.
35869         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35870         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35871         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35873         * sysdeps/powerpc/powerpc32/dl-machine.c
35874         (__elf_machine_runtime_setup) [PROF]: Don't reference
35875         _dl_prof_resolve.
35877 2012-05-18  Andreas Jaeger  <aj@suse.de>
35879         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35880         function only available for GCCs before 3.4 since GCC 3.4
35881         introduced a builtin.
35882         (lrint): Likewise.
35883         (llrintf): Likewise.
35884         (llrint): Likewise.
35885         (fmaxf): Likewise.
35886         (fmax): Likewise.
35887         (fminf): Likewise.
35888         (fmin): Likewise.
35889         (rint): Likewise.
35890         (rintf): Likewise.
35891         (nearbyint): Likewise.
35892         (nearbyintf): Likewise.
35893         (ceil): Likewise.
35894         (ceilf): Likewise.
35895         (floor): Likewise.
35896         (floorf): Likewise.
35898 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35900         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35901         on both fields and cast pointer to __syscall_ulong_t.
35903         * bits/types.h (__fsword_t): New type.
35904         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35905         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35907         (__FSWORD_T_TYPE): Likewise.
35908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35909         (__FSWORD_T_TYPE): Likewise.
35910         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35911         (__FSWORD_T_TYPE): Likewise.
35912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35913         (__FSWORD_T_TYPE): Likewise.
35914         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35915         __SWORD_TYPE with __fsword_t.
35916         (statfs64): Likewise.
35918 2012-05-17  David S. Miller  <davem@davemloft.net>
35920         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35922 2012-05-17  Andreas Jaeger  <aj@suse.de>
35924         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35925         warning.
35927 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35929         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35931 2012-05-17  Andreas Jaeger  <aj@suse.de>
35933         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35934         when it is used.
35936 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35938         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35940 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35942         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35943         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35945 2012-05-17  Andreas Jaeger  <aj@suse.de>
35946             Carlos O'Donell  <carlos_odonell@mentor.com>
35948         [BZ #14059]
35949         * sysdeps/x86_64/multiarch/init-arch.h
35950         (bit_YMM_Usable): Rename to...
35951         (bit_AVX_Usable): ... this.
35952         (bit_FMA4_Usable): New macro.
35953         (bit_XMM_state): New macro.
35954         (bit_YMM_state): New macro.
35955         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35956         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35957         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35958         (CPUID_OSXSAVE): New macro.
35959         (CPUID_AVX): New macro.
35960         (CPUID_FMA4): New macro.
35961         (index_YMM_Usable): Rename to...
35962         (index_AVX_Usable): ... this.
35963         (HAS_AVX): Use HAS_ARCH_FEATURE.
35964         (HAS_FMA4): Likewise.
35965         (HAS_YMM_USABLE): Remove.
35966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35967         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35968         are present.
35969         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35970         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35971         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35972         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35973         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35975 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35977         * math/libm-test.c: Support platforms without multiple rounding modes.
35978         * math/bug-nextafter.c: Support platforms without FP exceptions.
35979         * math/bug-nexttoward.c: Likewise.
35980         * math/test-fenv.c: Likewise.
35981         * math/test-misc.c: Likewise.
35982         * stdlib/bug-getcontext.c: Likewise.
35984 2012-05-17  Andreas Jaeger  <aj@suse.de>
35986         * manual/examples/search.c (critter_cmp): Change signature to
35987         avoid warnings.
35988         * manual/string.texi (Collation Functions): Likewise.
35990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35992         * bits/types.h: Fold copyright years.
35993         * bits/typesizes.h: Likewise.
35994         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35996         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35998         * time/time.h: Likewise.
36000 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36002         [BZ #208]
36003         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36004         in instead of returning them.  Return void.
36005         (__libc_mallinfo): Accumulate over all arenas.
36006         (__malloc_stats): Adjust for change in int_mallinfo interface.
36008 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36010         [BZ #10375]
36011         * configure.in (NM): Add AC_CHECK_TOOL for it.
36012         (libc_extra_cflags): New substituted variable.
36013         Check for -fstack-protector being used implicitly.
36014         * configure: Regenerated.
36015         * config.make.in (config-extra-cflags): New variable,
36016         gets @libc_extra_cflags@.
36017         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36019         [BZ #10375]
36020         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36021         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36022         * configure: Regenerated.
36023         * config.make.in (CPPUNDEFS): New substituted variable.
36024         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36025         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36026         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36030         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36031         (mq_attr): Use __syscall_slong_t.
36033 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36035         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36036         Check __x86_64__ instead of __WORDSIZE.
36037         (_STAT_VER_LINUX): Likewise.
36038         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36039         __syscall_ulong_t and __syscall_slong_t.
36040         (stat64): Likewise.
36042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36044         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36046 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36048         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36050 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36052         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36053         __syscall_ulong_t.
36055         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36056         include <bits/wordsize.h>.  Check __x86_64__ instead of
36057         __WORDSIZE.
36058         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36059         defined.
36060         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36062         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36063         include <bits/wordsize.h>.  Check __x86_64__ instead of
36064         __WORDSIZE.
36065         (user_regs_struct): Use "__extension__ unsigned long long"
36066         instead of "unsigned long" if __x86_64__ is defined.
36067         (user): Likewise.  Pad after pointer field if __ILP32__ is
36068         defined.
36070 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36072         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36073         versions 5 to 9.
36074         * configure: Regenerated.
36075         * manual/install.texi (texinfo): Increase version requirement to
36076         4.5 or later.
36077         * INSTALL: Regenerated.
36079         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36081 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36083         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36085         * sysdeps/x86_64/x32/ffs.c: New file.
36087         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36088         __syscall_ulong_t.
36089         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36090         defined.  Use __syscall_ulong_t.
36091         (shminfo): Use __syscall_ulong_t.
36092         (shm_info): Likewise.
36094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36095         __syscall_ulong_t.
36097         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36098         <bits/wordsize.h>.
36099         (msgqnum_t): Use __syscall_ulong_t.
36100         (msglen_t): Likewise.
36101         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36102         __syscall_ulong_t.
36104         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36105         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36107         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36109         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36110         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36112         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36113         __syscall_slong_t.
36115         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36116         include <bits/wordsize.h>.  Check __x86_64__ instead of
36117         __WORDSIZE.
36119         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36120         "unsigned long long int" if __x86_64__ is defined.
36121         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36124         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36125         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36127         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36128         <stdint.h>.
36129         (GET_PC): Cast to uintptr_t first.
36130         (GET_FRAME): Likewise.
36131         (GET_STACK): Likewise.
36133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36134         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36136         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36138         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36139         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36140         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36141         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36142         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36143         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36144         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36145         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36146         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36147         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36148         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36149         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36150         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36151         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36152         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36153         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36154         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36155         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36156         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36157         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36158         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36159         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36160         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36161         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36163 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36165         * Makerules (+depfiles): Also collect depfiles from .oS in
36166         $(extra-objs).
36167         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36168         .oS, $(libnldbl-routines)).
36170         * Makerules (native-compile-mkdep-flags): Define.
36171         * sunrpc/Makefile (extra-objs): Add $(addprefix
36172         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36173         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36174         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36175         calling $(make-target-directory).
36177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36179         * bits/types.h (__snseconds_t): Removed.
36180         * time/time.h (struct timespec): Replace __snseconds_t with
36181         __syscall_slong_t.
36182         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36183         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36184         Likewise.
36185         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36186         (__SNSECONDS_T_TYPE): Likewise.
36187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36188         (__SNSECONDS_T_TYPE): Likewise.
36189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36190         (__SNSECONDS_T_TYPE): Likewise.
36192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36194         * sysdeps/mach/hurd/bits/typesizes.h
36195         (__SYSCALL_SLONG_TYPE): New macro.
36196         (__SYSCALL_ULONG_TYPE): Likewise.
36198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36200         * bits/types.h (__syscall_slong_t): New type.
36201         (__syscall_ulong_t): Likewise.
36203         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36204         (__SYSCALL_ULONG_TYPE): Likewise.
36205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36206         (__SYSCALL_SLONG_TYPE): Likewise.
36207         (__SYSCALL_ULONG_TYPE): Likewise.
36208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36209         (__SYSCALL_SLONG_TYPE): Likewise.
36210         (__SYSCALL_ULONG_TYPE): Likewise.
36211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36212         (__SYSCALL_SLONG_TYPE): Likewise.
36213         (__SYSCALL_ULONG_TYPE): Likewise.
36215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36217         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36218         Add sigaltstack-offsets.sym.
36219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36220         <sigaltstack-offsets.h>.
36221         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36222         longjmp_msg pointer.
36223         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36224         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36225         signal stack.
36226         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36228 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36230         * elf/stackguard-macros.h: Remove file.
36231         * sysdeps/generic/stackguard-macros.h: New file.
36232         * sysdeps/i386/stackguard-macros.h: Likewise.
36233         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36234         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36235         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36236         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36237         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36238         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36239         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36240         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36241         <elf/stackguard-macros.h>.
36243         [BZ #14109]
36244         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36245         __aligned__ in attribute.
36246         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36247         (gregset_t): Likewise.
36249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36251         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36252         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36253         * sysdeps/x86_64/x32/Implies-after: New file.
36255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36257         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36258         and access return value for _dl_profile_fixup.  Use R10_LP to
36259         load frame size.
36261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36263         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36267         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36268         * sysdeps/x86_64/x32/sysdep.h: New file.
36270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36272         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36273         * sysdeps/x86_64/setjmp.S: Likewise.
36275 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36278         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36279         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36280         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36281         remove unused global constant.
36283 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36285         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36286         include of <not-cancel.h>.
36288 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36290         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36292 2012-05-15  Jeff Law  <law@redhat.com>
36293             Andreas Jaeger  <aj@suse.de>
36295         [BZ #13594]
36296         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36297         out from...
36298         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36299         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36300         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36301         code changing __hst_map_handle.map.
36303 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36305         * configure.in (sysnames): Look for Implies-before and Implies-after
36306         files.
36307         * configure: Regenerated.
36309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36311         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36312         8-byte data alignment with LP_SIZE alignment.
36314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36316         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36317         into R10_LP.
36319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36321         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36325         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36326         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36328         Likewise.
36329         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36333         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36334         (stackinfo_sub_sp): Likewise.
36336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36338         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36339         RAX_LP.
36341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36343         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36344         into R*_LP.
36346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36349         sizes into R*_LP.
36351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36353         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36357         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36358         into R11_LP and load __x86_64_shared_cache_size_half into
36359         R8_LP.
36361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36363         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36364         R8_LP.
36366 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36369         logb for POWER7.
36370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36371         logbf for POWER7.
36372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36373         logbl for POWER7.
36374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36375         powerpc32/power7/fpu/s_logb.c via #include.
36376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36377         powerpc32/power7/fpu/s_logbf.c via #include.
36378         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36379         powerpc32/power7/fpu/s_logbl.c via #include.
36381 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36383         * README.libm: Remove file.
36385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36387         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36388         count for x32.  Use R*_LP and omit operand-size suffix.
36390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36392         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36393         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36394         * sysdeps/x86_64/x32/shlib-versions: New file.
36396 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36398         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36399         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36400         Use _dl_fatal_printf instead.
36402 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36404         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36405         set if not set by the user.  Do not allow for being unset.
36406         * sysdeps/unix/sysv/linux/configure: Regenerated.
36408 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36410         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36411         the `q' suffix from lea and replace .quad with ASM_ADDR.
36413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36416         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36417         instead of $17.
36418         (PTR_DEMANGLE): Likewise.
36420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36422         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36423         (LP_OP): Likewise.
36424         (ASM_ADDR): Likewise.
36425         (RAX_LP): Likewise.
36426         (RBP_LP): Likewise.
36427         (RBX_LP): Likewise.
36428         (RCX_LP): Likewise.
36429         (RDI_LP): Likewise.
36430         (RSI_LP): Likewise.
36431         (RSP_LP): Likewise.
36432         (R8_LP): Likewise.
36433         (R9_LP): Likewise.
36434         (R10_LP): Likewise.
36435         (R10_LP): Likewise.
36436         (R11_LP): Likewise.
36437         (R12_LP): Likewise.
36438         (R13_LP): Likewise.
36439         (R14_LP): Likewise.
36440         (R15_LP): Likewise.
36442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36444         * sysdeps/x86_64/x32/dl-machine.h: New file.
36446 2012-05-14  Andreas Jaeger  <aj@suse.de>
36448         * manual/Makefile (subdir): Remove export of subdir.
36449         (all): Remove target.
36450         (.PHONY): Remove all from list.
36451         (mkinstalldirs): Remove.
36452         (.PHONY): Remove installdirs from list.
36453         ($(inst_infodir)/libc.info): Use make-target-directory.
36454         (installdirs): Remove.
36455         (subdir_%): Remove.
36456         (glibc-targets): Remove.
36457         (lib): Remove.
36458         (stubs): Remove.
36459         ($(objpfx)stubs ../po/manual.pot): Remove.
36460         ($(objpfx)stamp%): Remove.
36461         (make-target-directory): Remove.
36462         (subdir_install): Remove.
36463         (routines): Remove.
36464         (aux): Remove.
36465         (sources): Remove.
36466         (objects): Remove.
36467         (headers): Remove.
36469         [BZ #13750]
36470         * manual/.gitignore: Remove, it's not needed anymore.
36471         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36472         all files in it.
36473         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36474         directory.
36475         (texis): Renamed to $(objpfx)texis.
36476         (texis-path): New, contains path to generated files.
36477         (chapters.%): Use texis-path for complete path, add extra argument
36478         libc-texinfo.sh.
36479         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36480         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36481         (summary,texi, stamp-summary): Use complete path of
36482         files. Generate files in build dir.
36483         (dir-add.texi): Build in build dir.
36484         (libm-err.texi,stamp-libm-err): Likewise.
36485         (version.texi, stamp-version): Likewise.
36486         (.%c.texi): Likewise.
36487         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36488         (mostlyclean): Remove target.
36489         (realclean): Remove target.
36490         (generated): Add new variable with contents from mostlyclean and
36491         realclean, remove entries duplicated in common-mostlyclean, add
36492         stamp-libm-err and stamp-version.
36493         (generated-dirs): Add libc directory.
36494         ($(inst_infodir)/libc.info): Install files from build dir.
36496         * manual/install.texi (Configuring and compiling): Adjust since
36497         the info files are not part of the tar ball anymore.
36499 2012-05-14  Andreas Jaeger  <aj@suse.de>
36501         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36502         variable.
36504 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36506         [BZ #13717]
36507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36508         to 2.2.0 where earlier.
36509         * sysdeps/unix/sysv/linux/configure: Regenerated.
36510         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36511         Remove conditional code.
36512         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36513         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36514         Remove conditional code.
36515         [!__NR_lchown]: Likewise.
36516         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36517         [__NR_lchown]: Likewise.
36518         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36519         comment referencing __ASSUME_LCHOWN_SYSCALL.
36520         * sysdeps/unix/sysv/linux/i386/sigaction.c
36521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36523         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36524         Remove conditional code.
36525         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36526         (__protocol_available): Remove #if 0 code.
36527         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36528         conditional code.
36529         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36530         * sysdeps/unix/sysv/linux/kernel-features.h
36531         (__ASSUME_GETCWD_SYSCALL): Don't define.
36532         (__ASSUME_REALTIME_SIGNALS): Likewise.
36533         (__ASSUME_PREAD_SYSCALL): Likewise.
36534         (__ASSUME_PWRITE_SYSCALL): Likewise.
36535         (__ASSUME_POLL_SYSCALL): Likewise.
36536         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36537         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36538         non-SPARC.
36539         (__ASSUME_SIOCGIFNAME): Don't define.
36540         (__ASSUME_MSG_NOSIGNAL): Likewise.
36541         (__ASSUME_SENDFILE): Define unconditionally.
36542         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36543         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36544         conditional code.
36545         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36546         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36547         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36548         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36549         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36550         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36551         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36553         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36556         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36559         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36562         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36565         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36568         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36569         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36571         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36572         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36574         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36576         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36577         Remove conditional code.
36578         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36579         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36580         Remove conditional code.
36581         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36582         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36583         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36584         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36585         Remove conditional code.
36586         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36587         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36588         Remove conditional code.
36589         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36590         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36591         Remove conditional code.
36592         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36593         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36594         Remove conditional code.
36595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36596         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36597         Remove conditional code.
36598         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36599         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36600         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36602         * sysdeps/unix/sysv/linux/sigaction.c
36603         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36604         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36605         * sysdeps/unix/sysv/linux/sigpending.c
36606         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36607         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36608         * sysdeps/unix/sysv/linux/sigprocmask.c
36609         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36610         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36611         * sysdeps/unix/sysv/linux/sigsuspend.c
36612         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36613         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36614         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36615         (__libc_missing_rt_sigs): Remove.
36616         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36617         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36618         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36619         Remove conditional code.
36620         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36621         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36622         return 1.
36623         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36624         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36625         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36626         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36628 2012-05-14  Andreas Jaeger  <aj@suse.de>
36630         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36631         it's not used in glibc.
36632         (__coshm1): Likewise.
36633         (__acosh1p): Likewise.
36634         (__sgn): Likewise.
36636         * manual/string.texi (Copying and Concatenation): Add missing
36637         variable in concat example.
36638         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36642         [BZ #14103]
36643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36644         __builtin_clzl with __builtin_clzll.
36646 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36648         [BZ #14104]
36649         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36650         libc_freeres_ptr.
36652 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36654         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36655         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36656         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36657         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36659 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36661         * NEWS: Update ia64 info.
36663 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36665         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36666         used as bcopy.
36668 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36670         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36671         * sysdeps/unix/syscalls.list (dup3): Likewise.
36672         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36673         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36675 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36677         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36678         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36680 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36682         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36683         thread pointer.
36684         (TLS_IE): Use mov/add instead of movq/addq to load thread
36685         pointer.
36686         (TLS_GD_PREFIX): New.
36687         (TLS_GD): Use it.
36689 2012-05-11  David S. Miller  <davem@davemloft.net>
36691         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36692         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36693         (_FPU_SETCW): Likewise.
36695 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36697         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36698         is 32-byte aligned.
36700 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36702         [BZ #11837]
36703         * iconvdata/gb18030.c: Update tables.
36704         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36705         characters specially.
36706         (BODY for TO_LOOP): Add encoding of missing ranges.
36708 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36710         [BZ #13673]
36711         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36712         * sysdeps/mach/hurd/dup3.c: Likewise.
36713         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36714         * sysdeps/powerpc/memmove.c:: Likewise.
36716 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36719         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36721 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36723         * elf/elf.h (R_X86_64_RELATIVE64): New.
36724         (R_X86_64_NUM): Updated.
36725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36726         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36727         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36728         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36729         tst-quad1pie tst-quad2pie
36730         (modules-names): Add tst-quadmod1 tst-quadmod2.
36731         ($(objpfx)tst-quad1): New dependency.
36732         ($(objpfx)tst-quad2): Likewise.
36733         ($(objpfx)tst-quad1pie): Likewise.
36734         ($(objpfx)tst-quad2pie): Likewise.
36735         * sysdeps/x86_64/tst-quad1.c: New file.
36736         * sysdeps/x86_64/tst-quad1pie.c: New file.
36737         * sysdeps/x86_64/tst-quad2.c: Likewise.
36738         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36739         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36740         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36741         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36742         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36746         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36747         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36748         * streams/stropts.h (t_scalar_t): Define type.
36750         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36751         (_PATH_PRESERVE): Set to "/var/lib".
36752         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36754         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36755         instead of int.
36757         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36758         if __dir_mkfile succeeded.
36760         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36761         checking for _hurd_dtablesize.  Unlock it right after having
36762         finished _hurd_dtable allocation.
36764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36766         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36767         * sysdeps/mach/hurd/configure: Regenerated.
36768         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36769         special-casing to...
36770         * sysdeps/gnu/configure.in: ... this new file.
36771         * sysdeps/unix/sysv/linux/configure: Regenerated.
36772         * sysdeps/gnu/configure: New generated file.
36774         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36775         for Linux: use nsec instead of usec, as well as:
36776         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36777         members of type struct timespec.
36778         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36779         New macros.
36780         (struct stat64): Likewise.
36781         (_STATBUF_ST_NSEC): New macro.
36782         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36784         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36785         __strtoul_internal rather than strtoul.
36787 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36789         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36790         and reject them.
36792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36794         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36795         which preserves existing values.
36796         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36798 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36800         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36801         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36802         greater than FD_SETSIZE.
36804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36806         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36807         allocated, call __vm_protect to finish enabling the existing space, and
36808         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36809         allocate the remainder.
36811 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36813         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36814         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36818         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36819         sysdeps/mach/hurd/readlink.c.
36821         * posix/tst-sysconf.c (posix_options): Only use
36822         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36823         _POSIX_SYNCHRONIZED_IO when they are defined
36824         * sysdeps/mach/hurd/bits/posix_opt.h:
36825         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36826         (_XOPEN_REALTIME): Undefine macro.
36827         (_XOPEN_REALTIME_THREADS): Undefine macro.
36828         (_XOPEN_SHM): Undefine macro.
36829         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36830         macro to -1.
36831         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36832         macro to -1.
36833         (_POSIX_ASYNC_IO): Undefine macro.
36834         (_POSIX_PRIORITIZED_IO): Undefine macro.
36835         (_POSIX_SPIN_LOCKS): Define macro to -1.
36837         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36838         SA_NODEFER, SA_RESETHAND.
36839         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36840         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36841         F_DUPFD_CLOEXEC.
36843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36845         * elf/Makefile (pldd-modules): Define unconditionally.
36847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36849         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36853         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36854         Return ENOENT when name is empty.
36855         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36859         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36861         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36865         Fix mlock in all cases except non-readable pages.
36866         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36867         instead of VM_PROT_ALL as parameter to __vm_wire function.
36869         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36870         (__mkdir): When path is `/', just fail with EEXIST.
36871         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36875         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36876         <sys/uio.h> (for writev).
36877         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36878         and <sys/param.h> (for MIN).
36880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36882         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36883         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36884         if interrupted.
36886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36888         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36889         Depend on against $(link-rpcuserlibs).
36891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36893         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36894         (__libc_stack_end): Do not use attribute_relro.
36895         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36896         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36897         to libthread-provided value.
36898         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36899         attribute_relro.
36901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36903         [BZ #3748]
36904         * bits/libc-lock.h (__libc_once_get): New macro.
36905         * sysdeps/mach/bits/libc-lock.h: Likewise.
36906         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36908         instead of using implementation details.
36910         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36911         * libio/freopen.c: Likewise.
36912         * libio/freopen64.c: Likewise.
36913         * misc/syslog.c: Likewise.
36914         * nscd/connections.c: Likewise.
36915         * nscd/netgroupcache.c: Likewise.
36916         * sysdeps/posix/getcwd.c: Likewise.
36918 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36920         * math/w_ilogbf.c: Add #include <limits.h>.
36922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36924         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36925         path instead of returning without unlocking.
36927         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36928         immediate-write ioctls.
36929         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36933         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36934         __builtin_frame_address instead of making assumptions about the
36935         location of the return address relative to DATA.  Force early load of
36936         the return address.
36937         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36938         __builtin_frame_address.
36940         dup3 for GNU Hurd.
36941         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36942         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36943         implement dup3 and do some further code clean-ups.
36944         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36945         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36949         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36951         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36952         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36953         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36954         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36955         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36956         d->port.lock.
36958         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36959         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36960         when handler == SIG_ERR, not when handler != SIG_ERR.
36962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36964         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36965         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36966         definitions.
36968         accept4 for GNU Hurd.
36969         * include/sys/socket.h (__libc_accept4): New prototype.
36970         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36971         to implement __libc_accept4.
36972         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36973         __libc_accept4.
36974         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36976         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36977         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36978         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36979         signal-defines.sym.
36981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36983         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36987         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36988         assertion on O_CLOEXEC flag.
36989         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36990         * hurd/intern-fd.c: Likewise.
36991         * hurd/port2fd.c: Likewise.
36993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36995         [BZ #3906]
36996         * bits/in.h (IPV6_PKTINFO): Define new macro.
36997         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36999 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         [BZ #13954]
37002         [BZ #13955]
37003         [BZ #13956]
37004         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37005         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37006         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37007         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37009         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37010         * math/libm-test.inc (logb_test) : Additional logb tests.
37012 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37013             Andreas Jaeger  <aj@suse.de>
37015         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37016         * configure: Regenerated.
37017         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37018         * config.make.in (link-obsolete-rpc): New substituted variable.
37019         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37020         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37021         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37022         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37023         so that libc.a contains the symbols.
37024         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37025         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37026         * sunrpc/auth_none.c: Likewise.
37027         * sunrpc/auth_unix.c: Likewise.
37028         * sunrpc/authdes_prot.c: Likewise.
37029         * sunrpc/authuxprot.c: Likewise.
37030         * sunrpc/clnt_gen.c: Likewise.
37031         * sunrpc/clnt_perr.c: Likewise.
37032         * sunrpc/clnt_raw.c: Likewise.
37033         * sunrpc/clnt_simp.c: Likewise.
37034         * sunrpc/clnt_tcp.c: Likewise.
37035         * sunrpc/clnt_udp.c: Likewise.
37036         * sunrpc/clnt_unix.c: Likewise.
37037         * sunrpc/des_crypt.c: Likewise.
37038         * sunrpc/des_soft.c: Likewise.
37039         * sunrpc/get_myaddr.c: Likewise.
37040         * sunrpc/key_call.c: Likewise.
37041         * sunrpc/key_prot.c: Likewise.
37042         * sunrpc/netname.c: Likewise.
37043         * sunrpc/pm_getmaps.c: Likewise.
37044         * sunrpc/pm_getport.c: Likewise.
37045         * sunrpc/pmap_clnt.c: Likewise.
37046         * sunrpc/pmap_prot.c: Likewise.
37047         * sunrpc/pmap_prot2.c: Likewise.
37048         * sunrpc/pmap_rmt.c: Likewise.
37049         * sunrpc/publickey.c: Likewise.
37050         * sunrpc/rpc_cmsg.c: Likewise.
37051         * sunrpc/rpc_common.c: Likewise.
37052         * sunrpc/rpc_dtable.c: Likewise.
37053         * sunrpc/rpc_prot.c: Likewise.
37054         * sunrpc/rpc_thread.c: Likewise.
37055         * sunrpc/rtime.c: Likewise.
37056         * sunrpc/svc.c: Likewise.
37057         * sunrpc/svc_auth.c: Likewise.
37058         * sunrpc/svc_raw.c: Likewise.
37059         * sunrpc/svc_run.c: Likewise.
37060         * sunrpc/svc_tcp.c: Likewise.
37061         * sunrpc/svc_udp.c: Likewise.
37062         * sunrpc/svc_unix.c: Likewise.
37063         * sunrpc/svcauth_des.c: Likewise.
37064         * sunrpc/xcrypt.c: Likewise.
37065         * sunrpc/xdr.c: Likewise.
37066         * sunrpc/xdr_array.c: Likewise.
37067         * sunrpc/xdr_float.c: Likewise.
37068         * sunrpc/xdr_intXX_t.c: Likewise.
37069         * sunrpc/xdr_mem.c: Likewise.
37070         * sunrpc/xdr_rec.c: Likewise.
37071         * sunrpc/xdr_ref.c: Likewise.
37072         * sunrpc/xdr_sizeof.c: Likewise.
37073         * sunrpc/xdr_stdio.c: Likewise.
37075 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37078         change.  Update copyright years.
37080 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37082         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37084 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37085             Joseph Myers  <joseph@codesourcery.com>
37086             Paul Pluzhnikov  <ppluzhnikov@google.com>
37088         [BZ #14012]
37089         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37090         requiring rpcgen.
37091         [cross-compiling] (extra-libs): Likewise.
37092         [cross-compiling] (extra-libs-others): Likewise.
37093         [cross-compiling] (librpcsvc-routines): Likewise.
37094         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37095         [cross-compiling] (omit-deps): Likewise.
37096         (sunrpc-CPPFLAGS): New variable.
37097         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37098         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37099         (cross-rpcgen-objs): New variable.
37100         (extra-objs): Append $(cross-rpcgen-objs).
37101         ($(cross-rpcgen-objs)): New rule.
37102         ($(objpfx)cross-rpcgen): Likewise.
37103         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37104         comment.
37105         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37106         ($(objpfx)x%.stmp): Likewise.
37107         * sunrpc/proto.h [IS_IN_build] (_): Define.
37108         [IS_IN_build] (_libc_intl_domainname): Likewise.
37110 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37112         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37113         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37114         and R_X86_64_TPOFF64.
37116 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37118         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37119         sysdeps/unix/sysv/syscalls.list.
37120         (stime): Likewise.
37121         (utime): Likewise.
37122         * sysdeps/unix/sysv/syscalls.list: Remove file.
37124 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37126         [BZ #3440]
37127         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37128         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37129         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37130         (__LC_IDENTIFICATION): Make these macros useful in #if
37131         expressions, as required by C99.
37133 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37135         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37136         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37137         after this.
37139 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37141         * stdlib/longlong.h: Updated from GCC.
37143 2012-05-09  Andreas Jaeger  <aj@suse.de>
37145         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37146         default is first entry.
37147         (run_mode): Set type.
37148         (main): Remove informal message about syslog.
37149         (options): Fix typo.
37151         [BZ #14053]
37152         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37153         to asm.
37154         (lrint): Likewise.
37155         (llrintf): Likewise.
37156         (llrint): Likewise.
37157         (rint): Likewise.
37158         (rintf): Likewise.
37159         (nearbyint): Likewise.
37160         (nearbyintf): Likewise.
37162 2012-05-09  Andreas Jaeger  <aj@suse.de>
37163             Pedro Alves  <palves@redhat.com>
37165         * nscd/nscd.c (run_mode): Use enum.
37166         (main): Cleanup coding style issue.
37168 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37169             Andreas Jaeger  <aj@suse.de>
37171         * nscd/nscd.c (go_background): Replaced with...
37172         (run_mode): ... this.
37173         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37174         (options): Add -F --foreground.
37175         (main): Implement it.
37176         (parse_opt): Parse it.
37178 2012-05-09  Andreas Jaeger  <aj@suse.de>
37180         [BZ #14083]
37181         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37182         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37183         -Wconversion warning.
37184         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37185         Likewise.
37187 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37189         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37190         == 0.
37191         (LC_ALL): Use macro-int-constant.
37192         (LC_COLLATE): Likewise.
37193         (LC_CTYPE): Likewise.
37194         (LC_MESSAGES): Likewise.
37195         (LC_MONETARY): Likewise.
37196         (LC_NUMERIC): Likewise.
37197         (LC_TIME): Likewise.
37198         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37199         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37201         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37202         Specify type.
37203         [C99-based standards] (float_t): Expect type.
37204         [C99-based standards] (double_t): Expect type.
37205         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37206         type.
37207         [C99-based standards] (HUGE_VALL): Likewise.
37208         [C99-based standards] (INFINITY): Likewise.
37209         [C99-based standards] (NAN): Likewise.
37210         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37211         [C99-based standards] (FP_NAN): Likewise.
37212         [C99-based standards] (FP_NORMAL): Likewise.
37213         [C99-based standards] (FP_SUBNORMAL): Likewise.
37214         [C99-based standards] (FP_ZERO): Likewise.
37215         [C99-based standards] (FP_FAST_FMA): Use
37216         optional-macro-int-constant.  Specify type.  Require == 1.
37217         [C99-based standards] (FP_FAST_FMAF): Likewise.
37218         [C99-based standards] (FP_FAST_FMAL): Likewise.
37219         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37220         [C99-based standards] (FP_ILOGBNAN): Likewise.
37221         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37222         Specify type.
37223         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37224         [C99-based standards] (math_errhandling): Specify type.
37225         [ISO99 || ISO11] (signgam): Do not allow.
37226         [non-C99-based standards] (copysignf): Do not allow.
37227         [non-C99-based standards] (exp2f): Likewise.
37228         [non-C99-based standards] (log2f): Likewise.
37229         [non-C99-based standards] (modff): Allow.
37230         [non-C99-based standards] (erff): Do not allow.
37231         [non-C99-based standards] (erfcf): Likewise.
37232         [non-C99-based standards] (gammaf): Likewise.
37233         [non-C99-based standards] (hypotf): Likewise.
37234         [non-C99-based standards] (j0f): Likewise.
37235         [non-C99-based standards] (j1f): Likewise.
37236         [non-C99-based standards] (jnf): Likewise.
37237         [non-C99-based standards] (lgammaf): Likewise.
37238         [non-C99-based standards] (tgammaf): Likewise.
37239         [non-C99-based standards] (y0f): Likewise.
37240         [non-C99-based standards] (y1f): Likewise.
37241         [non-C99-based standards] (ynf): Likewise.
37242         [non-C99-based standards] (isnanf): Likewise.
37243         [non-C99-based standards] (acoshf): Likewise.
37244         [non-C99-based standards] (asinhf): Likewise.
37245         [non-C99-based standards] (atanhf): Likewise.
37246         [non-C99-based standards] (cbrtf): Likewise.
37247         [non-C99-based standards] (expm1f): Likewise.
37248         [non-C99-based standards] (ilogbf): Likewise.
37249         [non-C99-based standards] (log1pf): Likewise.
37250         [non-C99-based standards] (logbf): Likewise.
37251         [non-C99-based standards] (nextafterf): Likewise.
37252         [non-C99-based standards] (remainderf): Likewise.
37253         [non-C99-based standards] (rintf): Likewise.
37254         [non-C99-based standards] (scalbf): Likewise.
37255         [non-C99-based standards] (copysignl): Likewise.
37256         [non-C99-based standards] (exp2l): Likewise.
37257         [non-C99-based standards] (log2l): Likewise.
37258         [non-C99-based standards] (modfl): Allow.
37259         [non-C99-based standards] (erfl): Do not allow.
37260         [non-C99-based standards] (erfcl): Likewise.
37261         [non-C99-based standards] (gammal): Likewise.
37262         [non-C99-based standards] (hypotl): Likewise.
37263         [non-C99-based standards] (j0l): Likewise.
37264         [non-C99-based standards] (j1l): Likewise.
37265         [non-C99-based standards] (jnl): Likewise.
37266         [non-C99-based standards] (lgammal): Likewise.
37267         [non-C99-based standards] (tgammal): Likewise.
37268         [non-C99-based standards] (y0l): Likewise.
37269         [non-C99-based standards] (y1l): Likewise.
37270         [non-C99-based standards] (ynl): Likewise.
37271         [non-C99-based standards] (isnanl): Likewise.
37272         [non-C99-based standards] (acoshl): Likewise.
37273         [non-C99-based standards] (asinhl): Likewise.
37274         [non-C99-based standards] (atanhl): Likewise.
37275         [non-C99-based standards] (cbrtl): Likewise.
37276         [non-C99-based standards] (expm1l): Likewise.
37277         [non-C99-based standards] (ilogbl): Likewise.
37278         [non-C99-based standards] (log1pl): Likewise.
37279         [non-C99-based standards] (logbl): Likewise.
37280         [non-C99-based standards] (nextafterl): Likewise.
37281         [non-C99-based standards] (remainderl): Likewise.
37282         [non-C99-based standards] (rintl): Likewise.
37283         [non-C99-based standards] (scalbl): Likewise.
37284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37285         [non-C99-based standards] (FP_*): Do not allow.
37286         [C99-based standards] (FP_*): Change to
37287         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37288         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37289         allow.
37290         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37291         (SIG_ERR): Likewise.
37292         [X/Open-based standards] (SIG_HOLD): Likewise.
37293         (SIG_IGN): Likewise.
37294         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37295         positive value.
37296         (SIGFPE): Likewise.
37297         (SIGILL): Likewise.
37298         (SIGINT): Likewise.
37299         (SIGSEGV): Likewise.
37300         (SIGTER): Likewise.
37301         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37302         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37303         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37304         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37305         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37306         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37307         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37308         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37309         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37310         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37311         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37312         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37313         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37314         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37315         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37319         [X/Open-based standards] (SIGTRAP): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37322         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37323         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37324         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37325         allow.
37327 2012-05-08  Ian Wienand  <ianw@vmware.com>
37329         [BZ #14080]
37330         * time/tzset.c (__tzset_parse_tz): Update default rules for
37331         daylight time changes in the Energy Policy Act of 2005.
37333 2012-05-09  Andreas Jaeger  <aj@suse.de>
37335         [BZ #13983]
37336         * elf/ldconfig.c (parse_conf): Change string to make clear that
37337         ldconfig only issued a warning if ld.so.conf does not exist.
37339 2012-05-08  David S. Miller  <davem@davemloft.net>
37341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37342         movxtod instead of popping the value on the stack.
37344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37346 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37348         * config.h.in: Add HAVE_ARM_PCS_VFP.
37350 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37352         [BZ #13979]
37353         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37354         checking but the checks are disabled for any reason.
37356 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37358         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37359         and ELF64_R_TYPE with ELFW(R_TYPE).
37361 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37363         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37364         (ulimit): Likewise.
37366         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37367         (settimeofday): Likewise.
37369 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37371         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37372         a struct th_u2 inside the union, and move tu_block/tu_code into
37373         a new th_u3 union of tu_block/tu_code inside of that.  Move
37374         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37375         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37376         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37377         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37378         (th_stuff): Change to th_u1.tu_stuff.
37379         (th_data): Define.
37380         (th_msg): Change to th_u1.th_u2.tu_data.
37382 2012-05-07  David S. Miller  <davem@davemloft.net>
37384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37386         [BZ #14074]
37387         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37388         (SETUP_PIC_REG): Use it.
37389         (SETUP_PIC_REG_LEAF): Use it.
37391 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37393         [BZ #13885]
37394         [BZ #13923]
37395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37396         USE_AS_EXPM1L.
37397         (EXPL_FINITE): Likewise.
37398         (FLDLOG): Likewise.
37399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37400         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37401         e_expl.S.
37402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37403         USE_AS_EXPM1L.
37404         (EXPL_FINITE): Likewise.
37405         (FLDLOG): Likewise.
37406         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37407         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37408         e_expl.S.
37409         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37410         test of -max_value argument for long double.
37411         * sysdeps/i386/fpu/libm-test-ulps: Update.
37412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37414 2012-05-06  David S. Miller  <davem@davemloft.net>
37416         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37417         quad soft-float symbols whose references which are compiler
37418         generated.
37419         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37421 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37423         [BZ #13884]
37424         [BZ #13914]
37425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37426         USE_AS_EXP10L.
37427         (EXPL_FINITE): Likewise.
37428         (FLDLOG): Likewise.
37429         (c0): Likewise.
37430         (c1): Likewise.
37431         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37432         Adjust comments for base varying.
37433         (__expl_finite): Change alias to EXPL_FINITE.
37434         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37435         e_expl.S.
37436         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37437         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37438         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37439         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37441         USE_AS_EXP10L.
37442         (EXPL_FINITE): Likewise.
37443         (FLDLOG): Likewise.
37444         (c0): Likewise.
37445         (c1): Likewise.
37446         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37447         Adjust comments for base varying.
37448         (__expl_finite): Change alias to EXPL_FINITE.
37449         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37450         tests for bugs.
37451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37453         [BZ #14064]
37454         * math/libm-test.inc (check_float_internal): Correct ulp
37455         calculation for subnormal expected results.
37457 2012-05-06  Andreas Jaeger  <aj@suse.de>
37459         * Makeconfig (+math-flags): New, set to -frounding-math.
37460         (+cflags): Add +math-flags so that all of glibc gets compiled with
37461         it.
37463         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37465 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37467         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37468         Disable one test.
37470         [BZ #13787]
37471         [BZ #13922]
37472         [BZ #14036]
37473         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37474         (__ieee754_expl): Allow for and saturate large arguments.
37475         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37476         (u_threshold): Likewise.
37477         (__exp): Call __ieee754_exp before checking for overflow and
37478         underflow.
37479         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37480         (u_threshold): Likewise.
37481         (__expf): Call __ieee754_expf before checking for overflow and
37482         underflow.
37483         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37484         (u_threshold): Likewise.
37485         (__expl): Call __ieee754_expl before checking for overflow and
37486         underflow.
37487         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37488         (__ieee754_expl): Allow for and saturate large arguments.
37489         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37490         missing overflow exception on overflow.
37491         (expm1_test): Do not allow missing overflow exception on overflow.
37493         * sysdeps/i386/fpu/e_expl.c: Move to ...
37494         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37495         rather than using inline asm.
37496         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37497         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37498         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37500         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37501         (nice): Likewise.
37502         (poll): Likewise.
37503         (signal): Likewise.
37504         (time): Likewise.
37505         (times): Likewise.
37507 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37509         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37510         sysdeps/unix/common/syscalls.list.
37511         (fchmod): Likewise.
37512         (fchown): Likewise.
37513         (ftruncate): Likewise.
37514         (getrusage): Likewise.
37515         (gettimeofday): Likewise.
37516         (setpgid): Likewise.
37517         (setregid): Likewise.
37518         (setreuid): Likewise.
37519         (sigaction): Likewise.
37520         (truncate): Likewise.
37521         (vhangup): Likewise.
37522         * sysdeps/unix/common/syscalls.list: Remove file.
37523         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37524         * sysdeps/unix/sysv/linux/Implies: Likewise.
37526 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37528         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37530         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37531         Moved to ...
37532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37533         Here.
37534         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37535         to ...
37536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37537         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37538         to ...
37539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37540         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37541         to ...
37542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37543         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37544         to ...
37545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37546         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37547         to ...
37548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37549         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37550         to ...
37551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37552         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37553         to ...
37554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37555         Here.
37556         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37557         to ...
37558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37559         Here.
37560         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37561         to ...
37562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37563         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37564         Moved to ...
37565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37566         Here.
37567         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37568         to ...
37569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37571 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37573         * sysdeps/unix/common/bits/dirent.h: Remove file.
37574         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37576         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37577         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37578         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37579         * sysdeps/unix/bsd/isatty.c: Likewise.
37580         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37581         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37582         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37584 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37586         [BZ #13563]
37587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37588         long double comparison inaccuracies.
37589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37592 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37594         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37595         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37597 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37599         [BZ #14049]
37600         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37601         nonzero digits before rounding a hex value.
37602         * stdlib/tst-strtod.c (tests): Add another test.
37604 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37606         * sysdeps/s390/fpu/libm-test-ulps: Update.
37608 2012-05-03  Andreas Jaeger  <aj@suse.de>
37610         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37611         does not get optimized out.
37612         (malloc_opt_barrier): New.
37614 2012-05-03  Andreas Jaeger  <aj@suse.de>
37615             Roland McGrath  <roland@hack.frob.com>
37617         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37618         intermediate file deletion.
37619         (generated): Add .symlist files.
37621 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37623         [BZ #13775]
37624         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37625         Redirect under this condition.
37626         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37627         [__USE_GNU] (__dprintf_chk): Not under this condition.
37628         [__USE_GNU] (__vdprintf_chk): Likewise.
37629         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37630         under this condition.
37631         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37632         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37633         [__USE_XOPEN2K8] (vdprintf): Likewise.
37634         [__USE_GNU] (__dprintf_chk): Not under this condition.
37635         [__USE_GNU] (__vdprintf_chk): Likewise.
37636         [__USE_GNU] (dprintf): Likewise.
37637         [__USE_GNU] (vdprintf): Likewise.
37639 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37641         * elf/Makefile (common-generated): Set this instead of generated for
37642         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37643         $(all-built-dso)-derived lists.
37645 2012-05-03  Andreas Jaeger  <aj@suse.de>
37647         * sysdeps/i386/fpu/libm-test-ulps: Update.
37649         * FAQ: Removed.
37650         * FAQ.in: Likewise.
37651         * scripts/gen-FAQ.pl: Likewise.
37652         * manual/install.texi (Installation): Point to online location of
37653         FAQ.
37654         * Makefile (files-for-dist): Remove FAQ.
37655         (FAQ): Remove.
37657 2012-05-02  Allan McRae  <allan@archlinux.org>
37659         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37660         (LDFLAGS-reldepmod5.so): Likewise.
37661         (LDFLAGS-reldep6mod1.so): Likewise.
37662         (LDFLAGS-reldep6mod4.so): Likewise.
37663         (LDFLAGS-reldep8mod3.so): Likewise.
37664         (LDFLAGS-unload4mod1.so): Likewise.
37665         (LDFLAGS-unload4mod2.so): Likewise.
37666         (LDFLAGS-tst-initorder): Likewise.
37667         (LDFLAGS-tst-initordera2.so): Likewise.
37668         (LDFLAGS-tst-initordera3.so): Likewise.
37669         (LDFLAGS-tst-initordera4.so): Likewise.
37670         (LDFLAGS-tst-initorderb2.so): Likewise.
37671         (LDFLAGS-noload): Likewise.
37672         (LDFLAGS-next): Likewise.
37673         (LDFLAGS-order2mod1.so): Likewise.
37674         (LDFLAGS-order2mod2.so): Likewise.
37675         (LDFLAGS-tst-initorder2): Likewise.
37676         (LDFLAGS-tst-initorder2a.so): Likewise.
37677         (LDFLAGS-tst-initorder2b.so): Likewise.
37678         (LDFLAGS-tst-initorder2c.so): Likewise.
37679         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37681 2012-05-02  David S. Miller  <davem@davemloft.net>
37683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37685 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37687         [BZ #14055]
37688         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37690 2012-05-02  Andreas Jaeger  <aj@suse.de>
37692         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37693         since we manipulate rounding mode.
37694         (CPPFLAGS-test-idouble.c): Likewise.
37695         (CPPFLAGS-test-ifloat.c): Likewise.
37696         (CFLAGS-test-ldouble.c): Likewise.
37697         (CFLAGS-test-double.c): Likewise.
37698         (CFLAGS-test-float.c): Likewise.
37699         (CFLAGS-test-misc.c): Likewise.
37700         (CFLAGS-test-test-fenv.c): Likewise.
37702 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37704         [BZ #2550]
37705         [BZ #2570]
37706         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37707         comparisons to determine direction to adjust input.
37709 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37711         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37712         output to the target.
37714         * scripts/localplt.awk: New file.
37715         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37716         (check-localplt-CFLAGS): Variable removed.
37717         ($(all-built-dso:=.jmprel)): New static pattern rule.
37718         (generated): Add those targets.
37719         (localplt-built-dso): New variable.
37720         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37722         * elf/check-localplt.c: File removed.
37724         * scripts/check-execstack.awk: New file.
37725         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37726         (check-execstack-CFLAGS): Variable removed.
37727         ($(objpfx)check-execstack.h): Target removed.
37728         ($(objpfx)execstack-default): New target.
37729         (generated): Add that instead of check-execstack.h.
37730         ($(all-built-dso:=.phdr)): New static pattern rule.
37731         (generated): Add those targets.
37732         * elf/check-execstack.c: File removed.
37734         * scripts/check-textrel.awk: New file.
37735         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37736         (check-textrel-CFLAGS): Variable removed.
37737         (all-built-dso): Use := to define.o
37738         ($(all-built-dso:=.dyn)): New static pattern rule.
37739         (generated): Add those targets.
37740         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37741         * config.make.in (READELF): New substituted variable.
37742         * elf/check-textrel.c: File removed.
37744 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37746         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37747         allow.
37748         * conform/data/ctype.h-data [C99-based standards] (isblank):
37749         Expect function.
37750         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37751         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37753         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37754         Specify type.  Require positive value.
37755         (EILSEQ): Likewise.
37756         (ERANGE): Likewise.
37757         [ISO || POSIX] (EILSEQ): Do not expect.
37758         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37759         Specify type.  Require positive value.
37760         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37761         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37762         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37763         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37764         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37765         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37766         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37767         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37768         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37769         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37770         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37771         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37773         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37774         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37775         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37776         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37777         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37778         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37779         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37780         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37782         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37786         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37787         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37788         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37789         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37792         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37793         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37794         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37795         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37796         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37797         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37798         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37799         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37800         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37801         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37802         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37803         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37804         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37805         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37806         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37807         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37808         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37809         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37810         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37811         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37812         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37813         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37814         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37815         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37816         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37817         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37818         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37819         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37820         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37821         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37824         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37825         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37826         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37827         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37828         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37829         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37830         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37831         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37832         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37833         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37834         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37835         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37836         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37837         Require >= 2.
37838         (FLT_ROUNDS): Expect as macro, not constant.
37839         (FLT_MANT_DIG): Use macro-int-constant.
37840         (DBL_MANT_DIG): Likewise.
37841         (LDBL_MANT_DIG): Likewise.
37842         (FLT_DIG): Likewise.
37843         (DBL_DIG): Likewise.
37844         (LDBL_DIG): Likewise.
37845         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37846         (DBL_MIN_EXP): Likewise.
37847         (LDBL_MIN_EXP): Likewise.
37848         (FLT_MAX_EXP): Use macro-int-constant.
37849         (DBL_MAX_EXP): Likewise.
37850         (LDBL_MAX_EXP): Likewise.
37851         (FLT_MAX_10_EXP): Likewise.
37852         (DBL_MAX_10_EXP): Likewise.
37853         (LDBL_MAX_10_EXP): Likewise.
37854         (FLT_MAX): Use macro-constant.
37855         (DBL_MAX): Likewise.
37856         (LDBL_MAX): Likewise.
37857         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37858         (DBL_EPSILON): Likewise.
37859         (LDBL_EPSILON): Likewise.
37860         (FLT_MIN): Likewise.
37861         (DBL_MIN): Likewise.
37862         (LDBL_MIN): Likewise.
37863         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37864         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37865         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37866         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37867         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37868         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37869         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37870         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37871         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37872         [ISO11] (FLT_TRUE_MIN): Likewise.
37873         [ISO11] (LDBL_TRUE_MIN): Likewise.
37874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37875         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37876         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37877         (SCHAR_MAX): Likewise.
37878         (UCHAR_MAX): Likewise.
37879         (CHAR_MIN): Likewise.
37880         (CHAR_MAX): Likewise.
37881         (MB_LEN_MAX): Use macro-int-constant.
37882         (SHRT_MIN): Use macro-int-constant.  Specify type.
37883         (SHRT_MAX): Likewise.
37884         (USHRT_MAX): Likewise.
37885         (INT_MAX): Likewise.
37886         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37887         bound negative.
37888         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37889         bound with "U".
37890         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37891         bound with "L".
37892         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37893         bound negative.  Suffix upper bound with "L".
37894         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37895         bound with "UL".
37896         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37897         Specify type.
37898         [C99-based standards] (LLONG_MAX): Likewise.
37899         [C99-based standards] (ULLONG_MAX): Likewise.
37900         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37901         == 0.
37902         [ISO11] (max_align_t): Require type.
37903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37905         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37906         from $CFLAGS, without defining away __attribute__ calls.
37907         (checknamespace): Use $CFLAGS_namespace.
37909         * conform/conformtest.pl (@keywords): Only include C99 keywords
37910         for standards based on C99 or C11.
37912         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37913         Disable tests.
37914         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37915         UNIX98]: Likewise.
37917         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37918         usability of symbols in #if.
37920         * conform/conformtest.pl: If macro or constant types start
37921         "promoted:", expect the symbol to be of the following type
37922         promoted by the integer promotions.
37924         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37925         in one place.  Also handle "macro-constant".
37927         * conform/conformtest.pl: Only accept expected macro values with
37928         "==".  Parse all "macro" lines in one place.
37929         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37931         * conform/conformtest.pl: Handle braced types on "constant" lines
37932         instead of handling "typed-constant".
37933         * conform/data/signal.h-data: Use "constant" instead of
37934         "typed-constant".
37936         * conform/conformtest.pl: Handle "optional-" at start of lines in
37937         one place rather than duplicating several cases.  Handle each
37938         format of "macro" line with initial "optional-".
37940         * conform/conformtest.pl: Only accept expected constant or
37941         optional-constant values with "==".  Parse all "constant" lines in
37942         one place.  Parse all "optional-constant" lines in one place.
37943         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37944         * conform/data/fmtmsg.h-data: Likewise.
37945         * conform/data/netinet/in.h-data: Likewise.
37946         * conform/data/tar.h-data: Likewise.
37947         * conform/data/limits.h-data: Use "==" form on "constant" and
37948         "optional-constant" lines.
37950         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37951         Use -std=c99 for XOPEN2K.
37952         (@knownproblems): Remove.
37953         (newtoken): Don't check %isknown.
37955         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37956         Do not expect macro.
37957         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37960         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37961         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37964         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37965         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37966         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37967         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37968         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37969         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37970         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37971         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37972         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37975         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37976         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37984         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37985         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37986         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37987         [XPG3] (acosh): Likewise.
37988         [XPG3] (asinh): Likewise.
37989         [XPG3] (atanh): Likewise.
37990         [XPG3] (cbrt): Likewise.
37991         [XPG3] (expm1): Likewise.
37992         [XPG3] (ilogb): Likewise.
37993         [XPG3] (log1p): Likewise.
37994         [XPG3] (logb): Likewise.
37995         [XPG3] (nextafter): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37998         [XPG3] (remainder): Likewise.
37999         [XPG3] (rint): Likewise.
38000         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38007         [UNIX98 || XOPEN2K] (scalb): Expect.
38008         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38009         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38012         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38013         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38031         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38032         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38033         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38034         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38035         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38036         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38037         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38038         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38041         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38042         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38043         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38044         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38045         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38046         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38047         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38048         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38049         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38050         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38051         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38052         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38054         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38055         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38063         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38064         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38065         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38080         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38081         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38098         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38099         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38100         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38101         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38102         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38103         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38104         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38105         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38106         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38109         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38110         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38118         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38119         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38122         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38123         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38124         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38125         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38126         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38127         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38128         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38129         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38130         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38131         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38132         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38133         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38134         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38135         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38136         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38137         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38138         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38139         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38140         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38141         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38142         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38143         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38144         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38146         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38147         _XOPEN_SOURCE_EXTENDED for XPG4.
38149         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38151         * Makeconfig (localtime): Remove variable.
38152         (inst_localtime-file): Likewise.
38154 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38157         Update.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38159         Update.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38161         Update.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38163         Update.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38165         Update.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38167         Update.
38168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38169         Update.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38171         Update.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38173         Update.
38175 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38177         [BZ #2550]
38178         [BZ #2570]
38179         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38180         comparisons to determine direction to adjust input.
38181         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38182         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38183         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38184         Likewise.
38185         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38186         Likewise.
38187         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38188         Likewise.
38189         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38190         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38191         Likewise.
38192         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38193         Likewise.
38194         * math/libm-test.inc (nexttoward_test): Add more tests.
38196 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38198         [BZ #14040]
38199         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38200         in version GLIBC_2.1, not GLIBC_2.0.
38201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38202         Likewise.
38204 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38206         [BZ #13942]
38207         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38208         (1 - x) * (1 + x).
38209         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38210         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38211         * math/libm-test.inc (acos_test): Add more tests.
38212         (asin_test): Likewise.
38213         * sysdeps/i386/fpu/libm-test-ulps: Update.
38214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38216         [BZ #14034]
38217         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38218         of square root.
38219         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38220         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38221         * math/libm-test.inc (acos_test_tonearest): New function.
38222         (acos_test_towardzero): Likewise.
38223         (acos_test_downward): Likewise.
38224         (acos_test_upward): Likewise.
38225         (asin_test_tonearest): Likewise.
38226         (asin_test_towardzero): Likewise.
38227         (asin_test_downward): Likewise.
38228         (asin_test_upward): Likewise.
38229         (main): Call the new functions.
38230         * sysdeps/i386/fpu/libm-test-ulps: Update.
38231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38233         [BZ #13884]
38234         [BZ #13924]
38235         * math/e_exp10.c: Include <float.h>.
38236         (__ieee754_exp10): Handle underflow here rather than multiplying
38237         large negative argument by M_LN10.
38238         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38239         of __ieee754_expf.
38240         * math/e_exp10l.c: Include <float.h>.
38241         (__ieee754_exp10l): Handle underflow here rather than multiplying
38242         large negative argument by M_LN10l.
38243         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38244         spurious overflow exception on underflow.
38246 2012-04-29  Marek Polacek  <polacek@redhat.com>
38248         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38249         (__fortify_function): New macro.
38250         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38251         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38252         __extern_always_inline.
38253         * libio/bits/stdio2.h: Likewise.
38254         * libio/bits/stdio.h: Likewise.
38255         * string/string.h: Likewise.
38256         * string/bits/string3.h: Likewise.
38257         * include/stdio.h: Likewise.
38258         * stdlib/bits/stdlib.h: Likewise.
38259         * stdlib/stdlib.h: Likewise.
38260         * rt/bits/mqueue2.h: Likewise.
38261         * rt/mqueue.h: Likewise.
38262         * posix/bits/unistd.h: Likewise.
38263         * posix/unistd.h: Likewise.
38264         * io/bits/poll2.h: Likewise.
38265         * io/bits/fcntl2.h: Likewise.
38266         * io/fcntl.h: Likewise.
38267         * io/sys/poll.h: Likewise.
38268         * misc/bits/syslog.h: Likewise.
38269         * misc/bits/syslog-ldbl.h: Likewise.
38270         * misc/sys/syslog.h: Likewise.
38271         * socket/bits/socket2.h: Likewise.
38272         * socket/sys/socket.h: Likewise.
38273         * debug/tst-chk1.c: Likewise.
38274         * wcsmbs/bits/wchar2.h: Likewise.
38275         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38276         * wcsmbs/wchar.h: Likewise.
38278 2012-04-29  Andreas Jaeger  <aj@suse.de>
38280         * Makerules (tests): Remove enable-check-abi protection.
38281         (check-abi-warn): Remove.
38282         (check-abi-%): Remove check-abi-warn usage.
38284         * configure.in: Remove check-abi configure option.
38285         * configure: Regenerated.
38286         * config.make.in (enable-check-abi): Remove.
38288 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38290         [BZ #14033]
38291         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38292         double functions to double *_finite functions.
38294         [BZ #13941]
38295         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38296         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38297         LDBL_MIN_EXP.
38298         * stdio-common/Makefile (tests): Add tst-sprintf3.
38299         * stdio-common/tst-sprintf3.c: New file.
38301         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38302         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38304 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38306         * conform/conformtest.pl: Remove duplicate typed-constant
38307         handling.
38309 2012-04-28  David S. Miller  <davem@davemloft.net>
38311         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38312         (check-abi-%): Remove AWK script prerequisite and explicit
38313         abilist directory.
38314         (check-abi): Rewrite to just diff the symlist with the abilist.
38315         (config-tls, config-abi-config): Delete, no longer used.
38316         (update-abi-%): Remove AWK script and explicit abilist directory.
38317         (update-abi): Rewrite to simply compare and conditionally copy the
38318         symlist and the sysdep abilist file.  Remove update-abi-config
38319         checks.
38320         * abilist/ld.abilist: Remove.
38321         * abilist/libBrokenLocale.abilist: Remove.
38322         * abilist/libanl.abilist: Remove.
38323         * abilist/libcrypt.abilist: Remove.
38324         * abilist/libdl.abilist: Remove.
38325         * abilist/librt.abilist: Remove.
38326         * abilist/libthread_db.abilist: Remove.
38327         * abilist/libutil.abilist: Remove.
38328         * scripts/extract-abilist.awk: Remove.
38329         * scripts/merge-abilist.awk: Remove.
38330         * sysdeps/generic/libcidn.abilist: New file.
38331         * sysdeps/generic/libnss_compat.abilist: New file.
38332         * sysdeps/generic/libnss_db.abilist: New file.
38333         * sysdeps/generic/libnss_dns.abilist: New file.
38334         * sysdeps/generic/libnss_files.abilist: New file.
38335         * sysdeps/generic/libnss_hesiod.abilist: New file.
38336         * sysdeps/generic/libnss_nis.abilist: New file.
38337         * sysdeps/generic/libnss_nisplus.abilist: New file.
38338         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38339         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38340         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38341         file.
38342         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38343         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38344         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38345         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38346         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38347         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38348         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38349         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38350         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38351         file.
38352         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38353         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38354         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38355         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38356         file.
38357         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38358         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38359         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38360         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38361         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38362         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38363         file.
38364         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38365         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38366         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38367         file.
38368         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38370         New file.
38371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38372         New file.
38373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38374         New file.
38375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38376         New file.
38377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38378         New file.
38379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38380         New file.
38381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38382         New file.
38383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38384         New file.
38385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38386         New file.
38387         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38388         New file.
38389         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38390         New file.
38391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38392         New file.
38393         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38394         New file.
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38396         file.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38398         New file.
38399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38400         New file.
38401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38402         file.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38404         New file.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38406         New file.
38407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38408         file.
38409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38410         New file.
38411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38412         New file.
38413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38414         New file.
38415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38416         New file.
38417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38418         New file.
38419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38420         New file.
38421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38423         file.
38424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38425         New file.
38426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38427         file.
38428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38429         file.
38430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38431         file.
38432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38433         file.
38434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38435         file.
38436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38437         New file.
38438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38439         file.
38440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38441         file.
38442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38443         New file.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38445         file.
38446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38448         file.
38449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38450         New file.
38451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38452         file.
38453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38454         file.
38455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38456         file.
38457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38458         file.
38459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38460         file.
38461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38462         New file.
38463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38464         file.
38465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38466         file.
38467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38468         New file.
38469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38470         file.
38471         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38472         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38473         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38474         file.
38475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38476         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38477         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38478         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38479         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38480         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38481         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38482         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38483         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38484         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38487         file.
38488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38489         New file.
38490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38491         file.
38492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38493         file.
38494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38495         file.
38496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38497         file.
38498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38499         file.
38500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38501         New file.
38502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38503         New file.
38504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38505         file.
38506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38507         New file.
38508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38509         file.
38510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38512         file.
38513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38514         New file.
38515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38516         file.
38517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38518         file.
38519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38520         file.
38521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38522         file.
38523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38524         file.
38525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38526         New file.
38527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38528         New file.
38529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38530         file.
38531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38532         New file.
38533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38534         file.
38536 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38538         * conform/conformtest.pl: Fix typo in handling typed-constant from
38539         allow-header.
38541 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38543         * README: Cut down references to pre-2.6 Linux kernels and
38544         Linuxthreads.  Update lists of configurations in libc and ports
38545         and sort alphabetically.  Say "or newer" with Linux kernel version
38546         requirements.
38548         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38550 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38552         [BZ #887]
38553         * math/libm-test.inc (logb_test_downward): New test to expose
38554         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38555         rounding mode.
38557 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38559         [BZ #14027]
38560         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38561         to be done.
38562         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38563         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38565 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38567         * sysdeps/unix/i386/brk.S: Remove file.
38568         * sysdeps/unix/i386/dl-brk.S: Likewise.
38569         * sysdeps/unix/i386/pipe.S: Likewise.
38570         * sysdeps/unix/i386/sigreturn.S: Likewise.
38571         * sysdeps/unix/i386/syscall.S: Likewise.
38572         * sysdeps/unix/i386/vfork.S: Likewise.
38573         * sysdeps/unix/i386/wait.S: Likewise.
38575         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38576         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38578         * configure.in (arm*-none*): Do not allow without
38579         --enable-hacker-mode.
38580         (netbsd*): Remove case setting base_os.
38581         (386bsd*): Likewise.
38582         (freebsd*): Likewise.
38583         (bsdi*): Likewise.
38584         (osf*): Likewise.
38585         (sunos*): Likewise.
38586         (ultrix*): Likewise.
38587         (newsos*): Likewise.
38588         (dynix*): Likewise.
38589         (*bsd*): Likewise.
38590         (sysv*): Likewise.
38591         (isc*): Likewise.
38592         (esix*): Likewise.
38593         (sco*): Likewise.
38594         (minix*): Likewise.
38595         (irix4*): Likewise.
38596         (irix6*): Likewise.
38597         (solaris[2-9]*): Likewise.
38598         (none): Likewise.
38599         * configure: Regenerated.
38601 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38603         [BZ #11521]
38604         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38605         overflow or cancellation in calculating denominator.
38606         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38607         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38608         down expression to avoid unexpected rounding in newer GCCs.
38609         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38611 2012-04-26  David S. Miller  <davem@davemloft.net>
38613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38614         long-double compat symbols.
38615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38629 2012-04-25  David S. Miller  <davem@davemloft.net>
38631         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38632         HWCAP_* values only after the memory barriers have been defined.
38633         (atomic_full_barrier): Define.
38634         (atomic_read_barrier): Define.
38635         (atomic_write_barrier): Define.
38637 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38639         * shlib-versions: Add libgcc_s version information.
38640         * sysdeps/generic/libgcc_s.h: Remove.
38641         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38642         libgcc_s.h.
38643         * sysdeps/gnu/unwind-resume.c: Likewise.
38644         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38646 2012-04-25  David S. Miller  <davem@davemloft.net>
38648         * sysdeps/unix/sparc/brk.S: Delete.
38649         * sysdeps/unix/sparc/dl-brk.S: Delete.
38650         * sysdeps/unix/sparc/pipe.S: Delete.
38651         * sysdeps/unix/sparc/sysdep.S: Delete.
38652         * sysdeps/unix/sparc/sysdep.h: Delete.
38653         * sysdeps/unix/sparc/vfork.S: Delete.
38654         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38655         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38656         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38657         (ret_ERRVAL, r0, r1, MOVE): Define.
38658         (JUMPTARGET): Remove.
38659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38660         sysdeps/unix/sparc/sysdep.h
38661         (ENTRY, END): Remove.
38662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38664 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38666         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38667         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38668         -DIS_IN_build.
38670         * timezone/README: Update upstream location and email address for
38671         tzcode and tzdata.
38672         * timezone/zdump.c: Update from tzcode 2012b.
38673         * timezone/zic.c: Likewise.
38675         * configure.in (libc_cv_as_needed): Remove test.
38676         * configure: Regenerated.
38677         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38678         conditional definition.
38679         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38680         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38681         * config.make.in (have-as-needed): Remove variable.
38683 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38684             Paul Pluzhnikov  <ppluzhnikov@google.com>
38686         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38687         strings correctly.
38689 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38691         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38692         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38693         * sysdeps/sh/strlen.S: Likewise.
38695 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38697         * sysdeps/unix/fork.S: Remove file.
38698         * sysdeps/unix/i386/fork.S: Likewise.
38699         * sysdeps/unix/sparc/fork.S: Likewise.
38701         * sysdeps/unix/system.c: Remove file.
38702         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38704         * sysdeps/unix/getegid.S: Remove file.
38705         * sysdeps/unix/geteuid.S: Likewise.
38707 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38709         * scripts/check-localplt.awk: New file.
38710         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38711         of diff.
38712         * scripts/data/localplt-generic.data: Add a comment.
38714         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38715         NODE when __dir_mkfile failed.
38716         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38717         Reported by Ludovic Courtès <ludo@gnu.org>.
38719 2012-04-24  Andreas Jaeger  <aj@suse.de>
38721         * Makerules (common-clean): Also remove gen-as-const-headers
38722         files.
38724 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38726         * Makerules (native-compile): Do not change working directory for
38727         build.  Use $(OUTPUT_OPTION) in command.
38728         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38730 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38732         [BZ #13886]
38733         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38734         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38735         * math/libm-test.inc (floor_test): Add more tests.
38736         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38738 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38740         * sysdeps/unix/getdents.c: Remove file.
38741         * sysdeps/unix/sysv/getdents.c: Likewise.
38742         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38744         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38745         sysdeps/unix/mman/syscalls.list.
38746         (mmap): Likewise.
38747         (mprotect): Likewise.
38748         (msync): Likewise.
38749         (munmap): Likewise.
38750         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38751         * sysdeps/unix/mman/syscalls.list: Remove.
38752         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38754         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38755         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38756         * configure: Regenerated.
38757         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38758         $(libgcc_s_suffix).
38759         * config.make.in (libgcc_s_suffix): Remove variable.
38761 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38763         * sysdeps/unix/sysv/gethostname.c: Move to ...
38764         * sysdeps/posix/gethostname.c: ... here.
38766         * sysdeps/unix/execve.S: Remove file.
38768         * sysdeps/unix/_exit.S: Remove file.
38770 2012-04-23  Andreas Jaeger  <aj@suse.de>
38772         [BZ #13739]
38773         * manual/Makefile: Remove make dist support, there's no
38774         need for a stand-alone documentation tar ball.
38775         (TEXI2DVI): Define always, it's not in Makeconfig.
38776         (dist): Removed.
38777         (tar-it): Removed.
38778         (edition): Removed.
38779         (glibc-doc-$(edition).tar): Removed
38780         (%.Z): Removed.
38781         (%.gz): Removed.
38782         (%.uu): Removed.
38783         (ETAGS): Remove, it's in Makeconfig.
38784         (move-if-change): Remove, it's in Makeconfig.
38786 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38788         [BZ #13970]
38789         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38790         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38791         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38792         (strtod_l, strtof_l, strtold_l): Remove __wur.
38793         It is not necessarily an error to ignore strtol's return value.
38794         One can reliably look at the stored endptr to decide whether
38795         the number had valid syntax.
38797 2012-04-21  Andreas Jaeger  <aj@suse.de>
38799         [BZ #13739]
38800         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38802 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38804         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38805         * sysdeps/unix/sysv/Versions: Remove file.
38807 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38809         [BZ #13927]
38810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38812 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38814         [BZ #7064]
38815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38816         version from __vm86.
38818 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38820         * sysdeps/unix/common/lxstat.c: Remove file.
38821         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38823         * sysdeps/unix/sysv/Makefile: Remove file.
38825         * sysdeps/unix/sysv/direct.h: Remove file.
38827         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38828         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38829         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38830         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38831         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38832         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38833         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38835         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38837         * sysdeps/unix/xmknod.c: Remove file.
38838         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38840         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38842         * sysdeps/unix/sysv/i386/time.S: Remove file.
38844         * sysdeps/unix/fxstat.c: Remove file.
38845         * sysdeps/unix/xstat.c: Likewise.
38846         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38848         * sysdeps/unix/sysv/sigaction.c: Remove file.
38850         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38851         (sysdep_headers): Remove variable.
38852         [termio.h not in sysdep_headers] (generated): Likewise.
38853         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38854         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38855         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38856         * sysdeps/unix/sysv/tcflow.c: Likewise.
38857         * sysdeps/unix/sysv/tcflush.c: Likewise.
38858         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38859         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38860         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38861         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38862         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38864         * sysdeps/unix/siglist.c: Remove file.
38866         * sysdeps/unix/getppid.S: Remove file.
38868         * sysdeps/unix/mkdir.c: Remove file.
38869         * sysdeps/unix/rmdir.c: Likewise.
38871 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38873         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38874         ERR_MAX value.
38875         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38876         errlist-compat value.
38878 2012-04-18  David S. Miller  <davem@davemloft.net>
38880         * sysdeps/generic/memcopy.h (reg_char): Delete.
38881         * debug/strcat_chk.c: Use char, not reg_char.
38882         * debug/strcpy_chk.c: Likewise.
38883         * debug/strncat_chk.c: Likewise.
38884         * debug/strncpy_chk.c: Likewise.
38885         * string/memchr.c: Likewise.
38886         * string/memrchr.c: Likewise.
38887         * string/rawmemchr.c: Likewise.
38888         * string/strcat.c: Likewise.
38889         * string/strchr.c: Likewise.
38890         * string/strchrnul.c: Likewise.
38891         * string/strcmp.c: Likewise.
38892         * string/strcpy.c: Likewise.
38893         * string/strncat.c: Likewise.
38894         * string/strncmp.c: Likewise.
38895         * string/strncpy.c: Likewise.
38897 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38899         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38900         __builtin_memcopy is called when src and dest ranges are known to not
38901         overlap.
38903 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38905         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38906         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38907         fwd_align_merge macro call.
38908         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38909         bwd_align_merge macro call.
38910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38912 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38915         bwd_align_merge macros.
38916         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38917         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38918         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38920 2012-04-18  David S. Miller  <davem@davemloft.net>
38922         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38924 2012-04-18  Andreas Jaeger  <aj@suse.de>
38926         [BZ# 6794]
38927         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38928         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38929         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38931         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38932         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38933         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38935         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38936         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38937         Adjust for changed ldbl-128 files.
38939         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38940         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38941         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38943 2012-04-17  David S. Miller  <davem@davemloft.net>
38945         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38947 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38949         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38950         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38951         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38952         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38953         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38954         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38956 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38958         [BZ #6794]
38959         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38960         * math/libm-test.inc: Add ilogb errno and exception tests.
38961         * math/w_ilogb.c: New file: ilogb wrapper.
38962         * math/w_ilogbf.c: New file: ilogbf wrapper.
38963         * math/w_ilogbl.c: New file: ilogbl wrapper.
38964         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38965         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38966         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38967         exception being thrown with 0.0 as argument.
38968         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38969         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38970         exception being thrown with 0.0 as argument.
38971         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38972         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38973         exception being thrown with 0.0 as argument.
38974         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38975         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38976         exception being thrown with 0.0 as argument.
38977         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38978         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38979         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38980         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38981         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38982         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38983         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38984         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38985         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38987 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38989         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38990         with altivec.
38992 2012-04-16  Marek Polacek  <polacek@redhat.com>
38994         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38996 2012-04-16  Marek Polacek  <polacek@redhat.com>
38998         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38999         operands of fdivp instruction.
39001 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39003         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39004         * elf/tst-auditmod3b.c: Likewise.
39005         * elf/tst-auditmod4b.c: Likewise.
39006         * elf/tst-auditmod5b.c: Likewise.
39007         * elf/tst-auditmod6b.c: Likewise.
39008         * elf/tst-auditmod6c.c: Likewise.
39009         * elf/tst-auditmod7b.c: Likewise.
39010         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39011         * sysdeps/x86_64/preconfigure.in: Likewise.
39012         * sysdeps/x86_64/preconfigure: Regenerated.
39014 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39016         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39017         __ILP32__.
39019 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39021         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39022         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39024 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39026         [BZ #13973]
39027         * locale/iso-639.def: Fix gl language name. Spotted by
39028         Yaron Shahrabani.
39030 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39032         [BZ #2074]
39033         * libio/libio.h (__io_write_fn): Update comment.
39035 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39037         [BZ #2074]
39038         * stdio.texi (Hook Functions): The user provided writer function
39039         is not allowed to return -1.
39041 2012-04-11  David S. Miller  <davem@davemloft.net>
39043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39045 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39047         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39048         Add a leading slash to rtkaio.
39050 2012-04-11  Jim Meyering  <meyering@redhat.com>
39052         [BZ #11959]
39053         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39054         It is not necessarily an error to ignore fwrite's return
39055         value.  One can reliably use ferror to test for errors after
39056         the fact.
39058 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39060         * bits/types.h (__snseconds_t): New type.
39061         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39063         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39064         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39065         (__SNSECONDS_T_TYPE): Likewise.
39066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39067         (__SNSECONDS_T_TYPE): Likewise.
39068         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39069         (__SNSECONDS_T_TYPE): Likewise.
39071 2012-04-10  Andreas Jaeger  <aj@suse.de>
39073         [BZ #2636]
39074         * manual/time.texi (Processor Time): Return type of times is
39075         elapsed real time since an arbitrary point in the past.
39076         (CPU Time): Move CLK_TCK from here...
39077         (Processor Time): ...to here.  Correct description.
39078         * manual/conf.texi (Constants for Sysconf): Correct description of
39079         _SC_CLK_TCK.
39081 2012-04-10  David S. Miller  <davem@davemloft.net>
39083         [BZ #13967]
39084         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39085         where the is a gap between DT_REL(A) and DT_JMPREL.
39087 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39089         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39090         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39091         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39093 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39095         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39096         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39097         (dl_main): Handle --inhibit-cache.
39098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39099         _dl_inhibit_cache.
39100         * elf/dl-load.c (_dl_map_object): Use it.
39101         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39103 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39105         [BZ #13872]
39106         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39107         (__ieee754_powl): Saturate large exponents rather than testing for
39108         overflow of y*log2(x).
39109         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39110         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39111         exceptions.
39113         [BZ #11521]
39114         * math/s_ctan.c: Include <float.h>.
39115         (__ctan): Avoid internal overflow or cancellation in calculating
39116         denominator.
39117         * math/s_ctanf.c: Likewise.
39118         * math/s_ctanl.c: Likewise.
39119         * math/s_ctanh.c: Likewise.
39120         * math/s_ctanhf.c: Likewise.
39121         * math/s_ctanhl.c: Likewise.
39122         * math/libm-test.inc (ctan_test): Add more tests.
39123         (ctanh_test): Likewise.
39124         * sysdeps/i386/fpu/libm-test-ulps: Update.
39125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39127 2012-04-09  Andreas Jaeger  <aj@suse.de>
39129         [BZ #6894]
39130         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39131         is an optional BSD extension.
39133         [BZ #10254]
39134         * manual/stdio.texi (Opening Streams): Document additional fopen
39135         parameters.
39137 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39139         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39140         %eax without telling the compiler.
39142 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39144         [BZ # 13963]
39145         * manual/install.texi: Use sourceware.org.
39147 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39149         [BZ #13873]
39150         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39151         (__ieee754_pow): Generate overflow and underflow using huge*huge
39152         and tiny*tiny rather than just returning constant infinity or zero
39153         for large exponents.
39154         * math/libm-test.inc (pow_test): Require overflow exceptions for
39155         applicable cases of large exponents.
39157         [BZ #706]
39158         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39159         (__ieee754_pow): Use iterative multiplication algorithm only for
39160         integer exponents with absolute value below 1024.  Check for odd
39161         integer exponents when using algorithm for real exponents.
39162         * math/libm-test.inc (pow_test): Add more tests.
39163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39165 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39167         [BZ #13705]
39168         * math/libm-test.inc (exp_test): Do not allow overflow exception
39169         on underflow test.
39171 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39173         [BZ #13705]
39174         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39175         instead of __kernel_standard_f.
39177 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39179         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39180         * sysdeps/x86_64/memset_chk.S: Likewise.
39182 2012-04-08  Andreas Jaeger  <aj@suse.de>
39184         [BZ #10153]
39185         * manual/startup.texi (Environment Access): Describe return value
39186         for putenv and setenv.
39188         [BZ #6895]
39189         * manual/filesys.texi (Directory Entries): Add description for
39190         DT_LNK.
39192         [BZ #6890]
39193         * manual/filesys.texi (Directory Entries): Clarify that it's file
39194         system not operating system in the description of DT_UNKNOWN.
39196         [BZ #6578]
39197         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39199 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39201         [BZ #6649]
39202         * manual/llio.texi (Opening and Closing Files): Add cross
39203         reference to explain mode argument.
39205 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39207         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39208         * sysdeps/x86_64/memset_chk.S: Likewise.
39210 2012-04-07  David S. Miller  <davem@davemloft.net>
39212         * elf/elf.h (R_SPARC_WDISP10): Define.
39213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39214         R_SPARC_SIZE32.
39215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39216         R_SPARC_SIZE64 and R_SPARC_H34.
39218 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39220         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39221         conditions and remove no longer applicable assertion.
39223 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39225         * bits/byteswap.h: Include <features.h>.
39226         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39227         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39229 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39231         * bits/byteswap.h (__bswap_16): Removed.
39232         Include <bits/byteswap-16.h> to get __bswap_16.
39233         * sysdeps/i386/bits/byteswap.h: Likewise.
39234         * sysdeps/s390/bits/byteswap.h: Likewise.
39235         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39236         * bits/byteswap-16.h: New file.
39237         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39238         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39239         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39240         * string/Makefile (headers): Add bits/byteswap-16.h.
39242 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39244         [BZ #13895]
39245         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39246         extra indirection.
39247         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39248         * nss/tst-nss-static.c: New.
39250 2012-04-06  Robert Millan  <rmh@gnu.org>
39252         [BZ #6486]
39253         * manual/llio.texi (File Position Primitive): lseek
39254         refers to WHENCE when it really means OFFSET.
39256 2012-04-06  Andreas Jaeger  <aj@suse.de>
39258         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39259         strncmp declarations.
39261         * abilist/libc.abilist: Add __poll and __ppoll.
39263 2012-04-05  David S. Miller  <davem@davemloft.net>
39265         * scripts/check-local-headers.sh: Accept a host triplet in the
39266         path matched by the exclude regexp.
39268         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39269         definition.
39270         * sysdeps/powerpc/powerpc32/dl-machine.h
39271         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39272         * sysdeps/s390/s390-32/dl-machine.h
39273         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39274         * sysdeps/sparc/sparc32/dl-machine.h
39275         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39276         * sysdeps/sparc/sparc64/dl-machine.h
39277         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39279         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39280         lazy binding.
39281         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39282         undefined symbol errors.
39284         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39285         DT_NEEDED entries.
39287 2012-04-05  Michael Matz  <matz@suse.de>
39289         [BZ #13592]
39290         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39292 2012-04-05  Andreas Jaeger  <aj@suse.de>
39294         [BZ #13908]
39295         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39296         comment.
39298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39300         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39301         which ROUND is no valid rounding mode.
39303 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39305         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39306         read again.
39307         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39309 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39311         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39312         an exception using FPU order intentionally.
39314 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39316         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39317         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39318         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39319         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39321 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39323         [BZ #12340]
39324         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39325         EINVAL when BUFLEN is too smal.
39327 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39329         [BZ #13553]
39330         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39331         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39333 2012-04-03  Andreas Jaeger  <aj@suse.de>
39335         [BZ #13938]
39336         * manual/setjmp.texi (System V contexts): Fix sentence.
39338         [BZ #13926]
39339         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39340         New macro for this case.
39341         [!__GNUC__] (__bswap_64): New inline function for this case.
39342         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39343         * bits/byteswap.h: Likewise.
39344         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39345         ull, guard with __GLIBC_HAVE_LONG_LONG.
39347         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39348         __GLIBC_HAVE_LONG_LONG.
39350         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39351         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39353 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39355         [BZ #13691]
39356         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39357         inptr and inend, rather than using last_ch.
39359 2012-04-02  David S. Miller  <davem@davemloft.net>
39361         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39362         * stdio-common/printf-parse.h (read_int): Change return type to
39363         'int', return -1 on INT_MAX overflow.
39364         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39365         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39366         overflows INT_MAX.  Check for overflow of in-format-string precision
39367         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39368         SIZE_MAX not INT_MAX for integer overflow test.
39369         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39370         skip the construct in the format string but do not record anything.
39371         * stdio-common/bug22.c: Adjust to test both width/prevision
39372         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39373         explicitly for proper errno values.
39375 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39377         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39378         CHAR_MAX.
39379         * string/test-strcmp.c [! WIDE]: Likewise.
39380         * time/tst-mktime2.c: Likewise for INT_MAX.
39381         * string/test-string.h: #include <sys/param.h> for MIN.
39383         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39384         * sysdeps/i386/init-first.c (init): Likewise.
39385         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39386         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39387         * sysdeps/sh/init-first.c (init): Likewise.
39389 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39391         * po/ru.po: Update from translation team.
39392         * po/vi.po: Likewise.
39394 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         * resolv/nss_dns/dns-host.c: Merge copyright years.
39398 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39400         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39401         Optimize memcpy with prefetch if
39402         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39403         src, dst pointers have unequal 16 byte alignments.
39405 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39407         [BZ #13928]
39408         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39409         from a CNAME entry and return the minimum ttl for the query.
39410         (gaih_getanswer_slice): Likewise.
39412 2012-03-30  Jeff Law  <law@redhat.com>
39414         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39415         due to long keys.
39416         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39417         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39419         * resolv/nss_dns/dns-host.c: Update copyright year.
39421 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39423         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39424         requests to save a system call.  Fix check that all bytes are sent.
39426         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39427         comments for sendmmsg.
39429 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39431         [BZ #13691]
39432         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39433         with only 1 character between 0x0041 and 0x01b0.
39434         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39435         * wcsmbs/tst-mbsnrtowcs.c: New file.
39437 2012-03-29  David S. Miller  <davem@davemloft.net>
39439         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39440         small copies by hand.
39442 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39444         [BZ #13761]
39445         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39446         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39447         group memberships.
39449 2012-03-28  David S. Miller  <davem@davemloft.net>
39451         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39452         that branches into memcpy.
39453         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39455         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39456         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39458         bits.
39459         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39460         implementation too.
39461         * sysdeps/sparc/mempcpy.S: New file.
39463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39464         the IFUNC routine in the libc case.
39465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39467         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39468         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39469         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39470         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39471         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39472         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39473         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39474         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39476         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39477         loop to 256 bytes instead of 64 bytes and fix test signedness.
39479         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39480         * sysdeps/sparc/sparc32/Makefile: rather than here...
39481         * sysdeps/sparc/sparc64/Makefile: and here.
39483 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39485         * malloc/mallocbug.c: Avoid warnings about unused variables.
39487 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39489         [BZ #13760]
39490         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39491         in the right place. Discard and retry query if response is
39492         larger than input buffer size.
39494 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39496         [BZ #369]
39497         [BZ #2678]
39498         [BZ #3866]
39499         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39500         x for large integer exponent.
39501         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39502         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39503         sign of result as needed afterwards.
39504         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39505         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39506         result for underflowing pow the same as for overflow.
39507         (__kernel_standard_l): Handle powl overflow and underflow here
39508         rather than calling __kernel_standard.
39509         * math/libm-test.inc (pow_test): Add more tests.
39511         [BZ #3868]
39512         [BZ #13879]
39513         [BZ #13910]
39514         [BZ #13911]
39515         [BZ #13912]
39516         [BZ #13913]
39517         [BZ #13915]
39518         [BZ #13916]
39519         [BZ #13917]
39520         [BZ #13918]
39521         [BZ #13919]
39522         [BZ #13920]
39523         [BZ #13921]
39524         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39525         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39526         (__kernel_standard_l): New function.
39527         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39528         __kernel_standard.
39529         * math/w_acosl.c (__acosl): Likewise.
39530         * math/w_asinl.c (__asinl): Likewise.
39531         * math/w_atan2l.c (__atan2l): Likewise.
39532         * math/w_atanhl.c (__atanhl): Likewise.
39533         * math/w_coshl.c (__coshl): Likewise.
39534         * math/w_exp10l.c (__exp10l): Likewise.
39535         * math/w_exp2l.c (__exp2l): Likewise.
39536         * math/w_fmodl.c (__fmodl): Likewise.
39537         * math/w_hypotl.c (__hypotl): Likewise.
39538         * math/w_j0l.c (__j0l, __y0l): Likewise.
39539         * math/w_j1l.c (__j1l, __y1l): Likewise.
39540         * math/w_jnl.c (__jnl, __ynl): Likewise.
39541         * math/w_lgammal.c (__lgammal): Likewise.
39542         * math/w_log10l.c (__log10l): Likewise.
39543         * math/w_log2l.c (__log2l): Likewise.
39544         * math/w_logl.c (__logl): Likewise.
39545         * math/w_powl.c (__powl): Likewise.
39546         * math/w_remainderl.c (__remainderl): Likewise.
39547         * math/w_scalbl.c (sysv_scalbl): Likewise.
39548         * math/w_sinhl.c (__sinhl): Likewise.
39549         * math/w_sqrtl.c (__sqrtl): Likewise.
39550         * math/w_tgammal.c (__tgammal): Likewise.
39551         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39552         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39553         * math/libm-test.inc (acos_test): Add more tests.
39554         (acosh_test): Likewise.
39555         (asin_test): Likewise.
39556         (atanh_test): Likewise.
39557         (exp_test): Likewise.
39558         (exp10_test): Likewise.
39559         (exp2_test): Likewise.
39560         (expm1_test): Likewise.
39561         (lgamma_test): Likewise.
39562         (log_test): Likewise.
39563         (log10_test): Likewise.
39564         (log1p_test): Likewise.
39565         (log2_test): Likewise.
39566         (pow_test): Do not allow some spurious overflow exceptions.
39567         (sqrt_test): Add more tests.
39568         (tgamma_test): Likewise.
39569         (y0_test): Likewise.
39570         (y1_test): Likewise.
39571         (yn_test): Likewise.
39573 2012-03-27  Anton Blanchard  <anton@samba.org>
39575         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39576         MAP_HUGETLB.
39577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39578         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39581 2012-03-27  David S. Miller  <davem@davemloft.net>
39583         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39585         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39586         have-as-vis3 check.
39588 2012-03-27  Andreas Jaeger  <aj@suse.de>
39590         * sysdeps/x86_64/elf/configure.in: Moved to ...
39591         * sysdeps/x86_64/configure.in: ... here.
39592         * sysdeps/x86_64/elf/start.S: Moved to ...
39593         * sysdeps/x86_64/start.S: ... here.
39594         * sysdeps/x86_64/elf/configure: Delete.
39596         * sysdeps/x86_64/configure.in: Merge contents from
39597         sysdeps/i386/configure.in (without i686 check).
39599         * sysdeps/i386/elf/Versions: Merge into ...
39600         * sysdeps/i386/Versions: ... this.
39601         * sysdeps/i386/elf/Versions: Delete file.
39602         * sysdeps/i386/elf/start.S: Moved to ...
39603         * sysdeps/i386/start.S: ...here.
39604         * sysdeps/i386/elf/configure.in: Merge into...
39605         * sysdeps/i386/configure.in: ...here.
39606         * sysdeps/i386/elf/configure.in: Delete file.
39607         * sysdeps/i386/elf/configure: Delete file.
39609         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39610         * debug/backtracesyms.c: ... here.
39611         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39612         * debug/backtracesymsfd.c: ... here.
39613         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39614         * sysdeps/generic/ifunc-sel.h: ... here.
39616         * sysdeps/unix/i386/start.c: Delete file.
39617         * sysdeps/unix/sparc/start.c: Delete file.
39618         * sysdeps/unix/start.c: Delete file.
39620         * sysdeps/sh/elf/configure.in: Moved to ...
39621         * sysdeps/sh/configure.in: ... here.
39622         * sysdeps/sh/elf/start.S: Moved to ...
39623         * sysdeps/sh/start.S: ... here.
39624         * sysdeps/sh/elf/configure: Delete file.
39626         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39627         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39628         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39629         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39630         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39631         * sysdeps/powerpc/powerpc64/start.S: here.
39632         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39633         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39634         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39635         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39636         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39638         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39639         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39640         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39641         * sysdeps/powerpc/powerpc32/start.S: ... here.
39642         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39643         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39644         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39646         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39647         * sysdeps/powerpc/ifunc-sel.h: ... here.
39648         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39649         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39651         * sysdeps/sparc/elf/configure.in: Moved to ...
39652         * sysdeps/sparc/configure.in: ... here.
39653         * sysdeps/sparc/elf/configure: Delete file.
39654         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39655         * sysdeps/sparc/sparc32/start.S: ... here.
39656         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39657         * sysdeps/sparc/sparc64/start.S: ... here.
39658         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39659         * sysdeps/sparc/sparc32/Makefile: ... this.
39660         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39661         * sysdeps/sparc/sparc64/Makefile: ... this.
39663         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39664         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39665         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39666         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39667         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39668         * sysdeps/s390/s390-32/setjmp.S: ... here.
39669         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39670         * sysdeps/s390/s390-32/configure.in: ... here.
39671         * sysdeps/s390/s390-32/elf/configure: Delete file.
39672         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39673         * sysdeps/s390/s390-32/start.S: ... here.
39675         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39676         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39677         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39678         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39679         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39680         * sysdeps/s390/s390-64/setjmp.S: ... here.
39681         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39682         * sysdeps/s390/s390-64/configure.in: ... here
39683         * sysdeps/s390/s390-64/elf/configure: Delete file.
39684         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39685         * sysdeps/s390/s390-64/start.S: ... here.
39686         * sysdeps/s390/s390-64/elf/configure: Delete.
39688         * configure.in: Remove support for elf directories in sysdeps.
39690         * configure: Regenerated.
39691         * sysdeps/i386/configure: Regenerated.
39692         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39693         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39694         * sysdeps/s390/s390-32/configure: Regenerated.
39695         * sysdeps/s390/s390-64/configure: Regenerated.
39696         * sysdeps/sh/configure: Regenerated.
39697         * sysdeps/sparc/configure: Regenerated.
39698         * sysdeps/x86_64/configure: Regenerated.
39700 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39704         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39705         denormal result into account.
39707 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39709         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39710         Reported by Allan McRae <allan@archlinux.org>.
39712 2012-03-23  Jeff Law  <law@redhat.com>
39714         * nss/getnssent.c (__nss_getent): Fix typo.
39716 2012-03-23  David S. Miller  <davem@davemloft.net>
39718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39720 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39722         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39723         to pad to uint64_t for each field.
39724         (dl_tls_index): Replace unsigned long with uint64_t.
39726 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39727         Paul Pluzhnikov  <ppluzhnikov@google.com>
39729         [BZ #6528]
39730         * grp/Makefile (otherlibs): Don't set it.
39731         * inet/Makefile (otherlibs): Likewise.
39732         * login/Makefile (otherlibs): Likewise.
39733         * nscd/Makefile (otherlibs): Likewise.
39734         * posix/Makefile (otherlibs): Likewise.
39735         * pwd/Makefile (otherlibs): Likewise.
39736         * rt/Makefile (otherlibs): Likewise.
39737         * sunrpc/Makefile (otherlibs): Likewise.
39738         * nss/Makefile (otherlibs): Likewise.
39739         Add libnss_files to routines and static-only-routines.
39740         ($(objpfx)getent): Remove rule.
39741         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39742         static-only-routines.
39744 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39746         [BZ #13892]
39747         * math/s_cexp.c: Include <float.h>.
39748         (__cexp): Handle exp result overflowing not necessarily
39749         overflowing both real and imaginary parts of result.
39750         * math/s_cexpf.c: Likewise.
39751         * math/s_cexpl.c: Likewise.
39752         * math/libm-test.inc (cexp_test): Add more tests.
39753         * sysdeps/i386/fpu/libm-test-ulps: Update.
39754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39756 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39758         * include/link.h (ELFW): New macro.
39759         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39760         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39762 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39764         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39765         with uint64_t.
39767 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39769         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39770         declaration.
39771         (struct La_x32_retval): Likewise.
39773 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39775         * sysdeps/x86_64/preconfigure.in: New file.
39776         * sysdeps/x86_64/preconfigure: New generated file.
39778 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39780         [BZ #13824]
39781         * math/e_exp2l.c: Include <float.h>.
39782         (__ieee754_exp2l): Handle overflow and underflow cases
39783         separately.  Only pass fractional part of argument to
39784         __ieee754_expl.
39785         * math/libm-test.inc (exp2_test): Add more tests.
39787         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39788         negating x to take absolute value.
39789         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39790         Likewise.
39791         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39792         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39793         Likewise.
39794         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39795         computing low part if x was negated.
39796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39798 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39800         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39801         la_x32_gnu_pltexit.
39802         (pltexit): Cast int_retval to ptrdiff_t.
39803         * elf/tst-auditmod3b.c: Likewise.
39804         * elf/tst-auditmod4b.c: Likewise.
39805         * elf/tst-auditmod5b.c: Likewise.
39806         * elf/tst-auditmod6b.c: Likewise.
39807         * elf/tst-auditmod6c.c: Likewise.
39808         * elf/tst-auditmod7b.c: Likewise.
39810         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39811         and x32_gnu_pltexit.
39813         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39814         __ELF_NATIVE_CLASS.
39815         (La_x32_regs): New macro.
39816         (La_x32_retval): Likewise.
39817         (la_x32_gnu_pltenter): New function prototype.
39818         (la_x32_gnu_pltexit): Likewise.
39820 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39822         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39823         exponent.
39825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39827         * configure.in (libc_cv_cc_nofma): Check for option to disable
39828         generation of FMA instructions.
39829         * configure: Regenerate.
39830         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39831         * sysdeps/ieee754/dbl-64/Makefile: New file.
39832         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39833         Remove brandred-fma4.
39834         (CFLAGS-brandred-fma4.c): Remove.
39835         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39836         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39837         define.
39838         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39839         define.
39841 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39843         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39844         LLONG_MAX != LONG_MAX.
39845         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39846         (_fitoa_word): Likewise.
39847         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39848         LLONG_MAX != LONG_MAX.
39849         * stdio-common/_itowa.h: Include <_itoa.h>.
39850         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39851         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39852         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39853         only if not defined.
39854         (_ITOA_WORD_TYPE): Likewise.
39855         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39856         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39858 2012-03-21  David S. Miller  <davem@davemloft.net>
39860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39862 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39864         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39865         of x86_64 when setting libc_cv_slibdir, libdir and
39866         libc_cv_localedir.
39867         * sysdeps/unix/sysv/linux/configure: Regenerated.
39869 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39871         * manual/lang.texi (Old Varargs): Remove section.
39872         (How Variadic): Update menu.
39873         (va_start): Do not mention varargs.h.
39875 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39876             Joseph Myers  <joseph@codesourcery.com>
39878         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39879         link test.
39880         * configure: Regenerated.
39882 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39884         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39885         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39886         conformtest.pl
39888 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39890         * NOTES: Remove.
39891         * Makefile (files-for-dist): Remove NOTES.
39892         (NOTES): Remove rule.
39893         * README: Don't refer to NOTES.
39894         * manual/creature.texi: Don't include macros.texi.
39895         * manual/intro.texi (creature.texi): Remove comment referring to
39896         NOTES.
39898         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39899         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39900         * configure: Regenerated.
39901         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39902         LIBC_TRY_CC_OPTION.
39903         (libc_cv_as_i686): Likewise.
39904         (libc_cv_cc_avx): Likewise.
39905         (libc_cv_cc_sse2avx): Likewise.
39906         (libc_cv_cc_fma4): Likewise.
39907         (libc_cv_cc_novzeroupper): Likewise.
39908         * sysdeps/i386/configure: Regenerated.
39910         [BZ #13883]
39911         * sysdeps/i386/fpu/s_cexp.S: Remove.
39912         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39913         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39914         * math/libm-test.inc (cexp_test): Add more tests.
39915         * sysdeps/i386/fpu/libm-test-ulps: Update.
39916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39918 2012-03-21  Allan McRae  <allan@archlinux.org>
39920         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39922 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39924         [BZ #13871]
39925         * math/w_exp2.c: Do not include <float.h>.
39926         (o_threshold, u_threshold): Remove.
39927         (__exp2): Calculate result before checking finiteness and calling
39928         __kernel_standard.
39929         * math/w_exp2f.c: Likewise.
39930         * math/w_exp2l.c: Likewise.
39931         * math/libm-test.inc (exp2_test): Require overflow exception for
39932         1e6 input.
39934         [BZ #3866]
39935         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39936         range of signed 64-bit integers before using fistpll.  Remove
39937         checks for whether integers fit in mantissa bits.
39938         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39939         the range of signed 32-bit integers before using fistpl.  Remove
39940         checks for whether integers fit in mantissa bits.
39941         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39942         (__ieee754_powl): Test for y outside the range of signed 64-bit
39943         integers before using fistpll.  Reduce 64-bit values to 63-bit
39944         ones as needed.
39945         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39946         divide-by-zero is raised for zero to large negative powers.
39947         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39948         (__ieee754_powl): Test for y outside the range of signed 64-bit
39949         integers before using fistpll.  Reduce 64-bit values to 63-bit
39950         ones as needed.
39951         * math/libm-test.inc (pow_test): Add more tests.
39953 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39955         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39956         <stdio-common/_itoa.h>.
39957         * debug/segfault.c: Likewise.
39958         * elf/dl-cache.c: Likewise.
39959         * elf/dl-minimal.c: Likewise.
39960         * elf/dl-misc.c: Likewise.
39961         * elf/dl-sysdep.c: Likewise.
39962         * elf/dl-version.c: Likewise.
39963         * elf/rtld.c: Likewise.
39964         * hurd/hurdsock.c: Likewise.
39965         * hurd/lookup-retry.c: Likewise.
39966         * malloc/malloc.c: Likewise.
39967         * malloc/mtrace.c: Likewise.
39968         * nscd/nscd_getgr_r.c: Likewise.
39969         * nscd/nscd_getpw_r.c: Likewise.
39970         * nscd/nscd_getserv_r.c: Likewise.
39971         * posix/getopt_init.c: Likewise.
39972         * posix/wordexp.c: Likewise.
39973         * stdio-common/_itoa.c: Likewise.
39974         * stdio-common/printf_fphex.c: Likewise.
39975         * stdio-common/vfprintf.c: Likewise.
39976         * string/_strerror.c: Likewise.
39977         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39978         * sysdeps/i386/i686/hp-timing.h: Likewise.
39979         * sysdeps/mach/_strerror.c: Likewise.
39980         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39981         * sysdeps/mach/hurd/sethostid.c: Likewise.
39982         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39983         * sysdeps/mach/xpg-strerror.c: Likewise.
39984         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39986         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39987         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39988         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39989         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39991         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39992         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39993         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39994         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39995         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39996         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39997         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39998         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39999         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40000         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40001         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40002         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40003         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40004         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40006         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40008         * stdio-common/_itoa.h: Moved to ...
40009         * sysdeps/generic/_itoa.h: Here.
40011         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40013         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40014         instead of "_itoa.h" and "_itowa.h".
40015         * stdio-common/vfprintf.: Likewise.
40017 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40019         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40020         <bits/wordsize.h>.
40021         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40022         (__signbit): Likwise.
40023         (llrintf): Likwise.
40024         (llrint): Likwise.
40026 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40028         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40029         __WORDSIZE != 64.
40031 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40033         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40034         OVERFLOW_EXCEPTION_OK.
40035         * math/libm-test.inc ("Philosophy"): Update comment about
40036         exception testing.
40037         (OVERFLOW_EXCEPTION): Define.
40038         (OVERFLOW_EXCEPTION_OK): Likewise.
40039         (INVALID_EXCEPTION_OK): Renumber.
40040         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40041         (IGNORE_ZERO_INF_SIGN): Likewise.
40042         (test_exceptions): Handle FE_OVERFLOW.
40043         (exp10_test): Expect overflow exceptions.
40044         (exp2_test): Likewise.
40045         (expm1_test): Likewise.
40046         (nextafter_test): Likewise.
40047         (pow_test): Likewise.
40048         (scalbn_test): Likewise.
40049         (scalbln_test): Likewise.
40051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40053         * sysdeps/x86_64/bits/atomic.h
40054         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40055         64bit integer.
40056         (atomic_exchange_acq): Likewise.
40057         (__arch_exchange_and_add_body): Likewise.
40058         (__arch_add_body): Likewise.
40059         (atomic_add_negative): Likewise.
40060         (atomic_add_zero): Likewise.
40062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40064         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40065         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40069         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40070         Check __x86_64__ instead of __WORDSIZE.
40072 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40074         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40076 2012-03-19  David S. Miller  <davem@davemloft.net>
40078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40080         * sysdeps/sparc/fpu/fenv_private.h: New file.
40081         * sysdeps/sparc/fpu/math_private.h: Use it.
40082         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40083         Remove.
40084         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40085         (libc_feholdexcept_setroundl): Remove.
40086         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40087         Remove.
40088         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40089         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40091 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40093         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40094         int64_t instead of long int.
40095         (INSERT_WORDS64): Likwise.
40097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40099         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40100         _Unwind_GetCFA return to _Unwind_Ptr first.
40102 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40104         [BZ #13629]
40105         * math/s_clog.c: Include <float.h>.
40106         (__clog): Scale large or subnormal inputs.
40107         * math/s_clogf.c: Likewise.
40108         * math/s_clogl.c: Likewise.
40109         * math/s_clog10.c: Include <float.h>.
40110         (M_LOG10_2): Define.
40111         (__clog10): Scale large or subnormal inputs.
40112         * math/s_clog10f.c: Likewise.
40113         * math/s_clog10l.c: Likewise.
40114         * math/libm-test.inc (clog_test): Add more tests.
40115         (clog10_test): Likewise.
40116         * sysdeps/i386/fpu/libm-test-ulps: Update.
40117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40119         [BZ #11451]
40120         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40121         x and y.
40122         * math/libm-test.inc (atan2_test): Add another test.
40124         * Makerules (common-objdir-compile): Remove.
40125         * sysdeps/unix/Makefile (config-generated): Do not add
40126         $(unix-generated) to variable.
40127         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40128         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40129         Remove rule.
40130         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40131         Likewise.
40132         [generic bits/local_lim.h] (before-compile): Do not append to
40133         variable.
40134         [generic bits/local_lim.h] (common-generated): Likewise.
40135         [generic sys/param.h] (before-compile): Do not append to variable.
40136         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40137         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40138         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40139         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40140         include.
40141         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40142         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40143         [generic sys/param.h] ($(addprefix
40144         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40145         [generic sys/param.h] (common-generated): Do not append to
40146         variable.
40147         [generic sys/param.h] (sysdep_headers): Likewise.
40148         [generic bits/errno.h] (before-compile): Do not append to
40149         variable.
40150         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40151         rule.
40152         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40153         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40154         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40155         [generic bits/errno.h] (common-generated): Do not append to
40156         variable.
40157         [generic bits/ioctls.h] (before-compile): Do not append to
40158         variable.
40159         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40160         rule.
40161         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40162         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40163         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40164         rule.
40165         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40166         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40167         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40168         [generic bits/ioctls.h] (common-generated): Do not append to
40169         variable.
40170         [generic sys/syscall.h] (syscall.h): Remove variable.
40171         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40172         rule.
40173         [generic sys/syscall.h] (before-compile): Do not append to
40174         variable.
40175         [generic sys/syscall.h] (common-generated): Likewise.
40176         * sysdeps/unix/errnos-tmpl.c: Remove file.
40177         * sysdeps/unix/errnos.awk: Likewise.
40178         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40179         * sysdeps/unix/ioctls.awk: Likewise.
40180         * sysdeps/unix/mk-local_lim.c: Likewise.
40181         * sysdeps/unix/snarf-ioctls: Likewise.
40183 2012-03-19  Richard Henderson  <rth@twiddle.net>
40185         * sysdeps/i386/fpu/fenv_private.h: New file.
40186         * sysdeps/i386/fpu/math_private.h: Use it.
40187         (math_opt_barrier, math_force_eval): Remove.
40188         (libc_feholdexcept_setround_53bit): Remove.
40189         (libc_feupdateenv_53bit): Remove.
40190         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40191         (math_opt_barrier, math_force_eval): Remove.
40192         (libc_feholdexcept): Remove.
40193         (libc_feholdexcept_setround): Remove.
40194         (libc_fetestexcept, libc_fesetenv): Remove.
40195         (libc_feupdateenv_test): Remove.
40196         (libc_feupdateenv, libc_feholdsetround): Remove.
40197         (libc_feresetround): Remove.
40199         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40200         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40202         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40203         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40204         (libc_feupdateenv_testl): New.
40205         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40206         (libc_feupdateenv_testf): New.
40207         (libc_feupdateenv): Use libc_feupdateenv_test.
40208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40211         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40212         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40213         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40214         (libc_feresetround_noex): New.
40215         (libc_feresetround_noexf): New.
40216         (libc_feresetround_noexl): New.
40217         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40218         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40219         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40220         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40221         SET_RESTORE_ROUND.
40222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40224         (__cos): Likewise.
40225         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40227         SET_RESTORE_ROUND_NOEX.
40228         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40229         SET_RESTORE_ROUND_NOEXF.
40230         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40231         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40232         (libc_feholdsetroundf): New.
40233         (libc_feresetround, libc_feresetroundf): New.
40235         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40236         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40237         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40239         * sysdeps/generic/math_private.h: Include <fenv.h>.
40240         (default_libc_feholdexcept): New.
40241         (default_libc_feholdexcept_setround): New.
40242         (default_libc_fesetenv, default_libc_feupdateenv): New.
40243         (libc_feholdexcept): Only define if undefined.
40244         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40245         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40246         (libc_feholdexcept_setroundl): Likewise.
40247         (libc_feholdexcept_setround_53bit): Likewise.
40248         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40249         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40250         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40251         (libc_feupdateenv_53bit): Likewise.
40252         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40253         (libc_feholdexcept): Convert from macro to inline function.
40254         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40255         (libc_fesetenv, libc_feupdateenv): Likewise.
40257         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40258         not previously defined.
40259         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40260         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40261         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40262         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40263         * sysdeps/ieee754/flt-32/math_private.h: New file.
40264         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40265         math_private.h below SET_FLOAT_WORD.
40266         (__isnan, __isinf_ns, __finite): Remove.
40267         (__isnanf, __isinf_nsf, __finitef): Remove.
40269 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40273 2012-03-17  David S. Miller  <davem@davemloft.net>
40275         [BZ #6471]
40276         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40277         for 2.16.
40279 2012-03-16  David S. Miller  <davem@davemloft.net>
40281         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40282         warnings.
40284         [BZ #6471]
40285         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40286         properly.
40287         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40288         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40289         sysdep_routines when subdir is sysvipc.
40290         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40291         __getshmlba helper.
40293         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40297         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40298         [__LP64__].
40300 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40302         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40303         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40304         (__lround): Renamed to ...
40305         (__llround): This.  Replace long int with long long int.
40306         Define lround functions as aliases of llround functions.
40307         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40311         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40312         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40313         adresses to uintptr_t.  Replace "long int" and "unsigned long
40314         int" with "greg_t" on va_arg.
40316 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40318         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40319         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40321         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40322         Move e_machine check before EI_CLASS check.  Handle x32
40323         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40324         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40325         SKIP_EM_IA_64 and include
40326         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40328         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40329         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40330         (add_system_dir): New macro.
40332         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40333         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40335 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40337         [BZ #2551]
40338         [BZ #2552]
40339         [BZ #2553]
40340         [BZ #2554]
40341         [BZ #2562]
40342         [BZ #2563]
40343         [BZ #2565]
40344         [BZ #2566]
40345         [BZ #2576]
40346         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40347         (y0): Likewise.
40348         * math/w_j0f.c (j0f): Likewise.
40349         (y0f): Likewise.
40350         * math/w_j0l.c (__j0l): Likewise.
40351         (__y0l): Likewise.
40352         * math/w_j1.c (j1): Likewise.
40353         (y1): Likewise.
40354         * math/w_j1f.c (j1f): Likewise.
40355         (y1f): Likewise.
40356         * math/w_j1l.c (__j1l): Likewise.
40357         (__y1l): Likewise.
40358         * math/w_jn.c (jn): Likewise.
40359         (yn): Likewise.
40360         * math/w_jnf.c (jnf): Likewise.
40361         (ynf): Likewise.
40362         * math/w_jnl.c (__jnl): Likewise.
40363         (__ynl): Likewise.
40364         * math/libm-test.inc (j0_test): Add more tests.
40365         (j1_test): Likewise.
40366         (jn_test): Likewise.  Add trailing semicolon to existing test.
40367         (y0_test): Likewise.
40368         (y1_test): Likewise.
40369         * sysdeps/i386/fpu/libm-test-ulps: Update.
40370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40372         [BZ #13851]
40373         [BZ #13854]
40374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40375         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40376         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40377         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40378         (__tanl): Set errno for infinite argument.
40379         * sysdeps/i386/fpu/mptan.c: Remove.
40380         * sysdeps/i386/fpu/s_tan.S: Likewise.
40381         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40382         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40383         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40384         * math/libm-test.inc (tan_test): Add more tests and enable more
40385         tests for double and long double.
40386         * sysdeps/i386/fpu/libm-test-ulps: Update.
40387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40389 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40391         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40392         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40394 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40396         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40397         * configure.in: Use it for both main tree and add-ons.
40398         * configure: Regenerated.
40400 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40402         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40404 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40406         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40407         in comment.
40409         [BZ #13851]
40410         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40411         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40412         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40413         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40414         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40415         infinite argument.
40416         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40418         != 0 for prec == 2.
40419         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40420         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40421         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40422         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40423         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40424         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40425         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40426         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40427         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40428         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40429         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40430         * math/libm-test.inc (cos_test): Add more tests and enable more
40431         tests for long double.
40432         (sin_test): Likewise.
40433         (sincos_test): Likewise.
40434         * sysdeps/i386/fpu/libm-test-ulps: Update.
40435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40437 2012-03-16  David S. Miller  <davem@davemloft.net>
40439         * sysdeps/sparc/fpu/math_private.h: New file.
40441 2012-03-15  David S. Miller  <davem@davemloft.net>
40443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40444         file.
40445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40447         file.
40448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40453         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40454         sysdep routines.
40455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40457         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40458         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40460         * sysdeps/sparc/sparc-ifunc.h: New file.
40461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40462         sparc-ifunc.h
40463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40465         Likewise.
40466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40467         Likewise.
40468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40472         Likewise.
40473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40478         Likewise.
40479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40480         Likewise.
40481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40499         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40501         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40502         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40506 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40508         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40509         scaling.
40510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40512 2012-03-15  Andreas Jaeger  <aj@suse.de>
40514         [BZ #13852]
40515         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40516         ieee754/flt-32 implementation for sin, cos and sincos.
40517         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40518         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40519         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40520         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40521         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40522         ieee754/flt-32 implementation for tan.
40524         * math/libm-test.inc (cos_test): Enable some large input tests for
40525         float as well
40526         (sin_test): Likewise.
40527         (sincos_test): Likewise.
40528         (tan_test): Add tests for large input.
40530         * sysdeps/i386/fpu/libm-test-ulps: Update.
40532 2012-03-15  Andreas Jaeger  <aj@suse.de>
40534         [BZ #13658]
40535         * math/libm-test.inc (cos_test): Add more test cases.
40536         (sin_test): Likewise.
40537         (sincos_test): Likewise.
40539 2012-03-15  Andreas Jaeger  <aj@suse.de>
40541         [BZ #13837]
40542         * math/libm-test.inc (cos_test): Add a test case for large input
40543         value.
40544         (sin_test): Likewise.
40545         (sincos_test): Likewise.
40547 2012-03-15  Andreas Jaeger  <aj@suse.de>
40548             Joseph Myers  <joseph@codesourcery.com>
40550         [BZ #13658]
40551         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40552         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40553         * sysdeps/i386/fpu/branred.c: Likewise.
40554         * sysdeps/i386/fpu/dosincos.c: Likewise.
40555         * sysdeps/i386/fpu/mpa.c: Likewise.
40556         * sysdeps/i386/fpu/s_cos.S: Likewise.
40557         * sysdeps/i386/fpu/s_sin.S: Likewise.
40558         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40559         * sysdeps/i386/fpu/sincos32.c: Likewise.
40561         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40562         Define.
40563         (libc_feupdateenv_53bit): Define.
40564         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40565         Define.
40566         (libc_feupdateenv_53bit): Define.
40568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40569         53 bit (without extend i386 double precision).
40571         * math/libm-test.inc (sincos_test): Add tests for large input.
40572         (sin): Likewise.
40573         (cos): Likewise.
40575         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40577 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40581 2012-03-15  David S. Miller  <davem@davemloft.net>
40583         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40584         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40585         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40586         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40599         file.
40600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40602         file.
40603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40605         file.
40606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40608         file.
40609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40610         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40611         fmin/fmax sysdep routines.
40612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40614 2012-03-14  David S. Miller  <davem@davemloft.net>
40616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40620         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40621         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40622         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40623         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40633         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40634         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40635         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40636         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40637         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40638         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40639         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40640         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40641         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40642         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40643         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40644         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40645         routines.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40647         file.
40648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40650         file.
40651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40653         file.
40654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40656         file.
40657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40659         file.
40660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40662         file.
40663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40664         file.
40665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40666         file.
40667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40668         file.
40669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40670         New file.
40671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40672         file.
40673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40674         file.
40675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40677         file.
40678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40680         file.
40681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40683         file.
40684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40686         VIS3 routines.
40688         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40689         New file.
40691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40693         * sysdeps/sparc/configure.in: New file.
40694         * sysdeps/sparc/configure: Generate.
40695         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40696         * configure: Regenerate.
40697         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40698         * config.make.in (have-as-vis3): New.
40699         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40700         available use -Av9d instead of -Av9a.
40701         * sysdeps/sparc/sparc64/Makefile: Likewise.
40702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40704         New file.
40705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40706         file.
40707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40708         New file.
40709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40710         file.
40711         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40714         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40715         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40717         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40718         fzeros/fnegs to load 0x80000000 into a float register instead of
40719         using the stack.
40720         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40722 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40725         bits/syscall.h.
40726         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40727         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40728         ($(inst_includedir)/bits/syscall.h): Remove rule.
40729         ($(objpfx)bits/syscall.d): Include instead of
40730         $(objpfx)syscall-list.d.
40731         (generated): Change syscall-list.h and syscall-list.d to
40732         bits/syscall.h and bits/syscall.d.
40734 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40736         [BZ #13846]
40737         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40739 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40741         [BZ #13841]
40742         * math/s_csqrt.c: Include <float.h>.
40743         (__csqrt): Scale large or subnormal inputs.
40744         * math/s_csqrtf.c: Likewise.
40745         * math/s_csqrtl.c: Likewise.
40746         * math/libm-test.inc (csqrt_test): Add more tests.
40747         * sysdeps/i386/fpu/libm-test-ulps: Update.
40748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40750         [BZ #13840]
40751         * math/libm-test.inc (hypot_test): Add more tests.
40753 2012-03-13  David S. Miller  <davem@davemloft.net>
40755         [BZ #13840]
40756         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40757         double-precision for the calculation instead of scaling.
40759 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40761         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40762         manipulate bits before adding and subtracting TWO52[sx].
40763         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40764         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40765         Likewise.
40766         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40768 2012-03-13  David S. Miller  <davem@davemloft.net>
40770         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40771         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40773         rtld-global-offsets.h
40774         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40776         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40777         large parameters.
40779         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40781         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40782         'err' in the ifdef scope in which it is actually used.
40784         * nss/nss_db/db-init.c: Include string.h
40786 2012-03-12  David S. Miller  <davem@davemloft.net>
40788         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40789         masking out of the most significant byte of random value used.
40790         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40791         Fix coding style in previous change.
40793         * sysdeps/unix/sysv/linux/kernel-features.h
40794         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40795         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40796         expression.
40797         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40798         later.
40800 2012-03-11  David S. Miller  <davem@davemloft.net>
40802         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40803         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40805         for 'resultvar' otherwise things get truncated on 64-bit.
40807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40808         Fix masking out of the most significant byte of random value used.
40810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40812 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40816 2012-03-09  David S. Miller  <davem@davemloft.net>
40818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40819         variables with appropriate CPP guards.
40820         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40821         from the frame pointer, not the stack pointer.  Correct layout
40822         comments.  Fix test on resulting framesize and the management of
40823         the outregs buffer for pltexit.  Preserve floating point return
40824         values across _dl_call_pltexit call.
40825         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40826         framesize and the management of the outregs buffer for pltexit.
40827         Preserve floating point return values across _dl_call_pltexit
40828         call.
40829         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40830         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40831         (la_sparc64_gnu_pltexit): New functions.
40832         (print_exit): Fix format string for return register value.
40834 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40836         * sunrpc/Makefile (others): Add rpcgen.
40837         ($(objpfx)rpcgen): Remove special build rule and dependency on
40838         libc.
40839         * sunrpc/rpcgen.c: New file.
40841 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40843         [BZ #13673]
40844         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40845         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40846         * sysdeps/i386/crti.S: Likewise.
40847         * sysdeps/i386/crtn.S: Likewise.
40848         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40849         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40850         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40851         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40852         * sysdeps/sh/crti.S: Likewise.
40853         * sysdeps/sh/crtn.S: Likewise.
40854         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40856         [BZ #13673]
40857         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40858         with URL.
40859         * locale/programs/locfile-kw.gperf: Likewise.
40860         * locale/programs/charmap-kw.h: Regenerated.
40861         * locale/programs/locfile-kw.h: Likewise.
40863         [BZ #13673]
40864         * intl/plural.y: Replace FSF snail mail address with URL.
40865         * intl/plural.c: Regenerated.
40867 2012-03-09  Richard Henderson  <rth@twiddle.net>
40869         * include/math_private.h: Remove file.
40870         * math/math_private.h: Move file ...
40871         * sysdeps/generic/math_private.h: ... here.
40873         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40874         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40875         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40877         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40878         and <math_private.h>.
40879         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40880         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40881         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40882         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40883         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40921         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40930         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40931         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40933         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40948         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40950         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40953         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40957         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40962         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40965         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40966         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40967         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40968         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40969         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40970         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40972         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40973         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40974         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40975         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40976         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40977         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40979         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40980         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40981         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40982         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40983         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40984         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40985         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40991         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40992         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40993         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40995         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40996         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40997         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40998         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40999         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41000         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41001         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41002         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41003         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41004         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41006         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41007         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41008         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41009         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41010         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41011         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41012         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41013         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41014         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41015         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41016         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41017         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41018         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41019         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41020         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41021         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41022         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41023         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41024         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41025         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41026         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41027         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41028         * sysdeps/ieee754/k_standard.c: Likewise.
41029         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41122         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41133         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41134         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41135         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41136         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41140         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41144         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41148         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41149         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41151         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41152         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41153         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41154         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41158         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41161         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41163         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41165         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41166         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41167         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41174         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41175         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41178         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41179         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41180         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41182         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41183         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41184         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41185         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41186         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41187         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41189         * sysdeps/ieee754/s_lib_version.c: Likewise.
41190         * sysdeps/ieee754/s_matherr.c: Likewise.
41191         * sysdeps/ieee754/s_signgam.c: Likewise.
41192         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41193         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41194         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41195         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41196         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41197         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41198         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41199         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41200         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41201         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41202         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41203         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41204         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41205         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41206         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41207         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41208         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41209         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41210         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41214 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41216         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41217         * sunrpc/rpc_main.c: Likewise.
41218         * sunrpc/rpc_svcout.c: Likewise.
41220 2012-03-09  David S. Miller  <davem@davemloft.net>
41222         * include/math_private.h: New file.
41224 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41226         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41227         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41228         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41229         from <bits/socket_type.h>.
41230         (enum __socket_type): Don't define here.
41231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41233         bits/socket_type.h.
41235         [BZ #13566]
41236         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41237         checking __USE_GNU.
41239         * Makerules ($(inst_includedir)/%.h): New rule.
41240         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41241         (install-others): Remove variable setting.
41242         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41244 2012-03-08  Richard Henderson  <rth@twiddle.net>
41246         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41247         from macro to inline function; merge with the
41248         !__LIBC_INTERNAL_MATH_INLINES version.
41249         (__ieee754_sqrtf): Likewise.
41251         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41252         to inline function.
41253         (__rintf, __floor, __floorf): Likewise.
41255         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41256         macro to inline function.
41257         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41260         not <math/math_private.h>.
41262 2012-03-08  David S. Miller  <davem@davemloft.net>
41264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41265         copyright year.
41266         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41268 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41270         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41271         normalization.
41272         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41273         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41275 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41277         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41278         be defined individually, they must be defined as a block.  Define
41279         S for printing a string instead of hidint the different by using a
41280         macro for adding the 'l'.
41281         * stdio-common/tst-fphex-wide.c: Adjust.
41283 2012-03-07  Marek Polacek  <polacek@redhat.com>
41285         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41287 2012-03-08  Marek Polacek  <polacek@redhat.com>
41289         [BZ #13806]
41290         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41291         * stdio-common/tst-fphex.c: Define a few macros to make the
41292         test reusable.  Use them.
41293         * stdio-common/tst-fphex-wide.c: New file.
41295 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41297         [BZ #6911]
41298         * manual/macros.texi (gnusystems): New macro.
41299         (nongnusystems): Likewise.
41300         (gnulinuxhurdsystems): Likewise.
41301         (gnuhurdsystems): Likewise..
41302         (gnulinuxsystems): Likewise.
41303         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41304         variants of the GNU system, not "GNU system".
41305         * manual/conf.texi: Likewise.
41306         * manual/errno.texi: Likewise.  Update example of errno macro
41307         expansion.
41308         * manual/filesys.texi: Likewise.
41309         (getumask): Document as specific to GNU/Hurd.
41310         * manual/install.texi: Likewise.  Reword some references to
41311         GNU/Linux.
41312         * manual/intro.texi: Likewise.
41313         * manual/io.texi: Likewise.
41314         (File Name Portability): Detail which constraints are inapplicable
41315         to all GNU systems and which are only inapplicable to GNU/Hurd.
41316         * manual/job.texi: Likewise.
41317         * manual/llio.texi: Likewise.
41318         (O_NOCTTY): Document as present on GNU/Linux.
41319         * manual/maint.texi: Likewise.
41320         * manual/memory.texi: Likewise.
41321         * manual/pattern.texi: Likewise.
41322         * manual/pipe.texi: Likewise.
41323         * manual/process.texi: Likewise.
41324         * manual/resource.texi: Likewise.
41325         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41326         child on GNU/Hurd.
41327         * manual/setjmp.texi: Likewise.
41328         * manual/signal.texi: Likewise.
41329         * manual/startup.texi: Likewise.
41330         * manual/stdio.texi: Likewise.
41331         * manual/terminal.texi: Likewise.
41332         (ONLCR): Document as POSIX.
41333         (OXTABS): Document availability on GNU/Linux as XTABS.
41334         (ONOEOT): Document availability separately from other bits.
41335         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41336         * manual/time.texi: Likewise.
41337         * manual/users.texi: Likewise.
41338         * INSTALL: Regenerated.
41339         * sysdeps/gnu/errlist.c: Regenerated.
41341         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41342         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41343         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41344         puts.
41345         * configure: Regenerated.
41347 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41349         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41350         default includes instead of AC_HEADER_CHECK.
41351         * sysdeps/i386/configure: Regenerated.
41353         [BZ #10716]
41354         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41355         * math/s_cacoshf.c (__cacoshf): Likewise.
41356         * math/s_cacoshl.c (__cacoshl): Likewise.
41357         * math/s_casinh.c (__casinh): Set signs of result from argument.
41358         * math/s_casinhf.c (__casinhf): Likewise.
41359         * math/s_casinhl.c (__casinhl): Likewise.
41360         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41361         (casinh_test): Add more tests.
41362         * sysdeps/i386/fpu/libm-test-ulps: Update.
41363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41365 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41367         * po/zh_TW.po: Update from translation team.
41369         * login/Makefile (distribute): Remove variable.
41370         * catgets/Makefile: Likewise.
41371         * mach/Makefile: Likewise.
41372         * malloc/Makefile: Likewise.
41373         * misc/Makefile: Likewise.
41374         * iconv/Makefile: Likewise.
41375         * nscd/Makefile: Likewise.
41376         * hurd/Makefile: Likewise.
41377         * manual/Makefile: Likewise.
41378         * locale/Makefile: Likewise.
41379         * intl/Makefile: Likewise.
41380         * conform/Makefile: Likewise.
41381         * nss/Makefile: Likewise.
41382         * time/Makefile: Likewise.
41383         * soft-fp/Makefile: Likewise.
41384         * dirent/Makefile: Likewise.
41385         * gmon/Makefile: Likewise.
41386         * po/Makefile: Likewise.
41387         * rt/Makefile: Likewise.
41388         * socket/Makefile: Likewise.
41389         * math/Makefile: Likewise.
41390         * signal/Makefile: Likewise.
41391         * debug/Makefile: Likewise.
41392         * elf/Makefile: Likewise.
41393         * timezone/Makefile: Likewise.
41394         * stdlib/Makefile: Likewise.
41395         * iconvdata/Makefile: Likewise.
41396         * sunrpc/Makefile: Likewise.
41397         * io/Makefile: Likewise.
41398         * argp/Makefile: Likewise.
41399         * inet/Makefile: Likewise.
41400         * hesiod/Makefile: Likewise.
41401         * grp/Makefile: Likewise.
41402         * csu/Makefile: Likewise.
41403         * wctype/Makefile: Likewise.
41404         * crypt/Makefile: Likewise.
41405         * libio/Makefile: Likewise.
41406         * string/Makefile: Likewise.
41407         * nis/Makefile: Likewise.
41408         * resolv/Makefile: Likewise.
41409         * stdio-common/Makefile: Likewise.
41410         * wcsmbs/Makefile: Likewise.
41411         * dlfcn/Makefile: Likewise.
41412         * posix/Makefile: Likewise.
41414         [BZ #6959]
41415         * timezone/Makefile: Don't install timezone files, just the programs
41416         and scripts.
41418 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41420         * nss/databases.def: Add missing gshadow entry.
41422         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41424 2012-03-06  Marek Polacek  <polacek@redhat.com>
41426         [BZ #13726]
41427         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41428         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41429         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41430         * stdio-common/tst-long-dbl-fphex.c: New file.
41432 2012-03-06  David S. Miller  <davem@davemloft.net>
41434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41435         (set_obp_int): New function.
41436         (get_obp_int): New function.
41437         (__get_clockfreq_via_dev_openprom): Likewise.
41438         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41439         Avoid unused variable warnings on 'val' and use builtin_expect.
41440         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41441         __builtin_expect.
41442         (INLINE_CLONE_SYSCALL): Likewise.
41444 2012-03-05  David S. Miller  <davem@davemloft.net>
41446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41448 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41453         only for |x| >= 40.
41454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41456 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41458         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41459         Replace gettimeofday with __vdso_gettimeofday.
41461         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41462         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41463         __vdso_clock_gettime and __vdso_getcpu.
41465         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41466         time with __vdso_time.
41468 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41470         * manual/lang.texi (size_t): Note types to which size_t may be
41471         equivalent with the GNU C Library, but do not describe when
41472         differences between them are significant.
41474 2012-03-05  Andreas Jaeger  <aj@suse.de>
41476         * sysdeps/i386/fpu/libm-test-ulps: Update.
41478 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41480         [BZ #3976]
41481         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41482         (__ieee754_pow): Save and restore rounding mode and use
41483         round-to-nearest for main computations.
41484         * math/libm-test.inc (pow_test_tonearest): New function.
41485         (pow_test_towardzero): Likewise.
41486         (pow_test_downward): Likewise.
41487         (pow_test_upward): Likewise.
41488         (main): Call the new functions.
41489         * sysdeps/i386/fpu/libm-test-ulps: Update.
41490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41492         [BZ #3976]
41493         * math/libm-test.inc (cosh_test_tonearest): New function.
41494         (cosh_test_towardzero): Likewise.
41495         (cosh_test_downward): Likewise.
41496         (cosh_test_upward): Likewise.
41497         (sinh_test_tonearest): Likewise.
41498         (sinh_test_towardzero): Likewise.
41499         (sinh_test_downward): Likewise.
41500         (sinh_test_upward): Likewise.
41501         (main): Call the new functions.
41502         * sysdeps/i386/fpu/libm-test-ulps: Update.
41503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41505 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41507         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41508         default stack guard is set in last bytes.
41509         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41511 2012-03-05  Kees Cook  <keescook@chromium.org>
41513         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41515         [BZ #13656]
41516         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41517         possibly allocate from heap instead of stack.
41518         * stdio-common/bug-vfprintf-nargs.c: New file.
41519         * stdio-common/Makefile (tests): Add nargs overflow test.
41521 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41525 2012-03-03  Marek Polacek  <polacek@redhat.com>
41527         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41528         * math/math_private.h: Likewise.
41529         * stdlib/tst-strtod.c: Likewise.
41530         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41531         * sysdeps/x86_64/bits/atomic.h: Likewise.
41533 2012-03-02  David S. Miller  <davem@davemloft.net>
41535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41539         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41540         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41541         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41542         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41544 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41546         [BZ #13792]
41547         * manual/examples/README: New file, says the example source files
41548         can be used under GPL>=2.
41549         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41550         line containing just "*/".
41551         * manual/examples/add.c: Add copyright header (GPL>=2).
41552         * manual/examples/argp-ex1.c: Likewise.
41553         * manual/examples/argp-ex2.c: Likewise.
41554         * manual/examples/argp-ex3.c: Likewise.
41555         * manual/examples/argp-ex4.c: Likewise.
41556         * manual/examples/atexit.c: Likewise.
41557         * manual/examples/db.c: Likewise.
41558         * manual/examples/dir.c: Likewise.
41559         * manual/examples/dir2.c: Likewise.
41560         * manual/examples/execinfo.c: Likewise.
41561         * manual/examples/filecli.c: Likewise.
41562         * manual/examples/filesrv.c: Likewise.
41563         * manual/examples/fmtmsgexpl.c: Likewise.
41564         * manual/examples/genpass.c: Likewise.
41565         * manual/examples/inetcli.c: Likewise.
41566         * manual/examples/inetsrv.c: Likewise.
41567         * manual/examples/isockad.c: Likewise.
41568         * manual/examples/longopt.c: Likewise.
41569         * manual/examples/memopen.c: Likewise.
41570         * manual/examples/memstrm.c: Likewise.
41571         * manual/examples/mkfsock.c: Likewise.
41572         * manual/examples/mkisock.c: Likewise.
41573         * manual/examples/mygetpass.c: Likewise.
41574         * manual/examples/pipe.c: Likewise.
41575         * manual/examples/popen.c: Likewise.
41576         * manual/examples/rprintf.c: Likewise.
41577         * manual/examples/search.c: Likewise.
41578         * manual/examples/select.c: Likewise.
41579         * manual/examples/setjmp.c: Likewise.
41580         * manual/examples/sigh1.c: Likewise.
41581         * manual/examples/sigusr.c: Likewise.
41582         * manual/examples/stpcpy.c: Likewise.
41583         * manual/examples/strdupa.c: Likewise.
41584         * manual/examples/strftim.c: Likewise.
41585         * manual/examples/strncat.c: Likewise.
41586         * manual/examples/subopt.c: Likewise.
41587         * manual/examples/swapcontext.c: Likewise.
41588         * manual/examples/termios.c: Likewise.
41589         * manual/examples/testopt.c: Likewise.
41590         * manual/examples/testpass.c: Likewise.
41591         * manual/examples/timeval_subtract.c: Likewise.
41593         [BZ #13792]
41594         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41595         function to ...
41596         * manual/timeval_subtract.c.texi: ... here, new file.
41598 2012-03-02  David S. Miller  <davem@davemloft.net>
41600         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41602 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41604         [BZ #3976]
41605         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41606         (__sin): Save and restore rounding mode and use round-to-nearest
41607         for all computations.
41608         (__cos): Save and restore rounding mode and use round-to-nearest
41609         for all computations.
41610         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41611         <fenv.h>.
41612         (tan): Save and restore rounding mode and use round-to-nearest for
41613         all computations.
41614         * math/libm-test.inc (cos_test_tonearest): New function.
41615         (cos_test_towardzero): Likewise.
41616         (cos_test_downward): Likewise.
41617         (cos_test_upward): Likewise.
41618         (sin_test_tonearest): Likewise.
41619         (sin_test_towardzero): Likewise.
41620         (sin_test_downward): Likewise.
41621         (sin_test_upward): Likewise.
41622         (tan_test_tonearest): Likewise.
41623         (tan_test_towardzero): Likewise.
41624         (tan_test_downward): Likewise.
41625         (tan_test_upward): Likewise.
41626         (main): Call the new functions.
41627         * sysdeps/i386/fpu/libm-test-ulps: Update.
41628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41630         [BZ #10135]
41631         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41632         small n, then large n, before computing and testing k+n.
41633         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41635         Likewise.
41636         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41637         Likewise.
41638         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41639         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41646         * math/libm-test.inc (scalbn_test): Add more tests.
41647         (scalbln_test): Likewise.
41649         * manual/filesys.texi (mode_t): Describe constraints on size and
41650         signedness, not exact equivalence to a particular type.
41651         (ino_t): Likewise.
41652         (ino64_t): Likewise.
41653         (dev_t): Likewise.
41654         (nlink_t): Likewise.
41655         (blkcnt_t): Likewise.
41656         (blkcnt64_t): Likewise.
41657         * manual/llio.texi (off_t): Likewise.
41659         [BZ #3976]
41660         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41661         (__ieee754_exp): Save and restore rounding mode and use
41662         round-to-nearest for all computations.
41663         * math/libm-test.inc (exp_test_tonearest): New function.
41664         (exp_test_towardzero): Likewise.
41665         (exp_test_downward): Likewise.
41666         (exp_test_upward): Likewise.
41667         (main): Call the new functions.
41668         * sysdeps/i386/fpu/libm-test-ulps: Update.
41669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41671 2012-03-01  Chris Demetriou  <cgd@google.com>
41673         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41674         have predictable order.
41676 2012-03-01  David S. Miller  <davem@davemloft.net>
41678         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41680         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41681         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41682         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41683         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41685         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41686         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41687         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41689         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41690         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41691         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41692         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41693         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41697         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41698         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41699         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41701         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41702         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41703         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41704         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41705         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41707         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41708         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41709         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41710         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41711         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41714         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41715         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41717         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41718         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41719         * sysdeps/sparc/elf/configure: Regenerated.
41721 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41723         * configure.in (AS, LD): Require binutils 2.20 or later.
41724         * configure: Regenerated.
41725         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41726         as required minimum version.
41727         * INSTALL: Regenerated.
41729         [BZ #2541]
41730         [BZ #4108]
41731         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41732         before squaring exponent.
41733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41734         bottom long double and 27 bits of top long double before squaring
41735         exponent.
41736         * math/libm-test.inc (erfc_test): Add more tests.
41737         * sysdeps/i386/fpu/libm-test-ulps: Update.
41738         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41741 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41743         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41744         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41745         containing bit-fields.
41746         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41747         * soft-fp/single.h (_FP_UNION_S): Likewise.
41748         * soft-fp/double.h (_FP_UNION_D): Likewise.
41750 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41752         [BZ #13786]
41753         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41754         not include ../strcmp.S.
41755         [USE_AS_STRNCASECMP_L]: Likewise.
41756         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41757         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41758         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41759         (__strncasecmp_l_ia32): Define as alias to
41760         __strncasecmp_l_nonascii.
41762         [BZ #5794]
41763         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41764         * sysdeps/i386/fpu/libm-test-ulps: Update.
41765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41767         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41770 2012-02-29  Jeff Law  <law@redhat.com>
41772         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41773         out of bounds read.
41775 2012-02-29  Marek Polacek  <polacek@redhat.com>
41777         [BZ #13706]
41778         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41779         * elf/Makefile: Add rules to run tst-unused-dep.out.
41781 2012-02-28  David S. Miller  <davem@davemloft.net>
41783         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41784         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41785         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41786         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41787         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41788         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41790 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41792         * math/libm-test.inc (llround_test): Move one test from
41793         lround_test.  Use TEST_f_L in moved test.
41794         (lround_test): Move misplaced test to llround_test.  Add testcase
41795         from bug 2561.
41797 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41799         * sysdeps/x86_64/fpu/e_expf.S: New file.
41800         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41802 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41804         [BZ #13637]
41805         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41806         of remain_len that may cause incomplete multi-byte character and
41807         false match.
41808         * posix/bug-regex33.c: New file.
41809         * posix/Makefile (tests): Add bug-regex33.
41811 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41813         * manual/macros.texi: New file.
41814         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41815         * manual/libc.texinfo: Include macros.texi.
41816         * manual/creatute.texi: Likewise.
41817         * manual/install.texi: Likewise.
41818         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41819         @glibcadj{} in references to the GNU C Library.
41820         * manual/charset.texi: Likewise.
41821         * manual/conf.texi: Likewise.
41822         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41823         when not using those macros.
41824         * manual/creature.texi: Likewise.
41825         * manual/crypt.texi: Likewise.
41826         * manual/errno.texi: Likewise.
41827         * manual/filesys.texi: Likewise.
41828         * manual/header.texi: Likewise.
41829         * manual/install.texi: Likewise.
41830         * manual/intro.texi: Likewise.
41831         * manual/io.texi: Likewise.
41832         * manual/job.texi: Likewise.
41833         * manual/lang.texi: Likewise.
41834         * manual/libc.texiinfo: Likewise.
41835         * manual/llio.texi: Likewise.
41836         * manual/locale.texi: Likewise.
41837         * manual/maint.texi: Likewise.
41838         * manual/math.texi: Likewise.
41839         * manual/memory.texi: Likewise.
41840         * manual/message.texi: Likewise.
41841         * manual/nss.texi: Likewise.
41842         * manual/pattern.texi: Likewise.
41843         * manual/process.texi: Likewise.
41844         * manual/resource.texi: Likewise.
41845         * manual/search.texi: Likewise.
41846         * manual/setjmp.texi: Likewise.
41847         * manual/signal.texi: Likewise.
41848         * manual/socket.texi: Likewise.
41849         * manual/startup.texi: Likewise.
41850         * manual/stdio.texi: Likewise.
41851         * manual/string.texi: Likewise.
41852         * manual/sysinfo.texi: Likewise.
41853         * manual/syslog.texi: Likewise.
41854         * manual/terminal.texi: Likewise.
41855         * manual/time.texi: Likewise.
41856         * manual/users.texi: Likewise.
41857         * INSTALL: Regenerated.
41858         * NOTES: Regenerated.
41859         * sysdeps/gnu/errlist.c: Regenerated.
41861 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41863         * include/dirent.h: Include <dirstream.h> before
41864         <dirent/dirent.h>.
41866 2012-02-28  David S. Miller  <davem@davemloft.net>
41868         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41869         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41870         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41871         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41873 2012-02-27  David S. Miller  <davem@davemloft.net>
41875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41877         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41878         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41881         frame pointer instead of stack pointer relative arg slot.
41882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41883         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41884         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41886 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41888         [BZ #3992]
41889         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41891 2012-02-27  David S. Miller  <davem@davemloft.net>
41893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41899         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41900         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41902 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41904         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41905         later.  Allow versions 5-9.
41906         * configure: Regenerated.
41907         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41908         required minimum version and 4.6 as recommended version.  Do not
41909         mention bugs in GCC 2.7 and 2.8.
41910         * INSTALL: Regenerated.
41912 2012-02-27  David S. Miller  <davem@davemloft.net>
41914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41918         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41919         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41920         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41921         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41924         manipulate bits before adding and subtracting TWO112[sx].
41925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41927 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41929         [BZ #13775]
41930         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41931         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41932         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41933         being in POSIX, because they are in 1003.1-2008.
41935         * rt/tst-aio.c: Include <fcntl.h>.
41936         * rt/tst-aio7.c: Likewise.
41937         * rt/tst-aio64.c: Likewise.
41939         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41941 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41943         * manual/install.texi (--with-headers): Describe headers as
41944         interface headers, not private headers.
41945         (Specific advice for GNU/Linux systems): Describe use of headers
41946         from "make headers_install", not private headers from older
41947         kernels.
41948         * INSTALL: Regenerated.
41949         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41950         Change to 2.6.19.
41951         * sysdeps/unix/sysv/linux/configure: Regenerated.
41953         * manual/llio.texi (fclean): Remove documentation.
41955         * manual/Makefile (libc-texi-generated): New variable.  Include
41956         version.texi.
41957         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41958         $(libc-texi-generated), not duplicated list of files.
41959         (version.texi, stamp-version): New rules.
41960         (realclean): Remove $(libc-texi-generated), not individual files
41961         from that list.  Do not remove dir-add.texinfo.
41962         * manual/libc.texinfo: Comment out uses of edition numbers and
41963         references to printed manual.  Remove last-updated dates.
41964         (EDITION): Comment out.
41965         (ISBN): Likewise.
41966         (VERSION, UPDATED): Remove.
41967         (version.texi): Include.
41969 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41971         * sysdeps/posix/spawni.c: Include <signal.h>.
41972         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41973         * sysdeps/pthread/aio_fsync.c: Likewise.
41975 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41977         * conform/Makefile (tests): Run only when not cross-compiling and
41978         when fast-check is not defined.
41980         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41981         * conform/data/limits.h-data: Fixes for POSIX2008.
41982         * conform/run-conformtest.sh: Run all tests.
41983         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41984         headers.
41985         * include/bits/dlfcn.h: Likewise.
41986         * include/langinfo.h: Likewise.
41987         * include/monetary.h: Likewise.
41988         * include/sys/poll.h: Likewise.
41990         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41991         for __USE_GNU.
41992         * posix/spawn.h: Define __need_sigset_t.
41993         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41994         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41995         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41996         to get sigevent_t only.
41997         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41998         only for __USE_GNU.
41999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42000         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42001         process_vm_writev only for __USE_GNU.
42002         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42004         * conform/Makefile: For now ignore errors from run-conformtest.
42005         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42006         POSIX to avoid namespace pollution.  Don't prepend headers.
42007         * conform/data/aio.h-data: Fixes for POSIX testing.
42008         * conform/data/fcntl.h-data: Likewise.
42009         * conform/data/glob.h-data: Likewise.
42010         * conform/data/grp.h-data: Likewise.
42011         * conform/data/pthread.h-data: Likewise.
42012         * conform/data/pwd.h-data: Likewise.
42013         * conform/data/signal.h-data: Likewise.
42014         * conform/data/spawn.h-data: Likewise.
42015         * conform/data/stdio.h-data: Likewise.
42016         * conform/data/stdlib.h-data: Likewise.
42017         * conform/data/stropts.h-data: Likewise.
42018         * conform/data/sys/mman.h-data: Likewise.
42019         * conform/data/sys/stat.h-data: Likewise.
42020         * conform/data/sys/types.h-data: Likewise.
42021         * conform/data/sys/wait.h-data: Likewise.
42022         * conform/data/time.h-data: Likewise.
42023         * conform/data/unistd.h-data: Likewise.
42024         * conform/data/utime.h-data: Likewise.
42026         * io/sys/stat.h: fchmod was always in POSIX.
42027         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42028         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42029         * rt/aio.h: Define __need_timespec before including <time.h>.
42030         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42031         struct.  Add forward declaration of pthread_attr_t and use it in
42032         sigevent.
42033         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42035         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42036         always remove CLK_TCK definition.
42038 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42040         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42042 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42044         * conform/run-conformtest.sh: New file.
42045         * conform/Makefile: Run run-conformtest for tests.
42046         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42047         support.
42049         * conform/data/uchar.h-data: New file.
42050         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42051         * conform/data/arpa/inet.h-data: Likewise.
42052         * conform/data/assert.h-data: Likewise.
42053         * conform/data/complex.h-data: Likewise.
42054         * conform/data/cpio.h-data: Likewise.
42055         * conform/data/ctype.h-data: Likewise.
42056         * conform/data/dirent.h-data: Likewise.
42057         * conform/data/dlfcn.h-data: Likewise.
42058         * conform/data/errno.h-data: Likewise.
42059         * conform/data/fcntl.h-data: Likewise.
42060         * conform/data/float.h-data: Likewise.
42061         * conform/data/fmtmsg.h-data: Likewise.
42062         * conform/data/fnmatch.h-data: Likewise.
42063         * conform/data/ftw.h-data: Likewise.
42064         * conform/data/glob.h-data: Likewise.
42065         * conform/data/grp.h-data: Likewise.
42066         * conform/data/iconv.h-data: Likewise.
42067         * conform/data/inttypes.h-data: Likewise.
42068         * conform/data/langinfo.h-data: Likewise.
42069         * conform/data/libgen.h-data: Likewise.
42070         * conform/data/limits.h-data: Likewise.
42071         * conform/data/locale.h-data: Likewise.
42072         * conform/data/math.h-data: Likewise.
42073         * conform/data/monetary.h-data: Likewise.
42074         * conform/data/mqueue.h-data: Likewise.
42075         * conform/data/ndbm.h-data: Likewise.
42076         * conform/data/net/if.h-data: Likewise.
42077         * conform/data/netdb.h-data: Likewise.
42078         * conform/data/netinet/in.h-data: Likewise.
42079         * conform/data/nl_types.h-data: Likewise.
42080         * conform/data/poll.h-data: Likewise.
42081         * conform/data/pthread.h-data: Likewise.
42082         * conform/data/pwd.h-data: Likewise.
42083         * conform/data/regex.h-data: Likewise.
42084         * conform/data/sched.h-data: Likewise.
42085         * conform/data/search.h-data: Likewise.
42086         * conform/data/semaphore.h-data: Likewise.
42087         * conform/data/setjmp.h-data: Likewise.
42088         * conform/data/signal.h-data: Likewise.
42089         * conform/data/spawn.h-data: Likewise.
42090         * conform/data/stdarg.h-data: Likewise.
42091         * conform/data/stdio.h-data: Likewise.
42092         * conform/data/stdlib.h-data: Likewise.
42093         * conform/data/string.h-data: Likewise.
42094         * conform/data/strings.h-data: Likewise.
42095         * conform/data/stropts.h-data: Likewise.
42096         * conform/data/sys/ipc.h-data: Likewise.
42097         * conform/data/sys/mman.h-data: Likewise.
42098         * conform/data/sys/msg.h-data: Likewise.
42099         * conform/data/sys/resource.h-data: Likewise.
42100         * conform/data/sys/select.h-data: Likewise.
42101         * conform/data/sys/sem.h-data: Likewise.
42102         * conform/data/sys/shm.h-data: Likewise.
42103         * conform/data/sys/socket.h-data: Likewise.
42104         * conform/data/sys/stat.h-data: Likewise.
42105         * conform/data/sys/statvfs.h-data: Likewise.
42106         * conform/data/sys/time.h-data: Likewise.
42107         * conform/data/sys/timeb.h-data: Likewise.
42108         * conform/data/sys/times.h-data: Likewise.
42109         * conform/data/sys/types.h-data: Likewise.
42110         * conform/data/sys/uio.h-data: Likewise.
42111         * conform/data/sys/un.h-data: Likewise.
42112         * conform/data/sys/utsname.h-data: Likewise.
42113         * conform/data/sys/wait.h-data: Likewise.
42114         * conform/data/syslog.h-data: Likewise.
42115         * conform/data/tar.h-data: Likewise.
42116         * conform/data/termios.h-data: Likewise.
42117         * conform/data/utime.h-data: Likewise.
42118         * conform/data/utmpx.h-data: Likewise.
42119         * conform/data/varargs.h-data: Likewise.
42120         * conform/data/wchar.h-data: Likewise.
42121         * conform/data/wctype.h-data: Likewise.
42122         * conform/data/wordexp.h-data: Likewise.
42124         * include/stropts.h: New file.
42125         * include/uchar.h: New file.
42126         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42127         * include/assert.h: Likewise.
42128         * include/ctype.h: Likewise.
42129         * include/dirent.h: Likewise.
42130         * include/dlfcn.h: Likewise.
42131         * include/fcntl.h: Likewise.
42132         * include/fnmatch.h: Likewise.
42133         * include/glob.h: Likewise.
42134         * include/grp.h: Likewise.
42135         * include/libio.h: Likewise.
42136         * include/locale.h: Likewise.
42137         * include/math.h: Likewise.
42138         * include/net/if.h: Likewise.
42139         * include/netdb.h: Likewise.
42140         * include/netinet/in.h: Likewise.
42141         * include/pthread.h: Likewise.
42142         * include/pwd.h: Likewise.
42143         * include/regex.h: Likewise.
42144         * include/sched.h: Likewise.
42145         * include/search.h: Likewise.
42146         * include/setjmp.h: Likewise.
42147         * include/signal.h: Likewise.
42148         * include/stdio.h: Likewise.
42149         * include/stdlib.h: Likewise.
42150         * include/string.h: Likewise.
42151         * include/sys/cdefs.h: Likewise.
42152         * include/sys/mman.h: Likewise.
42153         * include/sys/msg.h: Likewise.
42154         * include/sys/resource.h: Likewise.
42155         * include/sys/select.h: Likewise.
42156         * include/sys/socket.h: Likewise.
42157         * include/sys/stat.h: Likewise.
42158         * include/sys/statvfs.h: Likewise.
42159         * include/sys/time.h: Likewise.
42160         * include/sys/times.h: Likewise.
42161         * include/sys/uio.h: Likewise.
42162         * include/sys/utsname.h: Likewise.
42163         * include/sys/wait.h: Likewise.
42164         * include/termios.h: Likewise.
42165         * include/time.h: Likewise.
42166         * include/ulimit.h: Likewise.
42167         * include/unistd.h: Likewise.
42168         * include/utime.h: Likewise.
42169         * include/wchar.h: Likewise.
42170         * include/wctype.h: Likewise.
42171         * include/wordexp.h: Likewise.
42173         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42175         * time/time.h: TIME_UTC must be a macro.
42176         Make timespec_get available for ISO C11 only as well.
42178 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42180         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42181         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42183 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42185         * configure.in: Use -o not -a in test for unsupported multi-arch.
42187 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42189         * manual/texinfo.tex: Update to version 2012-01-19.16.
42191 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42193         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42195 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42197         [BZ #13738]
42198         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42199         * manual/fdl-1.3.texi: New file.
42200         * manual/fdl-1.1.texi: File removed.
42202         [BZ #13738]
42203         * manual/libc.texinfo (FDL_VERSION): New @set.
42204         Use it for mention of FDL in cover text.
42205         (Documentation License): Use it in @include file name.
42207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42208             Roland McGrath  <roland@hack.frob.com>
42210         [BZ #5461]
42211         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42212         (not LONG_LONG_MAX and LONG_LONG_MIN.
42213         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42214         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42215         name.
42216         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42220         [BZ #2547]
42221         [BZ #11365]
42222         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42223         manipulate bits before adding and subtracting TWO23[sx].
42224         * math/libm-test.inc (nearbyint_test): Add more tests.
42226 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42228         [BZ #2548]
42229         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42230         bits before adding and subtracting TWO23[sx].
42231         * math/libm-test.inc (rint_test): Add more tests.
42232         (rint_test_tonearest): Likewise.
42233         (rint_test_towardzero): Likewise.
42234         (rint_test_downward): Likewise.
42235         (rint_test_upward: Likewise.
42237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42239         [BZ #10110]
42240         * include/stdc-predef.h: New file.  Extracted from features.h.
42241         * include/features.h: Include stdc-predef.h.
42242         * Makefile (headers): Add stdc-predef.h.
42243         * CONFORMANCE (Compiler limitations): Update.
42245 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42247         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42249 2012-02-21  David S. Miller  <davem@davemloft.net>
42251         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42252         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42254 2012-02-20  David S. Miller  <davem@davemloft.net>
42256         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42257         using a normal save/restore sequence, rather than allocating a
42258         dummy stack frame just to store a frame pointer and restore.
42259         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42261 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42263         * manual/install.texi: Fix stray word in line-wrapped comment.
42265 2012-02-20  David S. Miller  <davem@davemloft.net>
42267         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42268         both binutils and gcc support GOTDATA.
42270         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42271         "rd %pc" in the PIC register setup sequences.
42273         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42274         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42275         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42276         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42277         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42280         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42282         (SYSCALL_ERROR_HANDLER): Likewise.
42283         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42284         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42286         (SYSCALL_ERROR_HANDLER): Likewise.
42288         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42289         (HAVE_GCC_GOTDATA): New.
42290         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42291         relocation support in both binutils and gcc.
42292         * sysdeps/sparc/elf/configure: Regenerate.
42294         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42295         * sysdeps/sparc/sparc32/elf/configure: Delete.
42296         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42297         * sysdeps/sparc/sparc64/elf/configure: Delete.
42298         * sysdeps/sparc/elf/configure.in: New file.
42299         * sysdeps/sparc/elf/configure: Generate.
42301         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42302         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42303         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42304         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42305         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42309         * manual/install.texi: Do not mention specific glibc version
42310         numbers.
42311         * manual/libc.texinfo (VERSION, UPDATED): Update.
42312         (@copying): Use @copyright{} and range of years.
42314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42316         [BZ #13695]
42317         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42318         [crti.S not in sysdirs] (generated): Do not append.
42319         [crti.S not in sysdirs] (omit-deps): Likewise.
42320         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42321         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42322         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42323         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42324         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42325         Likewise.
42326         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42327         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42328         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42329         * csu/defs.awk: Remove file.
42330         * sysdeps/generic/initfini.c: Likewise.
42331         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42332         variable.
42333         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42334         Likewise.
42336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42338         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42339         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42340         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42343         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42344         <bits/epoll.h>.
42345         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42346         (__EPOLL_PACKED): Define to empty if not defined by
42347         <bits/epoll.h>.
42348         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42350         bits/epoll.h.
42352 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42354         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42355         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42356         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42357         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42358         <bits/timerfd.h>.
42359         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42361         bits/timerfd.h.
42363 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42365         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42366         in C locale.
42367         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42368         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42372 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42377 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42379         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42380         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42381         defined.
42382         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42383         Likewise.
42384         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42385         entry for 2.16.
42387 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42389         * math/w_acos.c: Use non-signaling floating-point comparisons.
42390         * math/w_acosf.c: Likewise.
42391         * math/w_acosh.c: Likewise.
42392         * math/w_acoshf.c: Likewise.
42393         * math/w_acoshl.c: Likewise.
42394         * math/w_acosl.c: Likewise.
42395         * math/w_asin.c: Likewise.
42396         * math/w_asinf.c: Likewise.
42397         * math/w_asinl.c: Likewise.
42398         * math/w_atanh.c: Likewise.
42399         * math/w_atanhf.c: Likewise.
42400         * math/w_atanhl.c: Likewise.
42401         * math/w_exp2.c: Likewise.
42402         * math/w_exp2f.c: Likewise.
42403         * math/w_exp2l.c: Likewise.
42404         * math/w_j0.c: Likewise.
42405         * math/w_j0f.c: Likewise.
42406         * math/w_j0l.c: Likewise.
42407         * math/w_j1.c: Likewise.
42408         * math/w_j1f.c: Likewise.
42409         * math/w_j1l.c: Likewise.
42410         * math/w_jn.c: Likewise.
42411         * math/w_jnf.c: Likewise.
42412         * math/w_log.c: Likewise.
42413         * math/w_log10.c: Likewise.
42414         * math/w_log10f.c: Likewise.
42415         * math/w_log10l.c: Likewise.
42416         * math/w_log2.c: Likewise.
42417         * math/w_log2f.c: Likewise.
42418         * math/w_log2l.c: Likewise.
42419         * math/w_logf.c: Likewise.
42420         * math/w_logl.c: Likewise.
42421         * math/w_sqrt.c: Likewise.
42422         * math/w_sqrtf.c: Likewise.
42423         * math/w_sqrtl.c: Likewise.
42424         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42425         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42426         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42427         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42428         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42430 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42432         [BZ #9739]
42433         * manual/string.texi (strnlen): Use correct parameter name in
42434         equivalent expression.
42436 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42438         [BZ #11174]
42439         * manual/users.texi (seteuid): Consistently use neweuid for
42440         argument name.
42442 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42444         [BZ #13704]
42445         * manual/nss.texi (Services in the NSS configuration): Correct
42446         list of services in example configuration file.
42448 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42450         [BZ #11322]
42451         * manual/arith.texi: Remove statements about negative zero
42452         behaving identically to zero.
42454 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42456         [BZ #5993]
42457         * manual/install.texi: Do not document upgrading from libc5.
42459 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42461         [BZ #4596]
42462         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42464 2012-02-18  David S. Miller  <davem@davemloft.net>
42466         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42467         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42468         %o7 across the call.
42469         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42470         instead.
42471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42472         SETUP_PIC_REG_LEAF.
42473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42474         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42475         * sysdeps/sparc/crtn.S: Likewise.
42477 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42479         * aout/Makefile: Remove.
42481 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42483         [BZ #13058]
42484         * manual/examples/argp-ex1.c (main): Format definition in GNU
42485         style.
42486         * manual/examples/argp-ex2.c (main): Likewise.
42487         * manual/examples/argp-ex3.c (main): Likewise.
42488         * manual/examples/argp-ex4.c (main): Likewise.
42489         * manual/examples/longopt.c (main): Use new-style prototype
42490         definition.
42491         * manual/examples/strncat.c (main): Specify return type and use
42492         (void) for arguments.
42493         * manual/examples/subopt.c (main): Use char **argv argument.
42495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42497         [BZ #5077]
42498         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42499         rounding modes.
42501 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42503         [BZ #6907]
42504         * manual/string.texi (strchr): Change when strchrnul is
42505         recommended.
42507 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42509         [BZ #174]
42510         * manual/locale.texi (setlocale): Document LOCPATH.
42512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42514         [BZ #10210]
42515         * manual/process.texi (execle): Move @dots{} before last argument.
42517 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42519         [BZ #12047]
42520         * manual/charset.texi (Generic Charset Conversion): Fix typo
42521         (LC_TYPE -> LC_CTYPE).
42523 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42525         [BZ #5805]
42526         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42527         (scalbnf): Likewise.
42528         (scalbnl): Likewise.
42529         (scalbln): Likewise.
42530         (scalblnf): Likewise.
42531         (scalblnl): Likewise.
42532         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42533         (vwarnx): Likewise.
42534         (verr): Likewise.
42535         (verrx): Likewise.
42536         * manual/filesys.texi (telldir): Use braces around return type.
42537         * manual/llio.texi (mmap): Add space after comma.
42538         (mmap64): Likewise.
42539         * manual/math.texi (jn): Use @var{} on parameter names.
42540         (jnf): Likewise.
42541         (jnl): Likewise.
42542         (yn): Likewise.
42543         (ynf): Likewise.
42544         (ynl): Likewise.
42545         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42546         line.
42547         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42548         "...".
42549         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42550         (sched_get_priority_max): Likewise.
42551         * manual/signal.texi (sigvec): Add space after comma.
42552         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42553         names.
42554         (if_indextoname): Likewise.
42555         (if_freenameindex): Likewise.
42556         (sendto): Use ',' instead of '.' in prototype.
42557         * manual/startup.texi (syscall): Use @dots{} instead of literal
42558         "...".
42559         * manual/stdio.texi (__fpending): Separate initial words of
42560         paragraph from @deftypefun line.
42561         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42562         "...".
42563         (vsyslog): Use @var{} on parameter names.
42564         * manual/terminal.texi (stty): Use @var{} on parameter names.
42565         * manual/users.texi (getutmp): Use @var{} on parameter names.
42566         (getutmpx): Likewise.
42568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42570         [BZ #6884]
42571         * manual/stdio.texi (fopen): Fix typos in description of
42572         ",ccs=STRING".
42574 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42576         [BZ #4026]
42577         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42578         get clock_id definition.
42580 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42582         [BZ #4822]
42583         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42584         (madvise): Cast every argument to void on its own.
42586 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42588         [BZ #9902]
42589         * manual/startup.texi (Exit Status): Fix typo.
42591 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42593         [BZ #10140]
42594         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42595         * manual/examples/argp-ex2.c: Likewise.
42596         * manual/examples/argp-ex3.c: Likewise.
42598 2012-02-16  Richard Henderson  <rth@redhat.com>
42600         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42601         * sysdeps/s390/s390-32/initfini.c: Remove.
42602         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42603         * sysdeps/s390/s390-64/initfini.c: Remove.
42605 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42607         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42608         compiler output for sysdeps/generic/initfini.c.
42609         * sysdeps/sh/elf/initfini.c: Remove file.
42611 2012-02-16  David S. Miller  <davem@davemloft.net>
42613         [BZ #11494]
42614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42616         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42617         * sysdeps/sparc/crti.S: New file.
42618         * sysdeps/sparc/crtn.S: New file.
42619         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42620         * sysdeps/sparc/sparc64/Makefile: Likewise.
42622 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42624         [BZ #3335]
42625         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42627 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42629         [BZ #4822]
42630         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42632         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42633         (write, read, close): Likewise.
42634         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42636 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42638         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42639         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42640         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42641         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42642         <bits/signalfd.h>.
42643         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42645         bits/signalfd.h.
42647 2012-02-14  Marek Polacek  <polacek@redhat.com>
42649         * sysdeps/x86_64/crti.S: New file.
42650         * sysdeps/x86_64/crtn.S: New file.
42651         * sysdeps/x86_64/elf/initfini.c: Remove file.
42653 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42655         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42656         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42657         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42658         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42659         <bits/inotify.h>.
42660         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42662         bits/inotify.h.
42664 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42666         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42667         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42668         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42669         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42670         <bits/eventfd.h>.
42671         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42673         bits/eventfd.h.
42675 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42677         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42678         __feraiseexcept instead of feraiseexcept.
42680         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42681         nanosleep invocations.
42682         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42683         strings, and add error checking for a nanosleep invocations.
42685 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42687         Replace FSF snail mail address with URLs, as per GNU coding standards.
42688         Most of the snail mail addresses were wrong anyway, and omitting
42689         them makes the source code easier to maintain.  Almost all of the
42690         changes are to license notices and to locale LC_IDENTIFICATION
42691         addresses, except for this one:
42692         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42693         not its snail mail address.
42695 2012-02-09  Richard Henderson  <rth@twiddle.net>
42697         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42698         of kernel-features.h.
42700         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42702 2012-02-08  Marek Polacek  <polacek@redhat.com>
42704         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42705         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42706         * sysdeps/gnu/_G_config.h: Likewise.
42707         * sysdeps/generic/_G_config.h: Likewise.
42709 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42711         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42712         tests.
42713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42715         * sysdeps/powerpc/powerpc32/crti.S: New file.
42716         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42717         * sysdeps/powerpc/powerpc64/crti.S: New file.
42718         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42720         * Makeconfig (have-initfini): Don't set.
42721         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42722         * configure.in (nopic_initfini): Don't substitute.
42723         * config.h.in (HAVE_INITFINI): Don't #undef.
42724         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42725         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42727 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42729         Support crti.S and crtn.S provided directly by architectures.
42730         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42731         [crti.S in sysdirs] (omit-deps): Likewise.
42732         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42733         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42734         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42735         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42736         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42737         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42738         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42739         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42740         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42741         compiler output for sysdeps/generic/initfini.c.
42742         * sysdeps/i386/elf/Makefile: Remove file.
42743         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42745 2012-02-07  Marek Polacek  <polacek@redhat.com>
42747         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42748         * sysdeps/gnu/_G_config.h: Likewise.
42749         * sysdeps/mach/hurd/_G_config.h: Likewise.
42751 2012-02-07  Marek Polacek  <polacek@redhat.com>
42753         * math/Makefile (tests): Add tst-CMPLX2.
42754         * math/tst-CMPLX2.c: New file.
42756 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42760         * math/libm-test.inc (jn_test): Add missing L suffix.
42762 2012-02-06  Marek Polacek  <polacek@redhat.com>
42764         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42765         * sysdeps/i386/fpu/e_powf.S: Likewise.
42766         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42767         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42768         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42769         * sysdeps/i386/fpu/e_pow.S: Likewise.
42770         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42771         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42772         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42773         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42774         * sysdeps/i386/fpu/e_log2.S: Likewise.
42775         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42776         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42777         * sysdeps/i386/fpu/e_powl.S: Likewise.
42778         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42779         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42780         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42781         * sysdeps/i386/fpu/e_logl.S: Likewise.
42782         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42783         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42784         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42785         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42786         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42787         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42788         * sysdeps/i386/fpu/e_log.S: Likewise.
42789         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42790         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42791         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42792         * sysdeps/i386/fpu/e_logf.S: Likewise.
42793         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42794         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42795         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42796         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42797         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42798         * sysdeps/i386/fpu/e_log10.S: Likewise.
42799         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42800         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42801         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42802         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42803         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42804         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42805         * sysdeps/i386/asm-syntax.h: Likewise.
42806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42808         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42809         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42810         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42811         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42812         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42813         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42814         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42815         * sysdeps/powerpc/sysdep.h: Likewise.
42816         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42817         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42819 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42821         [BZ #411]
42822         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42824 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42826         * sysdeps/i386/sysdep.h: Include <features.h>.
42827         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42828         version.
42830 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42832         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42833         Define.
42834         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42835         LOAD_PIC_REG_STR.
42837 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42839         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42840         (SETUP_PIC_REG): Use GET_PC_THUNK.
42841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42842         macro.
42844 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42846         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42847         for non-PIC compilation.
42848         (SETUP_PIC_REG): Add .p2align directive.
42849         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42850         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42851         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42852         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42853         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42854         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42855         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42856         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42857         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42858         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42859         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42860         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42861         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42862         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42863         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42864         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42865         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42866         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42867         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42868         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42872         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42875         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42876         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42879         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42881         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42882         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42883         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42885         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42887         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42888         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42891 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42893         * math/tst-CMPLX.c: Include <stdio.h>.
42895 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42897         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42898         float.
42899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42900         * sysdeps/sparc/bits/mathdef.h: Likewise.
42902 2012-01-31  Marek Polacek  <polacek@redhat.com>
42904         * libio/libio.h: Don't define _PARAMS.
42905         * locale/programs/config.h: Don't define PARAMS.
42906         * stdlib/strtol_l.c: Likewise.
42907         (__strtol_l): Remove PARAMS from the prototype.
42909 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42911         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42912         names.  Just use the correct names.  Remove unnecessary wrapper
42913         functions.
42914         * malloc/arena.c: Likewise.
42915         * malloc/hooks.c: Likewise.
42917         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42918         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42919         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42921 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42923         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42924         into tail calls.
42925         (update_get_addr): New function.
42926         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42927         GET_ADDR_MODULE parameter.
42929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42931         * crypt/cert.c: Remove __STDC__ conditionals.
42932         * crypt/crypt-entry.c: Likewise.
42933         * crypt/crypt_util.c: Likewise.
42934         * libio/filedoalloc.c: Likewise.
42935         * libio/fileops.c: Likewise.
42936         * libio/genops.c: Likewise.
42937         * libio/iofclose.c: Likewise.
42938         * libio/iofdopen.c: Likewise.
42939         * libio/iofopen.c: Likewise.
42940         * libio/iofopen64.c: Likewise.
42941         * libio/iogetdelim.c: Likewise.
42942         * libio/iopopen.c: Likewise.
42943         * libio/obprintf.c: Likewise.
42944         * libio/oldfileops.c: Likewise.
42945         * libio/oldiofclose.c: Likewise.
42946         * libio/oldiofdopen.c: Likewise.
42947         * libio/oldiofopen.c: Likewise.
42948         * libio/oldiopopen.c: Likewise.
42949         * libio/wfiledoalloc.c: Likewise.
42950         * libio/wgenops.c: Likewise.
42951         * locale/programs/xmalloc.c: Likewise.
42952         * misc/syslog.c: Likewise.
42953         * stdio-common/xbug.c: Likewise.
42954         * string/memchr.c: Likewise.
42955         * string/memcmp.c: Likewise.
42956         * string/memrchr.c: Likewise.
42957         * string/rawmemchr.c: Likewise.
42958         * sysdeps/posix/getcwd.c: Likewise.
42959         * time/strftime_l.c: Likewise.
42961 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42963         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42964         * config.make.in (config-cflags-sse2avx): Define.
42965         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42966         Fix typo.
42968 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42970         * scripts/config.guess: Update from upstream config git repository.
42971         * scripts/config.sub: Likewise.
42973 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42975         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42976         (EM_NUM): Update.
42977         (R_TILEPRO_*, R_TILEGX_*): New macros.
42979         * scripts/firstversions.awk: Fix bug in version range handling.
42981         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42983         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42985         * include/sys/epoll.h: New file.
42986         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42987         libc_hidden_def.
42989 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42991         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42992         Avoid unnecessary __WORDSIZE == 64 test.
42993         (fmaxf): Use VEX format if possible.
42994         (fmax): Likewise.
42995         (fminf): Likewise.
42996         (fmin): Likewise.
42998         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42999         * math/math_private.h: Remove libc_fegetround* and
43000         libc_fesetround*.
43001         * sysdeps/i386/configure.in: Check for -msse2avx.
43002         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43003         also if SSE2AVX is defined.
43004         Remove libc_fegetround* and libc_fesetround*.
43005         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43006         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43007         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43008         of HAS_YMM_USABLE.
43009         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43010         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43011         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43012         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43013         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43015         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43017 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43019         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43020         size is not set.
43021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43023 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43025         [BZ #13618]
43026         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43027         relocation.
43028         * Makeconfig (libm): Define.
43029         * elf/Makefile: Add rules to build and run tst-relsort1.
43030         * elf/tst-relsort1.c: New file.
43031         * elf/tst-relsort1mod1.c: New file.
43032         * elf/tst-relsort1mod2.c: New file.
43034 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43036         * math/s_ldexp.c: Remove __STDC__ conditionals.
43037         * math/s_ldexpf.c: Likewise.
43038         * math/s_ldexpl.c: Likewise.
43039         * math/s_nextafter.c: Likewise.
43040         * math/s_nexttowardf.c: Likewise.
43041         * math/s_significand.c: Likewise.
43042         * math/s_significandf.c: Likewise.
43043         * math/s_significandl.c: Likewise.
43044         * math/w_jnl.c: Likewise.
43045         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43046         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43047         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43048         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43049         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43051         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43052         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43053         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43054         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43055         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43056         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43057         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43058         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43059         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43060         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43061         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43064         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43065         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43066         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43067         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43068         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43069         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43070         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43071         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43072         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43073         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43074         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43075         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43076         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43077         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43078         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43079         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43081         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43082         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43083         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43084         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43085         * sysdeps/ieee754/k_standard.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43088         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43090         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43092         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43093         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43094         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43095         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43096         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43097         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43098         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43099         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43100         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43101         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43104         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43105         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43111         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43112         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43115         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43119         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43122         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43124         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43129         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43133         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43134         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43135         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43143         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43147         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43148         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43151         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43152         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43161         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43162         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43163         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43165         * sysdeps/ieee754/s_matherr.c: Likewise.
43166         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43171 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43173         * crypt/md5.h: Remove __STDC__ conditionals.
43174         * libio/libioP.h: Likewise.
43175         * locale/programs/config.h: Likewise.
43176         * sysdeps/generic/sysdep.h: Likewise.
43177         * sysdeps/i386/asm-syntax.h: Likewise.
43178         * sysdeps/s390/asm-syntax.h: Likewise.
43179         * sysdeps/unix/sysdep.h: Likewise.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43183 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43185         * libio/libio.h: Remove __STDC__ conditionals.
43186         * malloc/obstack.h: Likewise.
43187         * math/complex.h: Likewise.
43188         * math/math.h: Likewise.
43189         * sysdeps/generic/_G_config.h: Likewise.
43190         * sysdeps/gnu/_G_config.h: Likewise.
43191         * sysdeps/mach/hurd/_G_config.h: Likewise.
43192         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43193         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43194         * sysdeps/sparc/bits/mathdef.h: Likewise.
43196 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43198         [BZ #13583]
43199         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43200         Clean up HAS_* macros.
43201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43202         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43203         possible.
43204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43205         HAS_AVX.
43206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43212 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43214         * elf/tst-unique3.cc (gets): Remove declaration.
43215         * elf/tst-unique3lib.cc (gets): Likewise.
43216         * elf/tst-unique3lib2.cc (gets): Likewise.
43217         * elf/tst-unique4.cc (gets): Likewise.
43219 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43221         * include/stdio.h: Add C++ protection.  Add gets declarations and
43222         definitions.
43223         * debug/tst-chk1.c: Don't declare gets here.
43224         * stdio-common/tst-gets.c: Likewise.
43226 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43228         * posix/glob: Remove directory.
43230 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43232         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43234 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43236         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43237         of the non-standard EPFNOSUPPORT.
43239 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43241         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43242         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43243         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43245 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43247         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43249 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43251         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43252         transient errors.
43253         * nscd/grpcache.c (cache_addgr): Likewise.
43254         * nscd/hstcache.c (cache_addhst): Likewise.
43255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43256         * nscd/pwdcache.c (cache_addpw): Likewise.
43257         * nscd/servicescache.c (cache_addserv): Likewise.
43259 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43261         * malloc/malloc.c: Various cleanups.
43262         * malloc/hooks.c: Likewise.
43264         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43265         * stdlib/bug-fmtmsg1.c: New file.
43267         * stdlib/fmtmsg.c (init): Add missing unlock.
43268         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43270 2012-01-12  Marek Polacek  <polacek@redhat.com>
43272         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43273         and _GNU_SOURCE.
43275 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43277         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43278         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43279         macro to ensure uniqueness of label name.
43280         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43281         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43283 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43285         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43287         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43288         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43289         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43292 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43294         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43296         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43297         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43298         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43300         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43302         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43303         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43304         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43307         * math/bits/math-finite.h: Add ldexp support.
43309 2012-01-10  Marek Polacek  <polacek@redhat.com>
43311         * locale/programs/localedef.h (show_archive_content): Add noreturn
43312         attribute.
43314 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43316         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43320         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43322         * io/Makefile (headers): Add bits/poll2.h.
43324 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43327         typo #include statement.
43329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43331         * include/sys/cdefs.h: Define __attribute_alloc_size.
43332         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43333         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43334         * elf/pldd.c: Likewise.
43335         * iconv/iconv_charmap.c: Likewise.
43336         * iconv/iconvconfig.c: Likewise.
43337         * iconv/strtab.c: Likewise.
43338         * locale/programs/locale.c: Likewise.
43339         * locale/programs/localedef.h: Likewise.
43340         * locale/programs/simple-hash.c: Likewise.
43341         * nscd/nscd.h: Likewise.
43342         * nss/makedb.c: Likewise.
43343         * sysdeps/generic/ldconfig.h: Likewise.
43344         * locale/programs/localedef.c: Remove xmalloc prototype.
43345         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43347 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43349         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43350         appropriate.
43352 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43354         * math/Makefile (tests): Add tst-CMPLX.
43355         * math/tst-CMPLX.c: New file.
43357         * math/complex.h (CMPLXL): Fix typo.
43359         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43360         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43361         GLIBC_2.16.
43362         * debug/tst-chk1.c: Add poll and ppoll tests.
43363         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43364         * include/sys/poll.h: Add hidden proto for ppoll.
43365         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43366         * sysdeps/mach/hurd/ppoll.c: Likewise.
43367         * io/ppoll.c: Likewise.
43368         * debug/poll_chk.c: New file.
43369         * debug/ppoll_chk.c: New file.
43370         * include/bits/poll2.h: New file.
43371         * io/bits/poll2.h: New file.
43373         [BZ #1350]
43374         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43376         * configure.in: static is always set to yes.  Remove.
43377         * config.make.in: Don't set build-static.
43378         * Makeconfig: Remove use of build-static.
43379         * dlfcn/Makefile: Likewise.
43380         * elf/Makefile: Likewise.
43381         * math/Makefile: Likewise.
43382         * misc/Makefile: Likewise.
43383         * nptl/Makefile: Likewise.
43384         * sysdeps/mach/hurd/Makefile: Likewise.
43386         * configure.in: PWD_P is not used anymore.
43387         * config.make.in: Remove PWD_P entry.
43389         * configure.in: Remove last remnants of RANLIB.
43390         No need to check for signed size_t anymore.
43391         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43392         and IA-64.
43393         Remove __builtin_expect test because we require at least gcc 3.4.
43394         * aclocal.m4: Likewise.
43396         * wcsmbs/mbrtoc16.c: Implement using towc function.
43397         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43398         * wcsmbs/wcsmbsload.c: Likewise.
43399         * iconv/gconv_simple.c: Likewise.
43400         * iconv/gconv_int.h: Likewise.
43401         * iconv/gconv_builtin.h: Likewise.
43402         * iconv/iconv_prog.c: Remove CHAR16 handling.
43404         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43406         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43408         * configure.in: Remove --with-elf and --enable-bounded options.
43409         Dont set base_machine for ia64.  More non-ELF conditions removed.
43410         Remove testing and setting of leading underscore information.
43411         * config.make.in (build-bounded): Set to no.
43412         * config.h.in: Remove NO_UNDERSCORES entry.
43413         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43414         them.
43415         * csu/start.c: Remove !NO_UNDERSCORE code.
43416         * locale/localeinfo.h: Likewise.
43417         * sysdeps/generic/machine-gmon.h: Likewise.
43418         * sysdeps/generic/sysdep.h: Likewise.
43419         * sysdeps/i386/sysdep.h: Likewise.
43420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43421         * sysdeps/mach/sysdep.h: Likewise.
43422         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43424         * sysdeps/sh/sysdep.h: Likewise.
43425         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43426         * sysdeps/unix/i386/sysdep.S: Likewise.
43427         * sysdeps/unix/sparc/start.c: Likewise.
43428         * sysdeps/unix/sparc/sysdep.S: Likewise.
43429         * sysdeps/unix/sparc/sysdep.h: Likewise.
43430         * sysdeps/unix/start.c: Likewise.
43431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43432         * sysdeps/x86_64/sysdep.h: Likewise.
43434 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43436         [BZ #13553]
43437         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43438         for non-gcc.
43439         * argp/argp-fmtstream.h: Use const instead __const.
43440         * argp/argp.h: Likewise.
43441         * assert/assert.h: Likewise.
43442         * bits/fenv.h: Likewise.
43443         * bits/sched.h: Likewise.
43444         * bits/sigset.h: Likewise.
43445         * bits/sigthread.h: Likewise.
43446         * catgets/nl_types.h: Likewise.
43447         * conform/data/pthread.h-data: Likewise.
43448         * crypt/crypt-private.h: Likewise.
43449         * crypt/crypt.h: Likewise.
43450         * crypt/crypt_util.c: Likewise.
43451         * ctype/ctype.h: Likewise.
43452         * debug/execinfo.h: Likewise.
43453         * debug/mbsnrtowcs_chk.c: Likewise.
43454         * debug/mbsrtowcs_chk.c: Likewise.
43455         * debug/wcsnrtombs_chk.c: Likewise.
43456         * debug/wcsrtombs_chk.c: Likewise.
43457         * debug/wcstombs_chk.c: Likewise.
43458         * dirent/dirent.h: Likewise.
43459         * dlfcn/dlfcn.h: Likewise.
43460         * elf/neededtest4.c: Likewise.
43461         * grp/grp.h: Likewise.
43462         * gshadow/gshadow.h: Likewise.
43463         * iconv/gconv.h: Likewise.
43464         * iconv/gconv_int.h: Likewise.
43465         * iconv/gconv_simple.c: Likewise.
43466         * iconv/iconv.h: Likewise.
43467         * iconv/loop.c: Likewise.
43468         * iconv/skeleton.c: Likewise.
43469         * include/aio.h: Likewise.
43470         * include/aliases.h: Likewise.
43471         * include/argz.h: Likewise.
43472         * include/arpa/inet.h: Likewise.
43473         * include/assert.h: Likewise.
43474         * include/dirent.h: Likewise.
43475         * include/dlfcn.h: Likewise.
43476         * include/execinfo.h: Likewise.
43477         * include/fcntl.h: Likewise.
43478         * include/fenv.h: Likewise.
43479         * include/glob.h: Likewise.
43480         * include/grp.h: Likewise.
43481         * include/libintl.h: Likewise.
43482         * include/mntent.h: Likewise.
43483         * include/netdb.h: Likewise.
43484         * include/pwd.h: Likewise.
43485         * include/rpc/netdb.h: Likewise.
43486         * include/sched.h: Likewise.
43487         * include/search.h: Likewise.
43488         * include/shadow.h: Likewise.
43489         * include/signal.h: Likewise.
43490         * include/stdio.h: Likewise.
43491         * include/stdlib.h: Likewise.
43492         * include/string.h: Likewise.
43493         * include/sys/socket.h: Likewise.
43494         * include/sys/stat.h: Likewise.
43495         * include/sys/statfs.h: Likewise.
43496         * include/sys/statvfs.h: Likewise.
43497         * include/sys/syslog.h: Likewise.
43498         * include/sys/time.h: Likewise.
43499         * include/sys/uio.h: Likewise.
43500         * include/time.h: Likewise.
43501         * include/unistd.h: Likewise.
43502         * include/utmp.h: Likewise.
43503         * include/wchar.h: Likewise.
43504         * include/wctype.h: Likewise.
43505         * inet/aliases.h: Likewise.
43506         * inet/arpa/inet.h: Likewise.
43507         * inet/netinet/ether.h: Likewise.
43508         * inet/netinet/in.h: Likewise.
43509         * intl/libintl.h: Likewise.
43510         * io/bits/fcntl2.h: Likewise.
43511         * io/fcntl.h: Likewise.
43512         * io/ftw.h: Likewise.
43513         * io/sys/poll.h: Likewise.
43514         * io/sys/stat.h: Likewise.
43515         * io/sys/statfs.h: Likewise.
43516         * io/sys/statvfs.h: Likewise.
43517         * io/utime.h: Likewise.
43518         * libio/bits/stdio.h: Likewise.
43519         * libio/bits/stdio2.h: Likewise.
43520         * libio/libio.h: Likewise.
43521         * libio/libioP.h: Likewise.
43522         * libio/stdio.h: Likewise.
43523         * locale/lc-ctype.c: Likewise.
43524         * locale/locale.h: Likewise.
43525         * login/utmp.h: Likewise.
43526         * malloc/arena.c: Likewise.
43527         * malloc/malloc.c: Likewise.
43528         * malloc/malloc.h: Likewise.
43529         * malloc/mcheck.c: Likewise.
43530         * malloc/mtrace.c: Likewise.
43531         * math/bits/mathcalls.h: Likewise.
43532         * math/fenv.h: Likewise.
43533         * math/math_private.h: Likewise.
43534         * misc/bits/error.h: Likewise.
43535         * misc/bits/syslog.h: Likewise.
43536         * misc/err.h: Likewise.
43537         * misc/error.h: Likewise.
43538         * misc/fstab.h: Likewise.
43539         * misc/mntent.h: Likewise.
43540         * misc/regexp.h: Likewise.
43541         * misc/search.h: Likewise.
43542         * misc/sgtty.h: Likewise.
43543         * misc/sys/mman.h: Likewise.
43544         * misc/sys/syslog.h: Likewise.
43545         * misc/sys/uio.h: Likewise.
43546         * misc/sys/xattr.h: Likewise.
43547         * misc/ttyent.h: Likewise.
43548         * nis/rpcsvc/ypclnt.h: Likewise.
43549         * nss/nss.h: Likewise.
43550         * posix/bits/unistd.h: Likewise.
43551         * posix/fnmatch.h: Likewise.
43552         * posix/glob.h: Likewise.
43553         * posix/sched.h: Likewise.
43554         * posix/spawn.h: Likewise.
43555         * posix/sys/wait.h: Likewise.
43556         * posix/unistd.h: Likewise.
43557         * posix/wordexp.h: Likewise.
43558         * pwd/pwd.h: Likewise.
43559         * resolv/netdb.h: Likewise.
43560         * resource/sys/resource.h: Likewise.
43561         * rt/aio.h: Likewise.
43562         * rt/bits/mqueue2.h: Likewise.
43563         * rt/mqueue.h: Likewise.
43564         * shadow/shadow.h: Likewise.
43565         * signal/signal.h: Likewise.
43566         * socket/send.c: Likewise.
43567         * socket/sendto.c: Likewise.
43568         * socket/sys/socket.h: Likewise.
43569         * stdio-common/printf.h: Likewise.
43570         * stdlib/bits/stdlib.h: Likewise.
43571         * stdlib/fmtmsg.h: Likewise.
43572         * stdlib/monetary.h: Likewise.
43573         * stdlib/stdlib.h: Likewise.
43574         * stdlib/ucontext.h: Likewise.
43575         * streams/stropts.h: Likewise.
43576         * string/argz.h: Likewise.
43577         * string/bits/string2.h: Likewise.
43578         * string/string.h: Likewise.
43579         * string/strings.h: Likewise.
43580         * sunrpc/rpc/auth.h: Likewise.
43581         * sunrpc/rpc/auth_des.h: Likewise.
43582         * sunrpc/rpc/clnt.h: Likewise.
43583         * sunrpc/rpc/netdb.h: Likewise.
43584         * sunrpc/rpc/pmap_clnt.h: Likewise.
43585         * sunrpc/rpc/xdr.h: Likewise.
43586         * sysdeps/generic/inttypes.h: Likewise.
43587         * sysdeps/generic/net/if.h: Likewise.
43588         * sysdeps/generic/sys/swap.h: Likewise.
43589         * sysdeps/gnu/net/if.h: Likewise.
43590         * sysdeps/gnu/utmpx.h: Likewise.
43591         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43592         * sysdeps/i386/i486/bits/string.h: Likewise.
43593         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43594         * sysdeps/s390/bits/string.h: Likewise.
43595         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43596         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43597         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43598         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43599         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43600         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43601         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43602         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43603         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43604         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43605         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43606         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43607         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43608         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43609         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43610         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43611         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43613         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43616         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43617         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43618         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43619         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43620         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43621         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43623         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43624         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43625         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43626         * sysvipc/sys/ipc.h: Likewise.
43627         * sysvipc/sys/msg.h: Likewise.
43628         * sysvipc/sys/sem.h: Likewise.
43629         * sysvipc/sys/shm.h: Likewise.
43630         * termios/termios.h: Likewise.
43631         * time/sys/time.h: Likewise.
43632         * time/time.h: Likewise.
43633         * wcsmbs/bits/wchar2.h: Likewise.
43634         * wcsmbs/uchar.h: Likewise.
43635         * wcsmbs/wchar.h: Likewise.
43636         * wctype/wctype.h: Likewise.
43638         [BZ #13551]
43639         * Makeconfig: Remove all but ELF support including AIX support.
43640         * Makerules: Likewise.
43641         * config.h.in: Likewise.
43642         * config.make.in: Likewise.
43643         * configure: Likewise.
43644         * configure.in: Likewise.
43645         * csu/Makefile: Likewise.
43646         * csu/version.c: Likewise.
43647         * debug/Makefile: Likewise.
43648         * dlfcn/Makefile: Likewise.
43649         * elf/Makefile: Likewise.
43650         * extra-lib.mk: Likewise.
43651         * iconv/Makefile: Likewise.
43652         * include/libc-symbols.h: Likewise.
43653         * include/shlib-compat.h: Likewise.
43654         * resolv/Makefile: Likewise.
43655         * resolv/res_libc.c: Likewise.
43656         * rt/Makefile: Likewise.
43657         * sysdeps/i386/asm-syntax.h: Likewise.
43658         * sysdeps/i386/sysdep.h: Likewise.
43659         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43660         * sysdeps/mach/sysdep.h: Likewise.
43661         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43662         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43663         * sysdeps/s390/asm-syntax.h: Likewise.
43664         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43665         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43666         * sysdeps/sh/sysdep.h: Likewise.
43667         * sysdeps/unix/sparc/sysdep.h: Likewise.
43668         * sysdeps/wordsize-32/divdi3.c: Likewise.
43669         * sysdeps/x86_64/sysdep.h: Likewise.
43671         * argp/Versions: Remove _argp_unlock_xxx.
43673         [BZ #13559]
43674         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43675         * abilist/libBrokenLocale.abilist: Likewise.
43676         * abilist/libanl.abilist: Likewise.
43677         * abilist/libc.abilist: Likewise.
43678         * abilist/libcrypt.abilist: Likewise.
43679         * abilist/libdl.abilist: Likewise.
43680         * abilist/libm.abilist: Likewise.
43681         * abilist/libnsl.abilist: Likewise.
43682         * abilist/libpthread.abilist: Likewise.
43683         * abilist/libresolv.abilist: Likewise.
43684         * abilist/librt.abilist: Likewise.
43685         * abilist/libthread_db.abilist: Likewise.
43686         * abilist/libutil.abilist: Likewise.
43687         * abilist/libnss_db.abilist: New file.
43689         * scripts/abilist.awk: Add support for indirect functions.
43691         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43693         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43695         * shlib-versions: Remove entries for ports architectures.
43697         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43698         files in ports.
43699         * elf/stackguard-macros.h: Remove support for IA-64.
43700         * elf/tst-auditmod1.c: Likewise.
43701         * sysdeps/generic/ldsodefs.h: Likewise.
43703         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43704         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43705         configure files.
43707         [BZ #13552]
43708         * configure.in: Remove --enable-omitfp support.
43709         * FAQ.in: Adjust.
43710         * config.make.in: Likewise.
43711         * Makeconfig: Likewise.
43712         * manual/install.texi: Likewise.
43714         In case anyone cares, the IA-64 architecture could move to ports.
43715         * sysdeps/ia64/*: Removed.
43716         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43717         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43719         [BZ #13555]
43720         * configure.in: Remove entries for unsupported architectures.
43722         [BZ #13533]
43723         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43724         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43725         routines.
43726         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43727         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43728         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43729         fall back to using wcrtomb.
43730         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43731         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43732         renaming.
43733         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43734         * wcsmbs/tst-c16c32-1.c: New file.
43736         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43737         local variable.
43739         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43741         * elf/tst-unique3.cc: Add explicit declaration of gets.
43742         * elf/tst-unique3lib.cc: Likewise.
43743         * elf/tst-unique3lib2.cc: Likewise.
43744         * elf/tst-unique4.cc: Likewise.
43746         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43748 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43750         [BZ #13566]
43751         * assert/assert.h (static_assert): Don't define for C++.
43752         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43753         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43755 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43757         * iconv/loop.c (single loop): Fix assertion in storing of
43758         remaining bytes.
43760         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43762 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43764         * posix/getconf.c: Update copyright year.
43765         * nss/getent.c: Likewise.
43766         * nss/makedb.c: Likewise.
43767         * iconv/iconvconfig.c: Likewise.
43768         * iconv/iconv_prog.c: Likewise.
43769         * elf/ldconfig.c: Likewise.
43770         * elf/pldd.c: Likewise.
43771         * elf/sotruss.ksh: Likewise.
43772         * catgets/gencat.c: Likewise.
43773         * csu/version.c: Likewise.
43774         * elf/ldd.bash.in: Likewise.
43775         * elf/sprof.c (print_version): Likewise.
43776         * locale/programs/locale.c: Likewise.
43777         * locale/programs/localedef.c: Likewise.
43778         * login/programs/pt_chown.c: Likewise.
43779         * nscd/nscd.c (print_version): Likewise.
43780         * debug/xtrace.sh: Likewise.
43781         * malloc/memusage.sh: Likewise.
43782         * malloc/mtrace.pl: Likewise.
43783         * debug/catchsegv.sh: Likewise.
43785 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43787         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43788         pure attribute.
43790 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43792         [BZ #13533]
43793         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43794         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43795         transformations.
43796         * iconv/gconv_int.h: Likewise.
43797         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43798         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43799         from libc for GLIBC_2.16.
43800         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43801         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43802         * wcsmbs/uchar.h: Really define mbstate_t.
43803         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43804         * wcsmbs/c16rtomb.c: New file.
43805         * wcsmbs/mbrtoc16.c: New file.
43806         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43807         for C/POSIX locale.
43808         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43809         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43811         * wcsmbs/wchar.h: Add missing __restrict.
43813 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43815         [BZ #13532]
43816         * time/Makefile (routines): Add timespec_get.
43817         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43818         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43819         timespec for ISO C11.
43820         * time/timespec_get.c: New file.
43821         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43822         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43824         [BZ #13531]
43825         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43826         * stdlib/stdlib.h: Declare aligned_alloc.
43827         * Versions.def: Add GLIBC_2.16 for libc.
43828         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43830         [BZ 13527]
43831         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43832         ISO C11.
43834         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43835         code.
43837         [BZ #13528]
43838         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43840         [BZ #13529]
43841         * assert/assert.h (static_assert): Define.
43843         * version.h: Update for 2.16 development version.
43845         [BZ #13526]
43846         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43847         _ISOC11_SOURCE.
43849         * version.h (RELEASE): Bump for 2.15 release.
43850         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43852         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43853         Patch by Marek Polacek <mpolacek@redhat.com>.
43855         * bits/byteswap.h: Protect long long constants with __extension__.
43856         * sysdeps/i386/bits/byteswap.h: Likewise.
43857         * sysdeps/ia64/bits/byteswap.h: Likewise.
43858         * sysdeps/s390/bits/byteswap.h: Likewise.
43859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43861 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43863         [BZ #13540]
43864         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43865         destination buffer.
43866         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43868 2011-12-23  Marek Polacek  <polacek@redhat.com>
43870         * elf/dl-addr.c (determine_info): Add inline keyword.
43871         * elf/tst-auditmod4b.c (check_avx): Likewise.
43872         * elf/tst-auditmod6b.c (check_avx): Likewise.
43873         * elf/tst-auditmod6c.c (check_avx): Likewise.
43874         * elf/tst-auditmod7b.c (check_avx): Likewise.
43876 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43878         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43879         !__SSE_MATH__.
43881 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43883         [BZ #13540]
43884         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43885         processing for last bytes.
43887 2011-08-06  Bruno Haible  <bruno@clisp.org>
43889         [BZ #13061]
43890         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43891         U+0385, not to U+1FEE.
43893         [BZ #13062]
43894         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43895         entry for U+00A5 U+0301.
43897 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43899         [BZ #13166]
43900         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43901         buffer for the output is too small.
43903         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43904         optimization.
43906         [BZ #13185]
43907         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43908         SSE flags if possible.
43910 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43912         [BZ #13540]
43913         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43914         processing for last bytes.
43916 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43918         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43919         (syscall-list-default-options, syscall-list-default-condition)
43920         (syscall-list-includes): Define.
43921         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43922         list of ABIs and options and #if conditions for each ABI.  Do not
43923         handle common syscalls between ABIs specially.
43924         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43925         Remove.
43926         (syscall-list-variants, syscall-list-32bit-options)
43927         (syscall-list-32bit-condition, syscall-list-64bit-options)
43928         (syscall-list-64bit-condition): Define.
43929         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43930         (syscall-list-variants, syscall-list-32bit-options)
43931         (syscall-list-32bit-condition, syscall-list-64bit-options)
43932         (syscall-list-64bit-condition): Define.
43933         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43934         Remove.
43935         (syscall-list-variants, syscall-list-32bit-options)
43936         (syscall-list-32bit-condition, syscall-list-64bit-options)
43937         (syscall-list-64bit-condition): Define.
43938         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43939         Remove.
43940         (syscall-list-variants, syscall-list-32bit-options)
43941         (syscall-list-32bit-condition, syscall-list-64bit-options)
43942         (syscall-list-64bit-condition): Define.
43944 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43946         * locale/iso-639.def: Add brx entry.
43948         [BZ #13328]
43949         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43950         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43952         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43953         __feraiseexcept_renamed.
43955 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43957         [BZ #13538]
43958         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43959         EPOLLET with unsigned values.
43960         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43961         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43963         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43964         to large cancellation.
43965         * math/s_cacoshf.c: Likewise.
43966         * math/s_cacoshl.c: Likewise.
43968 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43970         [BZ #13305]
43971         [BZ #12786]
43972         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43973         * math/s_cacoshf.c: Likewise.
43974         * math/s_cacoshl.c: Likewise.
43976 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43978         [BZ #13439]
43979         * iconv/gconv.h: Define __GCONV_SWAP.
43980         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43981         * iconvdata/utf-16.c: Likewise.
43982         * iconvdata/utf-32.c: Likewise.
43984 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43986         [BZ #13524]
43987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43988         numerator after shifting it by one limb.
43990 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43992         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43993         under [__USE_EXTERN_INLINES].
43995 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43997         [BZ #13446]
43998         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44000 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44002         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44003         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44004         optimized code.
44005         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44006         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44007         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44008         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44009         for strncasecmp/strncasecmp_l compilation.
44010         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44011         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44013 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44015         [BZ #13484]
44016         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44017         of __asm__.
44019 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44021         [BZ #13506]
44022         * time/tzfile.c (__tzfile_read): Check values from file header.
44024 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44026         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44027         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44028         * powerpc/powerpc32/dl-start.S: Likewise.
44029         * powerpc/powerpc32/elf/start.S: Likewise.
44030         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44031         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44032         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44033         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44034         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44035         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44036         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44037         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44038         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44039         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44040         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44041         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44042         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44043         * powerpc/powerpc32/memset.S: Likewise.
44044         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44045         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44046         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44047         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44048         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44049         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44050         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44051         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44052         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44053         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44054         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44055         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44056         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44058 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44060         * math/libm-test.inc: Added more nearbyint tests.
44061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44062         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44063         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44064         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44066 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44068         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44069         FD_CLOEXEC.
44071 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44073         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44074         Add wcscpy-ssse3 wcscpy-c.
44075         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44076         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44077         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44078         * sysdeps/x86_64/wcschr.S: New file.
44079         * sysdeps/x86_64/wcsrchr.S: New file.
44080         * string/test-strcmp.c: Remove checking of wcscmp function for
44081         wrong alignments.
44082         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44083         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44084         wcsrchr-sse2 wcsrchr-c.
44085         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44086         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44088         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44089         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44090         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44091         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44092         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44093         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44094         * wcsmbc/wcschr.c (WCSCHR): New macro.
44096 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44098         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44099         * wcsmbs/test-wcsrchr.c: New file.
44100         * string/test-strrchr.c: Add wcsrchr support.
44101         (WIDE): New macro.
44102         * wcsmbs/test-wcscpy.c: New file.
44103         * string/test-strcpy.c: Add wcscpy support.
44104         (WIDE): New macro.
44106 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44108         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44109         the inner loop.
44111 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44113         [BZ #13472]
44114         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44116 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44118         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44119         Minor optimizations.
44121         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44122         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44123         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44125 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44127         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44128         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44129         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44130         for gcc to avoid warnings.
44131         * inet/Makefile (tests): Add tst-checks.
44132         * inet/tst-checks.c: New file.
44134         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44135         warning.
44137         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44138         __wmemcmp_sse2.
44140         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44141         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44143         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44145 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44147         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44148         problem.
44150         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44152 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44154         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44155         conditional on GCC version.
44156         (__arch_compare_and_exchange_val_8_acq)
44157         (__arch_compare_and_exchange_val_16_acq)
44158         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44159         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44160         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44162 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44164         * sysdeps/sh/backtrace.c: New file.
44166 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44168         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44169         parenthesis.
44171 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44173         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44174         falling back to utime.
44176 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44178         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44179         expectations for float.
44181 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44183         * locale/weight.h (findidx): Add parameter len.
44184         * locale/weightwc.h (findidx): Likewise.
44185         * posix/fnmatch_loop.c (FCT): Adjust caller.
44186         * posix/regcomp.c (build_equiv_class): Likewise.
44187         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44188         * posix/regexec.c (check_node_accept_bytes): Likewise.
44189         * string/strcoll_l.c (STRCOLL): Likewise.
44190         * string/strxfrm_l.c (STRXFRM): Likewise.
44192 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44194         * Makefile.in: Remove CVSOPT handling.
44195         * configure.in: Remove use of AC_REVISION.
44196         * iconvdata/Makefile (distribute): No need to filter out CVS.
44197         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44198         handling.
44200 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44203         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44204         [USE_AS_STRNCASECMP_L]: Likewise.
44205         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44206         NO_TLS_DIRECT_SEG_REFS.
44207         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44208         Fix argument offsets for non-PIC.
44209         [USE_AS_STRNCASECMP_L]: Likewise.
44210         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44211         NO_TLS_DIRECT_SEG_REFS.
44213 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44215         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44216         O_CLOEXEC.
44217         * locale/loadlocale.c (_nl_load_locale): Likewise.
44219 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44221         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44222         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44223         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44224         (SYSCALL_GETTIME): Set errno on error.
44226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44227         count references to noai6ai_cached.
44229 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44231         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44233         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44234         FD_CLOEXEC for /proc/self/maps.
44236         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44237         FD_CLOEXEC for /proc/meminfo.
44239         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44240         gai.conf.
44242         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44243         FD_CLOEXEC for given file.
44245         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44247         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44248         FD_CLOEXEC for /etc/hosts.
44249         (_gethtent): Likewise.
44251         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44253         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44254         cancellation and set FD_CLOEXEC for /etc/netgroup.
44256         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44257         reading /etc/publickey.
44259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44260         allow cancellation when reading /etc/group.
44262         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44263         cancellation.
44264         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44266         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44267         when using data file.
44269         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44271         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44272         (write_nis_obj): Use "c" and "e" in fopen.
44274         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44276         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44278         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44280         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44282         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44283         locale.alias.
44285         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44287         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44289         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44291         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44292         file parsing and set FD_CLOEXEC.
44294 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44296         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44298 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44300         * malloc/arena.c (arena_get2): Don't call reused_arena when
44301         _int_new_arena failed.
44303 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44305         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44306         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44308         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44311         to compile strcasecmp and strncasecmp.
44312         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44313         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44317 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44319         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44320         locale-defines.sym to gen-as-const-headers.
44321         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44322         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44324         to compile strcasecmp and strncasecmp.
44325         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44326         strcasecmp_l and strncasecmp_l.
44327         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44328         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44329         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44330         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44331         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44332         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44333         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44334         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44335         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44336         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44337         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44339 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44341         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44342         result of SYSDEP_GETTIME_CPU to retval.
44343         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44344         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44346         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44347         variable.
44349         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44350         mantissa words.
44351         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44353         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44354         from unused variable.
44356         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44357         DWARF definitions.
44358         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44359         for assembling.
44361         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44362         over namespaces.
44364         * sunrpc/rpc_prot.c (rejected): Fix case value.
44366         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44367         unsigned long long int to avoid warnings in shift.
44369         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44370         of use of trans.
44371         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44372         variable tmp.
44374         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44375         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44376         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44378         * nis/nis_table.c (nis_list): Use variable of correct type for
44379         result of __follow_path call.
44381 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44383         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44384         of math functions ceil, trunc, floor, round, and sqrt, when
44385         avaliable on the platform.
44386         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44387         name clash.
44388         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44389         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44390         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44392 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44394         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44395         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44397 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44399         * include/unistd.h: Fix __readlink return type.
44400         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44402 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44404         * stdlib/ucontext.h: Undo last change for makecontext.
44406 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44408         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44410         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44411         * setjmp/setjmp.h: Mark functions as non-leaf.
44412         * setjmp/bits/setjmp2.h: Likewise.
44413         * stdlib/ucontext.h: Likewise.
44415 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44417         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44418         (reused_arena): Don't check arena limit.
44419         (arena_get2): Atomically check arena limit.
44421 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44423         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44424         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44427         instructions.
44429 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44431         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44432         handler when locking.
44434         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44435         Fix size of allocated buffer.
44437 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44439         [BZ #10103]
44440         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44441         declarations for long double functions.
44442         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44444         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44446 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44448         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44449         installed.
44451         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44452         is disabled.
44454 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44456         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44458 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44460         * include/alloca.h (stackinfo_alloca_round): Define.
44461         (extend_alloca): Use it.
44462         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44463         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44464         here.
44466         * scripts/check-local-headers.sh: Ignore libaudit.h.
44468         * nscd/Makefile (extra-objs): Make recursively expanded.
44470 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44472         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44475         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44476         * posix/tst-rfc3484-2.c: Likewise.
44477         * posix/tst-rfc3484-3.c: Likewise.
44479         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44480         process_vm_writev.
44481         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44482         process_vm_writev.
44483         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44484         process_vm_writev from libc using GLIBC_2.15 version.
44486         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44488 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44490         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44491         stack usage.
44493 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44495         [BZ #13367]
44496         * nss/getent.c (initgroups_keys): Show error message in case no group
44497         names are given.
44499         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44500         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44501         __bump_nl_timestamp.
44502         * nscd/connections (nscd_init): When host database is served open
44503         netlink socket and request notification about configuration changes.
44504         (main_loop_poll): Track netlink file descriptor and bump timestamp
44505         in case data becomes available.
44506         (main_loop_epoll): Likewise.
44507         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44508         (database_pers_head): Add extra_data fileds.
44509         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44510         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44511         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44512         Adjust caller.
44513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44514         in6ai data, call __free_in6ai.
44515         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44516         Add -DHAVE_NETLINK.
44517         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44518         interface information.  Reuse previous data if netlink timestamp
44519         is not changed.
44520         (__bump_nl_timestamp): New function.
44521         (__free_in6ai): New function.
44523 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44526         close_not_cancel_no_status here.
44527         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44529 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44531         [BZ #13276]
44532         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44533         return value.
44535         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44536         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44537         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44539 2011-07-03  Andreas Jaeger  <aj@suse.de>
44541         [BZ #10709]
44542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44543         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44544         * math/libm-test.inc (sin_test): Add test case.
44546 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44548         [BZ #13337]
44549         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44550         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44552         * elf/chroot_canon.c (chroot_canon): Cleanups.
44554         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44556         [BZ #13335]
44557         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44558         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44560         * string/test-strchr.c: Make usable for strchrnul testing.
44561         * string/test-strchrnul.c: New file.
44562         * string/Makefile (strop-tests): Add strchrnul.
44564         * po/it.po: Update from translation team.
44565         * po/es.po: Likewise.
44567 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44569         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44570         the three constants needed as parameters.  Drop the others.
44571         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44572         __m128i_strloadu_tolower.
44573         Create and initialize variable zero and use it in all the places
44574         where _mm_setzero_si128 was used.
44576         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44577         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44578         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44580         anymore.
44581         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44582         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44583         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44584         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44585         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44586         __mpranred, __mptan.
44587         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44588         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44589         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44590         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44591         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44592         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44593         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44594         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44595         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44597 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44599         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44600         redefine if SHARED.
44601         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44604         wide char related routines to wcsmbs subdir.
44606 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44608         [BZ #13344]
44609         * misc/sys/cdefs.h (__THROWNL): Define.
44610         * posix/unistd.h: Use __THREADNL instead of __THREAD
44611         for memory synchronization functions.
44613 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44615         [BZ #13349]
44616         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44617         doesn't exist.
44618         * manual/stdio.texi (Obstack Streams): Node removed.
44620 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44622         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44624         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44626         * math/math_private.h (math_force_eval): Allow non-addressable
44627         arguments.
44628         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44630 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44632         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44633         file is not needed.
44635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44637         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44638         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44642         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44643         Add AVX variants.
44644         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44645         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44646         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44647         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44648         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44649         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44650         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44651         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44652         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44653         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44654         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44655         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44657         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44658         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44659         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44660         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44661         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44662         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44664         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44665         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44668         place.  Use VEX encoding when compiling for AVX.
44670 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44672         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44673         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44675         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44679         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44680         useless if() expression.
44681         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44687         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44691         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44693         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44694         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44695         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44697         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44698         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44699         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44701         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44703 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44705         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44706         condition.
44707         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44709 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44711         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44712         .text section.  Avoid duplicate constants.
44713         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44715         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44722         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44723         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44725         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44726         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44727         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44730         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44731         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44733         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44734         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44735         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44736         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44737         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44738         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44739         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44740         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44741         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44742         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44743         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44744         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44746         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44747         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44748         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44749         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44750         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44751         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44752         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44753         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44755         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44756         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44757         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44759 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44761         * sysdeps/x86_64/dla.h: Move to ...
44762         * sysdeps/x86_64/fpu/dla.h: ...here.
44763         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44764         situations.  Use __builtin_fma only for gcc 4.6 and up.
44766         * config.make.in: Add have-mfma4 entry.
44767         * configure.in: Substitute libc_cv_cc_fma4.
44768         * math/Makefile (dbl-only-routines): Add sincostab.
44769         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44770         Use __sincostab not sincos.
44771         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44772         name is a macro.
44773         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44777         using __copysign.
44778         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44779         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44780         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44781         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44782         and __inv.
44783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44784         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44785         __copysign.
44786         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44787         define aliases when function name is a macro.
44788         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44789         sysdeps/ieee754/dbl-64/sincos.tbl.
44790         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44791         fma4-enabled routines.
44792         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44793         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44794         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44795         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44796         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44797         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44798         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44799         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44800         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44801         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44802         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44803         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44804         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44805         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44806         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44807         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44808         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44809         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44810         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44811         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44812         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44813         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44814         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44815         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44819         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44820         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44821         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44823         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44824         rename.
44825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44834 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44836         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44838 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44840         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44842         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44843         prediction.
44844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44846         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44847         Remove unused variable magic_bits.
44848         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44850         * string/strnlen.c: Define and use STRNLEN macro.
44851         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44852         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44854         * wcsmbs/wcslen.c: Define and use WCSLEN.
44855         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44856         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44857         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44858         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44859         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44860         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44861         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44863 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44866         strnlen-sse2-no-bsf.
44867         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44869         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44870         Add strnlen support.
44871         (USE_AS_STRNLEN): New macro.
44872         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44873         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44874         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44875         * sysdeps/x86_64/wcslen.S: New file.
44877 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44879         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44880         XMM-moves are used for copying on small sizes.
44882 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44884         * wcsmbs/Makefile (strop-tests): Add wcschr.
44885         * wcsmbs/test-wcschr.c: New file.
44886         * string/test-strchr.c: Update.
44887         Add wcschr support.
44888         (WIDE): New macro.
44890 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44892         * wcsmbs/Makefile (strop-tests): Add wcslen.
44893         * wcsmbs/test-wcslen.c: New file.
44894         * string/test-strlen.c: Update.
44895         Add wcslen support.
44896         (WIDE): New macro.
44898 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44900         * po/it.po: Update from translation team.
44902 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44904         * sysdeps/x86_64/wcscmp.S: Update.
44905         Fix wrong comparison semantics.
44906         wcscmp shall use signed comparison not unsigned.
44907         Don't use substraction to avoid overflow bug.
44908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44909         * wcsmbc/wcscmp.c: Likewise.
44910         * string/test-strcmp.c: Likewise.
44911         Add new tests to check cases with negative values.
44913 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44915         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44916         * sysdeps/x86_64/dla.h: ...here.  New file.
44917         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44927 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44930         __ynl_finite aliases.
44932 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44936         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44937         define DLA_FMA.
44938         [DLA_FMA] (EMULV): Use DLA_FMA.
44939         [DLA_FMA] (MUL12): Use EMULV.
44940         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44941         that are not needed.
44942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44950 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44952         * math/s_nan.c: Undef __nan.
44953         * math/s_nanf.c: Undef __nanf.
44954         * math/s_nanl.c: Undef __nanl.
44955         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44956         "math_private.h".
44958 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44960         * math/s_catan.c: Add branch predictions.
44961         * math/s_catanf.c: Likewise.
44962         * math/s_catanh.c: Likewise.
44963         * math/s_catanhf.c: Likewise.
44964         * math/s_catanhl.c: Likewise.
44965         * math/s_catanl.c: Likewise.
44966         * math/s_cexp.c: Likewise.
44967         * math/s_cexpf.c: Likewise.
44968         * math/s_cexpl.c: Likewise.
44969         * math/s_clog.c: Likewise.
44970         * math/s_clog10.c: Likewise.
44971         * math/s_clog10f.c: Likewise.
44972         * math/s_clog10l.c: Likewise.
44973         * math/s_clogf.c: Likewise.
44974         * math/s_clogl.c: Likewise.
44975         * math/s_csqrt.c: Likewise.
44976         * math/s_csqrtf.c: Likewise.
44977         * math/s_csqrtl.c: Likewise.
44978         * math/s_ctanf.c: Likewise.
44979         * math/s_ctanh.c: Likewise.
44980         * math/s_ctanhf.c: Likewise.
44981         * math/s_ctanhl.c: Likewise.
44982         * math/s_ctanl.c: Likewise.
44984         * math/math_private.h: Define __nan, __nanf, __nanl.
44985         * math/s_cacosh.c: Include <math_private.h>.
44986         * math/s_cacoshl.c: Likewise.
44987         * math/s_casinh.c: Likewise.
44988         * math/s_casinhf.c: Likewise.
44989         * math/s_casinhl.c: Likewise.
44990         * math/s_ccos.c: Rely entire on ccosh.
44991         * math/s_ccosf.c: Rely entire on ccoshf.
44992         * math/s_ccosl.c: Rely entirely on ccoshl.
44993         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44994         Remove tests for FE_INVALID.
44995         * math/s_ccoshf.c: Likewise.
44996         * math/s_ccoshl.c: Likewise.
44997         * math/s_csin.c: Likewise.
44998         * math/s_csinf.c: Likewise.
44999         * math/s_csinh.c Likewise.
45000         * math/s_csinhf.c: Likewise.
45001         * math/s_csinhl.c: Likewise.
45002         * math/s_csinl.c: Likewise.
45003         * math/s_ctan.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45005         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45006         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45008 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45011         compilation problems.
45013         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45014         __builtin_expect.
45016 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45018         * sysdeps/i386/configure.in: Test for -mfma4 option.
45019         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45020         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45021         COMMON_CPUID_INDEX_80000001.
45022         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45023         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45024         use it if FMA3 is not supported.
45025         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45027         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45028         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45030 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45032         [BZ #12892]
45033         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45034         it would create a cycle with a link time dependency.
45036 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45038         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45039         instruction.
45040         * string/Makefile (strop-tests): Add rawmemchr.
45041         * string/test-rawmemchr.c: New file.
45043         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45045         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45046         when compiling str{,n}casecmp and when AVX is available.  Hook up
45047         new optimized code in initializers.
45049 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45051         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45052         __feraiseexcept instead of feraiseexcept.
45054 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45056         * math/math_private.h: Define defaults for libc_fetestexcept and
45057         libc_feupdateenv.
45058         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45059         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45060         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45061         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45062         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45063         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45064         libc_fetestexcept and libc_feupdateenv.
45066         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45067         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45068         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45069         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45070         libc_feholdexcept_setround.
45072         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45073         Add s_nearbyint-c and s_nearbyintf-c.
45074         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45075         nearbyintf inlines.
45076         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45077         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45078         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45079         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45081         * math/math_private.h: Define defaults for libc_fegetround,
45082         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45083         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45084         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45085         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45086         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45087         standard functions.
45088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45089         Remove comments and hacks for old compiler versions.
45090         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45091         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45092         libc_feholdexceptl.
45094 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45096         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45097         (__feraiseexcept_renamed): Add __NTH.
45098         (feraiseexcept): Add __NTH.  Rename local variables to fix
45099         namespace violations.
45101 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45103         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45107         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45108         recently added interfaces.
45109         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45111         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45112         about macro parameter expansion.
45114         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45115         __NO_MATH_INLINES is defined.  Cleanups.
45117         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45118         and __floorf is target has SSE4.1.
45119         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45120         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45121         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45122         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45124         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45125         name.
45126         (floorf): Likewise.
45128         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45130 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45132         * misc/sys/cdefs.h: Fix last change.
45134         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45135         database lookup.
45137 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45139         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45141         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45144         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45145         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45149         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45150         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45151         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45152         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45153         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45154         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45155         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45156         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45157         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45159         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45160         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45161         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45162         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45164         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45165         ceil, ceilf, floor, floorf.
45167         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45168         Perform IRELATIVE relocations last.
45170         * elf/do-rel.h: Add another parameter nrelative, replacing the
45171         local variable with the same name.  Change name of the function
45172         to end in Rel or Rela (uppercase).
45173         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45174         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45175         elf_dynamic_do_##reloc function.
45177 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45179         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45180         is sufficient, at least on modern CPUs.
45182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45184         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45185         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45187         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45188         __expl_finite.
45189         * math/bits/math-finite.h: Add entries for exp.
45190         * math/e_expl.c: Add __*_finite alias.
45191         * sysdeps/i386/fpu/e_exp.S: Likewise.
45192         * sysdeps/i386/fpu/e_expf.S: Likewise.
45193         * sysdeps/i386/fpu/e_expl.c: Likewise.
45194         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45195         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45196         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45198         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45199         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45200         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45202         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45203         is sufficient, at least on modern CPUs.
45205         * ctype/ctype-info.c (__ctype_init): Define.
45206         * include/ctype.h (__ctype_init): Declare.
45207         (__ctype_b_loc): The variable is always initialized.
45208         (__ctype_toupper_loc): Likewise.
45209         (__ctype_tolower_loc): Likewise.
45210         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45211         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45213 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45215         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45217         * configure.in: Also look in $cxxmachine/include for C++ system
45218         headers.
45220 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45222         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45223         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45224         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45225         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45226         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45227         (USE_AS_WMEMCMP): New macro.
45228         Fixing indents.
45229         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45230         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45231         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45232         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45234         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45235         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45236         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45237         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45238         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45239         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45240         (USE_AS_WMEMCMP): New macro.
45241         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45242         * sysdeps/string/test-memcmp.c: Update.
45243         Fix simple_wmemcmp.
45244         Add new tests.
45245         * wcsmbs/wmemcmp.c: Update.
45246         (WMEMCMP): New macro.
45247         Fix overflow bug.
45249 2011-10-12  Andreas Jaeger  <aj@suse.de>
45251         [BZ #13268]
45252         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45254 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45256         * libio/iofwide.c (do_length): Avoid warning.
45258         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45260 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45262         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45264         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45265         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45266         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45267         * sysdeps/i386/i686/fpu/e_log.S: New file.
45268         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45269         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45271         * ctype/ctype.h: Add support for inlined isXXX functions when
45272         compiling C++ code.
45274 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45276         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45278         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45280 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45282         [BZ #13291]
45283         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45285 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45287         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45288         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45289         feraiseexcept.
45291         * sysdeps/x86_64/memrchr.S: Check for zero size.
45293         * string/stratcliff.c: Add memrchr tests.
45295 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45298         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45299         rawmemchr-sse2 rawmemchr-sse2-bsf.
45300         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45301         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45302         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45303         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45304         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45305         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45306         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45307         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45308         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45309         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45310         * string/memrchr.c (MEMRCHR): New macro.
45312 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45314         Add integration with gcc's -ffinite-math-only and optimize wrapper
45315         functions in libm.
45316         * Versions.def: Define GLIBC_2.15 version for libm.
45317         * math/Makefile (headers): Add bits/math-finite.h.
45318         * math/bits/math-finite.h: New file.
45319         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45320         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45321         * math/e_acoshl.c: Add __*_finite alias.
45322         * math/e_acosl.c: Likewise.
45323         * math/e_asinl.c: Likewise.
45324         * math/e_atan2l.c: Likewise.
45325         * math/e_atanhl.c: Likewise.
45326         * math/e_coshl.c: Likewise.
45327         * math/e_exp10.c: Likewise.
45328         * math/e_exp10f.c: Likewise.
45329         * math/e_exp10l.c: Likewise.
45330         * math/e_exp2l.c: Likewise.
45331         * math/e_fmodl.c: Likewise.
45332         * math/e_gammal_r.c: Likewise.
45333         * math/e_hypotl.c: Likewise.
45334         * math/e_j0l.c: Likewise.
45335         * math/e_j1l.c: Likewise.
45336         * math/e_jnl.c: Likewise.
45337         * math/e_lgammal_r.c: Likewise.
45338         * math/e_log10l.c: Likewise.
45339         * math/e_log2l.c: Likewise.
45340         * math/e_logl.c: Likewise.
45341         * math/e_powl.c: Likewise.
45342         * math/e_sinhl.c: Likewise.
45343         * math/e_sqrtl.c: Likewise.
45344         * math/e_scalb.c: Completely rewritten and optimized.
45345         * math/e_scalbf.c: Likewise.
45346         * math/e_scalbl.c: Likewise.
45347         * math/w_acos.c: Likewise.
45348         * math/w_acosf.c: Likewise.
45349         * math/w_acosl.c: Likewise.
45350         * math/w_acosh.c: Likewise.
45351         * math/w_acoshf.c: Likewise.
45352         * math/w_acoshl.c: Likewise.
45353         * math/w_asin.c: Likewise.
45354         * math/w_asinf.c: Likewise.
45355         * math/w_asinl.c: Likewise.
45356         * math/w_atan2.c: Likewise.
45357         * math/w_atan2f.c: Likewise.
45358         * math/w_atan2l.c: Likewise.
45359         * math/w_atanh.c: Likewise.
45360         * math/w_atanhf.c: Likewise.
45361         * math/w_atanhl.c: Likewise.
45362         * math/w_exp10.c: Likewise.
45363         * math/w_exp10f.c: Likewise.
45364         * math/w_exp10l.c: Likewise.
45365         * math/w_fmod.c: Likewise.
45366         * math/w_fmodf.c: Likewise.
45367         * math/w_fmodl.c: Likewise.
45368         * math/w_j0.c: Likewise.
45369         * math/w_j0f.c: Likewise.
45370         * math/w_j0l.c: Likewise.
45371         * math/w_j1.c: Likewise.
45372         * math/w_j1f.c: Likewise.
45373         * math/w_j1l.c: Likewise.
45374         * math/w_jn.c: Likewise.
45375         * math/w_jnf.c: Likewise.
45376         * math/w_log.c: Likewise.
45377         * math/w_logf.c: Likewise.
45378         * math/w_logl.c: Likewise.
45379         * math/w_log10.c: Likewise.
45380         * math/w_log10f.c: Likewise.
45381         * math/w_log10l.c: Likewise.
45382         * math/w_log2.c: Likewise.
45383         * math/w_log2f.c: Likewise.
45384         * math/w_log2l.c: Likewise.
45385         * math/w_pow.c: Likewise.
45386         * math/w_powf.c: Likewise.
45387         * math/w_powl.c: Likewise.
45388         * math/w_remainder.c: Likewise.
45389         * math/w_remainderf.c: Likewise.
45390         * math/w_remainderl.c: Likewise.
45391         * math/w_scalb.c: Likewise.
45392         * math/w_scalbf.c: Likewise.
45393         * math/w_scalbl.c: Likewise.
45394         * math/w_sqrt.c: Likewise.
45395         * math/w_sqrtf.c: Likewise.
45396         * math/w_sqrtl.c: Likewise.
45397         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45398         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45399         used.
45400         * math/math_private.h: Declare __kernel_standard_f.
45401         * math/w_cosh.c: Remove cruft and optimize a bit.
45402         * math/w_coshf.c: Likewise.
45403         * math/w_coshl.c: Likewise.
45404         * math/w_exp2.c: Likewise.
45405         * math/w_exp2f.c: Likewise.
45406         * math/w_exp2l.c: Likewise.
45407         * math/w_hypot.c: Likewise.
45408         * math/w_hypotf.c: Likewise.
45409         * math/w_hypotl.c: Likewise.
45410         * math/w_lgamma.c: Likewise.
45411         * math/w_lgamma_r.c: Likewise.
45412         * math/w_lgammaf.c: Likewise.
45413         * math/w_lgammaf_r.c: Likewise.
45414         * math/w_lgammal.c: Likewise.
45415         * math/w_lgammal_r.c: Likewise.
45416         * math/w_sinh.c: Likewise.
45417         * math/w_sinhf.c: Likewise.
45418         * math/w_sinhl.c: Likewise.
45419         * math/w_tgamma.c: Likewise.
45420         * math/w_tgammaf.c: Likewise.
45421         * math/w_tgammal.c: Likewise.
45422         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45424         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45425         Minor optimizations.  Pretty printing.  Remove cruft.
45426         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45427         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45428         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45430         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45431         * sysdeps/i386/fpu/e_asin.S: Likewise.
45432         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45433         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45434         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45435         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45437         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45439         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45440         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45441         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45442         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45443         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45444         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45445         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45446         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45447         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45448         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45449         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45450         * sysdeps/i386/fpu/e_log.S: Likewise.
45451         * sysdeps/i386/fpu/e_log10.S: Likewise.
45452         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45453         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45454         * sysdeps/i386/fpu/e_log2.S: Likewise.
45455         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45456         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45457         * sysdeps/i386/fpu/e_logf.S: Likewise.
45458         * sysdeps/i386/fpu/e_logl.S: Likewise.
45459         * sysdeps/i386/fpu/e_pow.S: Likewise.
45460         * sysdeps/i386/fpu/e_powf.S: Likewise.
45461         * sysdeps/i386/fpu/e_powl.S: Likewise.
45462         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45463         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45464         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45465         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45467         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45468         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45469         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45470         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45471         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45472         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45473         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45474         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45479         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45482         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45488         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45492         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45493         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45494         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45495         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45496         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45497         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45498         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45499         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45500         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45502         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45503         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45505         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45506         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45507         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45508         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45509         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45510         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45511         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45512         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45519         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45521         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45523         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45526         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45527         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45528         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45529         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45530         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45531         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45533         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45535         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45537         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45539         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45540         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45541         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45542         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45543         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45544         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45545         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45546         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45548         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45549         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45550         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45551         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45552         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45555         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45557         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45560         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45561         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45562         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45563         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45564         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45565         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45566         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45567         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45568         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45569         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45570         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45571         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45572         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45573         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45574         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45575         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45576         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45577         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45578         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45579         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45580         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45581         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45582         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45583         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45584         (__isnanf): Likewise.
45585         (__isinf_ns): Likewise.
45586         (__isinf_nsf): Likewise.
45587         (__finite): Likewise.
45588         (__finitef): Likewise.
45589         (__ieee754_sqrt): Define as macro.
45590         (__ieee754_sqrtf): Define as macro.
45591         (__ieee754_sqrtl): Define as macro.
45592         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45593         inlined copy.
45594         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45595         __FINITE_MATH_ONLY__ consistent.
45596         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45598 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45600         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45601         of rawmemchr.
45603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45605 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45607         * po/ja.po: Update from translation team.
45609 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45611         * locale/programs/locarchive.c (prepare_address_space): New function.
45612         (create_archive, enlarge_archive, open_archive): Use it.
45614         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45615         inside [SHARED], where it is used.
45617         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45619         * nss/getent.c (netgroup_keys): Remove unused variable.
45620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45622 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45624         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45625         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45627         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45628         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45629         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45630         * math/Makefile (libm-calls): Add s_isinf_ns.
45631         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45632         * math/multc3.c: Likewise.
45633         * math/s_casin.c: Likewise.
45634         * math/s_casinf.c: Likewise.
45635         * math/s_casinl.c: Likewise.
45636         * math/s_ccos.c: Likewise.
45637         * math/s_ccosf.c: Likewise.
45638         * math/s_ccosl.c: Likewise.
45639         * math/s_ctan.c: Likewise.
45640         * math/s_ctanf.c: Likewise.
45641         * math/s_ctanh.c: Likewise.
45642         * math/s_ctanhf.c: Likewise.
45643         * math/s_ctanhl.c: Likewise.
45644         * math/s_ctanl.c: Likewise.
45645         * math/w_fmod.c: Likewise.
45646         * math/w_fmodf.c: Likewise.
45647         * math/w_fmodl.c: Likewise.
45648         * math/w_remainder.c: Likewise.
45649         * math/w_remainderf.c: Likewise.
45650         * math/w_remainderl.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45652         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45653         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45655         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45656         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45657         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45658         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45660         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45661         of the number.
45662         * stdio-common/printf_fphex.c: Likewise.
45663         * stdio-common/printf_size.c: Likewise.
45665         * math/e_exp10.c: Include math_private.h using <...> not "...".
45666         * math/e_exp10f.c: Likewise.
45667         * math/e_exp10l.c: Likewise.
45668         * math/e_exp2l.c: Likewise.
45669         * math/e_j0l.c: Likewise.
45670         * math/e_j1l.c: Likewise.
45671         * math/e_jnl.c: Likewise.
45672         * math/e_lgammal_r.c: Likewise.
45673         * math/e_rem_pio2l.c: Likewise.
45674         * math/e_scalb.c: Likewise.
45675         * math/e_scalbf.c: Likewise.
45676         * math/e_scalbl.c: Likewise.
45677         * math/k_cosl.c: Likewise.
45678         * math/k_sinl.c: Likewise.
45679         * math/k_tanl.c: Likewise.
45680         * math/s_cacoshf.c: Likewise.
45681         * math/s_catan.c: Likewise.
45682         * math/s_catanf.c: Likewise.
45683         * math/s_catanh.c: Likewise.
45684         * math/s_catanhf.c: Likewise.
45685         * math/s_catanhl.c: Likewise.
45686         * math/s_catanl.c: Likewise.
45687         * math/s_ccosh.c: Likewise.
45688         * math/s_ccoshf.c: Likewise.
45689         * math/s_ccoshl.c: Likewise.
45690         * math/s_cexp.c: Likewise.
45691         * math/s_cexpf.c: Likewise.
45692         * math/s_cexpl.c: Likewise.
45693         * math/s_clog.c: Likewise.
45694         * math/s_clog10.c: Likewise.
45695         * math/s_clog10f.c: Likewise.
45696         * math/s_clog10l.c: Likewise.
45697         * math/s_clogf.c: Likewise.
45698         * math/s_clogl.c: Likewise.
45699         * math/s_csin.c: Likewise.
45700         * math/s_csinf.c: Likewise.
45701         * math/s_csinh.c: Likewise.
45702         * math/s_csinhf.c: Likewise.
45703         * math/s_csinhl.c: Likewise.
45704         * math/s_csinl.c: Likewise.
45705         * math/s_csqrt.c: Likewise.
45706         * math/s_csqrtf.c: Likewise.
45707         * math/s_csqrtl.c: Likewise.
45708         * math/s_ctan.c: Likewise.
45709         * math/s_ctanf.c: Likewise.
45710         * math/s_ctanh.c: Likewise.
45711         * math/s_ctanhf.c: Likewise.
45712         * math/s_ctanhl.c: Likewise.
45713         * math/s_ctanl.c: Likewise.
45714         * math/s_ldexp.c: Likewise.
45715         * math/s_ldexpf.c: Likewise.
45716         * math/s_ldexpl.c: Likewise.
45717         * math/s_significand.c: Likewise.
45718         * math/s_significandf.c: Likewise.
45719         * math/s_significandl.c: Likewise.
45720         * math/w_acos.c: Likewise.
45721         * math/w_acosf.c: Likewise.
45722         * math/w_acosh.c: Likewise.
45723         * math/w_acoshf.c: Likewise.
45724         * math/w_acoshl.c: Likewise.
45725         * math/w_acosl.c: Likewise.
45726         * math/w_asin.c: Likewise.
45727         * math/w_asinf.c: Likewise.
45728         * math/w_asinl.c: Likewise.
45729         * math/w_atan2.c: Likewise.
45730         * math/w_atan2f.c: Likewise.
45731         * math/w_atan2l.c: Likewise.
45732         * math/w_atanh.c: Likewise.
45733         * math/w_atanhf.c: Likewise.
45734         * math/w_atanhl.c: Likewise.
45735         * math/w_cosh.c: Likewise.
45736         * math/w_coshf.c: Likewise.
45737         * math/w_coshl.c: Likewise.
45738         * math/w_dremf.c: Likewise.
45739         * math/w_exp10.c: Likewise.
45740         * math/w_exp10f.c: Likewise.
45741         * math/w_exp10l.c: Likewise.
45742         * math/w_exp2.c: Likewise.
45743         * math/w_exp2f.c: Likewise.
45744         * math/w_fmod.c: Likewise.
45745         * math/w_fmodf.c: Likewise.
45746         * math/w_fmodl.c: Likewise.
45747         * math/w_hypot.c: Likewise.
45748         * math/w_hypotf.c: Likewise.
45749         * math/w_hypotl.c: Likewise.
45750         * math/w_j0.c: Likewise.
45751         * math/w_j0f.c: Likewise.
45752         * math/w_j0l.c: Likewise.
45753         * math/w_j1.c: Likewise.
45754         * math/w_j1f.c: Likewise.
45755         * math/w_j1l.c: Likewise.
45756         * math/w_jn.c: Likewise.
45757         * math/w_jnf.c: Likewise.
45758         * math/w_jnl.c: Likewise.
45759         * math/w_lgamma.c: Likewise.
45760         * math/w_lgamma_r.c: Likewise.
45761         * math/w_lgammaf.c: Likewise.
45762         * math/w_lgammaf_r.c: Likewise.
45763         * math/w_lgammal.c: Likewise.
45764         * math/w_lgammal_r.c: Likewise.
45765         * math/w_log.c: Likewise.
45766         * math/w_log10.c: Likewise.
45767         * math/w_log10f.c: Likewise.
45768         * math/w_log10l.c: Likewise.
45769         * math/w_log2.c: Likewise.
45770         * math/w_log2f.c: Likewise.
45771         * math/w_log2l.c: Likewise.
45772         * math/w_logf.c: Likewise.
45773         * math/w_logl.c: Likewise.
45774         * math/w_pow.c: Likewise.
45775         * math/w_powf.c: Likewise.
45776         * math/w_powl.c: Likewise.
45777         * math/w_remainder.c: Likewise.
45778         * math/w_remainderf.c: Likewise.
45779         * math/w_remainderl.c: Likewise.
45780         * math/w_scalb.c: Likewise.
45781         * math/w_scalbf.c: Likewise.
45782         * math/w_scalbl.c: Likewise.
45783         * math/w_sinh.c: Likewise.
45784         * math/w_sinhf.c: Likewise.
45785         * math/w_sinhl.c: Likewise.
45786         * math/w_sqrt.c: Likewise.
45787         * math/w_sqrtf.c: Likewise.
45788         * math/w_sqrtl.c: Likewise.
45789         * math/w_tgamma.c: Likewise.
45790         * math/w_tgammaf.c: Likewise.
45791         * math/w_tgammal.c: Likewise.
45793         * po/ja.po: Update from translation team.
45795 2011-09-29  Andreas Jaeger  <aj@suse.de>
45797         [BZ #13179]
45798         * sunrpc/netname.c (netname2host): Fix logic.
45800         [BZ #6779]
45801         [BZ #6783]
45802         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45803         correctly.
45804         * math/w_remainder.c (__remainder): Likewise.
45805         * math/w_remainderf.c (__remainderf): Likewise.
45806         * math/libm-test.inc (remainder_test): Add test cases.
45808 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45810         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45811         sdiv_qrnnd.
45813 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45815         * string/test-memcmp.c: Avoid unncessary #defines.
45816         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45818 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45820         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45821         Use new sse2 version for core i3 - i7 as it's faster
45822         than sse42 version.
45823         (bit_Prefer_PMINUB_for_stringop): New.
45824         * sysdeps/x86_64/rawmemchr.S: Update.
45825         Replace with faster SSE2 version.
45826         * sysdeps/x86_64/memrchr.S: New file.
45827         * sysdeps/x86_64/memchr.S: Update.
45828         Replace with faster SSE2 version.
45830 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45832         * elf/dl-load.c (lose): Add cast to avoid warning.
45834 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45836         * po/ca.po: Update from translation team.
45838         * inet/getnetgrent_r.c: Hook up nscd.
45839         * nscd/Makefile (routines): Add nscd_netgroup.
45840         (nscd-modules): Add netgroupcache.
45841         (CFLAGS-netgroupcache.c): Define.
45842         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45843         (cache_search): Add const to second parameter.
45844         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45845         INNETGR.
45846         (dbs): Add netgrdb entry.
45847         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45848         (verify_persistent_db): Handle netgrdb.
45849         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45850         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45851         GETFDNETGR.
45852         (netgroup_response_header): Define.
45853         (innetgroup_response_header): Define.
45854         (datahead): Add netgroup_response_header and innetgroup_response_header
45855         elements.
45856         * nscd/nscd.conf: Add entries for netgroup cache.
45857         * nscd/nscd.h (dbtype): Add netgrdb.
45858         (_PATH_NSCD_NETGROUP_DB): Define.
45859         (netgroup_iov_disabled): Declare.
45860         (xmalloc, xcalloc, xrealloc): Move declarations here.
45861         (cache_search): Adjust prototype.
45862         Add netgroup-related prototypes.
45863         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45864         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45865         (__nscd_innetgr): Declare.
45866         * nscd/selinux.c (perms): Use access_vector_t as element type and
45867         add netgroup-related initializers.
45868         * nscd/netgroupcache.c: New file.
45869         * nscd/nscd_netgroup.c: New file.
45870         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45871         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45872         For four parameters use innetgr.
45873         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45874         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45875         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45876         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45878         * nscd/connections.c (register_traced_file): Don't register file
45879         for disabled databases.
45881 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45883         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45885         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45886         from tree and freeing node.
45888 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45890         * nss/nsswitch.c (__nss_database_lookup): Handle
45891         nss_parse_service_list out of memory case.
45893 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45895         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45896         out of memory case.
45898 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45900         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45901         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45902         pass it down.
45903         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45904         elf_machine_rela, elf_machine_lazy_rel.
45905         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45906         (ELF_DYNAMIC_DO_REL): Likewise.
45907         (ELF_DYNAMIC_DO_RELA): Likewise.
45908         (ELF_DYNAMIC_RELOCATE): Likewise.
45909         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45910         to ELF_DYNAMIC_DO_REL.
45911         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45912         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45913         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45914         elf_machine_rela.
45915         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45916         skip_ifunc, don't call ifunc function if non-zero.
45917         (elf_machine_rela): Likewise.
45918         (elf_machine_lazy_rel): Likewise.
45919         (elf_machine_lazy_rela): Likewise.
45920         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45921         (elf_machine_lazy_rel): Likewise.
45922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45923         Likewise.
45924         (elf_machine_lazy_rel): Likewise.
45925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45926         Likewise.
45927         (elf_machine_lazy_rel): Likewise.
45928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45929         (elf_machine_lazy_rel): Likewise.
45930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45931         (elf_machine_lazy_rel): Likewise.
45932         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45933         (elf_machine_lazy_rel): Likewise.
45934         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45935         (elf_machine_lazy_rel): Likewise.
45936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45937         (elf_machine_lazy_rel): Likewise.
45938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45939         (elf_machine_lazy_rel): Likewise.
45941 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45943         * nss/nss_files/files-init.c (_nss_files_init): Use static
45944         initialization for all the *_traced_file variables.
45946 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45948         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45950 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45952         [BZ #13226]
45953         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45955 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45958         Reread the line before reparsing it.
45960 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45962         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45964 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45965             Maxim Kuvyrkov  <maxim@codesourcery.com>
45966             Joseph Myers  <joseph@codesourcery.com>
45968         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45969         if needed for __stack_chk_guard.
45971 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45973         * sysdeps/posix/spawni.c (script_execute): Always define it.
45974         It will be optimized away if unused.
45975         (maybe_script_execute): New function.
45976         (__spawni): Call it.
45978         * Makerules: Don't include tls.make.
45979         (config-tls): Always set to thread.
45980         * tls.make.c: File removed.
45982 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45984         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45985         * config.make.in (CPPFLAGS-config): New substituted variable.
45987 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45989         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45991         [BZ #13192]
45992         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45993         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45995 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45997         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45998         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46000         (CALL_FAIL): Likewise.
46001         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46002         (CALL_FAIL): Macro removed.
46003         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46005 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46007         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46008         for __FINITE_MATH_ONLY__ == 1.
46010 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46012         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46013         __ieee754_sqrt instead of sqrt.
46014         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46015         __ieee754_sqrtf instead of sqrtf.
46016         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46017         __floorf instead of floorf.
46018         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46019         __floorf, __truncf instead of floorf, truncf.
46021 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46023         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46025         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46026         __extern_always_inline.
46027         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46028         32-bit.
46030 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46032         * elf/rtld.c (dl_main): Also relocate in dependency order when
46033         doing symbol dependency testing.
46035 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46038         Always define `refsym'.
46040 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46042         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46043         (__FD_ELT): Renamed from __FDELT.
46044         * misc/bits/select2.h (__FD_ELT): Likewise.
46045         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46046         __FD_MASK instead of __FDELT, __FDMASK.
46047         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46048         Likewise.
46049         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46050         Likewise.
46052         * elf/Makefile (gen-ldd): Fix pattern.
46054         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46055         (init_tls): Likewise.
46057 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46061 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46063         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46064         `struct cmsghdr *' instead of `void *'.
46065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46066         Likewise.
46068 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46070         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46071         if non-absolute.
46072         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46073         ldd_rewrite_script.
46075 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46077         * configure.in: Remove --with-tls option.
46078         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46079         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46080         out in case it is missing.
46081         * sysdeps/ia64/elf/configure.in: Likewise.
46082         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46083         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46084         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46085         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46086         * sysdeps/sh/elf/configure.in: Likewise.
46087         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46088         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46089         * sysdeps/x86_64/elf/configure.in: Likewise.
46090         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46091         * sysdeps/mach/hurd/tls.h: Likewise.
46093         [BZ #13067]
46094         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46096         [BZ #13090]
46097         * configure.in: Fix use of AC_INIT.
46099         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46101 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46103         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46104         __set_errno.
46105         * malloc/hooks.c: Likewise.
46107         [BZ #11929]
46108         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46109         variables statically.
46110         (narenas): Initialize.
46111         (list_lock): Initialize.
46112         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46113         initializtion of main_arena and list_lock.  Small cleanups.
46114         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46115         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46116         Add initializers to main_arena and mp_.
46117         (malloc_state): Remove pagesize member.  Change all users to use
46118         GLRO(dl_pagesize).
46120         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46121         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46122         is always initialized.
46124         * malloc/malloc.c: Removed unused configurations and dead code.
46125         * malloc/arena.c: Likewise.
46126         * malloc/hooks.c: Likewise.
46127         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46129         * include/tls.h: Removed.  USE___THREAD must always be defined.
46130         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46131         * elf/dl-libc.c: Likewise.
46132         * elf/dl-tsd.c: Likewise.
46133         * include/errno.h: Likewise.
46134         * include/netdb.h: Likewise.
46135         * include/resolv.h: Likewise.
46136         * inet/herrno-loc.c: Likewise.
46137         * inet/herrno.c: Likewise.
46138         * malloc/arena.c: Likewise.
46139         * malloc/hooks.c: Likewise.
46140         * malloc/malloc.c: Likewise.
46141         * resolv/res-state.c: Likewise.
46142         * resolv/res_libc.c: Likewise.
46143         * sysdeps/i386/dl-machine.h: Likewise.
46144         * sysdeps/ia64/dl-machine.h: Likewise.
46145         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46146         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46147         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46148         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46149         * sysdeps/sh/dl-machine.h: Likewise.
46150         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46151         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46152         * sysdeps/unix/i386/sysdep.S: Likewise.
46153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46154         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46159         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46163         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46164         * sysdeps/x86_64/dl-machine.h: Likewise.
46165         * tls.make.c: Likewise.
46167         * configure.in: Remove --with-__thread option.  Make tests for
46168         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46169         tls_model attribute fail if no support is available.  Remove
46170         USE_IN_LIBIO.
46171         * Makeconfig: Adjust for dropped configure option.  All features are
46172         now mandatory.
46173         * Makerules: Likewise.
46174         * Versions.def: Likewise.
46175         * argp/argp-fmtstream.c: Likewise.
46176         * argp/argp-fmtstream.h: Likewise.
46177         * argp/argp-help.c: Likewise.
46178         * assert/assert.c: Likewise.
46179         * config.h.in: Likewise.
46180         * config.make.in: Likewise.
46181         * configure: Likewise.
46182         * configure.in: Likewise.
46183         * csu/Versions: Likewise.
46184         * csu/init.c: Likewise.
46185         * elf/tst-audit2.c: Likewise.
46186         * elf/tst-tls10.c: Likewise.
46187         * elf/tst-tls10.h: Likewise.
46188         * elf/tst-tls11.c: Likewise.
46189         * elf/tst-tls12.c: Likewise.
46190         * elf/tst-tls14.c: Likewise.
46191         * elf/tst-tlsmod11.c: Likewise.
46192         * elf/tst-tlsmod12.c: Likewise.
46193         * elf/tst-tlsmod13.c: Likewise.
46194         * elf/tst-tlsmod13a.c: Likewise.
46195         * elf/tst-tlsmod14a.c: Likewise.
46196         * elf/tst-tlsmod15b.c: Likewise.
46197         * elf/tst-tlsmod16a.c: Likewise.
46198         * elf/tst-tlsmod16b.c: Likewise.
46199         * elf/tst-tlsmod7.c: Likewise.
46200         * elf/tst-tlsmod8.c: Likewise.
46201         * elf/tst-tlsmod9.c: Likewise.
46202         * gmon/gmon.c: Likewise.
46203         * grp/fgetgrent_r.c: Likewise.
46204         * grp/putgrent.c: Likewise.
46205         * hurd/fopenport.c: Likewise.
46206         * include/libc-symbols.h: Likewise.
46207         * include/tls.h: Likewise.
46208         * intl/gettextP.h: Likewise.
46209         * intl/loadinfo.h: Likewise.
46210         * locale/global-locale.c: Likewise.
46211         * locale/localeinfo.h: Likewise.
46212         * mach/devstream.c: Likewise.
46213         * malloc/arena.c: Likewise.
46214         * malloc/set-freeres.c: Likewise.
46215         * misc/err.c: Likewise.
46216         * misc/getttyent.c: Likewise.
46217         * misc/mntent_r.c: Likewise.
46218         * posix/getopt.c: Likewise.
46219         * posix/wordexp.c: Likewise.
46220         * pwd/fgetpwent_r.c: Likewise.
46221         * resolv/Versions: Likewise.
46222         * resolv/res_hconf.c: Likewise.
46223         * shadow/fgetspent_r.c: Likewise.
46224         * shadow/putspent.c: Likewise.
46225         * stdio-common/printf_fphex.c: Likewise.
46226         * stdio-common/tmpfile.c: Likewise.
46227         * stdlib/abort.c: Likewise.
46228         * stdlib/fmtmsg.c: Likewise.
46229         * sunrpc/auth_unix.c: Likewise.
46230         * sunrpc/clnt_perr.c: Likewise.
46231         * sunrpc/clnt_tcp.c: Likewise.
46232         * sunrpc/clnt_udp.c: Likewise.
46233         * sunrpc/clnt_unix.c: Likewise.
46234         * sunrpc/openchild.c: Likewise.
46235         * sunrpc/svc_simple.c: Likewise.
46236         * sunrpc/svc_tcp.c: Likewise.
46237         * sunrpc/svc_udp.c: Likewise.
46238         * sunrpc/svc_unix.c: Likewise.
46239         * sunrpc/xdr.c: Likewise.
46240         * sunrpc/xdr_array.c: Likewise.
46241         * sunrpc/xdr_rec.c: Likewise.
46242         * sunrpc/xdr_ref.c: Likewise.
46243         * sunrpc/xdr_stdio.c: Likewise.
46245 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46247         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46249 2011-07-03  Andreas Jaeger  <aj@suse.de>
46251         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46252         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46253         regenerate with gen-libm-tests.pl.
46255 2010-05-12  Petr Baudis  <pasky@suse.cz>
46257         [BZ #11589]
46258         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46259         around j0() zero points by switching to j1().
46260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46265 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46267         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46268         instead of 0.
46269         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46270         instead of 0.
46271         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46272         Patch in part by Pavel Roskin <proski@gnu.org>.
46274         [BZ #13138]
46275         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46276         realloc.
46277         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46278         Free memory block if necessary.
46280         [BZ #12847]
46281         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46282         be NULL.  Don't lock in this case.
46284 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46286         * elf/elf.h (ELFOSABI_GNU): New macro.
46287         (ELFOSABI_LINUX): Define to that.
46289 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46291         * string/strncat.c (strncat): Undef the symbol in case it has been
46292         defined in bits/string.h.
46294 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46296         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46298         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46299         link map.
46301 2011-08-17  Andreas Jaeger  <aj@suse.de>
46303         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46305 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46306             Ian Lance Taylor  <iant@google.com>
46308         * math/libm-test.inc (lround_test): New testcase.
46309         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46311 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46313         * Makefile: Remove support for automatic cvs check-ins.
46314         * Makerules: Likewise.
46315         * config.make.in: Likewise.
46316         * configure.in: Likewise.
46317         * intl/Makefile: Likewise.
46318         * locale/Makefile: Likewise.
46319         * po/Makefile: Likewise.
46320         * posix/Makefile: Likewise.
46321         * sysdeps/gnu/Makefile: Likewise.
46322         * sysdeps/mach/hurd/Makefile: Likewise.
46323         * sysdeps/sparc/sparc32/Makefile: Likewise.
46325         [BZ #13118]
46326         * posix/Makefile (bug-regex32-ENV): Define.
46327         Patch by John Stanley <jpsinthemix@verizon.net>.
46329         * misc/Makefile (headers): Add bits/select2.h.
46330         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46331         * misc/bits/select2.h: New file.
46332         * include/bits/select2.h: New file.
46333         * debug/Makefile (routines): Add fdelt_chk.
46334         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46335         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46336         FD_ISSET.
46337         * debug/fdelt_chk.c: New file.
46339         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46340         * wcsmbs/test-wmemcmp.c: Likewise.
46341         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46342         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46344 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46346         * string/Makefile (strop-tests): Add memcmp.
46347         * string/test-wmemcmp.c: New file.
46348         * string/test-memcmp.c: Add wmemcmp support.
46350 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46352         [BZ #13153]
46353         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46354         2011-07-19 change.
46356         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46357         garbage value in a __mach_port_mod_refs call in the cases of the
46358         task-self and thread-self ports.
46360 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46362         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46364 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46366         * elf/dl-load.c (lose): Check for non-null L.
46368 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46370         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46372         * elf/dl-libc.c (dlerror_run): Pass back error code from
46373         dl_catch_error.
46375         [BZ #13123]
46376         * elf/dl-load.c (lose): Free l_origin if it is valid.
46378         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46379         names.
46380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46384         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46385         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46387 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46389         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46390         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46391         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46392         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46393         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46394         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46395         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46396         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46397         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46398         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46400 2011-08-15  Alan Modra  <amodra@gmail.com>
46402         [BZ #13092]
46403         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46404         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46405         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46406         ppc_mcount to static-only-routines.
46407         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46408         __mcount_internal.
46409         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46410         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46412 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46414         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46415         for finite and infinity parameters.
46417 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46419         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46420         and add nop instructions for throughput optimization.
46421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46423 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46425         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46426         aligned copy for power7 with vector-scalar instructions.
46427         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46429 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46432         AVX check.
46434 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46436         [BZ #13144]
46437         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46438         last change.
46440 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46442         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46443         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46444         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46445         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46446         clock_gettime.
46448 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46450         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46451         Forgot to demangle the pointer.
46453         * sysdeps/i386/sysdep.h: Define atom_text_section.
46454         * sysdeps/x86_64/sysdep.h: Likewise.
46455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46456         section with atom_text_section.
46457         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46458         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46459         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46461         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46463         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46464         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46465         already be defined.  Change to take two parameters and don't assign
46466         result to variable.  Adjust all users.
46467         Define INTERNAL_GETTIME if not already defined.
46468         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46469         call.
46470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46471         HAVE_CLOCK_GETTIME_VSYSCALL.
46472         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46475         gettimeofday vsyscall, just use time.
46477 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46480         <errno.h>.
46482 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46484         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46485         syscall on x86-64.
46486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46487         syscall.
46488         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46489         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46490         syscall if possible.
46492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46494         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46495         e_ident.  Don't pass to find_mapsXX.
46496         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46498 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46501         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46502         * sysdeps/x86_64/multiarch/strchr.S: Update.
46503         Check bit_slow_BSF bit.
46504         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46506         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46508 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46510         [BZ #13134]
46511         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46512         before glibc 2.15.
46513         (tryshell): Define.
46514         (__spawni): Change last parameter to be flag.  Test
46515         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46516         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46517         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46518         * posix/spawni.c: Likewise.
46519         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46520         * posix/spawnp.c: Likewise.  Change normal version to use
46521         SPAWN_XFLAGS_USE_PATH.
46522         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46523         SPAWN_XFLAGS_TRY_SHELL.
46525         [BZ #13150]
46526         * posix/glob.h: Remove gcc 1.x support.
46528         [BZ #13068]
46529         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46531 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46534         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46535         strrchr-sse2-bsf
46536         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46537         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46540         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46541         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46543 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46545         * sysdeps/x86_64/wcscmp.S: New file.
46547         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46548         wcscmp-c wcscmp-sse2
46549         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46550         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46551         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46552         * wcsmbs/wcscmp.c: Allow renaming.
46554 2011-09-05  David S. Miller  <davem@davemloft.net>
46556         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46557         stack slot, rather than the struct return pointer slot.
46558         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46559         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46561         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46563 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46565         * po/ja.po: Update from translation team.
46567         [BZ #13144]
46568         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46569         kernel in 64-bit binaries.
46571 2011-09-01  David S. Miller  <davem@davemloft.net>
46573         * elf/elf.h (HWCAP_SPARC_*): Move to..
46574         * sysdeps/sparc/sysdep.h: this new file and add new values.
46575         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46576         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46577         _DL_HWCAP_COUNT to 24.
46578         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46579         entries.
46580         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46581         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46582         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46584         instead of magic constants.
46585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46587 2011-08-31  David S. Miller  <davem@davemloft.net>
46589         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46591         Reimplement to do errno handling inline.
46592         (SYSCALL_ERROR_HANDLER): New macro.
46593         (__SYSCALL_STRING): Do not do errno handling in asm.
46594         (__CLONE_SYSCALL_STRING): Delete.
46595         (__INTERNAL_SYSCALL_STRING): Delete.
46596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46597         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46598         (PSEUDO): Reimplement to do errno handling inline.
46599         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46600         (SYSCALL_ERROR_HANDLER): New macro.
46601         (__SYSCALL_STRING): Do not do errno handling in asm.
46602         (__CLONE_SYSCALL_STRING): Delete.
46603         (__INTERNAL_SYSCALL_STRING): Delete.
46604         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46605         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46606         i386.
46607         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46608         (inline_syscall*): Add 'err' argument.
46609         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46610         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46611         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46612         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46614         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46615         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46617 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46619         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46621 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46623         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46624         directive.
46626 2011-08-24  David S. Miller  <davem@davemloft.net>
46628         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46630 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46632         * elf/Makefile: Add rules to build and run unload8 test.
46633         * elf/unload8.c: New file.
46634         * elf/unload8mod1.c: New file.
46635         * elf/unload8mod1x.c: New file.
46636         * elf/unload8mod2.c: New file.
46637         * elf/unload8mod3.c: New file.
46639         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46640         it wasn't used.
46642 2011-08-23  David S. Miller  <davem@davemloft.net>
46644         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46645         subtract stack bias.
46646         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46647         %sp not %fp in calculations.
46648         (_JMPBUF_UNWINDS_ADJ): Likewise.
46650         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46651         (aio_suspend): Call it to force an exception region around the
46652         AIO_MISC_WAIT() invocation.
46654 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46656         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46657         backslash.
46659 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46661         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46662         protection macro.
46663         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46664         and <dl-machine.h>.
46665         (Elf64_FuncDesc): Remove.
46667 2011-08-22  David S. Miller  <davem@davemloft.net>
46669         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46670         sigaltstack check, add missing cfi directives.
46671         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46672         missing cfi directives, and sigaltstack handling.
46674 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46676         [BZ #11724]
46677         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46678         object is seen twice.
46679         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46681         * elf/Makefile (distribute): Add tst-initorder2.c.
46682         (tests): Add tst-initorder2.
46683         (modules-names): Add tst-initorder2a tst-initorder2b
46684         tst-initorder2c tst-initorder2d.  Add rules to build them.
46685         ($(objpfx)tst-initorder2.out): New rule.
46686         * elf/tst-initorder2.c: New file.
46687         * elf/tst-initorder2.exp: New file.
46689 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46691         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46693         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46694         dependencies back to end of function.
46696         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46697         $(elfobjdir)/ld.so.
46699 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46702         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46704         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46705         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46706         of __vdso_gettimeofday.
46707         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46708         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46709         attribute_hidden.
46710         (_libc_vdso_platform_setup): Remove initialization of
46711         __vdso_gettimeofday and __vdso_time.
46713 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46715         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46716         and fgetc_unlocked.
46717         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46718         getc_unlocked.
46720         * elf/dl-open.c (add_to_global): Report additions to the global scope
46721         for LD_DEBUG=scopes.
46722         (dl_open_worker): Also print scope of newly loaded dependencies.
46723         (_dl_show_scope): Indicate if there is no scope.
46725         [BZ #13114]
46726         * stdio-common/Makefile (tests): Add bug24.
46727         * stdio-common/bug24.c: New file.
46729 2011-08-19  Andreas Jaeger  <aj@suse.de>
46731         [BZ #13114]
46732         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46733         non-existant file when using close-on-exec mode.
46735 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46738         the very first instruction.
46740         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46741         the CFI state in the end.
46742         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46743         inclusion of dl-trampoline.h.
46744         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46746 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46748         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46749         expectations for long double.
46751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46752         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46754 2011-08-14  David S. Miller  <davem@davemloft.net>
46756         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46757         artificual limit depends upon the system page size.
46759 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46761         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46762         * resolv/Makefile: Define CFLAGS-libresolv.
46764 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46766         * nss/makedb.c (compute_tables): Make variables used in nested
46767         function static.
46769 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46771         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46772         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46773         if buffer was too small.
46775         * elf/pldd.c (main): Attach to all threads in the process.
46776         Rewrite /proc handling to use *at functions.
46778 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46780         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46781         specifies first scope to show.
46782         (dl_open_worker): Update callers.  Move printing scope of new
46783         object to before the relocation.
46784         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46785         * sysdeps/generic/ldsodefs.h: Update declaration.
46787         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46788         string for the scope number.
46790 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46792         * nscd/servicescache.c (cache_addserv): Make sure written is always
46793         initialized.
46795 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46797         * sysdeps/i386/i486/bits/atomic.h
46798         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46799         statement expression, so as to suppress "set but not used" warning.
46800         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46802         * string/strncat.c (STRNCAT): Use prototype definition.
46804         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46805         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46806         -Iprograms here.
46807         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46808         (localedef-modules): Add localedef.
46809         (locale-modules): Add locale.
46811         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46812         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46813         to avoid a warning.
46815 2011-08-14  David S. Miller  <davem@davemloft.net>
46817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46818         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46820 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46822         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46823         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46824         * elf/rtld.c (dl_main): Set l_name of vDSO.
46825         Call _dl_show_scope when DL_DEBUG_SCOPES.
46826         (process_dl_debug): Recognize scopes flag and also set it for all.
46827         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46828         Declare _dl_show_scope.
46830         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46831         (do_dlopen): Pass caller_dlopen to dl_open.
46832         (__libc_dlopen_mode): Initialize caller_dlopen.
46834         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46835         of libc.  Make tolower call locale-independent.  Optimize a bit by
46836         using isdigit instead of isalnum.
46837         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46839 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46841         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46842         was a dependency or dynamically loaded.
46844 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46846         * intl/l10nflist.c: Allow architecture-specific pop function.
46847         * sysdeps/x86_64/l10nflist.c: New file.
46849         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46850         classification.
46852 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46854         * include/dirent.h: Add libc_hidden_proto for scandirat and
46855         scandirat64.  Don't declare __scandirat64.
46856         * dirent/scandirat.c: Add libc_hidden_def.
46857         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46858         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46860 2011-08-10  David S. Miller  <davem@davemloft.net>
46862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46863         enum.
46864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46866         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46868 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46870         * Versions.def [libc]: Add GLIBC_2.15.
46871         * dirent/Makefile (routines): Add scandirat and scandirat64.
46872         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46873         GLIBC_2.15.
46874         * dirent/dirent.h: Declare scandirat and scandirat64.
46875         * dirent/scandirat.c: New file.
46876         * dirent/scandirat64.c: New file.
46877         * sysdeps/wordsize-64/scandirat.c: New file.
46878         * sysdeps/wordsize-64/scandirat64.c: New file.
46879         * dirent/opendir.c: Define opendirat.
46880         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46881         using scandirat.
46882         * dirent/scandir64.c: Adjust for scandir.c change.
46883         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46884         __scandirat64, and __scandir_cancel_handler.
46885         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46886         additional parameter and use openat instead of open (outside of ld.so).
46887         Add new __opendir as wrapper around __opendirat.
46888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46889         here without requiring old scandirat implementation.
46891 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46893         * dirent/scandir.c (cancel_handler): Renamed to
46894         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46895         defined.  Adjust users.
46896         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46897         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46899 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46901         * string/test-string.h (IMPL): Use __STRING to expand name and then
46902         stringify it.
46904         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46905         of cleanups.
46907 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46909         * string/Makefile: Update.
46910         (strop-tests): Append strncat.
46911         * string/test-wcscmp.c: New file.
46912         New comprehensive test for wcscmp.
46913         * string/test-strcmp.c: Update.
46914         (WIDE): New define.
46916 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46918         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46919         line.
46921 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46924         encoding to ACE if AI_IDN.
46926 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46929         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46931 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46934         Fix overflow bug in strncat.
46935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46937         * string/test-strncat.c: Update.
46938         Add new tests for checking overflow bugs.
46940 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46943         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46944         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46945         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46946         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46947         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46948         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46949         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46950         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46953         (USE_AS_STRCAT): Define.
46954         Add strcat and strncat support.
46955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46957 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46959         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46960         __n bigger than INT_MAX+1.
46961         (__strncmp_g): Likewise.
46963 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46965         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46966         * libio/stido.h: Likewise.
46968         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46969         (AF_NFC): Define.
46970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46971         (AF_NFC): Define.
46973         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46976         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46979         [BZ #13021]
46980         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46981         installed.
46983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46984         typo.
46985         (_dl_x86_64_save_sse): Likewise.
46987 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46990         OSXSAVE.
46991         (_dl_x86_64_save_sse): Likewise.
46993         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46995         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46997 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47000         change.
47001         (_dl_x86_64_save_sse): Use correct AVX check.
47003 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47006         bug in strncpy/strncat.
47007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47009 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47011         * string/tester.c (test_strcat): Add tests for different alignments
47012         of source and destination.
47013         (test_strncat): Likewise.
47015 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47017         [BZ #12852]
47018         * posix/glob.c (glob): Check passed in values before using them in
47019         expressions to avoid some overflows.
47020         (glob_in_dir): Likewise.
47022         [BZ #13007]
47023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47024         check for AVX enablement so that we don't crash with old kernels and
47025         new hardware.
47026         * elf/tst-audit4.c: Add same checks here.
47027         * elf/tst-audit6.c: Likewise.
47029         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47031 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47033         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47035 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47037         * po/cs.po: Update from translation team.
47038         * po/bg.po: Likewise.
47040 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47042         * misc/sys/cdefs.h: Add support for const attribute.
47043         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47044         to gnu_dev_{major,minor,makedev} functions.
47046 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47048         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47050 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47052         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47053         strlen results.
47055 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47058         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47059         register in order to avoid conflicts with the soft frame pointer
47060         being held in r11 when necessary.
47061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47062         (INTERNAL_VSYSCALL_NCS): Likewise.
47064 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47066         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47067         * elf/dl-fini.c (_dl_fini): Adjust caller.
47068         * elf/dl-close.c (_dl_close_worker): Likewise.
47069         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47071 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47073         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47074         "aux_cache->nlibs < 0".
47076         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47077         in the reload-count case.
47079 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47082         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47083         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47084         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47085         * sysdeps/x86_64/multiarch/strcat.S: New file.
47086         * sysdeps/x86_64/multiarch/strncat.S: New file.
47087         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47089         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47090         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47092         (USE_AS_STRCAT): Define.
47093         Add strcat and strncat support.
47094         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47095         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47096         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47097         * string/strncat.c: Update.
47098         (USE_AS_STRNCAT): Define.
47099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47100         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47101         and i7.
47102         * sysdeps/x86_64/multiarch/init-arch.h
47103         (bit_Prefer_PMINUB_for_stringop): New.
47104         (index_Prefer_PMINUB_for_stringop): Likewise.
47105         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47106         bit_Prefer_PMINUB_for_stringop.
47108 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47110         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47111         buffer64.
47112         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47113         of casting of buffer.
47114         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47115         buffer32 and buffer64.
47116         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47117         writes instead of casting of buffer.
47118         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47119         buffer32.
47120         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47121         casting of buffer.
47123 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47125         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47127 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47129         * nscd/nscd.c (termination_handler): Don't do anything for a database
47130         if it has not yet been initialized.
47132 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47134         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47136 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47138         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47140 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47142         * po/nl.po: Update from translation team.
47143         * po/sv.po: Likewise.
47145 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47147         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47148         now disallowed by GCC.
47150         * configure.in (use-default-link): Default to yes if a test -shared
47151         link meets our qualifications.
47152         * configure: Regenerated.
47154         * config.make.in (output-format): New variable.
47155         * configure.in: Check for ld --print-output-format support.
47156         * configure: Regenerated.
47157         * Makerules ($(common-objpfx)format.lds)
47158         [$(output-format) != unknown]: Just use $(output-format),
47159         instead of the linker-script munging.
47161 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47163         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47164         of $(common-objpfx)shlib.lds.
47165         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47167         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47168         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47170         * configure.in (-z relro check): Adjust test code to add a large
47171         writable data section after it.
47172         * configure: Regenerated.
47174 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47176         * configure.in (-z relro check): Fix test code to make the variable
47177         truly const.
47178         * configure: Regenerated.
47180 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47182         * nscd/nscd.h (struct traced_file): Define.
47183         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47184         elements.  Add traced_files.
47185         (inotify_fd): Declare.
47186         (register_traced_file): Declare.
47187         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47188         (inotify_fd): Export.
47189         (resolv_conf_descr): Remove.
47190         (nscd_init): Move inotify descriptor creation to main.
47191         Don't register files for notification here.
47192         (register_traced_file): New function.
47193         (invalidate_cache): Don't use reset_res to determine whether to call
47194         res_init, go through the list of registered files.
47195         (main_loop_poll): The inotify descriptors are now stored in the
47196         structures for the traced files.
47197         (main_loop_epoll): Likewise
47198         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47199         to __nss_disable_nscd.
47200         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47201         for a database anymore.  Check the records for all the registered
47202         files instead.
47203         * nss/Makefile (libnss_files-routines): Add files-init.
47204         (libnss_db-routines): Add db-init.
47205         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47206         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47207         * nss/nss_db/db-init.c: New file.
47208         * nss/nss_files/files-init.c: New file.
47209         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47210         __nss_lookup_function.
47211         (__nss_lookup_function): Call nss_load_library.
47212         (nss_load_all_libraries): New function.
47213         (__nss_disable_nscd): Take parameter with callback function for files
47214         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47215         used for the cached services.
47216         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47217         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47218         options for features to all the files in nscd.
47220         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47222 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47224         * csu/elf-init.c (__libc_csu_init): Comment typo.
47226 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47228         * po/pl.po: Update from translation team.
47229         * po/ja.po: Likewise.
47230         * po/ru.po: Likewise.
47231         * po/ko.po: Likewise.
47232         * po/fr.po: Likewise.
47234 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47236         * configure.in (.ctors/.dtors header and trailer check):
47237         Use an empirical test on a built program.
47238         * configure: Regenerated.
47240         * configure.in (-z relro check): Use an empirical test on a built DSO.
47241         Detect, but do not require, on ia64.
47242         * configure: Regenerated.
47244         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47245         Update tests that use readelf to use $READELF instead.
47246         * configure: Regenerated.
47248 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47250         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47251         if the result is not used.
47253 2011-07-05  Andreas Jaeger  <aj@suse.de>
47255         [BZ#9696]
47256         * stdlib/tst-strtod.c: Add testcase.
47258 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47260         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47261         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47262         The latter has a higher limit.  Take additional parameter to pass to
47263         the new function.
47264         (__pathconf): Pass file to __statfs_link_max.
47265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47266         __statfs_link_max.
47267         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47268         __statfs_link_max.
47270         [BZ #12868]
47271         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47272         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47273         Handle Lustre.
47274         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47275         (__statfs_filesize_max): Likewise.
47276         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47278 2011-07-05  Andreas Jaeger  <aj@suse.de>
47280         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47282 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47284         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47285         `status' variable.
47286         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47287         Likewise.
47289 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47291         * Makefile (strop-tests): Add strncat.
47292         * string/test-strncat.c: New file.
47294 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47296         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47298 2011-06-21  Andreas Jaeger  <aj@suse.de>
47300         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47301         Copy rule from iconvdata/Makefile.
47303 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47305         [BZ #12922]
47306         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47307         but no long options are defined, just return 'W'.
47309 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47311         [BZ #9696]
47312         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47314 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47316         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47317         netgroups to read.
47318         (innetgr): Likewise.
47320 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47322         * config.make.in (install_root): Default to $(DESTDIR).
47324 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47328 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47330         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47332         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47333         containing directory rather than embedding absolute directory names.
47335         * scripts/check-local-headers.sh: Rewritten using awk.
47336         Match by word, not by line.  Print error messages for matches.
47337         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47339         * Makerules [shlib-lds-flags empty]:
47340         ($(common-objpfx)libc_pic.opts): New target.
47341         ($(common-objpfx)libc_pic.os.clean): New target.
47342         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47344         * config.make.in (OBJCOPY): New variable.
47345         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47346         * configure: Regenerated.
47348         * config.make.in (use-default-link): New variable.
47349         * configure.in (use_default_link): Grok --with-default-link to set it.
47350         * configure: Regenerated.
47351         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47352         (shlib-lds, shlib-lds-flags): Define to empty.
47354         * Makerules (shlib-lds): New variable.
47355         (shlib-lds-flags): New variable.
47356         (build-shlib, build-moduile, build-module-asneeded): Use it.
47357         ($(common-objpfx)libc.so): Use $(shlib-lds).
47358         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47359         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47361         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47362         DT_FLAGS/DT_FLAGS_1 with zero flags.
47364         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47365         linker script munging.
47367 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47369         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47370         as 128-bit value.
47371         * crypt/sha512.c (sha512_process_block): Perform total addition using
47372         128-bit if possible.
47373         (__sha512_finish_ctx): Likewise.
47374         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47375         as 64-bit value.
47376         * crypt/sha256.c (SWAP64): Define.
47377         (sha256_process_block): Perform total addition using 64-bit if
47378         possible.
47379         (__sha256_finish_ctx): Likewise.
47381 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47383         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47385         * nscd/hstcache.c (cache_addhst): Likewise.
47386         * nscd/grpcache.c (cache_addgr): Likewise.
47387         * nscd/aicache.c (addhstaiX): Likewise
47388         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47390 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47392         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47394         * nscd/hstcache.c (cache_addhst): Likewise.
47395         * nscd/grpcache.c (cache_addgr): Likewise.
47396         * nscd/aicache.c (addhstaiX): Likewise
47398 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47400         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47401         domain only when needed.
47403 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47406         is always restored.
47408 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47410         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47411         are re-adding the entry.
47412         * nscd/servicescache.c (cache_addserv): Likewise.
47414 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47416         * sysdeps/generic/dl-irel.h: fix protection against multiple
47417         inclusions.
47418         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47420 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47422         [BZ #12935]
47423         * malloc/memusage.sh: Fix quoting in message.
47424         * debug/xtrace.sh: Likewise.
47426         * configure.in: Remove support for --experimental-malloc option, make
47427         it the default.
47428         * config.make.in: Likewise.
47429         * malloc/Makefile: Likewise.
47431 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47433         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47434         two-byte characters.
47436 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47438         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47439         AC_CACHE_CHECK invocation.
47440         * configure: Regenerated.
47442         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47444 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47446         [BZ #12350]
47447         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47448         bit from old_res_options.
47450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47452         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47453         value type for setfct.
47455 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47458         __gettimeofday instead of gettimeofday.
47460 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47462         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47464 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47466         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47469         info.
47471 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47474         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47475         strcpy-sse2-unaligned strncpy-sse2-unaligned
47476         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47477         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47478         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47479         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47480         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47481         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47482         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47483         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47484         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47485         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47486         (STRCPY): Support SSE2 and SSSE3 versions.
47488 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47490         [BZ #12874]
47491         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47492         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47493         kernels which artificially limit size of requests.
47495 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47498         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47499         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47500         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47501         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47502         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47503         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47504         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47505         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47506         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47507         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47508         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47509         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47510         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47511         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47513         Enable unaligned load optimization for Intel Core i3, i5 and i7
47514         processors.
47515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47516         Define.
47517         (index_Fast_Unaligned_Load): Define.
47518         (HAS_FAST_UNALIGNED_LOAD): Define.
47520 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47522         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47524 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47526         [BZ #12907]
47527         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47528         until it is clear that the information is realy needed.
47529         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47531 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47535 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47538         /sys/devices/system/cpu/online if it is usable.
47540         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47541         reading the information from the /proc filesystem to once a second.
47543 2011-06-21  Andreas Jaeger  <aj@suse.de>
47545         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47546         NULL after inclusion of kernel headers.
47548 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47550         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47551         calls to internal_setent.
47553         [BZ #12885]
47554         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47555         addresses using gethostbyname4_r ignore IPv4 addresses.
47557         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47558         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47560         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47562 2011-06-20  David S. Miller  <davem@davemloft.net>
47564         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47565         inclusions.
47566         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47568         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47569         (elf_irel): Use it.
47570         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47571         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47572         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47573         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47574         * sysdeps/x86_64/dl-irel.h: Likewise.
47576         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47577         * elf/dl-sym.c: Likewise.
47579 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47581         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47582         need to dereference resplen2.
47584 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47586         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47588 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47590         * Makeconfig: Define vardbdir and inst_vardbdir.
47591         * nss/Makefile: Add rules to install db-Makefile.
47593         * nss/nss_db/db-XXX.c: Cleanup.
47595         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47596         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47597         GLIBC_PRIVATE.
47598         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47599         * nss/makedb.c: Implement -g option to specify that value strings
47600         are generated and should not be added to table iterated over for
47601         get*ent calls.
47602         * nss/nss_db/db-initgroups.c: New file.
47604         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47605         interface.
47607         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47608         (internal_getgrouplist): Adjust to name change.
47609         Update use_initgroups_entry if this is not the first call.
47610         * nss/databases.def: Add initgroups entry.
47612         * nss/makedb.c (compute_tables): Check result of multiple hash table
47613         sizes to minimize maximum chain length.
47615 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47617         * Versions.def: Add entry for libnss_db.
47618         * shlib-versions: Likewise.
47619         * nss/Makefile: Add rules to build libnss_db.
47620         * nss/Versions: Add libnss_db information.  Organize libnss_files
47621         entries better.
47622         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47623         makedb progra.  Some minor improvements to generate smaller files.
47624         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47625         here from...
47626         * nss/makedb.c: ...here.
47627         Improve database format to be smaller and require less memory at
47628         runtime.
47629         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47630         db anymore.
47631         * nss/nss_db/db-netgrp.c: Likewise.
47632         * nss/nss_db/db-open.c: Likewise.
47633         * nss/nss_files/flies-XXX.x: Adjust comments.
47634         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47635         * nss/nss_files/files-grp.c: Likewise.
47636         * nss/nss_files/files-hosts.c: Likewise.
47637         * nss/nss_files/files-network.c: Likewise.
47638         * nss/nss_files/files-proto.c: Likewise.
47639         * nss/nss_files/files-pwd.c: Likewise.
47640         * nss/nss_files/files-rpc.c: Likewise.
47641         * nss/nss_files/files-service.c: Likewise.
47642         * nss/nss_files/files-sgrp.c: Likewise.
47643         * nss/nss_files/files-spwd.c: Likewise.
47644         * nss/nss_db/db-alias.c: Removed.
47645         * nss/nss_db/dummy-db.h: Removed.
47647 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47649         * nss/makedb.c: Rewritten to not use database library.
47650         * nss/Makefile: Update to build new makedb program.
47652 2011-06-14  Andreas Jaeger  <aj@suse.de>
47654         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47655         memset declaration.
47657 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47660         tmpbuf.
47662 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47664         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47665         * elf/Makefile ($(objpfx)ld.so): Likewise.
47667         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47668         Don't list ld.so twice in dependencies.
47670         * posix/bug-regex31.c: Include <stdlib.h>.
47672         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47674         * nis/nss_compat/compat-spwd.c
47675         (getspent_next_nss_netgr): Remove unused variable.
47676         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47678         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47679         nonmembers" output to use the right array.
47681         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47683         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47685         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47686         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47687         * catgets/gencat.c (read_input_file): Likewise.
47688         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47690         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47691         variable definition inside #if's controlling its use.
47693         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47695         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47697         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47699         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47700         unreachable code.
47702         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47704         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47705         * configure: Regenerated.
47707         * Makerules: Revert last change.
47708         * elf/Makefile: Likewise.
47710 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47712         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47713         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47714         (reloc-link): Likewise.
47716 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47718         * elf/Makefile: Add rules to build pldd.
47719         * elf/pldd.c: New file.
47720         * elf/pldd-xx.c: New file.
47722 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47724         * version.h: Update for 2.15 development version.
47726 2011-06-07  David S. Miller  <davem@davemloft.net>
47728         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47729         ifuncs.
47730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47731         elf_machine_lazy_rel): Likewise.
47732         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47734         elf_machine_lazy_rel): Likewise.
47735         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47736         dl_hwcap via passed in argument.
47737         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47738         Likewise.
47740 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47742         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47744 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47746         [BZ #12849]
47747         * manual/fdl-1.1.texi: New file, verbatim from:
47748         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47749         * manual/lgpl-2.1.texi: New file, verbatim from:
47750         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47751         * manual/Makefile (licenses): New variable, list those new file names.
47752         (texis): Use it.
47753         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47755         * manual/fdl.texi: File removed.
47756         * manual/lesser.texi: File removed.
47757         * manual/libc.texinfo (Copying, Documentation License):
47758         Use new @include file names, put @appendix directive before @include.
47760 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47762         [BZ #12841]
47763         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47764         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47765         (mq_open): Add __NTH.
47767 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47770         Assume Intel Core i3/i5/i7 processor if AVX is available.
47772 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47775         typo.
47777 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47780         memory.  Use alloca_account.  Fix memory leak when retrying.
47782 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47784         * version.h (RELEASE): Bump for 2.14 release.
47785         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47787         * config.make.in (RANLIB): Remove entry.
47789 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47791         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47792         (libc.pot): Work around missing support for .ksh extension in xgettext.
47794         [BZ #12684]
47795         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47796         if both request failed.
47797         (send_dg): In case of server errors clear resplen or *resplen2.
47799         [BZ #12454]
47800         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47801         when there are multiple maps.
47802         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47803         (_dl_fini): Remove test here.
47805         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47807 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47809         [BZ #12350]
47810         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47811         bit from old_res_options.
47812         (gaih_inet): Likewise.
47814         [BZ #11099]
47815         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47816         as signed.
47818         * resolv/res_init.c (res_setoptions): Make the code more compact.
47820         [BZ #11558]
47821         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47822         set RES_USEVC.
47824         [BZ #11634]
47825         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47827         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47829         [BZ #11781]
47830         * malloc/malloc.h: Declare malloc hook variables as volatile.
47832         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47833         in last patch.
47835         [BZ #11799]
47836         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47837         raise in the comment.
47838         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47840         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47842 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47844         [BZ #12811]
47845         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47846         grow the buffers more if it already has to be sufficient.
47847         (build_wcs_upper_buffer): Likewise.
47848         * posix/regexec.c (check_matching): Likewise.
47849         (clean_state_log_if_needed): Likewise.
47850         (extend_buffers): Don't enlarge buffers beyond size of the input
47851         buffer.
47852         Patches mostly by Emil Wojak <emil@wojak.eu>.
47853         * posix/bug-regex32.c: New file.
47854         * posix/Makefile (tests): Add bug-regex32.
47856         * locale/findlocale.c (_nl_find_locale): Return right away if
47857         _nl_explode_name failed.
47858         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47860         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47862         * debug/xtrace.sh: Unify messages.
47863         * malloc/memusage.sh: Likewise.
47865         [BZ #12813]
47866         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47867         time symbol from vDSO.  Substitute with vsyscall if not available.
47868         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47869         __vdso_time.
47871         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47872         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47873         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47874         Add sendmmsg and internal_sendmmsg.
47875         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47876         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47877         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47879         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47880         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47881         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47883 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47885         [BZ #12813]
47886         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47887         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47888         available.
47889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47890         __vdso_getcpu.
47892         [BZ #12814]
47893         * iconvdata/Makefile (tests): Add bug-iconv9.
47894         * iconvdata/bug-iconv9.c: New file.
47896 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47898         [BZ #12814]
47899         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47901 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47904         (struct user_regs_struct): Change intcs field back to cs.
47906 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47908         * po/ja.po: Update from translation team.
47910 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47912         [BZ #12795]
47913         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47914         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47916 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47918         * stdlib/longlong.h: Update from GCC.
47920 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47922         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47923         parameter name.
47924         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47925         Add parameter name.
47926         (__sysconf): Pass it down.
47928 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47930         [BZ #12671]
47931         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47932         some situations.
47933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47934         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47935         add in in __libc_use_alloca calls.  Adjust callers.
47936         (glob): Use malloc in some situations.
47938         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47939         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47940         pltexit.
47942 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47944         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47945         and CLOCK_BOOTTIME_ALARM.
47947         [BZ #12782]
47948         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47949         is returned.
47951         * string/_strerror.c (__strerror_r): Print negative errors as signed
47952         numbers.
47954         [BZ #12777]
47955         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47956         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47957         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47959         * configure.in: Fix typo in redirection and correct removal of test
47960         files in two cases.
47962         [BZ #12788]
47963         * locale/setlocale.c (new_composite_name): Fix test to check for
47964         identical name of all categories.
47966         [BZ #12792]
47967         * libio/filedoalloc.c (local_isatty): New function.
47968         (_IO_file_doallocate): Use local_isatty.
47969         * stdio-common/perror.c (perror): In case a new stream is used
47970         forward the stream error.
47971         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47972         error flag.
47974 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47976         [BZ #11869]
47977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47978         alloca.
47979         * include/alloca.h (extend_alloca_account): Define.
47981         [BZ #11857]
47982         * posix/regex.h: Fix comments with documentation of user-accessible
47983         fields after compilation and describe correct free'ing of pattern
47984         after re_compile_pattern.
47985         Patch by Reuben Thomas <rrt@sc3d.org>.
47987 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47989         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47990         and -mno-altivec to prevent the compiler from using Altivec and/or
47991         VSX instructions when the corresponding registers are not available.
47993 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47995         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47997 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47999         * libio/freopen.c (freopen): Use __dup2, not dup2.
48000         * libio/freopen64.c (freopen64): Likewise.
48002 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48004         [BZ #12775]
48005         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48006         * math/Makefile (tests): Add test-powl.
48007         (CFLAGS-test-powl.c): Define.
48008         * math/test-powl.c: New file.
48010 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48012         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48014 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48016         [BZ #11837]
48017         * iconvdata/gb18030.c: Update to GB18020-2005.
48019 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48021         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48022         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48023         Patch by Aharon Robbins <arnold@skeeve.com>.
48025         [BZ #11892]
48026         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48027         on the stack.
48029         [BZ #11895]
48030         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48031         through underflows.
48033         [BZ #12766]
48034         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48035         point to strings before performing equality test for error_one_per_line
48036         mode.
48038         [BZ #11697]
48039         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48041         [BZ #11820]
48042         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48043         (struct user_fpregs_struct): Avoid __uint*_t types.
48045         [BZ #6420]
48046         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48047         symbol info.  Use it instead of calling _dl_addr locally.
48048         (lock_and_info): New function.
48049         (tr_freehook): Call lock_and_info and pass symbol info as additional
48050         parameter to tr_where.
48051         (tr_mallochook): Likewise.
48052         (tr_reallochook): Likewise.
48053         (tr_memalignhook): Likewise.
48055         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48056         used and couldn't be at all thread-safe.
48058 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48060         * libio/freopen.c (freopen): Don't close old file descriptor
48061         before the new one is opened.  Instead dup the new file descriptor
48062         to the old one after the new stream is created.
48063         * libio/freopen64.c (freopen64): Likewise.
48064         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48065         * libio/fileops.c (_IO_new_file_close_it): Handle new
48066         _IO_FLAGS2_NOCLOSE flag.
48067         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48068         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48069         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48070         _IO_FLAGS2_NOCLOSE flag.
48071         * include/unistd.h: Add hidden_proto for dup3.
48072         Define __have_dup3.
48073         * io/dup3.c: Define hidden symbol.
48074         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48076         [BZ #7101]
48077         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48078         when an incomplete long option is used.
48079         * posix/tst-getopt_long1.c: New file.
48080         * posix/Makefile (tests): Add tst-getopt_long1.
48082         [BZ #10138]
48083         * scripts/config.guess: Update from autoconf-2.68.
48084         * scripts/config.sub: Likewise.
48086         [BZ #10157]
48087         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48088         tests into ...
48089         (has_cpuclock): ...this.  New function.
48090         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48091         macro here based on has_cpuclock code.
48093         [BZ #10149]
48094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48095         First byte (not low byte) is now always NUL.
48096         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48099         Use non-cancelable interfaces.
48101         [BZ #9809]
48102         * locale/iso-639.def: Add entry for Sorani.
48104         [BZ #11901]
48105         * include/stdlib.h: Move include protection to the right place.
48106         Define abort_msg_s.  Declare __abort_msg with it.
48107         * stdlib/abort.c (__abort_msg): Adjust type.
48108         * assert/assert.c (__assert_fail_base): New function.  Majority
48109         of code from __assert_fail.  Allocate memory for __abort_msg with
48110         mmap.
48111         (__assert_fail): Now call __assert_fail_base.
48112         * assert/assert-perr.c: Remove bulk of implementation.  Use
48113         __assert_fail_base.
48114         * include/assert.hL Declare __assert_fail_base.
48115         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48116         mmap.
48117         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48119 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48121         [BZ #11952]
48122         [BZ #12453]
48123         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48124         until all modules are registered in the DTV.
48125         * elf/Makefile: Add rules to build and run tst-tls19.
48126         * elf/tst-tls19.c: New file.
48127         * elf/tst-tls19mod1.c: New file.
48128         * elf/tst-tls19mod2.c: New file.
48129         * elf/tst-tls19mod3.c: New file.
48130         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48132         [BZ #12083]
48133         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48134         correctly.
48136         [BZ #12601]
48137         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48138         two-byte sequence errors.
48139         * iconvdata/Makefile (tests): Add bug-iconv8.
48140         * iconvdata/bug-iconv8.c: New file.
48142         [BZ #12626]
48143         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48144         buf2 definition.
48146         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48148         [BZ #12432]
48149         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48150         (dummy_getcfa): New function.
48151         (init): Get _Unwind_GetCFA address, use dummy if not found.
48152         (backtrace_helper): In recursion check, also check whether CFA changes.
48153         (__backtrace): Completely initialize arg.
48155         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48156         storing incomplete byte sequence in state object.  Avoid testing for
48157         guaranteed too small input if we know there is enough data available.
48159 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48161         * Makeconfig (+link-pie): Indent.
48162         * Rules (binaries-pie): Define if $(have-fpie) and
48163         $(build-shared).
48164         (binaries-shared): Also filter out $(binaries-pie).
48165         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48166         * nscd/Makefile (others-pie): Add nscd.
48167         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48168         ($(objpfx)nscd): Remove command override.
48169         * login/Makefile (others-pie): Add pt_chown.
48170         ($(objpfx)pt_chown): Remove command override.
48171         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48172         remove command overrides.
48174 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48176         * libio/tst_putwc.c: Fix error messages.
48178         [BZ #12724]
48179         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48180         currently writing and seek to current position when not.
48181         * libio/Makefile (tests): Add bug-fclose1.
48182         * libio/bug-fclose1.c: New file.
48184 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48186         [BZ #12511]
48187         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48188         don't set DF_1_NODELETE here.
48189         (do_lookup_x): When entering new entry test for copy relocation
48190         and if necessary set DF_1_NODELETE flag.
48191         * elf/tst-unique4.cc: New file.
48192         * elf/tst-unique4.h: New file.
48193         * elf/tst-unique4lib.cc: New file.
48194         * elf/Makefile: Add rules to build and run tst-unique4.
48195         Patch by Piotr Bury <pbury@goahead.com>.
48197 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48199         [BZ #12052]
48200         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48202         [BZ #12625]
48203         * misc/mntent_r.c (addmntent): Flush the stream after the output
48205         [BZ #12393]
48206         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48207         (is_trusted_path_normalize): Skip initial colon.  Append slash
48208         to empty buffer.  Duplicate is_trusted_path code but allow
48209         constructed patch to be prefix.
48210         (is_dst): Allow $ORIGIN followed by /.
48211         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48212         Correct testing of result of is_trusted_path_normalize
48213         (decompose_rpath): Fix warning.
48215 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48217         [BZ #11257]
48218         * grp/initgroups.c (internal_getgrouplist): When we found the service
48219         list through the initgroups entry in nsswitch.conf do not always
48220         continue on a successful lookup.  Don't always use the
48221         __nss_group_database value if it is set.
48222         * nss/nsswitch.conf (initgroups): Change action for successful db
48223         lookup to continue for compatibility.
48225 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48227         [BZ #11532]
48228         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48229         and CP774 modules.
48230         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48231         and CP774 modules.
48232         * iconvdata/tst-tables.sh: Likewise.
48233         * iconvdata/cp770.c: New file.
48234         * iconvdata/cp771.c: New file.
48235         * iconvdata/cp772.c: New file.
48236         * iconvdata/cp773.c: New file.
48237         * iconvdata/cp774.c: New file.
48238         * iconvdata/testdata/CP770: New file.
48239         * iconvdata/testdata/CP770..UTF8: New file.
48240         * iconvdata/testdata/CP771: New file.
48241         * iconvdata/testdata/CP771..UTF8: New file.
48242         * iconvdata/testdata/CP772: New file.
48243         * iconvdata/testdata/CP772..UTF8: New file.
48244         * iconvdata/testdata/CP773: New file.
48245         * iconvdata/testdata/CP773..UTF8: New file.
48246         * iconvdata/testdata/CP774: New file.
48247         * iconvdata/testdata/CP774..UTF8: New file.
48249         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48250         END CHARMAP line.
48251         * iconvdata/gen-8bit-gap.sh: Likewise.
48252         * iconvdata/gen-8bit.sh: Likewise.
48254         * locale/iso-639.def: Add ary entry.
48256         [BZ #11258]
48257         * locale/C-translit.h.in: Add U20A1 transliteration.
48259         [BZ #12178]
48260         * locale/iso-639.def: Add wae entry.
48261         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48263         [BZ #12545]
48264         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48265         for n.
48267         [BZ #12711]
48268         * locale/C-translit.h.in: Add entry for U20B9.
48269         Patch by pravin.d.s@gmail.com.
48271 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48273         [BZ #12713]
48274         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48275         ENAMETOOLONG use generic getcwd.
48276         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48277         in rtld.  Use *stat64.
48278         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48279         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48280         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48281         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48282         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48283         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48284         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48285         __fstatat64 macros.
48286         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48287         * dirent/rewinddir.c: Add libc_hidden_def.
48288         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48289         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48291         * include/dirent.h (__alloc_dir): Add flags parameter.
48292         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48293         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48294         __alloc_dir.
48295         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48296         from fdopendir if O_CLOEXEC is already set.
48298 2011-03-15  Alan Modra  <amodra@gmail.com>
48300         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48301         l_tls_firstbyte_offset non-zero.  Save padding offset in
48302         l_tls_firstbyte_offset for later use.
48303         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48304         freeing static tls block.
48306 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48308         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48309         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48310         being defined by the kernel headers.
48312 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48314         [BZ #12734]
48315         * resolv/resolv.h: Define RES_NOTLDQUERY.
48316         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48317         no-tld-query and set RES_NOTLDQUERY.
48318         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48319         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48320         modern BIND to search name as TLD unless forbidden.
48322 2011-05-07  Petr Baudis  <pasky@suse.cz>
48323             Ulrich Drepper  <drepper@gmail.com>
48325         [BZ #12393]
48326         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48327         (is_trusted_path): ...to here.
48328         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48329         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48330         using is_trusted_path_normalize() in setuid scripts.
48332 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48334         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48335         __BEGIN/__END_DECLS.
48337 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48340         NSS_STATUS_NOTFOUND if no record was found.
48342 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48344         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48345         (headers-not-in-tirpc): Remove rpc/netdb.h
48346         * resolv/netdb.h: Revert last change.
48348 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48350         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48351         circular dependency between libgcc.a and libc.a.
48353 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48355         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48356         * nis/Makefile: Don't install rpcsvc/*.
48357         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48358         instead of <rpc/types.h>.
48359         (MAXHOSTNAMELEN): Define.
48361 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48363         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48365 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48367         [BZ #12714]
48368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48369         gethostbyname4_r when IPv6 results are possible.
48371 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48373         [BZ #12723]
48374         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48375         _PC_PIPE_BUF handling.
48377 2011-04-30  Bruno Haible  <bruno@clisp.org>
48379         [BZ #12717]
48380         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48381         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48382         to 'int'.
48383         * inet/getnameinfo.c (getnameinfo): Likewise.
48385 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48387         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48388         to groups setting in database lookup.
48389         * nss/nsswitch.conf: Add initgroups entry.
48391 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48393         [BZ #12685]
48394         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48395         mode string.
48396         Patch by Eric Blake <eblake@redhat.com>.
48398 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48400         * sunrpc/Makefile (need-export-routines): Add svc_run.
48401         (routines): Remove svc_run.
48402         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48403         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48404         * sunrpc/svc_run.c (svc_run): Likewise.
48405         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48407 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48409         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48410         problem in reallocation in last patch.
48412 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48414         * sunrpc/Makefile: Move inclusion of Rules.
48416 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48418         * nss/nss_files/files-initgroups.c: New file.
48419         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48420         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48421         _nss_files_initgroups_dyn.
48423 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48425         * elf/elf.h (R_ARM_IRELATIVE): Define.
48427 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48429         * po/ru.po: Update from translation team.
48431 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48433         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48434         dependencies.
48436 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48438         [BZ #12653]
48439         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48440         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48442         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48443         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48445 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48448         differing bytes.
48449         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48453 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48455         [BZ #12420]
48456         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48457         storing it.
48458         * stdlib/bug-getcontext.c: New file.
48459         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48461 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48463         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48464         instructions into .machine "z9-109".
48465         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48466         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48468 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48470         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48471         between environment variables and auxiliary vector.
48473 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48475         * Makefile: Add rules to build linkobj/libc.so.
48476         * include/libc-symbols.h: Define libc_hidden_nolink.
48477         * include/rpc/auth.h: Mark functions which are to be hidden.
48478         * include/rpc/auth_des.h: Likewise.
48479         * include/rpc/auth_unix.h: Likewise.
48480         * include/rpc/clnt.h: Likewise.
48481         * include/rpc/des_crypt.h: Likewise.
48482         * include/rpc/key_prot.h: Likewise.
48483         * include/rpc/pmap_clnt.h: Likewise.
48484         * include/rpc/pmap_prot.h: Likewise.
48485         * include/rpc/pmap_rmt.h: Likewise.
48486         * include/rpc/rpc_msg.h: Likewise.
48487         * include/rpc/svc.h: Likewise.
48488         * include/rpc/svc_auth.h: Likewise.
48489         * include/rpc/xdr.h: Likewise.
48490         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48491         * nss/Makefile: Likewise.
48492         * sunrpc/Makefile: Don't install headers.  Build library with normal
48493         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48494         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48495         for the compat linking library.  Remove use of INTDEF/INTUSE.
48496         * sunrpc/auth_none.c: Likewise.
48497         * sunrpc/auth_unix.c: Likewise.
48498         * sunrpc/authdes_prot.c: Likewise.
48499         * sunrpc/authuxprot.c: Likewise.
48500         * sunrpc/clnt_gen.c: Likewise.
48501         * sunrpc/clnt_perr.c: Likewise.
48502         * sunrpc/clnt_raw.c: Likewise.
48503         * sunrpc/clnt_simp.c: Likewise.
48504         * sunrpc/clnt_tcp.c: Likewise.
48505         * sunrpc/clnt_udp.c: Likewise.
48506         * sunrpc/clnt_unix.c: Likewise.
48507         * sunrpc/des_crypt.c: Likewise.
48508         * sunrpc/des_soft.c: Likewise.
48509         * sunrpc/get_myaddr.c: Likewise.
48510         * sunrpc/key_call.c: Likewise.
48511         * sunrpc/key_prot.c: Likewise.
48512         * sunrpc/netname.c: Likewise.
48513         * sunrpc/pm_getmaps.c: Likewise.
48514         * sunrpc/pm_getport.c: Likewise.
48515         * sunrpc/pmap_clnt.c: Likewise.
48516         * sunrpc/pmap_prot.c: Likewise.
48517         * sunrpc/pmap_prot2.c: Likewise.
48518         * sunrpc/pmap_rmt.c: Likewise.
48519         * sunrpc/publickey.c: Likewise.
48520         * sunrpc/rpc_cmsg.c: Likewise.
48521         * sunrpc/rpc_common.c: Likewise.
48522         * sunrpc/rpc_dtable.c: Likewise.
48523         * sunrpc/rpc_prot.c: Likewise.
48524         * sunrpc/rpc_thread.c: Likewise.
48525         * sunrpc/rtime.c: Likewise.
48526         * sunrpc/svc.c: Likewise.
48527         * sunrpc/svc_auth.c: Likewise.
48528         * sunrpc/svc_authux.c: Likewise.
48529         * sunrpc/svc_raw.c: Likewise.
48530         * sunrpc/svc_run.c: Likewise.
48531         * sunrpc/svc_simple.c: Likewise.
48532         * sunrpc/svc_tcp.c: Likewise.
48533         * sunrpc/svc_udp.c: Likewise.
48534         * sunrpc/svc_unix.c: Likewise.
48535         * sunrpc/svcauth_des.c: Likewise.
48536         * sunrpc/xcrypt.c: Likewise.
48537         * sunrpc/xdr.c: Likewise.
48538         * sunrpc/xdr_array.c: Likewise.
48539         * sunrpc/xdr_float.c: Likewise.
48540         * sunrpc/xdr_intXX_t.c: Likewise.
48541         * sunrpc/xdr_mem.c: Likewise.
48542         * sunrpc/xdr_rec.c: Likewise.
48543         * sunrpc/xdr_ref.c: Likewise.
48544         * sunrpc/xdr_sizeof.c: Likewise.
48545         * sunrpc/xdr_stdio.c: Likewise.
48547 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48549         [BZ #12650]
48550         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48551         * sysdeps/ia64/dl-tls.h: Likewise.
48552         * sysdeps/powerpc/dl-tls.h: Likewise.
48553         * sysdeps/s390/dl-tls.h: Likewise.
48554         * sysdeps/sh/dl-tls.h: Likewise.
48555         * sysdeps/sparc/dl-tls.h: Likewise.
48556         * sysdeps/x86_64/dl-tls.h: Likewise.
48557         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48559 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48561         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48562         rpath element also skip the following colon.
48563         (expand_dynamic_string_token): Add is_path parameter and pass
48564         down to DL_DST_REQUIRED and _dl_dst_substitute.
48565         (decompose_rpath): Call expand_dynamic_string_token with
48566         non-zero is_path.  Ignore empty rpaths.
48567         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48568         with zero is_path.
48570 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48573         Make cancelable.
48575 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48577         [BZ #12655]
48578         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48579         Patch by Filipe David Manana <fdmanana@apache.org>.
48581 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48583         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48584         Maintain aligned stack.
48585         (CHECK_RSP): Remove unused macro.
48587 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48589         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48590         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48592 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48594         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48596         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48598 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48600         [BZ #12518]
48601         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48602         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48603         * sysdeps/x86_64/memmove.c: New file.
48604         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48605         (memcpy): Renamed to ...
48606         (__new_memcpy): This.
48607         (memcpy): Provide GLIBC_2_14 memcpy.
48608         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48609         (memcpy): Provide GLIBC_2_2_5 memcpy.
48611 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48613         [BZ #12631]
48614         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48616 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48618         * misc/syncfs.c: New file.
48619         * misc/Makefile (routines): Add syncfs.
48620         * posix/unistd.h: Declare syncfs.
48621         * sysdeps/unix/syscalls.list: Add syncfs.
48623 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48625         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48626         open_by_handle_at.
48627         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48628         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48632         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48635 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48645         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48646         sync_file_range.c with -fexceptions.
48647         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48648         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48649         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48650         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48652         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48653         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48654         sync_file_range as cancellation point
48655         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48656         now a wrapper around __call_sync_file_range with cancellation handling.
48657         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48658         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48659         function name to __call_sync_file_range.
48660         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48661         Add call_sync_file_range.
48663 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48666         bits/timex.h.
48668 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48670         * iconv/iconv.h: Fix typo in comment.
48671         * io/fcntl.h: Likewise.
48672         * libio/stdio.h: Likewise.
48673         * posix/spawn.h: Likewise.
48674         * posix/unistd.h: Likewise.
48675         * stdlib/stdlib.h: Likewise.
48676         * time/time.h: Likewise.
48677         * wcsmbs/wchar.h: Likewise.
48679         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48680         open_by_handle): Add.
48681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48682         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48683         Augment a few comments.
48684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48689         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48690         open_by_handle.
48692         * io/fcntl.h (AT_EMPTY_PATH): Define.
48694 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48696         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48697         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48698         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48699         to...
48700         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48701         * Versions.def: Add GLIBC_2.14.
48702         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48703         Export.
48705 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48707         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48708         round counter.
48709         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48711 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48713         [BZ #12597]
48714         * string/test-strncmp.c (do_page_test): New function.
48715         (check2): Likewise.
48716         (test_main): Call check2.
48717         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48719 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48721         [BZ #12587]
48722         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48723         Handle cache information in CPU leaf 4.
48724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48726 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48728         [BZ #12583]
48729         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48730         character representation.
48731         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48733 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48736         END(__isnan) to END(__isnanf) to match function entry point/label
48737         EALIGN(__isnanf,...).
48739 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48741         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48743 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48745         [BZ #12510]
48746         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48747         copy from the symbol referenced in the relocation to initialize the
48748         used variable.
48749         Patch by Piotr Bury <pbury@goahead.com>.
48750         * elf/Makefile: Add rules to build and tst-unique3.
48751         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48752         * elf/tst-unique3.cc: New file.
48753         * elf/tst-unique3.h: New file.
48754         * elf/tst-unique3lib.cc: New file.
48755         * elf/tst-unique3lib2.cc: New file.
48757         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48759 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48761         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48762         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48763         to _start.
48765 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48767         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48768         to-be-loaded object along a path to loader is ld.so.
48770 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48771             Ulrich Drepper  <drepper@gmail.com>
48773         * sysdeps/x86_64/memset.S: After aligning destination, code
48774         branches to different locations depending on the value of
48775         misalignment, when multiarch is enabled. Fix this.
48777 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48779         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48780         Set _x86_64_preferred_memory_instruction for AMD processsors.
48781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48782         Set bit_Prefer_SSE_for_memop for AMD processors.
48784 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48786         * libio/fmemopen.c (fmemopen): Optimize a bit.
48788 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48790         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48792 2011-03-03  Roland McGrath  <roland@redhat.com>
48794         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48796 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48798         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48799         __bzero_ultra1 instead of __memset_ultra1.
48801 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48802             Ulrich Drepper  <drepper@gmail.com>
48804         [BZ #12509]
48805         * include/link.h (struct link_map): Add l_orig_initfini.
48806         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48807         returning unsuccessfully.
48808         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48809         close of a file loaded at startup, restore the original l_initfini
48810         list.
48811         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48812         list, store the pointer.
48813         * elf/Makefile ($(objpfx)noload-mem): New rule.
48814         (noload-ENV): Define.
48815         (tests): Add $(objpfx)noload-mem.
48816         * elf/noload.c: Include <memcheck.h>.
48817         (main): Call mtrace.  Close all opened handles.
48819 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48821         [BZ #12454]
48822         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48823         dependencies are missing.
48825 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48827         Fix __if_freereq crash: Unlike the generic version which uses free,
48828         Hurd needs munmap.
48829         * sysdeps/mach/hurd/ifreq.h: New file.
48831 2011-01-27  Petr Baudis  <pasky@suse.cz>
48832             Ulrich Drepper  <drepper@gmail.com>
48834         [BZ 12445]#
48835         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48836         to extend_alloca().
48837         * stdio-common/bug23.c: New file.
48838         * stdio-common/Makefile (tests): Add bug23.
48840 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48841             Ulrich Drepper  <drepper@gmail.com>
48843         [BZ #12489]
48844         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48845         before performing relro protection.  At old place add assertion
48846         to make sure nothing changed.
48848 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48849             Glauber de Oliveira Costa  <glommer@gmail.com>
48851         * elf/elf.h: Add new ARM TLS relocs.
48853 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48856         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48857         cast from r3.
48858         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48859         'tests' variable.
48860         * sysdeps/wordsize-64/tst-writev.c: New file.
48862 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48864         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48865         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48866         insns in _dl_start to prevent a TOC reference before relocs are
48867         resolved.
48869 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48871         [BZ #12469]
48872         * Makeconfig: Remove RANLIB definition.
48873         * Makerules: Don't use RANLIB.
48874         * aclocal.m4: Remove ranlib test.
48875         * configure.in: No need to check for ranlib.
48876         * elf/rtld-Rules: Don't use RANLIB.
48878 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48880         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48881         protection macro.
48882         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48883         inclusion protection macro.
48885         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48886         SIGRTMIN and SIGRTMAX and print information in that case only when
48887         SIGRTMIN is defined.
48889 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48891         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48892         arginfo fn returning -1.
48894         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48895         and thousands string is zero terminated.
48897 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48900         sysdeps/unix/sysv/linux/bits/socket.h.
48902 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48904         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48905         (__CPU_COUNT): Remove old macros.
48906         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48907         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48908         (__CPU_ALLOC, __CPU_FREE): Add macros.
48909         (__sched_cpualloc, __sched_cpufree): Add declarations.
48911 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48913         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48914         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48915         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48916         (readdhstai): Return value of addhstaiX call.
48917         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48918         (addgrbyX): Return value returned by cache_addgr.
48919         (readdgrbyname): Return value returned by addgrbyX.
48920         (readdgrbygid): Likewise.
48921         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48922         (addpwbyX): Return value returned by cache_addpw.
48923         (readdpwbyname): Return value returned by addhstbyX.
48924         (readdpwbyuid): Likewise.
48925         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48926         (addservbyX): Return value returned by cache_addserv.
48927         (readdservbyname): Return value returned by addservbyX:
48928         (readdservbyport): Likewise.
48929         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48930         (addhstbyX): Return value returned by cache_addhst.
48931         (readdhstbyname): Return value returned by addhstbyX.
48932         (readdhstbyaddr): Likewise.
48933         (readdhstbynamev6): Likewise.
48934         (readdhstbyaddrv6): Likewise.
48935         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48936         (readdinitgroups): Return value returned by addinitgroupsX.
48937         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48938         (prune_cache): Keep track of timeout value of re-added entries.
48939         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48940         * nscd/nscd.h: Adjust prototypes of readd* functions.
48942 2011-02-04  Roland McGrath  <roland@redhat.com>
48944         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48945         (nis_stats): Likewise.
48946         * nis/nis_modify.c (nis_modify): Likewise.
48947         * nis/nis_remove.c (nis_remove): Likewise.
48948         * nis/nis_add.c (nis_add): Likewise.
48950         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48952         * posix/fnmatch_loop.c: Add some consts.
48954         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48956 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48958         [BZ #12460]
48959         * config.make.in (config-cflags-novzeroupper): Define.
48960         * configure.in: Substitute libc_cv_cc_novzeroupper.
48961         * elf/Makefile (AVX-CFLAGS): Define.
48962         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48963         (CFLAGS-tst-auditmod4a.c): Likewise.
48964         (CFLAGS-tst-auditmod4b.c): Likewise.
48965         (CFLAGS-tst-auditmod6b.c): Likewise.
48966         (CFLAGS-tst-auditmod6c.c): Likewise.
48967         (CFLAGS-tst-auditmod7b.c): Likewise.
48968         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48970 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48972         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48973         function to the callback.
48974         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48976 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48978         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48979         of errno.
48981 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48983         [BZ #11724]
48984         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48985         of constructors.
48986         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48987         of destructors.
48988         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48990         [BZ #11724]
48991         * elf/Makefile: Add rules to build and run new test.
48992         * elf/tst-initorder.c: New file.
48993         * elf/tst-initorder.exp: New file.
48994         * elf/tst-initordera1.c: New file.
48995         * elf/tst-initordera2.c: New file.
48996         * elf/tst-initordera3.c: New file.
48997         * elf/tst-initordera4.c: New file.
48998         * elf/tst-initorderb1.c: New file.
48999         * elf/tst-initorderb2.c: New file.
49000         * elf/tst-order-a1.c: New file.
49001         * elf/tst-order-a2.c: New file.
49002         * elf/tst-order-a3.c: New file.
49003         * elf/tst-order-a4.c: New file.
49004         * elf/tst-order-b1.c: New file.
49005         * elf/tst-order-b2.c: New file.
49006         * elf/tst-order-main.c: New file.
49007         New test case by George Gensure <werkt0@gmail.com>.
49009 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49012         decoding ACE if AI_CANONIDN.
49014 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49016         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49018 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49020         * version.h (RELEASE): Bump for 2.13 release.
49021         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49023         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49025         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49026         MADV_NOHUGEPAGE.
49027         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49029         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49030         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49031         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49034         * posix/getconf.c: Update copyright year.
49035         * catgets/gencat.c: Likewise.
49036         * csu/version.c: Likewise.
49037         * debug/catchsegv.sh: Likewise.
49038         * debug/xtrace.sh: Likewise.
49039         * elf/ldconfig.c: Likewise.
49040         * elf/ldd.bash.in: Likewise.
49041         * elf/sprof.c (print_version): Likewise.
49042         * iconv/iconv_prog.c: Likewise.
49043         * iconv/iconvconfig.c: Likewise.
49044         * locale/programs/locale.c: Likewise.
49045         * locale/programs/localedef.c: Likewise.
49046         * malloc/memusage.sh: Likewise.
49047         * malloc/mtrace.pl: Likewise.
49048         * nscd/nscd.c (print_version): Likewise.
49049         * nss/getent.c: Likewise.
49051         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49052         PF_CAIF, and PF_ALG.
49053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49055 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49057         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49058         (modules-names): Use them.
49059         (ifunc-test-modules, ifunc-pie-tests): Define.
49060         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49061         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49062         (test-extras): Likewise.
49063         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49064         $(compile-command.c).
49065         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49066         (all-built-dso): Define.
49067         (check-textrel.out, check-execstack.out): Depend on it.
49069         * configure.in: Don't override --enable-multi-arch.
49071 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49073         [BZ #6812]
49074         * nscd/hstcache.c (tryagain): Define.
49075         (cache_addhst): Return tryagain not notfound for temporary errors.
49076         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49077         failed.
49079 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49081         [BZ #10563]
49082         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49083         to make the syscall.
49084         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49086         [BZ #12378]
49087         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49088         and fall back to matching as normal character if the string ends before
49089         the matching ']' is found.  This is what POSIX requires.
49090         * posix/testfnm.c: Adjust test result.
49091         * posix/globtest.sh: Adjust test result.  Add new test.
49092         * posix/tst-fnmatch.input: Likewise.
49093         * posix/tst-fnmatch2.c: Add new test.
49095 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49097         * elf/Makefile (check-execstack): Revert last change.  Depend on
49098         check-execstack.h.
49099         (check-execstack.h): New target.
49100         (generated): Add check-execstack.h.
49101         * elf/check-execstack.c: Include "check-execstack.h".
49102         (main): Revert last change.
49103         (handle_file): Return zero if GNU_STACK is absent and
49104         DEFAULT_STACK_PERMS doesn't include PF_X.
49106 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49108         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49109         in child fails because the descriptor is already closed.
49110         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49111         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49112         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49114         [BZ #12397]
49115         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49116         syscall.
49118         [BZ #10484]
49119         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49120         temporary buffer used to handle multi lookups locally.
49121         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49123 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49125         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49126         loader is ld.so.
49128 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49130         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49131         alignment for SSE2.
49133 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49135         [BZ #12394]
49136         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49137         characters.  When rounding increased number of integer digits recompute
49138         number of groups.
49139         * stdio-common/tst-grouping.c: New file.
49140         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49142 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49144         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49145         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49147         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49148         void.
49149         * bits/select.h: Likewise.
49151 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49153         * po/ja.po: Update from translation team.
49155 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49157         [BZ #11155]
49158         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49159         implementation just like for lxstat, fxstatat, et al.
49161 2010-12-27  Jim Meyering  <meyering@redhat.com>
49163         [BZ #12348]
49164         * posix/regexec.c (build_trtable): Return failure indication upon
49165         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49167 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49169         [BZ #12201]
49170         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49171         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49172         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49175         [BZ #12207]
49176         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49178         [BZ #12204]
49179         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49180         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49182 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49184         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49185         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49186         script has SORT_BY_INIT_PRIORITY.
49187         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49188         NO_CTORS_DTORS_SECTIONS is defined.
49189         * elf/soinit.c: Likewise.
49190         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49191         NO_CTORS_DTORS_SECTIONS is defined.
49192         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49193         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49194         * sysdeps/sh/init-first.c: Likewise.
49195         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49197 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49199         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49200         always use the slow path.
49202 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49204         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49205         similar rule which adds the sysdep directories to the header search in
49206         order to pick up the correct platform stackinfo.h.
49207         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49208         perform test if it is, otherwise return successfully without testing.
49209         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49210         DEFAULT_STACK_PERMS define in stackinfo.h.
49211         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49212         defined in stackinfo.h.
49213         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49214         DEFAULT_STACK_PERMS defined in stackinfo.h.
49215         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49216         * sysdeps/ia64/stackinfo.h: Likewise.
49217         * sysdeps/s390/stackinfo.h: Likewise.
49218         * sysdeps/sh/stackinfo.h: Likewise.
49219         * sysdeps/sparc/stackinfo.h: Likewise.
49220         * sysdeps/x86_64/stackinfo.h: Likewise.
49221         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49222         PF_X for powerpc64.  Retain PF_X for powerpc32.
49224 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49226         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49227         accurately.
49228         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49229         GETDENTS_64BIT_ALIGNED.
49231 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49233         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49235 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49237         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49238         _GNU_SOURCE.
49240         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49241         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49242         Remove __restrict.
49243         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49244         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49246 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49248         [BZ #11655]
49249         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49250         are initialized.
49252 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49254         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49256 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49258         * po/it.po: Update from translation team.
49260 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49263         unused codes.
49265 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49267         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49269 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49271         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49272         specially.
49273         (gaih_getanswer_slice): Likewise.
49275 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49279 2010-05-31  Petr Baudis  <pasky@suse.cz>
49281         [BZ #11149]
49282         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49283         silently even in the chroot mode.
49285 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49287         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49288         last patch a bit.  Pretty printing
49290 2010-05-31  Petr Baudis <pasky@suse.cz>
49292         [BZ #10085]
49293         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49294         initialization of skip_initgroups_dyn.
49296 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49298         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49301 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49303         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49305 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49307         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49308         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49309         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49310         ($(objpfx)tst-fnmatch-mem): New rule.
49311         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49312         * posix/tst-fnmatch.c (main): Call mtrace.
49314 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49317         Support Intel processor model 6 and model 0x2c.
49319 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49322           signed comparison.
49324 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49326         [BZ #12205]
49327         * string/test-strncasecmp.c (check_result): New function.
49328         (do_one_test): Use it.
49329         (check1): New function.
49330         (test_main): Use it.
49331         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49332         Support strcasecmp and strncasecmp.
49334 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49336         [BZ #12194]
49337         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49338         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49340 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49342         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49343         IFUNC support.
49344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49345         memset-x86-64.
49346         * sysdeps/x86_64/multiarch/bzero.S: New file.
49347         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49348         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49349         * sysdeps/x86_64/multiarch/memset.S: New file.
49350         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49352         Set bit_Prefer_SSE_for_memop for Intel processors.
49353         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49354         Define.
49355         (index_Prefer_SSE_for_memop): Define.
49356         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49358 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49360         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49361         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49363 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49365         [BZ #12191]
49366         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49367         (__x86_64_raw_data_cache_size_half): Likewise.
49368         (__x86_64_raw_shared_cache_size): Likewise.
49369         (__x86_64_raw_shared_cache_size_half): Likewise.
49371         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49372         (__x86_64_raw_data_cache_size_half): Likewise.
49373         (__x86_64_raw_shared_cache_size): Likewise.
49374         (__x86_64_raw_shared_cache_size_half): Likewise.
49375         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49376         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49377         and __x86_64_raw_shared_cache_size_half.  Round
49378         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49379         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49380         to multiple of 256 bytes.
49382 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49384         [BZ #12167]
49385         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49386         of inacessible symlinks.  Verify result of symlink before returning it.
49387         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49388         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49390 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49392         * math/math.h (isinf): Fix typo in comment.
49394 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49396         * po/da.po: Update from translation team.
49398 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49400         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49401         is added to the list.
49403 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49404             Ulrich Drepper  <drepper@gmail.com>
49406         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49407         the global list here.  Move code to...
49408         (_dl_add_to_namespace_list): ...here.  New function.
49409         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49410         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49411         * elf/dl-load.c (lose): Don't remove the element from the list.
49412         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49413         (_dl_map_object): Likewise.
49415 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49417         [BZ #12159]
49418         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49419         into all bytes of SSE register.
49420         Patch by Richard Li <richardpku@gmail.com>.
49422 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49424         [BZ #12140]
49425         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49426         perturbing.
49428 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49430         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49431         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49432         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49433         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49435         submachine.
49436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49438 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49440         * include/dlfcn.h (__RTLD_SECURE): Define.
49441         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49442         mode & __RTLD_SECURE instead.
49443         (open_path): Rename preloaded parameter to secure.
49444         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49445         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49446         * elf/dl-deps.c (openaux): Likewise.
49447         * elf/rtld.c (struct map_args): Remove is_preloaded.
49448         (map_doit): Don't use it.
49449         (dl_main): Likewise.
49450         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49451         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49453 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49455         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49456         (sysd-rules-targets): Remove duplicates.
49457         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49458         rtld-%.$o dependency.
49460 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49462         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49463         _dl_map_object do it.
49465 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49467         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49468         fast fma builtins, define the macros in the C99 standard.
49469         (FP_FAST_FMAF): Likewise.
49470         (FP_FAST_FMAL): Likewise.
49471         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49473         * bits/mathdef.h: Update copyright year.
49474         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49476 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49478         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49479         builtins, define the macros in the C99 standard.
49480         (FP_FAST_FMAF): Likewise.
49481         (FP_FAST_FMAL): Likewise.
49482         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49483         multiply/add.
49484         (FP_FAST_FMAF): Likewise.
49486 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49488         [BZ #3268]
49489         * math/libm-test.inc (fma_test): Some new testcases.
49490         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49491         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49492         y and infinite z.  Do multiplication by C already in long double.
49493         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49495         y and infinite z.  Do bitwise or of inexact bit into u.d.
49496         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49497         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49498         * sysdeps/i386/fpu/s_fma.S: Removed.
49499         * sysdeps/i386/fpu/s_fmal.S: Removed.
49501 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49503         [BZ #3268]
49504         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49506         computation is not scheduled after fetestexcept.  Fix value
49507         of minimum denormal long double.
49509 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49511         [BZ #3268]
49512         * math/libm-test.inc (fma_test): Add some more tests.
49513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49514         correctly.
49516 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49518         * scripts/data/localplt-s390-linux-gnu.data: New file.
49519         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49521 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49523         [BZ #3268]
49524         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49525         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49526         instead of dbl-64.
49527         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49528         inlines.
49529         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49531         if one of x and y is very large and the other is subnormal.
49532         * sysdeps/s390/fpu/s_fmaf.c: New file.
49533         * sysdeps/s390/fpu/s_fma.c: New file.
49534         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49535         * sysdeps/powerpc/fpu/s_fma.S: New file.
49536         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49537         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49538         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49540 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49542         [BZ #3268]
49543         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49544         fma tests.
49545         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49546         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49547         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49548         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49549         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49550         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49551         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49553 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49555         [BZ #12078]
49556         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49557         * posix/bug-regex31.input: Add test case.
49559 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49561         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49562         * posix/bug-regex31.input: New file.
49564         [BZ #12078]
49565         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49566         (parse_sub_exp): Fix last change, use postorder.
49568         * posix/bug-regex31.c: New file.
49569         * posix/Makefile: Add rules to build and run bug-regex31.
49571         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49573         [BZ #12078]
49574         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49576         [BZ #12108]
49577         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49578         to have entries in sys_siglist.
49580         [BZ #12093]
49581         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49582         be NULL.
49584 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49586         [BZ #3268]
49587         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49588         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49589         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49590         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49591         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49592         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49593         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49594         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49595         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49596         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49597         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49598         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49599         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49600         * math/ftestexcept.c (fetestexcept): Likewise.
49601         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49602         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49603         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49604         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49605         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49606         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49609 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49611         [BZ #12107]
49612         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49613         newline.
49615 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49617         * string/bug-strstr1.c: New file.
49618         * string/Makefile: Add rules to build and run bug-strstr1.
49620 2010-10-05  Eric Blake  <eblake@redhat.com>
49622         [BZ #12092]
49623         * string/str-two-way.h (two_way_long_needle): Always clear memory
49624         when skipping input due to the shift table.
49626 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49628         [BZ #12005]
49629         * malloc/mcheck.c: Handle large requests.
49631         [BZ #12077]
49632         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49633         for strncmp and strncasecmp.
49634         * string/stratcliff.c: Add tests for strcmp and strncmp.
49635         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49637 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49639         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49640         __set_fpscr.
49642 2010-09-30  Andreas Jaeger  <aj@suse.de>
49644         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49645         (CGROUP_SUPER_MAGIC): Define.
49646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49647         Handle btrfs and cgroup file systems.
49648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49649         Likewise.
49651 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49653         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49654         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49656 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49658         [BZ #12067]
49659         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49660         trying to locate the ELF header.
49662 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49664         [BZ #11611]
49665         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49666         Mask out sign-bit copies when constructing f_fsid.
49668 2010-09-24  Petr Baudis <pasky@suse.cz>
49670         * debug/stack_chk_fail_local.c: Add missing licence exception.
49671         * debug/warning-nop.c: Likewise.
49673 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49675         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49676         implementing getdents64 using getdents syscall, set d_type if
49677         __ASSUME_GETDENTS32_D_TYPE.
49679 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49681         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49682         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49684 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49686         [BZ #12037]
49687         * posix/unistd.h: Undo change of feature selection for ftruncate from
49688         2010-01-11.
49690 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49692         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49693         detection.
49695 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49698         fanotify_mark.
49699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49701 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49703         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49704         variables after CHECK_SP call.
49705         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49707 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49708             Ulrich Drepper  <drepper@redhat.com>
49710         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49711         re-relocationg ld.so.
49712         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49713         _dl_init_paths call.
49714         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49715         here anymore.
49717 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49719         * resolv/res_init.c (__res_vinit): Count the default server we added.
49721 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49722             Ulrich Drepper  <drepper@redhat.com>
49724         [BZ #11968]
49725         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49726         (____longjmp_chk): Use %ebx for saving value across system call.
49727         Add unwind info.
49729 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49731         * manual/Makefile: Don't mix pattern rules with normal rules.
49733 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49735         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49736         operation.
49737         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49738         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49739         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49740         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49742         Likewise.
49744 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49746         [BZ #11979]
49747         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49748         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49750 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49752         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49753         * sysdeps/x86_64/addmul_1.S: Likewise.
49754         * sysdeps/x86_64/lshift.S: Likewise.
49755         * sysdeps/x86_64/mul_1.S: Likewise.
49756         * sysdeps/x86_64/rshift.S: Likewise.
49757         * sysdeps/x86_64/sub_n.S: Likewise.
49758         * sysdeps/x86_64/submul_1.S: Likewise.
49760 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49762         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49763         Define __sched_param instead of SCHED_* and sched_param when
49764         <bits/sched.h> is included with __need_schedparam defined.
49765         * bits/sched.h [__need_schedparam]
49766         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49767         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49768         (__defined_schedparam): Define to 1.
49769         (__sched_param): New structure, identical to sched_param.
49770         (__need_schedparam): Undefine.
49772 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49775         (epoll_create1): Declare.
49777         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49779 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49781         [BZ #7066]
49782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49783         shifting retval into place.
49785 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49787         * nis/rpcsvc/nis.h: Update copyright notice.
49788         * nis/rpcsvc/nis.x: Likewise.
49789         * nis/rpcsvc/nis_callback.h: Likewise.
49790         * nis/rpcsvc/nis_callback.x: Likewise.
49791         * nis/rpcsvc/nis_object.x: Likewise.
49792         * nis/rpcsvc/nis_tags.h: Likewise.
49793         * nis/rpcsvc/yp.h: Likewise.
49794         * nis/rpcsvc/yp.x: Likewise.
49795         * nis/rpcsvc/ypupd.h: Likewise.
49796         * nis/yp_xdr.c: Likewise.
49797         * nis/ypupdate_xdr.c: Likewise.
49799         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49800         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49801         (pmap_getport): Use __libc_rpc_getport.
49802         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49803         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49804         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49806 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49809         fanotify_mark.
49811 2010-08-27  Roland McGrath  <roland@redhat.com>
49813         * sysdeps/i386/i686/multiarch/Makefile
49814         (CFLAGS-varshift.c): New variable.
49816 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49818         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49819         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49823         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49825 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49827         * sysdeps/x86_64/strlen.S: Unroll the loop.
49828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49829         strlen-sse2 strlen-sse2-bsf.
49830         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49831         __strlen_no_bsf if bit_Slow_BSF is set.
49832         (__strlen_sse42): Removed.
49833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49834         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49836 2010-08-25  Roland McGrath  <roland@redhat.com>
49838         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49839         * sysdeps/x86_64/multiarch/varshift.c: New file.
49840         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49841         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49842         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49843         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49845 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49848         strlen-sse2 strlen-sse2-bsf.
49849         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49850         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49851         (__strlen_sse2): Removed.
49852         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49855         bit_Slow_BSF for Atom.
49856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49857         (index_Slow_BSF): Define.
49858         (HAS_SLOW_BSF): Define.
49860 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49862         [BZ #10851]
49863         * resolv/res_init.c (__res_vinit): When no server address at all
49864         is given default to loopback.
49866 2010-08-24  Roland McGrath  <roland@redhat.com>
49868         * configure.in: Remove config-name.h generation.
49869         * configure: Regenerated.
49870         * config-name.in: File removed.
49871         * scripts/config-uname.sh: New file.
49872         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49873         ($(objdir)config-name.h): New target.
49875         * sunrpc/rpc_parse.h: Avoid nested comment.
49877 2010-08-24  Richard Henderson  <rth@redhat.com>
49878             Ulrich Drepper  <drepper@redhat.com>
49879             H.J. Lu  <hongjiu.lu@intel.com>
49881         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49883         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49884         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49885         _mm_alignr_epi8 with _mm_loadu_si128.
49886         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49887         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49888         (__m128i_shift_right): Removed.
49889         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49890         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49891         * sysdeps/x86_64/multiarch/varshift.h: New file.
49892         * sysdeps/x86_64/multiarch/varshift.S: New file.
49894 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49896         * configure.in: Move assembler checks to before sysdep dir checking.
49898 2010-08-20  Petr Baudis  <pasky@suse.cz>
49900         * LICENSES: Sync the sunrpc license.
49902 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49904         * sunrpc/auth_des.c: Update copyright notice once again.
49905         * sunrpc/auth_none.c: Likewise.
49906         * sunrpc/auth_unix.c: Likewise.
49907         * sunrpc/authdes_prot.c: Likewise.
49908         * sunrpc/authuxprot.c: Likewise.
49909         * sunrpc/bindrsvprt.c: Likewise.
49910         * sunrpc/clnt_gen.c: Likewise.
49911         * sunrpc/clnt_perr.c: Likewise.
49912         * sunrpc/clnt_raw.c: Likewise.
49913         * sunrpc/clnt_simp.c: Likewise.
49914         * sunrpc/clnt_tcp.c: Likewise.
49915         * sunrpc/clnt_udp.c: Likewise.
49916         * sunrpc/clnt_unix.c: Likewise.
49917         * sunrpc/des_crypt.c: Likewise.
49918         * sunrpc/des_soft.c: Likewise.
49919         * sunrpc/get_myaddr.c: Likewise.
49920         * sunrpc/getrpcport.c: Likewise.
49921         * sunrpc/key_call.c: Likewise.
49922         * sunrpc/key_prot.c: Likewise.
49923         * sunrpc/openchild.c: Likewise.
49924         * sunrpc/pm_getmaps.c: Likewise.
49925         * sunrpc/pm_getport.c: Likewise.
49926         * sunrpc/pmap_clnt.c: Likewise.
49927         * sunrpc/pmap_prot.c: Likewise.
49928         * sunrpc/pmap_prot2.c: Likewise.
49929         * sunrpc/pmap_rmt.c: Likewise.
49930         * sunrpc/rpc/auth.h: Likewise.
49931         * sunrpc/rpc/auth_unix.h: Likewise.
49932         * sunrpc/rpc/clnt.h: Likewise.
49933         * sunrpc/rpc/des_crypt.h: Likewise.
49934         * sunrpc/rpc/key_prot.h: Likewise.
49935         * sunrpc/rpc/netdb.h: Likewise.
49936         * sunrpc/rpc/pmap_clnt.h: Likewise.
49937         * sunrpc/rpc/pmap_prot.h: Likewise.
49938         * sunrpc/rpc/pmap_rmt.h: Likewise.
49939         * sunrpc/rpc/rpc.h: Likewise.
49940         * sunrpc/rpc/rpc_des.h: Likewise.
49941         * sunrpc/rpc/rpc_msg.h: Likewise.
49942         * sunrpc/rpc/svc.h: Likewise.
49943         * sunrpc/rpc/svc_auth.h: Likewise.
49944         * sunrpc/rpc/types.h: Likewise.
49945         * sunrpc/rpc/xdr.h: Likewise.
49946         * sunrpc/rpc_clntout.c: Likewise.
49947         * sunrpc/rpc_cmsg.c: Likewise.
49948         * sunrpc/rpc_common.c: Likewise.
49949         * sunrpc/rpc_cout.c: Likewise.
49950         * sunrpc/rpc_dtable.c: Likewise.
49951         * sunrpc/rpc_hout.c: Likewise.
49952         * sunrpc/rpc_main.c: Likewise.
49953         * sunrpc/rpc_parse.c: Likewise.
49954         * sunrpc/rpc_parse.h: Likewise.
49955         * sunrpc/rpc_prot.c: Likewise.
49956         * sunrpc/rpc_sample.c: Likewise.
49957         * sunrpc/rpc_scan.c: Likewise.
49958         * sunrpc/rpc_scan.h: Likewise.
49959         * sunrpc/rpc_svcout.c: Likewise.
49960         * sunrpc/rpc_tblout.c: Likewise.
49961         * sunrpc/rpc_util.c: Likewise.
49962         * sunrpc/rpc_util.h: Likewise.
49963         * sunrpc/rpcinfo.c: Likewise.
49964         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49965         * sunrpc/rpcsvc/key_prot.x: Likewise.
49966         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49967         * sunrpc/rpcsvc/mount.x: Likewise.
49968         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49969         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49970         * sunrpc/rpcsvc/rex.x: Likewise.
49971         * sunrpc/rpcsvc/rstat.x: Likewise.
49972         * sunrpc/rpcsvc/rusers.x: Likewise.
49973         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49974         * sunrpc/rpcsvc/spray.x: Likewise.
49975         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49976         * sunrpc/rtime.c: Likewise.
49977         * sunrpc/svc.c: Likewise.
49978         * sunrpc/svc_auth.c: Likewise.
49979         * sunrpc/svc_authux.c: Likewise.
49980         * sunrpc/svc_raw.c: Likewise.
49981         * sunrpc/svc_run.c: Likewise.
49982         * sunrpc/svc_simple.c: Likewise.
49983         * sunrpc/svc_tcp.c: Likewise.
49984         * sunrpc/svc_udp.c: Likewise.
49985         * sunrpc/svc_unix.c: Likewise.
49986         * sunrpc/svcauth_des.c: Likewise.
49987         * sunrpc/xcrypt.c: Likewise.
49988         * sunrpc/xdr.c: Likewise.
49989         * sunrpc/xdr_array.c: Likewise.
49990         * sunrpc/xdr_float.c: Likewise.
49991         * sunrpc/xdr_mem.c: Likewise.
49992         * sunrpc/xdr_rec.c: Likewise.
49993         * sunrpc/xdr_ref.c: Likewise.
49994         * sunrpc/xdr_sizeof.c: Likewise.
49995         * sunrpc/xdr_stdio.c: Likewise.
49997         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49998         handling.
50000 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50002         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50004 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50006         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50007         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50008         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50009         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50010         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50011         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50012         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50013         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50014         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50015         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50016         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50017         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50018         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50019         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50021 2010-07-26  Anton Blanchard  <anton@samba.org>
50023         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50024         * malloc/arena.c (heap_trim): Likewise.
50026 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50028         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50029         here.  Not...
50030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50031         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50033 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50035         * sysdeps/i386/elf/Makefile: New file.
50037 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50039         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50040         from fanotify_init.
50041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50044 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50046         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50047         of strncasecmp_l.
50048         * sysdeps/multiarch/strcmp.S: Likewise.
50050 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50052         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50053         strncase_l-nonascii.
50054         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50055         Add strncase_l-ssse3.
50056         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50057         * sysdeps/x86_64/strcmp.S: Likewise.
50058         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50059         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50060         * sysdeps/x86_64/strncase.S: New file.
50061         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50062         * sysdeps/x86_64/strncase_l.S: New file.
50063         * string/Makefile (strop-tests): Add strncasecmp.
50064         * string/test-strncasecmp.c: New file.
50066         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50067         warning.
50069         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50070         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50072 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50074         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50076 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50078         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50079         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50080         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50082 2010-05-01  Alan Modra  <amodra@gmail.com>
50084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50085         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50086         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50087         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50088         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50089         tidying.  Don't tail-call __sigjmp_save for static lib.
50090         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50091         save location.
50092         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50093         (CALL_MCOUNT): Add eh info, and nop after bl.
50094         (TAIL_CALL_SYSCALL_ERROR): New macro.
50095         (PSEUDO_RET): Use it.
50096         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50097         Correct save location of integer regs and cr.
50098         (_dl_profile_resolve): Correct cr save location.  Delete nops
50099         after bl when SHARED.  Reduce cfi size a little by better
50100         placement of cfi directives.
50101         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50102         make a stack frame.  Instead use parm save area as a temp.
50103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50104         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50106         Don't make a stack frame for parent, use parm save area.
50107         Increase child stack frame to 112 bytes.  Don't save unused reg,
50108         and adjust reg usage.  Set up cfi on error recovery and
50109         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50111         (__makecontext): Add dummy nop after jump to exit.
50112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50113         Use correct parm save area and cr save, reduce stack frame.
50114         Correct cfi for possible PSEUDO_RET frame setup.
50115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50116         Branch to local label emitted by PSEUDO_RET rather than
50117         __syscall_error.
50119 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50121         [BZ #11904]
50122         * locale/programs/locale.c (print_assignment): New function.
50123         (show_locale_vars): Use it.
50125 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50127         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50128         field.
50129         (struct statfs64): Likewise.
50130         (_STATFS_F_FLAGS): Define.
50131         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50132         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50133         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50134         (ST_VALID): Define locally.
50135         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50136         __statvfs_getflags, use the provided value.
50137         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50138         __ASSUME_STATFS_F_FLAGS.
50140         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50142         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50143         Add sys/fanotify.h.
50144         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50145         fanotify_mask for GLIBC_2.13.
50146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50147         fanotify_init and fanotify_mark.
50148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50149         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50151         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50152         Add prlimit.
50153         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50154         prlimit64 for GLIBC_2.13.
50155         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50156         prlimit64.
50157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50158         syscall.
50159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50160         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50161         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50164         add prlimit alias.
50165         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50167         [BZ #11903]
50168         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50169         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50171         * nss/Makefile: Add rules to build and run tst-nss-test1.
50172         * shlib-versions: Add entry for libnss_test1.
50173         * nss/nss_test1.c: New file.
50174         * nss/tst-nss-test1.c: New file.
50176         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50177         (__nss_configure_lookup): Set appropriate entry in
50178         __nss_configure_lookup to true.
50179         * nss/nsswitch.h: Define enum with indeces of databases in
50180         databases and __nss_database_custom arrays.  Declare
50181         __nss_database_custom.
50182         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50183         to avoid using nscd when custom rules are installed.
50184         * nss/getXXbyYY_r.c: Likewise.
50185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50187         * nss/nss_files/files-parse.c: Whitespace fixes.
50189 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50191         [BZ #11883]
50192         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50193         * posix/fnmatch_loop.c: Likewise.
50195 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50197         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50198         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50199         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50200         * Versions.def [GLIBC_2.13]: Add.
50202 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50204         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50205         Also fail if tpwd after pwuid call is NULL.
50207 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50209         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50210         when converting to ms.
50212 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50214         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50215         EOPNOTSUPP errors with ENOTTY.
50216         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50217         EOPNOTSUPP errors with ENOTTY.
50219 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50221         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50222         Add strcasecmp_l-ssse3.
50223         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50224         strcasecmp.
50225         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50226         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50227         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50229 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50231         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50233         * string/Makefile (strop-tests): Add strcasecmp.
50234         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50235         strcasecmp_l-nonascii.
50236         (gen-as-const-headers): Add locale-defines.sym.
50237         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50238         * sysdeps/x86_64/strcasecmp.S: New file.
50239         * sysdeps/x86_64/strcasecmp_l.S: New file.
50240         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50241         * sysdeps/x86_64/locale-defines.sym: New file.
50242         * string/test-strcasecmp.c: New file.
50244         * string/test-strcasestr.c: Test both ends of the range of characters.
50245         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50247 2010-07-29  Roland McGrath  <roland@redhat.com>
50249         [BZ #11856]
50250         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50252 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50254         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50255         for ld.so.
50257 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50259         * manual/memory.texi (Malloc Tunable Parameters): Document
50260         M_PERTURB.
50262 2010-07-26  Roland McGrath  <roland@redhat.com>
50264         [BZ #11840]
50265         * configure.in (-fgnu89-inline check): Set and substitute
50266         gnu89_inline, not libc_cv_gnu89_inline.
50267         * configure: Regenerated.
50268         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50270 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50272         * string/test-strnlen.c: New file.
50273         * string/Makefile (strop-tests): Add strnlen.
50274         * string/tester.c (test_strnlen): Add a few more test cases.
50275         * string/tst-strlen.c: Better error reporting.
50277         * sysdeps/x86_64/strnlen.S: New file.
50279 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50281         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50282         lower-latency instructions.
50284 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50286         * string/test-strcasestr.c: New file.
50287         * string/test-strstr.c: New file.
50288         * string/Makefile (strop-tests): Add strstr and strcasestr.
50289         * string/str-two-way.h: Don't undefine MAX.
50290         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50292 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50295         strcasestr-nonascii.
50296         (CFLAGS-strcasestr-nonascii.c): Define.
50297         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50298         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50299         Remove unused attribute.
50301 2010-07-20  Roland McGrath  <roland@redhat.com>
50303         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50304         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50305         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50306         like LD_HWCAP_MASK can disable hwcaps.
50308 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50310         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50312 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50314         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50315         call in strcasestr.
50316         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50317         __strcasestr_sse42_nonascii.
50318         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50319         strcasestr-nonascii.c.
50320         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50322 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50324         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50325         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50326         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50327         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50329 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50332         fcntl.
50334 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50336         [BZ #11577]
50337         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50338         dl_signal_cerror.
50340 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50343         _PC_PIPE_BUF using F_GETPIPE_SZ.
50345 2010-07-05  Roland McGrath  <roland@redhat.com>
50347         * manual/arith.texi (Rounding Functions): Fix rint description
50348         implicit in round description.
50350 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50352         * elf/Makefile: Fix linking for a few tests to make recent linker
50353         happy.
50355 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50357         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50358         $(common-objpfx)libc_nonshared.a.
50360 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50362         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50363         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50364         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50365         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50366         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50367         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50368         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50369         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50384         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50385         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50386         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50387         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50388         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50389         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50390         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50391         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50392         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50393         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50394         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50395         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50411 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50413         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50414         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50415         * string/memmove.c (memmove): Renamed to ...
50416         (MEMMOVE): ...this.  Default to memmove.
50417         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50418         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50419         (END_CHK): Define.
50420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50421         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50422         mempcpy-ssse3-back memmove-ssse3-back.
50423         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50426         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50427         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50428         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50429         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50430         * sysdeps/x86_64/multiarch/memmove.c: New file.
50431         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50432         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50433         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50434         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50436         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50437         Define.
50438         (index_Fast_Copy_Backward): Define.
50439         (HAS_ARCH_FEATURE): Define.
50440         (HAS_FAST_REP_STRING): Define.
50441         (HAS_FAST_COPY_BACKWARD): Define.
50443 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50446         Restore proper fallback handling.
50448 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50450         [BZ #11701]
50451         * posix/group_member.c (__group_member): Correct checking loop.
50453         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50454         OOM in getpwuid_r correctly.  Return error number when the caller
50455         should return, otherwise -1.
50456         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50457         call returning > 0 value.
50458         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50460 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50462         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50463         libc_nonshared.a from targets in modules-names.
50465 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50467         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50468         requires it.
50470 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50477 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50479         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50481 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50483         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50484         and F_GETPIPE_SZ.
50485         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50486         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50489         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50492 2010-06-14  Roland McGrath  <roland@redhat.com>
50494         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50496 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50498         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50499         __REDIRECT followed by __THROW.
50500         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50501         * posix/getopt.h (getopt): Likewise.
50503 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50505         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50506         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50507         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50508         in AT_FLAGS.
50509         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50510         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50512 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50516 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50518         [BZ #11640]
50519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50520         Properly check family and model.
50522 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50524         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50526 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50528         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50530 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50532         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50533         symbol reference.
50535 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50537         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50538         symbol reference.
50540 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50542         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50543         and internal_recvmmsg.
50544         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50545         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50546         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50547         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50549         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50550         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50551         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50553 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50555         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50557 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50559         POWER7 optimizations.
50560         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50561         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50563 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50565         * version.h: Update for 2.13 development version.
50567 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50569         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50570         exceptions.  Return 0.
50572 2010-05-07  Roland McGrath  <roland@redhat.com>
50574         * elf/ldconfig.c (main): Add a const.
50576 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50578         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50579         (args_options): Add no-idn option.
50580         (ahosts_keys_int): Add idn_flags to ai_flags.
50581         (parse_option): Handle 'i' option to clear idn_flags.
50583         * malloc/malloc.c (_int_free): Possible race in the most recently
50584         added check.  Only act on the data if no current modification
50585         happened.
50587 See ChangeLog.17 for earlier changes.